jenkins-bot has submitted this change and it was merged.
Change subject: Work around traceback in atexit ......................................................................
Work around traceback in atexit
Bug: T74699 Change-Id: I527ba5ba32fd3d517ca654e4beb34156953d5e21 --- M setup.py 1 file changed, 7 insertions(+), 0 deletions(-)
Approvals: John Vandenberg: Looks good to me, but someone else must approve XZise: Looks good to me, approved jenkins-bot: Verified
diff --git a/setup.py b/setup.py index bbff59b..66495ae 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,13 @@ import os import sys
+try: + # Work around a traceback on Python < 2.7.4 and < 3.3.1 + # http://bugs.python.org/issue15881#msg170215 + import multiprocessing # noqa: unused +except ImportError: + pass + PYTHON_VERSION = sys.version_info[:3] PY2 = (PYTHON_VERSION[0] == 2) PY26 = (PYTHON_VERSION < (2, 7))