Skip to content

Commit

Permalink
Moved more non windows symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfrank63 committed Oct 28, 2018
1 parent 5bfbaf5 commit 21cd622
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions trio/hazmat.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@
from ._core import (
cancel_shielded_checkpoint, Abort, wait_task_rescheduled,
enable_ki_protection, disable_ki_protection, currently_ki_protected, Task,
checkpoint, current_task, ParkingLot, UnboundedQueue, RunVar,
notify_fd_close, wait_socket_readable, wait_socket_writable,
notify_socket_close, TrioToken, current_trio_token,
temporarily_detach_coroutine_object, permanently_detach_coroutine_object,
reattach_detached_coroutine_object, current_statistics, reschedule,
remove_instrument, add_instrument, current_clock, current_root_task,
checkpoint_if_cancelled, spawn_system_task
checkpoint, current_task, ParkingLot, UnboundedQueue, RunVar, TrioToken,
current_trio_token, temporarily_detach_coroutine_object,
permanently_detach_coroutine_object, reattach_detached_coroutine_object,
current_statistics, reschedule, remove_instrument, add_instrument,
current_clock, current_root_task, checkpoint_if_cancelled,
spawn_system_task
)

try:
Expand All @@ -36,6 +35,10 @@
# non windows symbols
wait_writable,
wait_readable,
notify_fd_close,
wait_socket_readable,
wait_socket_writable,
notify_socket_close
)
except ImportError:
pass
Expand Down

0 comments on commit 21cd622

Please sign in to comment.