aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/pymath.c
diff options
context:
space:
mode:
authorTin Tvrtković <tinchester@gmail.com>2022-02-24 03:17:00 +0100
committerGitHub <noreply@github.com>2022-02-23 18:17:00 -0800
commit7fce1063b6e5a366f8504e039a8ccdd6944625cd (patch)
tree2c64b18baf6d1515d11b4959d1b1377351126104 /Python/pymath.c
parent6e117e75c35507f170f6a789538136477f9f226d (diff)
downloadcpython-7fce1063b6e5a366f8504e039a8ccdd6944625cd.tar.gz
cpython-7fce1063b6e5a366f8504e039a8ccdd6944625cd.zip
bpo-46771: Implement task cancel requests counter (GH-31513)
This changes cancelling() and uncancel() to return the count of pending cancellations. This can be used to avoid bugs in certain edge cases (e.g. two timeouts going off at the same time).
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions