]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-141070: Add PyUnstable_Object_Dump() function (#141072)
authorVictor Stinner <vstinner@python.org>
Tue, 18 Nov 2025 16:13:13 +0000 (17:13 +0100)
committerGitHub <noreply@github.com>
Tue, 18 Nov 2025 16:13:13 +0000 (16:13 +0000)
commit600f3feb234219c9a9998e30ea653a2afb1f8116
treee910ed068d5f0f7b02960514b450af73810f4c43
parent4695ec109d07c9bfd9eb7d91d6285c974a4331a7
gh-141070: Add PyUnstable_Object_Dump() function (#141072)

* Promote _PyObject_Dump() as a public function.
* Keep _PyObject_Dump() alias to PyUnstable_Object_Dump()
  for backward compatibility.
* Replace _PyObject_Dump() with PyUnstable_Object_Dump().

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Doc/c-api/object.rst
Doc/whatsnew/3.15.rst
Include/cpython/object.h
Include/internal/pycore_global_objects_fini_generated.h
Lib/test/test_capi/test_object.py
Misc/NEWS.d/next/C_API/2025-11-05-21-48-31.gh-issue-141070.mkrhjQ.rst [new file with mode: 0644]
Modules/_testcapi/object.c
Objects/object.c
Objects/unicodeobject.c
Python/gc.c
Python/pythonrun.c