This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gbengeult
Recipients Arfrever, docs@python, emily.zhao, eric.araujo, ezio.melotti, gbengeult, georg.brandl, lemburg, martin.panter, ncoghlan, r.david.murray
Date 2017-01-11.21:17:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484169424.21.0.0184029686476.issue11681@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2017-01-11 21:17:04gbengeultsetrecipients: + gbengeult, lemburg, georg.brandl, ncoghlan, ezio.melotti, eric.araujo, Arfrever, r.david.murray, docs@python, martin.panter, emily.zhao
2017-01-11 21:17:04gbengeultsetmessageid: <1484169424.21.0.0184029686476.issue11681@psf.upfronthosting.co.za>
2017-01-11 21:17:04gbengeultlinkissue11681 messages
2017-01-11 21:17:04gbengeultcreate