Mark Dickinson added the comment: > I actually think this issue can be closed as fixed:
Ah, whoops; I failed to understand Serhiy's comment about the still existing "if (!PyLong_Check(obase))", which does indeed mean that the code *still* doesn't work for __index__-able types. Here's a fix for that, with tests. ---------- keywords: +patch Added file: http://bugs.python.org/file28465/issue16772.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16772> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com