[issue13427] string comparison with ==
Ezio Melotti
report at bugs.python.org
Fri Nov 18 13:59:31 CET 2011
Ezio Melotti <ezio.melotti at gmail.com> added the comment:
Nope, str.strip only strips whitespace, and \x00 is not considered whitespace:
>>> '\x00'.isspace()
False
----------
nosy: +ezio.melotti
resolution: works for me -> invalid
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13427>
_______________________________________
More information about the Python-bugs-list
mailing list