| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead. |
Sorry, something went wrong.
There was a problem hiding this comment.
Please add a news entry, and ideally a test case. This seems difficult to test, though. You could look into adding something to _testsinglephase.
Sorry, something went wrong.
…pping switch to main interpreter when not needed (singlephase == NULL) check in update_global_state_for_extension could be removed because it's only called with pointers to stack objects.
|
Added a news entry. I was not able to implement a test, I already looked at _testsinglephase but wasn't able to setup something similar to numpy :( |
Sorry, something went wrong.
|
Thanks for the contribution. See my comment -- this was already fixed by #144602. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
(singlephase == NULL) check in update_global_state_for_extension could be removed because it's only called with pointers to stack objects.
I've tried creating a minimal working reproducer instead of importing numpy with the example from #138045 (comment) but didn't manage to integrate that into Python's test suite. Maybe someone else has more knowledge on how to create a simple test that reproduce the numpy situation.
The fix can be backported down to 3.13.