Restore dummy_threading and _dummy_thread, but deprecate them (bpo-31370) (#3648)

This commit is contained in:
Antoine Pitrou 2017-09-18 22:04:20 +02:00 committed by GitHub
parent a8e7d903d7
commit b43c4caf81
9 changed files with 575 additions and 31 deletions

View file

@ -23,14 +23,10 @@ threading API built on top of this module.
single: pthreads
pair: threads; POSIX
The module is optional. It is supported on Windows, Linux, SGI IRIX, Solaris
2.x, as well as on systems that have a POSIX thread (a.k.a. "pthread")
implementation. For systems lacking the :mod:`_thread` module, the
:mod:`_dummy_thread` module is available. It duplicates this module's interface
and can be used as a drop-in replacement.
It defines the following constants and functions:
.. versionchanged:: 3.7
This module used to be optional, it is now always available.
This module defines the following constants and functions:
.. exception:: error