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.8] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781)#23854

Merged
serhiy-storchaka merged 1 commit into
python:3.8python/cpython:3.8from
serhiy-storchaka:backport-3d569fd-3.8serhiy-storchaka/cpython:backport-3d569fd-3.8Copy head branch name to clipboard
Dec 19, 2020
Merged

[3.8] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781)#23854
serhiy-storchaka merged 1 commit into
python:3.8python/cpython:3.8from
serhiy-storchaka:backport-3d569fd-3.8serhiy-storchaka/cpython:backport-3d569fd-3.8Copy head branch name to clipboard

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Dec 19, 2020

Copy link
Copy Markdown
Member
  • Tkinter functions and constructors which need a default root window
    raise now RuntimeError with descriptive message instead of obscure
    AttributeError or NameError if it is not created yet or cannot
    be created automatically.

  • Add tests for all functions which use default root window.

  • Fix import in the pynche script.
    (cherry picked from commit 3d569fd)

https://bugs.python.org/issue42630

…t root (pythonGH-23781)

* Tkinter functions and constructors which need a default root window
  raise now RuntimeError with descriptive message instead of obscure
  AttributeError or NameError if it is not created yet or cannot
  be created automatically.

* Add tests for all functions which use default root window.

* Fix import in the pynche script..
(cherry picked from commit 3d569fd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

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