mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
gh-99284: [ctypes] remove _use_broken_old_ctypes_structure_semantics_ (GH-99285)
It was untested and undocumented. No code has been found in the wild that ever used it.
This commit is contained in:
parent
27d8dc2c9d
commit
a3360facba
7 changed files with 7 additions and 27 deletions
|
|
@ -765,7 +765,6 @@ _PyStaticObjects_CheckRefcnt(PyInterpreterState *interp) {
|
|||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(_swappedbytes_));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(_type_));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(_uninitialized_submodules));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(_use_broken_old_ctypes_structure_semantics_));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(_warn_unawaited_coroutine));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(_xoptions));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(a));
|
||||
|
|
|
|||
|
|
@ -251,7 +251,6 @@ struct _Py_global_strings {
|
|||
STRUCT_FOR_ID(_swappedbytes_)
|
||||
STRUCT_FOR_ID(_type_)
|
||||
STRUCT_FOR_ID(_uninitialized_submodules)
|
||||
STRUCT_FOR_ID(_use_broken_old_ctypes_structure_semantics_)
|
||||
STRUCT_FOR_ID(_warn_unawaited_coroutine)
|
||||
STRUCT_FOR_ID(_xoptions)
|
||||
STRUCT_FOR_ID(a)
|
||||
|
|
|
|||
1
Include/internal/pycore_runtime_init_generated.h
generated
1
Include/internal/pycore_runtime_init_generated.h
generated
|
|
@ -757,7 +757,6 @@ extern "C" {
|
|||
INIT_ID(_swappedbytes_), \
|
||||
INIT_ID(_type_), \
|
||||
INIT_ID(_uninitialized_submodules), \
|
||||
INIT_ID(_use_broken_old_ctypes_structure_semantics_), \
|
||||
INIT_ID(_warn_unawaited_coroutine), \
|
||||
INIT_ID(_xoptions), \
|
||||
INIT_ID(a), \
|
||||
|
|
|
|||
|
|
@ -408,8 +408,6 @@ _PyUnicode_InitStaticStrings(void) {
|
|||
PyUnicode_InternInPlace(&string);
|
||||
string = &_Py_ID(_uninitialized_submodules);
|
||||
PyUnicode_InternInPlace(&string);
|
||||
string = &_Py_ID(_use_broken_old_ctypes_structure_semantics_);
|
||||
PyUnicode_InternInPlace(&string);
|
||||
string = &_Py_ID(_warn_unawaited_coroutine);
|
||||
PyUnicode_InternInPlace(&string);
|
||||
string = &_Py_ID(_xoptions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue