Martin Panter added the comment: Trouble is, in Python 2 bytes() and str() are the same thing, and most of those conditions don’t apply. Maybe something like this is more correct:
-b : issue warnings about comparing bytearray with unicode. (-bb: issue errors) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11681> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com