
June 7, 2014
11:43 p.m.
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 <report@bugs.python.org> <http://bugs.python.org/issue11681> _______________________________________