Update of /cvsroot/python/python/dist/src/Doc/lib In directory sc8-pr-cvs1:/tmp/cvs-serv13682/Doc/lib Added Files: libdummythread.tex libdummythreading.tex Log Message: Brett Cannon's dummy_thread and dummy_threading modules (SF patch 622537), with some nitpicking editorial changes. --- NEW FILE: libdummythread.tex --- \section{\module{dummy_thread} --- Drop-in replacement for the \module{thread} module} \declaremodule[dummythread]{standard}{dummy_thread} \modulesynopsis{Drop-in replacement for the thread module.} This module provides a duplicate interface to the \refmodule{thread} module. It is meant to be imported when the \module{thread} module is not provided on a platform. Suggested usage is: \begin{verbatim} try: import thread as _thread except ImportError: import dummy_thread as _thread \end{verbatim} Be careful to not use this module where deadlock might occur from a thread being created that blocks waiting for another thread to be created. This often occurs with blocking I/O. --- NEW FILE: libdummythreading.tex --- \section{\module{dummy_thread} --- Drop-in replacement for the \module{threading} module} \declaremodule[dummythreading]{standard}{dummy_threading} \modulesynopsis{Drop-in replacement for the threading module.} This module provides a duplicate interface to the \refmodule{threading} module. It is meant to be imported when the \module{threading} module is not provided on a platform. Suggested usage is: \begin{verbatim} try: import threading as _threading except ImportError: import dummy_threading as _threading \end{verbatim} Be careful to not use this module where deadlock might occur from a thread being created that blocks waiting for another thread to be created. This often occurs with blocking I/O.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4