[issue869780] curselection() in Tkinter.py should return ints

Guilherme Polo report at bugs.python.org
Sat May 10 19:57:03 CEST 2008


Guilherme Polo <ggpolo at gmail.com> added the comment:

I found some code using map(int, curselection..) directly, so this new
patch fixes the problem related to returning None when nothing was selected.

Added file: http://bugs.python.org/file10259/curselection_tupleint.diff

____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue869780>
____________________________________


More information about the Python-bugs-list mailing list