bpo-45436: Fix tkinter tests with Tcl/Tk 8.6.11+#29077
Conversation
Since v8.6.11, a few configuration options seem to accept an empty value where they did not previously; particularly the `type` of a `Menu` widget, and the `compound` of an ttk widget with a label. Providing an explicit expected error message to `checkEnumParam` bypasses the check of an empty value, which no longer raises `TclError`.
|
In the interest of greening up a buildbot before another day of sprints starts further east of me, I'm going to go ahead and merge this. |
|
Thanks @zware for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
|
GH-29080 is a backport of this pull request to the 3.10 branch. |
|
GH-29081 is a backport of this pull request to the 3.9 branch. |
Since v8.6.11, a few configuration options seem to accept an empty value where they did not previously; particularly the `type` of a `Menu` widget, and the `compound` of any ttk widget with a label. Providing an explicit expected error message to `checkEnumParam` bypasses the check of an empty value, which no longer raises `TclError`. (cherry picked from commit 4fe454c) Co-authored-by: Zachary Ware <zach@python.org>
Since v8.6.11, a few configuration options seem to accept an empty value where they did not previously; particularly the `type` of a `Menu` widget, and the `compound` of any ttk widget with a label. Providing an explicit expected error message to `checkEnumParam` bypasses the check of an empty value, which no longer raises `TclError`. (cherry picked from commit 4fe454c) Co-authored-by: Zachary Ware <zach@python.org>
|
Thanks @zware for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
|
GH-29093 is a backport of this pull request to the 3.8 branch. |
Since v8.6.11, a few configuration options seem to accept an empty value where they did not previously; particularly the `type` of a `Menu` widget, and the `compound` of any ttk widget with a label. Providing an explicit expected error message to `checkEnumParam` bypasses the check of an empty value, which no longer raises `TclError`. (cherry picked from commit 4fe454c) Co-authored-by: Zachary Ware <zach@python.org>
Since v8.6.11, a few configuration options seem to accept an empty value where they did not previously; particularly the `type` of a `Menu` widget, and the `compound` of any ttk widget with a label. Providing an explicit expected error message to `checkEnumParam` bypasses the check of an empty value, which no longer raises `TclError`. (cherry picked from commit 4fe454c) Co-authored-by: Zachary Ware <zach@python.org>
|
Since v8.6.11, a few configuration options seem to accept an empty value where they did not previously; particularly the `type` of a `Menu` widget, and the `compound` of any ttk widget with a label. Providing an explicit expected error message to `checkEnumParam` bypasses the check of an empty value, which no longer raises `TclError`. (cherry picked from commit 4fe454c) Co-authored-by: Zachary Ware <zach@python.org>
…thonGH-29093) Since v8.6.11, a few configuration options seem to accept an empty value where they did not previously; particularly the `type` of a `Menu` widget, and the `compound` of any ttk widget with a label. Providing an explicit expected error message to `checkEnumParam` bypasses the check of an empty value, which no longer raises `TclError`. (cherry picked from commit 4fe454c) Co-authored-by: Zachary Ware <zach@python.org>
…thonGH-29093) Since v8.6.11, a few configuration options seem to accept an empty value where they did not previously; particularly the `type` of a `Menu` widget, and the `compound` of any ttk widget with a label. Providing an explicit expected error message to `checkEnumParam` bypasses the check of an empty value, which no longer raises `TclError`. (cherry picked from commit 4fe454c) Co-authored-by: Zachary Ware <zach@python.org>
…thonGH-29093) Since v8.6.11, a few configuration options seem to accept an empty value where they did not previously; particularly the `type` of a `Menu` widget, and the `compound` of any ttk widget with a label. Providing an explicit expected error message to `checkEnumParam` bypasses the check of an empty value, which no longer raises `TclError`. (cherry picked from commit 4fe454c) Co-authored-by: Zachary Ware <zach@python.org>
Since v8.6.11, a few configuration options seem to accept an empty value
where they did not previously; particularly the
typeof aMenuwidget, and the
compoundof an ttk widget with a label. Providing anexplicit expected error message to
checkEnumParambypasses the checkof an empty value, which no longer raises
TclError.https://bugs.python.org/issue45436