GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||
GeezerVison is showing github.com — gh-140494: require that Tcl is built with thread support by mdehoon · Pull Request #141241 · python/cpython Conversation
|
|
Note: The compile-time test for |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| { | ||
| Tcl_Interp* interp; | ||
| Tcl_Obj* threaded; | ||
| interp = Tcl_CreateInterp(); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Is it fine to create an interpreter at import time? The application may have nothing to do with Tcl, just importing tkinter for introspection.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The alternative is to have the check in Tkapp_New (and potentially any other Tcl functions that get added to _tkinter in the future).
I understand your concern, but with the check at import time, we are sure that the check is performed, and that it is run only once.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It is fine to check in Tkapp_New. Any other function will likely require an interpreter created in Tkapp_New, or threading will not matter for them. And in the future non-threaded Tcl/Tk will be in the past.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
OK. I have modified the PR and moved the check to Tkapp_New.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Documentation build overview
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…nd the tcl_platform(threaded) variable has been removed
…ported in the CPython repo.
|
Please refrain from frequent pushes. Only push when you are ready, preferably in a single commit. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
My apologies, my local repository somehow got out of sync with the remote one. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This PR is stale because it has been open for 90 days with no activity. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
It is not stale, it waits for it's time. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.