
11 Jan
2017
11 Jan
'17
4:17 p.m.
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 report@bugs.python.org http://bugs.python.org/issue11681 _______________________________________