Kaydet (Commit) 409f6630 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Remove dependency on dummy_threading (to solve a bootstrap problem).

üst aba4581c
...@@ -16,7 +16,10 @@ from collections import namedtuple ...@@ -16,7 +16,10 @@ from collections import namedtuple
try: try:
from _thread import RLock from _thread import RLock
except: except:
from dummy_threading import RLock class RLock:
'Dummy reentrant lock'
def __enter__(self): pass
def __exit__(self, exctype, excinst, exctb): pass
################################################################################ ################################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment