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 yak
Recipients docs@python, yak
Date 2011-10-24.22:49:05
SpamBayes Score 0.008733184
Marked as misclassified No
Message-id <1319496550.21.0.905326658417.issue13259@psf.upfronthosting.co.za>
In-reply-to
Content
It looks like Python 3 supports the __bytes__ magic method (called by bytes(obj)). However, it's not documented anywhere.

Also, I could not find any reference to BDFL accepting it but it looks like it got in anyway.

Here are some posts back from 2007 where he argues against it:
http://mail.python.org/pipermail/python-3000/2007-August/009375.html
History
Date User Action Args
2011-10-24 22:49:10yaksetrecipients: + yak, docs@python
2011-10-24 22:49:10yaksetmessageid: <1319496550.21.0.905326658417.issue13259@psf.upfronthosting.co.za>
2011-10-24 22:49:05yaklinkissue13259 messages
2011-10-24 22:49:05yakcreate