]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-141376: Fix exported symbols (GH-141377)
authorVictor Stinner <vstinner@python.org>
Tue, 11 Nov 2025 08:21:24 +0000 (09:21 +0100)
committerGitHub <noreply@github.com>
Tue, 11 Nov 2025 08:21:24 +0000 (09:21 +0100)
commit8435a2278f964f48d36edbc5092be5ebecfcb120
tree28a94cc92403ffd1321322d94d3c70745acdc461
parent92741c59f89e114474bdb2cb539107ef6bae0b9c
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
Modules/_io/_iomodule.c
Modules/_io/_iomodule.h
Modules/_io/bufferedio.c
Modules/_io/bytesio.c
Modules/_io/fileio.c
Modules/_io/iobase.c
Modules/_io/stringio.c
Modules/_io/textio.c
Modules/_io/winconsoleio.c
Objects/typevarobject.c
Python/import.c