[New-bugs-announce] [issue42222] Modernize integer test/conversion in randrange()

Raymond Hettinger report at bugs.python.org
Sat Oct 31 13:27:12 EDT 2020


New submission from Raymond Hettinger <raymond.hettinger at 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 <report at bugs.python.org>
<https://bugs.python.org/issue42222>
_______________________________________


More information about the New-bugs-announce mailing list