[issue37319] Deprecate using random.randrange() with non-integers

Serhiy Storchaka report at bugs.python.org
Sun Mar 22 15:41:00 EDT 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Many functions that accepts non-integer arguments (except float) and truncate them to integers emits a deprecation warning since 3.8 (see issue36048 and issue20092). They will be errors in 3.10 (see 37999).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37319>
_______________________________________


More information about the Python-bugs-list mailing list