-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
GH-92123: Move _elementtree heap types to module state #101187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
erlend-aasland
merged 28 commits into
python:main
from
erlend-aasland:etree/move-heap-types-to-state
Jan 21, 2023
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
76641a3
Prepare init function
5cbbe16
Convert element type to heap type
116fa39
Convert element iter type to heap type
a792fcf
Convert tree builder type to heap type
341a92d
Convert xml parser type to heap type
f35c604
Update clinic
b6573b1
Add NEWS
404b398
Use PyModule_AddObjectRef
6e53e92
Create module before creating types
525cfaf
Fetch type before GC
2448e93
Add initialisation guard
959a225
Address Heime's review: Don't define globals twice
9210a36
Visit type in type traverse functions
a6c6fea
Fix NEWS formatting
e039922
Sync with main
erlend-aasland b02b18e
Sync with main
erlend-aasland 744be65
Merge branch 'main' into isolate-elementtree
erlend-aasland c8a3c67
Address review: make types immutable
erlend-aasland 2175f66
Disallow instantiation for the iter type
erlend-aasland 1ef41e1
PEP 687: Move types to state struct
erlend-aasland dbc4417
Sync with main
erlend-aasland 24794dd
refactor: replace query with parameter
erlend-aasland 6bb6511
refactor: replace query with parameter
erlend-aasland 8dccc5a
refactor: replace query with parameter
erlend-aasland d10ecd0
Readability improvement
erlend-aasland 04807e0
Merge branch 'main' into etree/move-heap-types-to-state
kumaraditya303 78d1676
Update Modules/_elementtree.c
erlend-aasland 40fb571
Address review: remove etree types from globals-to-fix.tsv
erlend-aasland File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor: replace query with parameter
Pass state as an argument to Element_Check()
- Loading branch information
commit 6bb6511c5b1efe05fac3df9e3b1f6ea69f4e6130
There are no files selected for viewing
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.