gh-141376: Fix exported symbols (GH-141377)
* gh-141376: Fix exported symbols * _io module: add "_Py_" prefix to "spec" variables. For example, rename bufferedrandom_spec to _Py_bufferedrandom_spec. * typevarobject.c: add "static" to "spec" and "slots" variables. * import.c: add "static" to "pkgcontext" variable. * No longer export textiowrapper_slots
This commit is contained in:
@@ -1253,7 +1253,7 @@ static PyType_Slot winconsoleio_slots[] = {
|
||||
{0, NULL},
|
||||
};
|
||||
|
||||
PyType_Spec winconsoleio_spec = {
|
||||
PyType_Spec _Py_winconsoleio_spec = {
|
||||
.name = "_io._WindowsConsoleIO",
|
||||
.basicsize = sizeof(winconsoleio),
|
||||
.flags = (Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC |
|
||||
|
||||
Reference in New Issue
Block a user