You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
20 lines
414 B
Python
20 lines
414 B
Python
# From 3.0.1/lib/python3.0/_dummy_thread.py
|
|
|
|
def start_new_thread(function, args, kwargs={}):
|
|
try:
|
|
function()
|
|
except SystemExit:
|
|
pass
|
|
except:
|
|
args()
|
|
|
|
# Adapted from 3.0.1 code.py
|
|
# Bug is again JUMP_FORWARD elimination compared
|
|
# to earlier and later Pythons.
|
|
def interact():
|
|
while 1:
|
|
try:
|
|
more = 1
|
|
except KeyboardInterrupt:
|
|
more = 0
|