summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-24 11:43:55 (GMT)
committerGitHub <noreply@github.com>2019-05-24 11:43:55 (GMT)
commitd8613dc86f4c7acd3e2598095c466fe9dc0ad27c (patch)
tree084aed82724f893c2a16903fde994efc30470304 /Python/errors.c
parent2a37f8f55b543589cc77a67b5cd17cbd9d0311c9 (diff)
downloadcpython-d8613dc86f4c7acd3e2598095c466fe9dc0ad27c.zip
cpython-d8613dc86f4c7acd3e2598095c466fe9dc0ad27c.tar.gz
cpython-d8613dc86f4c7acd3e2598095c466fe9dc0ad27c.tar.bz2
bpo-37031: Reuse _PyRuntime.main_thread in signalmodule.c (GH-13538)
Remove main_thread and main_interp variables from signalmodule.c: reuse _PyRuntime which already track the main thread and the main interpreter. * Remove #include <sys/types.h> which became useless: getpid() call has been removed. * Add runtime argument to is_main() * is_main() now gets the interpreter from runtime.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions