[issue23681] Have -b warn when directly comparing ints and bytes

Serhiy Storchaka report at bugs.python.org
Mon Mar 16 20:03:34 CET 2015


Serhiy Storchaka added the comment:

Here is a patch that adds required feature and fixes existing bugs in the stdlib and tests.

No one of failed tests was false positive.

----------
keywords: +patch
stage: test needed -> patch review
Added file: http://bugs.python.org/file38511/bytes_to_int_compare.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23681>
_______________________________________


More information about the Python-bugs-list mailing list