Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Numerous explicit calls of PyNumber_Index() which are used to protect from passing non-integral types to PyLong_AsLong() and like can be removed after the end of the deprecation period. I tried to mark calls which can be removed with comments, but virtually all calls can be removed. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36048> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com