FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
gh-114314: ctypes: remove stgdict and switch to heap types by encukou · Pull Request #116458 · python/cpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.3k
Star
74.9k
Code
Issues
5k+
Pull requests
2.5k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
gh-114314: ctypes: remove stgdict and switch to heap types
- #116458
#116458
Merged
encukou
merged 60 commits into
python:main
python/cpython:main
from
encukou:ctypes-no-stgdict
encukou/cpython:ctypes-no-stgdict
Copy head branch name to clipboard
Mar 20, 2024
Conversation
Commits
60
(60)
Checks
Files changed
Merged
gh-114314: ctypes: remove stgdict and switch to heap types
#116458
encukou
merged 60 commits into
python:main
python/cpython:main
from
encukou:ctypes-no-stgdict
encukou/cpython:ctypes-no-stgdict
Copy head branch name to clipboard
Commits
Commits on Mar 7, 2024
Move paramfunc into a new struct, PyStgInfo
Show description for 6155211
encukou
committed
6155211
View commit details
Copy full SHA for 6155211
Browse repository at this point
Move the StgInfo out of StgDictObject and into the classes themselves
encukou
committed
0171c30
View commit details
Copy full SHA for 0171c30
Browse repository at this point
Move StgInfo init/retrieval right after the corresponding StgDict one
encukou
committed
acd91e9
View commit details
Copy full SHA for acd91e9
Browse repository at this point
Move `size` from StgDict to StgInfo
encukou
committed
55af504
View commit details
Copy full SHA for 55af504
Browse repository at this point
Move `align` from StgDict to StgInfo
encukou
committed
27e5c50
View commit details
Copy full SHA for 27e5c50
Browse repository at this point
Move `length` from StgDict to StgInfo, except for sizeof calculation
encukou
committed
01bc637
View commit details
Copy full SHA for 01bc637
Browse repository at this point
Move part of the sizeof calculation
encukou
committed
c8017e9
View commit details
Copy full SHA for c8017e9
Browse repository at this point
Move `ffi_type_pointer` from StgDict to StgInfo
encukou
committed
40b012f
View commit details
Copy full SHA for 40b012f
Browse repository at this point
Move `proto` from StgDict to StgInfo. Doesn't work just yet.
encukou
committed
537defb
View commit details
Copy full SHA for 537defb
Browse repository at this point
Hack: Reserve space for StgInfo in static type objects
encukou
committed
ace6623
View commit details
Copy full SHA for ace6623
Browse repository at this point
If StgInfo is not initialized, act as if it's not there
encukou
committed
6f775b9
View commit details
Copy full SHA for 6f775b9
Browse repository at this point
Move `getfunc` & `setfunc`
encukou
committed
4aaa06a
View commit details
Copy full SHA for 4aaa06a
Browse repository at this point
Move `argtypes`
encukou
committed
6808524
View commit details
Copy full SHA for 6808524
Browse repository at this point
Move `converters`
encukou
committed
f031c00
View commit details
Copy full SHA for f031c00
Browse repository at this point
Move `restype`
encukou
committed
535176c
View commit details
Copy full SHA for 535176c
Browse repository at this point
Move `checker`
encukou
committed
5260003
View commit details
Copy full SHA for 5260003
Browse repository at this point
Move `flags`
encukou
committed
0d3017e
View commit details
Copy full SHA for 0d3017e
Browse repository at this point
Move `format`
encukou
committed
269b825
View commit details
Copy full SHA for 269b825
Browse repository at this point
Move `ndim`
encukou
committed
946f474
View commit details
Copy full SHA for 946f474
Browse repository at this point
Move `shape`
encukou
committed
607ed23
View commit details
Copy full SHA for 607ed23
Browse repository at this point
Replace more uses of StgDict
encukou
committed
cb126b7
View commit details
Copy full SHA for cb126b7
Browse repository at this point
Don't pass dicts to PyCStgDict_clone
encukou
committed
fd04c91
View commit details
Copy full SHA for fd04c91
Browse repository at this point
Don't set StgDict as type dict; use name `attrdict` for the type __dict__
encukou
committed
8dce549
View commit details
Copy full SHA for 8dce549
Browse repository at this point
Remove more uses of StgDict
encukou
committed
6705e0e
View commit details
Copy full SHA for 6705e0e
Browse repository at this point
Remove StgDict
encukou
committed
8f99377
View commit details
Copy full SHA for 8f99377
Browse repository at this point
Remove StgDict from comments, names, and platform-specific code
encukou
committed
daea3e5
View commit details
Copy full SHA for daea3e5
Browse repository at this point
Switch PyCSimpleType_new to _init
encukou
committed
f67211f
View commit details
Copy full SHA for f67211f
Browse repository at this point
Switch _SimpleCData to a heap type
encukou
committed
02aa9e1
View commit details
Copy full SHA for 02aa9e1
Browse repository at this point
Convert Struct and Union type _new to _init
encukou
committed
13feac7
View commit details
Copy full SHA for 13feac7
Browse repository at this point
Switch PyCPointerType_new to _init
encukou
committed
a68417b
View commit details
Copy full SHA for a68417b
Browse repository at this point
Switch PyCFuncPtrType_new to _init
encukou
committed
ad5d7b4
View commit details
Copy full SHA for ad5d7b4
Browse repository at this point
Switch CFuncPtr to heap type
encukou
committed
8d5e230
View commit details
Copy full SHA for 8d5e230
Browse repository at this point
Switch Array to heap type
encukou
committed
cdfae13
View commit details
Copy full SHA for cdfae13
Browse repository at this point
Switch _Pointer to a heap type
encukou
committed
2d80960
View commit details
Copy full SHA for 2d80960
Browse repository at this point
Switch _ctypes.Union to heap type
encukou
committed
3337ba4
View commit details
Copy full SHA for 3337ba4
Browse repository at this point
Switch Structure to heap type
encukou
committed
596cb89
View commit details
Copy full SHA for 596cb89
Browse repository at this point
Make the type-adding macros more regular
encukou
committed
91feb64
View commit details
Copy full SHA for 91feb64
Browse repository at this point
Switch _CData to a heap type
encukou
committed
77c64fe
View commit details
Copy full SHA for 77c64fe
Browse repository at this point
Visit/decref type in PyCData visit/dealloc
encukou
committed
0be46a1
View commit details
Copy full SHA for 0be46a1
Browse repository at this point
Remove _HackyHeapType
encukou
committed
9be3520
View commit details
Copy full SHA for 9be3520
Browse repository at this point
Decref attrdicts
encukou
committed
e523c2f
View commit details
Copy full SHA for e523c2f
Browse repository at this point
Delegate CType_Type deallocation to PyType_Type.tp_dealloc
encukou
committed
fb70e43
View commit details
Copy full SHA for fb70e43
Browse repository at this point
Fix Windows-specific crashes
neonene
authored and
encukou
committed
cc59dea
View commit details
Copy full SHA for cc59dea
Browse repository at this point
Update comments
encukou
committed
9bd9eb1
View commit details
Copy full SHA for 9bd9eb1
Browse repository at this point
Add tests for metaclass details
encukou
committed
946a0b1
View commit details
Copy full SHA for 946a0b1
Browse repository at this point
Fix getting the module state
encukou
committed
970b41d
View commit details
Copy full SHA for 970b41d
Browse repository at this point
Add a blurb, even though this *should* not affect usage
encukou
committed
2a450ad
View commit details
Copy full SHA for 2a450ad
Browse repository at this point
Commits on Mar 11, 2024
Apply suggestions from code review
Show description for 9878809
authored
9878809
View commit details
Copy full SHA for 9878809
Browse repository at this point
Inline PyStgInfo_From* & PyStgInfo_Init for performance
encukou
committed
b2ba89a
View commit details
Copy full SHA for b2ba89a
Browse repository at this point
Make CType_Type's clear & dealloc safer
Show description for 605c30c
encukou
committed
605c30c
View commit details
Copy full SHA for 605c30c
Browse repository at this point
Remove self decrefs in error cases in init functions
encukou
committed
41dea1b
View commit details
Copy full SHA for 41dea1b
Browse repository at this point
Add `static` to PyType_Spec
encukou
committed
be0888f
View commit details
Copy full SHA for be0888f
Browse repository at this point
Remove redundant comment
encukou
committed
ac6eb38
View commit details
Copy full SHA for ac6eb38
Browse repository at this point
Apply suggestions from code review
Show description for 33be37f
encukou
and
erlend-aasland
authored
33be37f
View commit details
Copy full SHA for 33be37f
Browse repository at this point
Commits on Mar 12, 2024
Fix comment
Show description for 0b9d0a7
encukou
and
neonene
authored
0b9d0a7
View commit details
Copy full SHA for 0b9d0a7
Browse repository at this point
PyErr_WriteUnraisable clears the exception
encukou
committed
f02bad6
View commit details
Copy full SHA for f02bad6
Browse repository at this point
Commits on Mar 20, 2024
Call tp_init for argument validation
Show description for 16faac7
encukou
and
neonene
authored
16faac7
View commit details
Copy full SHA for 16faac7
Browse repository at this point
Add test for swapped type creation
neonene
authored and
encukou
committed
2461e50
View commit details
Copy full SHA for 2461e50
Browse repository at this point
Merge branch 'main' into ctypes-no-stgdict
encukou
authored
ab90768
View commit details
Copy full SHA for ab90768
Browse repository at this point
Fix test_swapped_type_creation
encukou
committed
de054af
View commit details
Copy full SHA for de054af
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL