New submission from Raymond Hettinger <raymond.hettin...@gmail.com>:
Move the int(x)==x test and conversion into the C code for operator.index(). ---------- components: Library (Lib) messages: 380082 nosy: rhettinger, serhiy.storchaka, tim.peters priority: normal severity: normal status: open title: Modernize integer test/conversion in randrange() versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42222> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com