[issue1560032] confusing error msg from random.randint
Petras Zdanavičius
report at bugs.python.org
Sat Jul 24 12:51:17 CEST 2010
Petras Zdanavičius <petraszd at gmail.com> added the comment:
I have written a patch thats makes these strange error messages go away.
What actually I have done was something like this:
>>> randint = _inst.randint
Was replaced with:
>>> def randint(a, b):
return _inst.randint(a, b)
But I do not think it is worth to add additional stack frame just for error messages be a little more better.
----------
keywords: +patch
nosy: +Petras.Zdanavičius
Added file: http://bugs.python.org/file18178/pseudo-fix-1560032.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1560032>
_______________________________________
More information about the Python-bugs-list
mailing list