Petras Zdanavičius <petra...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue1560032>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to