[issue31478] assertion failure in random.seed() in case the seed argument has a bad __abs__() method
Raymond Hettinger
report at bugs.python.org
Thu Sep 14 22:01:36 EDT 2017
Raymond Hettinger added the comment:
It would make sense to verify that an actual int was returned and to raise a TypeError if it wasn't.
Do you want to submit a PR (with a test case)?
----------
nosy: +rhettinger, serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31478>
_______________________________________
More information about the Python-bugs-list
mailing list