| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Copy and clear pending startup file data before executing import lines or .start entry points so recursive site.addsitedir() calls process a separate batch.
|
Updated to fix some failures we introduced on the main branch. |
Sorry, something went wrong.
|
Thanks for this PR. I am working on a more comprehensive fix that is inspired by a suggestion @ncoghlan made on the original implementation PR: keeping a state-file that manages all .pth and .start file state internally. By doing this, we make it structurally impossible for reentrant calls to step on each other. I'll leave this PR open for now and we can compare. My PR will be larger and more complicated, but I think it's the right direction to go in because it also means fewer global state variables. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Copy and clear pending startup file data before executing import lines or .start entry points so recursive site.addsitedir() calls process a separate batch.
Fixes #149504