]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46417: signal uses PyStructSequence_NewType() (GH-30735)
authorVictor Stinner <vstinner@python.org>
Fri, 21 Jan 2022 03:02:38 +0000 (04:02 +0100)
committerGitHub <noreply@github.com>
Fri, 21 Jan 2022 03:02:38 +0000 (04:02 +0100)
commitd013b241352e902389f955f8f99d75f16c124ee2
tree669f683a125a254191afd8c32f8d10784536ae6c
parent1781d55eb34f94029e50970232635fc5082378cb
bpo-46417: signal uses PyStructSequence_NewType() (GH-30735)

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

Add 'siginfo_type' member to the global signal_state_t structure.
Modules/signalmodule.c