summaryrefslogtreecommitdiffstats
path: root/Lib/collections/abc.py
diff options
context:
space:
mode:
authorTin Tvrtković <tinchester@gmail.com>2022-02-24 02:17:00 (GMT)
committerGitHub <noreply@github.com>2022-02-24 02:17:00 (GMT)
commit7fce1063b6e5a366f8504e039a8ccdd6944625cd (patch)
tree2c64b18baf6d1515d11b4959d1b1377351126104 /Lib/collections/abc.py
parent6e117e75c35507f170f6a789538136477f9f226d (diff)
downloadcpython-7fce1063b6e5a366f8504e039a8ccdd6944625cd.zip
cpython-7fce1063b6e5a366f8504e039a8ccdd6944625cd.tar.gz
cpython-7fce1063b6e5a366f8504e039a8ccdd6944625cd.tar.bz2
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 'Lib/collections/abc.py')
0 files changed, 0 insertions, 0 deletions