We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = None closed_at = <Date 2012-10-09.15:17:48.242> created_at = <Date 2012-10-09.09:54:54.815> labels = ['type-feature', 'tests'] title = 'Fix is/== misuse' updated_at = <Date 2012-10-09.15:17:48.238> user = 'https://github.com/serhiy-storchaka'
bugs.python.org fields:
activity = <Date 2012-10-09.15:17:48.238> actor = 'benjamin.peterson' assignee = 'none' closed = True closed_date = <Date 2012-10-09.15:17:48.242> closer = 'benjamin.peterson' components = ['Tests'] creation = <Date 2012-10-09.09:54:54.815> creator = 'serhiy.storchaka' dependencies = [] files = ['27503', '27504'] hgrepos = [] issue_num = 16172 keywords = ['patch'] message_count = 3.0 messages = ['172467', '172485', '172486'] nosy_count = 4.0 nosy_names = ['benjamin.peterson', 'ezio.melotti', 'python-dev', 'serhiy.storchaka'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = 'patch review' status = 'closed' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue16172' versions = ['Python 3.4']
The text was updated successfully, but these errors were encountered:
Here are two patches written on the discussion in Python-Ideas [1].
The first patch fixes incorrect use of "x is 0" or "x is 'foo'". Result of this operations is implementation details.
The second patch changes non-idiomatic use of "x == None" or "x == True".
[1] http://comments.gmane.org/gmane.comp.python.ideas/16547
Sorry, something went wrong.
New changeset 842276ae4a3f by Benjamin Peterson in branch '3.3': compare with equality not identity (issue bpo-16172) http://hg.python.org/cpython/rev/842276ae4a3f
Also http://hg.python.org/cpython/rev/332b93ce7bf9
No branches or pull requests
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: