[issue1560032] confusing error msg from random.randint

2010-07-24 Thread Petras Zdanavičius

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



[issue6878] changed return type from tkinter.Canvas.coords

2010-07-23 Thread Petras Zdanavičius

Petras Zdanavičius  added the comment:

I have added tests.

--
nosy: +Petras.Zdanavičius
Added file: http://bugs.python.org/file18142/fix-6878-with-tests.patch

___
Python tracker 
<http://bugs.python.org/issue6878>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com