[issue2337] Backport oct() and hex() to use __index__
Brett Cannon
report at bugs.python.org
Sun Apr 27 03:23:43 CEST 2008
Brett Cannon <brett at python.org> added the comment:
@Georg:
That is a possibility. Would need to add the proper Py3K warning to the
current builtins, though.
@Benjamin:
You don't want to warn if it will work for Py3K, so don't warn if
__index__ is used.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2337>
__________________________________
More information about the Python-bugs-list
mailing list