compat_posix.py 334 B

12345678910111213
  1. # flake8: noqa
  2. ###############################################################################
  3. # Compat file to load the correct wait function
  4. #
  5. # author: Thomas Moreau and Olivier grisel
  6. #
  7. import sys
  8. # Compat wait
  9. if sys.version_info < (3, 3):
  10. from ._posix_wait import wait
  11. else:
  12. from multiprocessing.connection import wait