]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46417: _curses uses PyStructSequence_NewType() (GH-30736)
authorVictor Stinner <vstinner@python.org>
Fri, 21 Jan 2022 02:30:20 +0000 (03:30 +0100)
committerGitHub <noreply@github.com>
Fri, 21 Jan 2022 02:30:20 +0000 (03:30 +0100)
commit1781d55eb34f94029e50970232635fc5082378cb
tree613d5c847480facfe411345b4a61ee3239950e53
parent17f268a4ae6190b2659c89c6f32ad2d006e0e3c8
bpo-46417: _curses uses PyStructSequence_NewType() (GH-30736)

The _curses module now creates its ncurses_version type as a heap
type using PyStructSequence_NewType(), rather than using a static
type.

* Move _PyStructSequence_FiniType() definition to pycore_structseq.h.
* test.pythoninfo: log curses.ncurses_version.
Include/internal/pycore_structseq.h
Include/structseq.h
Lib/test/pythoninfo.py
Modules/_cursesmodule.c
Objects/floatobject.c
Objects/longobject.c
Objects/structseq.c
Python/errors.c
Python/sysmodule.c
Python/thread.c