]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35423: Stop using the "pending calls" machinery for signals. (gh-10972)
authorEric Snow <ericsnowcurrently@gmail.com>
Fri, 11 Jan 2019 21:26:55 +0000 (14:26 -0700)
committerGitHub <noreply@github.com>
Fri, 11 Jan 2019 21:26:55 +0000 (14:26 -0700)
commitfdf282d609fd172d52b59a6f1f062eb701494528
treec73554b9748c06b84b94a84f16fbcca64162b653
parenta909460a09cca79bd051c45b02e650862a57dbd9
bpo-35423: Stop using the "pending calls" machinery for signals. (gh-10972)

This change separates the signal handling trigger in the eval loop from the "pending calls" machinery. There is no semantic change and the difference in performance is insignificant.

The change makes both components less confusing. It also eliminates the risk of changes to the pending calls affecting signal handling. This is particularly relevant for some upcoming pending calls changes I have in the works.
Include/internal/pycore_ceval.h
Misc/NEWS.d/next/Core and Builtins/2018-12-05-16-24-05.bpo-35423.UIie_O.rst [new file with mode: 0644]
Modules/signalmodule.c
Python/ceval.c