]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Move private _PySet API to the internal API (#107041)
authorVictor Stinner <vstinner@python.org>
Sat, 22 Jul 2023 15:04:34 +0000 (17:04 +0200)
committerGitHub <noreply@github.com>
Sat, 22 Jul 2023 15:04:34 +0000 (17:04 +0200)
commit5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975
tree288d255165674d6464a2739cf5254cc83561d9c5
parentc92ef6fe0e1384c090b94143cdc01e5e114a8747
gh-106320: Move private _PySet API to the internal API (#107041)

* Add pycore_setobject.h header file.
* Move the following API to the internal C API:

  * _PySet_Dummy
  * _PySet_NextEntry()
  * _PySet_Update()
18 files changed:
Include/cpython/setobject.h
Include/internal/pycore_pymem.h
Include/internal/pycore_setobject.h [new file with mode: 0644]
Makefile.pre.in
Modules/_abc.c
Modules/_pickle.c
Objects/codeobject.c
Objects/dictobject.c
Objects/setobject.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/ast_opt.c
Python/bytecodes.c
Python/ceval.c
Python/compile.c
Python/executor.c
Python/marshal.c
Python/pylifecycle.c