Skip to content

Commit 0ee59a9

Browse files
GH-90699: Remove _Py_IDENTIFIER usage from _ctypes (GH-99054)
1 parent 0faa0ba commit 0ee59a9

File tree

6 files changed

+163
-64
lines changed

6 files changed

+163
-64
lines changed

Include/internal/pycore_global_strings.h

+16
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ struct _Py_global_strings {
9191
STRUCT_FOR_ID(__complex__)
9292
STRUCT_FOR_ID(__contains__)
9393
STRUCT_FOR_ID(__copy__)
94+
STRUCT_FOR_ID(__ctypes_from_outparam__)
9495
STRUCT_FOR_ID(__del__)
9596
STRUCT_FOR_ID(__delattr__)
9697
STRUCT_FOR_ID(__delete__)
@@ -217,25 +218,39 @@ struct _Py_global_strings {
217218
STRUCT_FOR_ID(__weakref__)
218219
STRUCT_FOR_ID(__xor__)
219220
STRUCT_FOR_ID(_abc_impl)
221+
STRUCT_FOR_ID(_abstract_)
220222
STRUCT_FOR_ID(_annotation)
223+
STRUCT_FOR_ID(_anonymous_)
224+
STRUCT_FOR_ID(_argtypes_)
225+
STRUCT_FOR_ID(_as_parameter_)
221226
STRUCT_FOR_ID(_asyncio_future_blocking)
222227
STRUCT_FOR_ID(_blksize)
223228
STRUCT_FOR_ID(_bootstrap)
229+
STRUCT_FOR_ID(_check_retval_)
224230
STRUCT_FOR_ID(_dealloc_warn)
225231
STRUCT_FOR_ID(_feature_version)
232+
STRUCT_FOR_ID(_fields_)
226233
STRUCT_FOR_ID(_finalizing)
227234
STRUCT_FOR_ID(_find_and_load)
228235
STRUCT_FOR_ID(_fix_up_module)
236+
STRUCT_FOR_ID(_flags_)
229237
STRUCT_FOR_ID(_get_sourcefile)
230238
STRUCT_FOR_ID(_handle_fromlist)
231239
STRUCT_FOR_ID(_initializing)
232240
STRUCT_FOR_ID(_is_text_encoding)
241+
STRUCT_FOR_ID(_length_)
233242
STRUCT_FOR_ID(_lock_unlock_module)
234243
STRUCT_FOR_ID(_loop)
244+
STRUCT_FOR_ID(_needs_com_addref_)
245+
STRUCT_FOR_ID(_pack_)
246+
STRUCT_FOR_ID(_restype_)
235247
STRUCT_FOR_ID(_showwarnmsg)
236248
STRUCT_FOR_ID(_shutdown)
237249
STRUCT_FOR_ID(_slotnames)
250+
STRUCT_FOR_ID(_swappedbytes_)
251+
STRUCT_FOR_ID(_type_)
238252
STRUCT_FOR_ID(_uninitialized_submodules)
253+
STRUCT_FOR_ID(_use_broken_old_ctypes_structure_semantics_)
239254
STRUCT_FOR_ID(_warn_unawaited_coroutine)
240255
STRUCT_FOR_ID(_xoptions)
241256
STRUCT_FOR_ID(a)
@@ -387,6 +402,7 @@ struct _Py_global_strings {
387402
STRUCT_FOR_ID(follow_symlinks)
388403
STRUCT_FOR_ID(format)
389404
STRUCT_FOR_ID(frequency)
405+
STRUCT_FOR_ID(from_param)
390406
STRUCT_FOR_ID(fromlist)
391407
STRUCT_FOR_ID(fset)
392408
STRUCT_FOR_ID(func)

Include/internal/pycore_runtime_init_generated.h

+112
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)