mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Minor bugfix: one uthread-dependent cleanup had "if not uthread" in stead of "if uthread".
This commit is contained in:
parent
fd771a6a85
commit
1c0fceeaa7
1 changed files with 1 additions and 1 deletions
|
@ -1120,7 +1120,7 @@ def execstring(pytext, globals, locals, filename="<string>", debugging=0,
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
tracebackwindow.traceback(1, filename)
|
tracebackwindow.traceback(1, filename)
|
||||||
if not uthread2:
|
if uthread2:
|
||||||
uthread2.globalUnlock()
|
uthread2.globalUnlock()
|
||||||
if debugging:
|
if debugging:
|
||||||
sys.settrace(None)
|
sys.settrace(None)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue