[New-bugs-announce] [issue16172] Fix is/== misuse
Serhiy Storchaka
report at bugs.python.org
Tue Oct 9 11:54:54 CEST 2012
New submission from Serhiy Storchaka:
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
----------
files: is_int_or_str.patch
keywords: patch
messages: 172467
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Fix is/== misuse
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file27503/is_int_or_str.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16172>
_______________________________________
More information about the New-bugs-announce
mailing list