[New-bugs-announce] [issue13259] __bytes__ not documented

Arkadiusz Wahlig report at bugs.python.org
Tue Oct 25 00:49:10 CEST 2011


New submission from Arkadiusz Wahlig <arkadiusz.wahlig at gmail.com>:

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

----------
assignee: docs at python
components: Documentation
messages: 146334
nosy: docs at python, yak
priority: normal
severity: normal
status: open
title: __bytes__ not documented
versions: Python 3.1, Python 3.2, Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13259>
_______________________________________


More information about the New-bugs-announce mailing list