Greg Bengeult added the comment:

I have attached a patch for 2.7 that adds -b and -bb to the command line 
documentation in Modules/main.c and Doc/library/cmdline.rst, following the 
suggested text provided by Martin.

Interestingly, unicode(), bytearray(), and str() don't seem to be transitive in 
2.7.

>>> u"3" == str(3)
True

>>> str(3) == bytearray("3")
True

>>> u"3" == bytearray("3")
False

----------
nosy: +gbengeult
Added file: http://bugs.python.org/file46261/b_option.patch

_______________________________________
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

Reply via email to