Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.9] bpo-45436: Fix tkinter tests with Tcl/Tk 8.6.11+ (GH-29077)#29081

Merged
ambv merged 1 commit into
python:3.9python/cpython:3.9from
miss-islington:backport-4fe454c-3.9miss-islington/cpython:backport-4fe454c-3.9Copy head branch name to clipboard
Oct 20, 2021
Merged

[3.9] bpo-45436: Fix tkinter tests with Tcl/Tk 8.6.11+ (GH-29077)#29081
ambv merged 1 commit into
python:3.9python/cpython:3.9from
miss-islington:backport-4fe454c-3.9miss-islington/cpython:backport-4fe454c-3.9Copy head branch name to clipboard

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.