mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
bpo-33608: Revert "Factor out a private, per-interpreter _Py_AddPendingCall()." (gh-12806)
This reverts commit f13c5c8b94
(gh-12360).
This commit is contained in:
parent
f938d8be4c
commit
b75b1a3504
11 changed files with 108 additions and 151 deletions
|
@ -373,7 +373,7 @@ class TestPendingCalls(unittest.TestCase):
|
|||
def test_pendingcalls_threaded(self):
|
||||
|
||||
#do every callback on a separate thread
|
||||
n = 32 #total callbacks (see NPENDINGCALLS in pycore_ceval.h)
|
||||
n = 32 #total callbacks
|
||||
threads = []
|
||||
class foo(object):pass
|
||||
context = foo()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue