New submission from Brett Cannon <[EMAIL PROTECTED]>: oct() and hex() need to use __index__ when available and then emit a Py3K warning when they fall back on __oct__ and __hex__.
---------- components: Interpreter Core keywords: 26backport messages: 63695 nosy: brett.cannon priority: immediate severity: normal status: open title: Backport oct() and hex() to use __index__ versions: Python 2.6 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2337> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com