FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives in tkinter module by iritkatriel · Pull Request #102319 · python/cpython · GitHub

/ cpython Public

gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives in tkinter module - #102319

Merged
iritkatriel merged 1 commit into
python:mainfrom
iritkatriel:tkinter-exc_info
Mar 1, 2023
Merged

gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives in tkinter module#102319
iritkatriel merged 1 commit into
python:mainfrom
iritkatriel:tkinter-exc_info

Conversation

iritkatriel commented Feb 28, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

type and traceback are redundant now.

Comment thread Modules/_tkinter.c
static int quitMainLoop = 0;
static int errorInCmd = 0;
static PyObject *excInCmd;
static PyObject *valInCmd;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

These were unused before this PR?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

They were used in a couple of Restore() calls, scroll down.

pitrou commented Feb 28, 2023

Copy link
Copy Markdown
Member

I have not followed on these new APIs, but I have no problem trusting you @iritkatriel and @markshannon :-)

iritkatriel merged commit f91846b into python:main Mar 1, 2023
erlend-aasland added a commit to erlend-aasland/cpython that referenced this pull request Mar 29, 2023
iritkatriel deleted the tkinter-exc_info branch April 3, 2023 17:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL