diff options
| author | Eric Snow <ericsnowcurrently@gmail.com> | 2019-04-12 09:18:16 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-12 09:18:16 -0600 |
| commit | f13c5c8b9401a9dc19e95d8b420ee100ac022208 (patch) | |
| tree | 00e61cfbb38d11341b39c3d5abe6b04a2ccbbbb5 /Lib/test | |
| parent | 44235041f3b957abd36d3792450c3540aa09e120 (diff) | |
| download | cpython-git-f13c5c8b9401a9dc19e95d8b420ee100ac022208.tar.gz | |
bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (gh-12360)
This is effectively an un-revert of #11617 and #12024 (reverted in #12159). Portions of those were merged in other PRs (with lower risk) and this represents the remainder. Note that I found 3 different bugs in the original PRs and have fixed them here.
Diffstat (limited to 'Lib/test')
| -rw-r--r-- | Lib/test/test_capi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py index 33c98ac28b..02ae54804f 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -373,7 +373,7 @@ class TestPendingCalls(unittest.TestCase): def test_pendingcalls_threaded(self): #do every callback on a separate thread - n = 32 #total callbacks + n = 32 #total callbacks (see NPENDINGCALLS in pycore_ceval.h) threads = [] class foo(object):pass context = foo() |
