Benjamin Peterson <benja...@python.org> added the comment: On Thu, Jan 29, 2009 at 2:39 PM, Brett Cannon <rep...@bugs.python.org> wrote: > > Brett Cannon <br...@python.org> added the comment: > > On Thu, Jan 29, 2009 at 07:30, Benjamin Peterson <rep...@bugs.python.org> > wrote: >> >> Benjamin Peterson <benja...@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.
Wasn't there another case of an old slot being reused? _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1717> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com