mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Improve Python tree-shaking
This commit is contained in:
parent
5bb2275788
commit
4f41f2184d
169 changed files with 4182 additions and 2411 deletions
24
third_party/python/Lib/dummy_threading.py
vendored
24
third_party/python/Lib/dummy_threading.py
vendored
|
@ -76,3 +76,27 @@ finally:
|
|||
|
||||
del _dummy_thread
|
||||
del sys_modules
|
||||
|
||||
Barrier = Barrier
|
||||
BoundedSemaphore = BoundedSemaphore
|
||||
BrokenBarrierError = BrokenBarrierError
|
||||
Condition = Condition
|
||||
Event = Event
|
||||
Lock = Lock
|
||||
RLock = RLock
|
||||
Semaphore = Semaphore
|
||||
TIMEOUT_MAX = TIMEOUT_MAX
|
||||
Thread = Thread
|
||||
ThreadError = ThreadError
|
||||
Timer = Timer
|
||||
WeakSet = WeakSet
|
||||
activeCount = activeCount
|
||||
active_count = active_count
|
||||
currentThread = currentThread
|
||||
current_thread = current_thread
|
||||
get_ident = get_ident
|
||||
local = local
|
||||
main_thread = main_thread
|
||||
setprofile = setprofile
|
||||
settrace = settrace
|
||||
stack_size = stack_size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue