Commit e788578d authored by Jason Madden's avatar Jason Madden

Properly attribute warnings from patch_thread.

parent fd0bb50b
...@@ -570,7 +570,7 @@ def patch_all(socket=True, dns=True, time=True, select=True, thread=True, os=Tru ...@@ -570,7 +570,7 @@ def patch_all(socket=True, dns=True, time=True, select=True, thread=True, os=Tru
if time: if time:
patch_time() patch_time()
if thread: if thread:
patch_thread(Event=Event) patch_thread(Event=Event, _warnings=_warnings)
# sys must be patched after thread. in other cases threading._shutdown will be # sys must be patched after thread. in other cases threading._shutdown will be
# initiated to _MainThread with real thread ident # initiated to _MainThread with real thread ident
if sys: if sys:
......
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