8000 GH-92123: Move _elementtree heap types to module state by erlend-aasland · Pull Request #101187 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

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
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
76641a3
Prepare init function
Nov 20, 2020
5cbbe16
Convert element type to heap type
Nov 20, 2020
116fa39
Convert element iter type to heap type
Nov 20, 2020
a792fcf
Convert tree builder type to heap type
Nov 20, 2020
341a92d
Convert xml parser type to heap type
Nov 20, 2020
f35c604
Update clinic
Nov 20, 2020
b6573b1
Add NEWS
Nov 20, 2020
404b398
Use PyModule_AddObjectRef
Nov 20, 2020
6e53e92
Create module before creating types
Nov 20, 2020
525cfaf
Fetch type before GC
Nov 21, 2020
2448e93
Add initialisation guard
Nov 21, 2020
959a225
Address Heime's review: Don't define globals twice
Nov 23, 2020
9210a36
Visit type in type traverse functions
Jan 11, 2021
a6c6fea
Fix NEWS formatting
Jan 11, 2021
e039922
Sync with main
erlend-aasland Nov 7, 2022
b02b18e
Sync with main
erlend-aasland Jan 12, 2023
744be65
Merge branch 'main' into isolate-elementtree
erlend-aasland Jan 18, 2023
c8a3c67
Address review: make types immutable
erlend-aasland Jan 18, 2023
2175f66
Disallow instantiation for the iter type
erlend-aasland Jan 19, 2023
1ef41e1
PEP 687: Move types to state struct
erlend-aasland Jan 18, 2023
dbc4417
Sync with main
erlend-aasland Jan 20, 2023
24794dd
refactor: replace query with parameter
erlend-aasland Jan 20, 2023
6bb6511
refactor: replace query with parameter
erlend-aasland Jan 20, 2023
8dccc5a
refactor: replace query with parameter
erlend-aasland Jan 20, 2023
d10ecd0
Readability improvement
erlend-aasland Jan 20, 2023
04807e0
Merge branch 'main' into etree/move-heap-types-to-state
kumaraditya303 Jan 21, 2023
78d1676
Update Modules/_elementtree.c
erlend-aasland Jan 21, 2023
40fb571
Address review: remove etree types from globals-to-fix.tsv
erlend-aasland Jan 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Address review: remove etree types from globals-to-fix.tsv
  • Loading branch information
erlend-aasland committed Jan 21, 2023
commit 40fb57144484d45e7ca51a2d7b0a378c75e8188c
4 changes: 0 additions & 4 deletions Tools/c-analyzer/cpython/globals-to-fix.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -425,10 +425,6 @@ Modules/_decimal/_decimal.c - PyDecContextManager_Type -
Modules/_decimal/_decimal.c - PyDecContext_Type -
Modules/_decimal/_decimal.c - PyDecSignalDictMixin_Type -
Modules/_decimal/_decimal.c - PyDec_Type -
Modules/_elementtree.c - ElementIter_Type -
Modules/_elementtree.c - Element_Type -
Modules/_elementtree.c - TreeBuilder_Type -
Modules/_elementtree.c - XMLParser_Type -
Modules/_pickle.c - Pdata_Type -
Modules/_pickle.c - PicklerMemoProxyType -
Modules/_pickle.c - Pickler_Type -
Expand Down
0