Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-29730: remove some redundant calls to PyNumber_Check #622

Conversation

orenmn
Copy link
Contributor

@orenmn orenmn commented Mar 11, 2017

according to http://bugs.python.org/issue29730, remove some redundant calls to PyNumber_Check.

(I ran the test module, and on my Windows 10, the same tests failed with
and without my patches. However, on my Ubuntu 16.04 VM, none of the tests
failed.)

@mention-bot
Copy link

@orenmn, thanks for your PR! By analyzing the history of the files in this pull request, we identified @akuchling, @benjaminp, @Yhg1s, @bitdancer and @serhiy-storchaka to be potential reviewers.

@orenmn
Copy link
Contributor Author

orenmn commented Mar 12, 2017

as Serhiy mentioned in http://bugs.python.org/issue29730#msg289489, my patch (and also the
original code) produces inaccurate error messages. I would update the PR accordingly.
please don't merge yet.

@orenmn
Copy link
Contributor Author

orenmn commented Mar 13, 2017

bpo-29730 was resolved in PR #650, so this PR isn't relevant anymore.
closing.

@orenmn orenmn closed this Mar 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants