spack/lib/spack/llnl/util/tty
Rui Xue d9b945f663
Mac OS: support Python >= 3.8 by using fork-based multiprocessing (#18124)
As detailed in https://bugs.python.org/issue33725, starting new
processes with 'fork' on Mac OS is not guaranteed to work in general.
As of Python 3.8 the default process spawning mechanism was changed
to avoid this issue.

Spack depends on the fork-based method to preserve file descriptors
transparently, to preserve global state, and to avoid pickling some
objects. An effort is underway to remove dependence on fork-based
process spawning (see #18205). In the meantime, this allows Spack to
run with Python 3.8 on Mac OS by explicitly choosing to use 'fork'.

Co-authored-by: Peter Josef Scheibel <scheibel1@llnl.gov>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
2020-09-02 00:15:39 -07:00
..
__init__.py Reduce output verbosity with debug levels (#17546) 2020-07-23 00:49:57 -07:00
colify.py copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
color.py bugfix: don't use sys.stdout as a default arg value (#16541) 2020-05-09 00:56:18 -07:00
log.py Mac OS: support Python >= 3.8 by using fork-based multiprocessing (#18124) 2020-09-02 00:15:39 -07:00
pty.py Mac OS: support Python >= 3.8 by using fork-based multiprocessing (#18124) 2020-09-02 00:15:39 -07:00