Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-39487: Merge duplicated _Py_IDENTIFIER identifiers in C code #18254
Conversation
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Jan 29, 2020
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
This comment has been minimized.
This comment has been minimized.
We can't make this change, as it means the statics get initialised before the Python interpreter has been initialised, and won't be reinitialised if the interpreter is destroyed and recreated. |
This comment has been minimized.
This comment has been minimized.
My apologies, my comment above was based on an outdated understanding of how the identifier structs get initialised (it's the usage that initialises them, not the declaration). That means this is a useful refactoring to help identify blockers to full subinterpreter support. |
remove redundant identifier(__spec__) in import.c Co-Authored-By: Brett Cannon <54418+brettcannon@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
I have made the requested changes; please review again |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Jan 30, 2020
Thanks for making the requested changes! @brettcannon: please review the changes made to this pull request. |
This comment has been minimized.
This comment has been minimized.
codecov
bot
commented
Jan 30, 2020
Codecov Report
@@ Coverage Diff @@
## master #18254 +/- ##
========================================
Coverage 82.11% 82.12%
========================================
Files 1954 1954
Lines 583213 583366 +153
Branches 44383 44401 +18
========================================
+ Hits 478932 479092 +160
+ Misses 94652 94636 -16
- Partials 9629 9638 +9
Continue to review full report at Codecov.
|
shihai1991 commentedJan 29, 2020
•
edited by bedevere-bot
https://bugs.python.org/issue39487