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.10] bpo-45436: Fix tkinter tests with Tcl/Tk 8.6.11+ (GH-29077)#29080

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

[3.10] bpo-45436: Fix tkinter tests with Tcl/Tk 8.6.11+ (GH-29077)#29080
ambv merged 1 commit into
python:3.10python/cpython:3.10from
miss-islington:backport-4fe454c-3.10miss-islington/cpython:backport-4fe454c-3.10Copy 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>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@zware: Status check is done, and it's a success ✅ .

2 similar comments
@miss-islington

Copy link
Copy Markdown
Contributor Author

@zware: Status check is done, and it's a success ✅ .

@miss-islington

Copy link
Copy Markdown
Contributor Author

@zware: Status check is done, and it's a success ✅ .

@ambv ambv merged commit b8dbb3a into python:3.10 Oct 20, 2021
@miss-islington miss-islington deleted the backport-4fe454c-3.10 branch October 20, 2021 14:31
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.