Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 20, 2021

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

https://bugs.python.org/issue45436

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants