gh-117142: ctypes: Migrate global vars to module state (GH-117189)

This commit is contained in:
neonene 2024-03-29 18:40:48 +09:00 committed by GitHub
parent 2e9be80c99
commit 7e2fef8658
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 237 additions and 224 deletions

View file

@ -416,14 +416,14 @@ Modules/xxmodule.c - ErrorObject -
## manually cached PyUnicodeOjbect
Modules/_ctypes/callproc.c _ctypes_get_errobj error_object_name -
Modules/_ctypes/_ctypes.c CreateSwappedType suffix -
Modules/_ctypes/_ctypes.c CreateSwappedType swapped_suffix -
##-----------------------
## other
## initialized once
Modules/_ctypes/_ctypes.c - _unpickle -
Modules/_ctypes/_ctypes.c PyCArrayType_from_ctype cache -
Modules/_ctypes/_ctypes.c PyCArrayType_from_ctype array_cache -
Modules/_cursesmodule.c - ModDict -
Modules/_datetimemodule.c datetime_strptime module -

Can't render this file because it has a wrong number of fields in line 4.