]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41384: Raise TclError in tkinter.OptionMenu (GH-21601)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 27 Jul 2020 02:14:12 +0000 (19:14 -0700)
committerGitHub <noreply@github.com>
Mon, 27 Jul 2020 02:14:12 +0000 (22:14 -0400)
commit8b052751d32c43540e2786ce0b3f7e4b4d0ae161
treeab55bb1b10ba0b1c7cdd4aafe527c3c7c74a9bff
parent6e4975a1c79d8433d9d5b50ff1c655b5b5a2acd2
bpo-41384: Raise TclError in tkinter.OptionMenu (GH-21601)

... when an unknown option is passed.  TypeError was being raised because a 2to3 fix was missing.

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit f1d40f941a6483b1d4ea10f1051ace7b426fb8e7)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Lib/tkinter/__init__.py
Lib/tkinter/test/test_tkinter/test_widgets.py
Misc/NEWS.d/next/Library/2020-07-26-21-18-43.bpo-41384.MlzIgV.rst [new file with mode: 0644]