Florent Xicluna <la...@yahoo.fr> added the comment:

The undocumented "-b" flag behaves correctly.
I would suggest to implement it the same way.

~ $ ./python -b -c "bytearray('') == u''"
-c:1: BytesWarning: Comparsion between bytearray and string

(By the way, this feature is not documented in "--help", and there's a typo in 
the error message)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7700>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to