This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author j-4321-i
Recipients j-4321-i
Date 2018-10-08.15:56:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539014215.23.0.545547206417.issue34936@psf.upfronthosting.co.za>
In-reply-to
Content
Spinbox.selection_element() raises `TclError: expected integer but got "none"` while it should return the currently selected element according to the docstring.

I think this issue comes from the Spinbox.selection method which tries to convert to int the output of self.tk.call((self._w, 'selection', 'element')) while it returns a string ("none", "buttonup" or "buttondown").
History
Date User Action Args
2018-10-08 15:56:55j-4321-isetrecipients: + j-4321-i
2018-10-08 15:56:55j-4321-isetmessageid: <1539014215.23.0.545547206417.issue34936@psf.upfronthosting.co.za>
2018-10-08 15:56:55j-4321-ilinkissue34936 messages
2018-10-08 15:56:55j-4321-icreate