[issue1717] Get rid of more references to __cmp__
Brett Cannon
report at bugs.python.org
Thu Jan 29 20:39:21 CET 2009
Brett Cannon <brett at python.org> added the comment:
On Thu, Jan 29, 2009 at 07:30, Benjamin Peterson <report at bugs.python.org> wrote:
>
> Benjamin Peterson <benjamin at python.org> added the comment:
>
> Actually, I would like to repurpose tp_compare as tp_bytes for the
> __bytes__ method.
Repurposing would be extremely bad as that would mean it is possible
for people to actually compile code with a busted __bytes__
implementation.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1717>
_______________________________________
More information about the Python-bugs-list
mailing list