Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue34936

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:tkinter.Spinbox.selection_element() raises TclError
Type:behaviorStage:resolved
Components:TkinterVersions:Python 3.8, Python 3.7, Python 3.6, Python 2.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: j-4321-i, miss-islington, serhiy.storchaka
Priority:normalKeywords:patch

Created on2018-10-08 15:56 byj-4321-i, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 9760mergedj-4321-i,2018-10-08 19:32
PR 9957mergedj-4321-i,2018-10-18 20:26
PR 9967mergedmiss-islington,2018-10-19 15:20
PR 9968mergedserhiy.storchaka,2018-10-19 15:51
Messages (6)
msg327359 -(view)Author: Juliette Monsel (j-4321-i)*Date: 2018-10-08 15:56
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").
msg327365 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2018-10-08 17:19
Do you mind to create a PR against master for fixing this issue Juliette?
msg327998 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2018-10-18 19:28
New changeset1deea5e53991b46351f6bb395b22365c9455ed88 by Serhiy Storchaka (Juliette Monsel) in branch 'master':bpo-34936: Fix TclError in tkinter.Spinbox.selection_element(). (GH-9760)https://github.com/python/cpython/commit/1deea5e53991b46351f6bb395b22365c9455ed88
msg328047 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2018-10-19 15:20
New changesetbd9c2ce7acaef45f23c2659b854fc9925096d040 by Serhiy Storchaka (Juliette Monsel) in branch '3.7':bpo-34936: Fix TclError in tkinter.Spinbox.selection_element(). (GH-9760) (GH-9957)https://github.com/python/cpython/commit/bd9c2ce7acaef45f23c2659b854fc9925096d040
msg328049 -(view)Author: miss-islington (miss-islington)Date: 2018-10-19 15:44
New changesetc04347fad936f40cc0bd844e44a71ba88b027b2d by Miss Islington (bot) in branch '3.6':bpo-34936: Fix TclError in tkinter.Spinbox.selection_element(). (GH-9760) (GH-9957)https://github.com/python/cpython/commit/c04347fad936f40cc0bd844e44a71ba88b027b2d
msg328193 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2018-10-21 07:10
New changeset427b8c7f7dcdbff21de78b10d9ad05c825480618 by Serhiy Storchaka in branch '2.7':[2.7]bpo-34936: Fix TclError in tkinter.Spinbox.selection_element(). (GH-9760) (GH-9957) (GH-9968)https://github.com/python/cpython/commit/427b8c7f7dcdbff21de78b10d9ad05c825480618
History
DateUserActionArgs
2022-04-11 14:59:06adminsetgithub: 79117
2018-10-21 07:10:47serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-10-21 07:10:28serhiy.storchakasetmessages: +msg328193
2018-10-19 15:51:01serhiy.storchakasetpull_requests: +pull_request9313
2018-10-19 15:44:39miss-islingtonsetnosy: +miss-islington
messages: +msg328049
2018-10-19 15:20:35miss-islingtonsetpull_requests: +pull_request9312
2018-10-19 15:20:06serhiy.storchakasetmessages: +msg328047
2018-10-18 20:26:06j-4321-isetpull_requests: +pull_request9304
2018-10-18 19:28:38serhiy.storchakasetmessages: +msg327998
2018-10-08 19:32:56j-4321-isetkeywords: +patch
stage: needs patch -> patch review
pull_requests: +pull_request9146
2018-10-08 17:19:32serhiy.storchakasetmessages: +msg327365
2018-10-08 17:17:59serhiy.storchakasetnosy: +serhiy.storchaka
stage: needs patch

versions: + Python 2.7, Python 3.6, Python 3.8
2018-10-08 15:56:55j-4321-icreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp