Message146334
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 |
|
Date |
User |
Action |
Args |
2011-10-24 22:49:10 | yak | set | recipients:
+ yak, docs@python |
2011-10-24 22:49:10 | yak | set | messageid: <1319496550.21.0.905326658417.issue13259@psf.upfronthosting.co.za> |
2011-10-24 22:49:05 | yak | link | issue13259 messages |
2011-10-24 22:49:05 | yak | create | |
|