mirror of https://github.com/python/cpython
Issue #22006: Merge from 3.4.
This commit is contained in:
commit
866bbf1cf5
|
@ -176,10 +176,6 @@ In addition to these methods, lock objects can also be used via the
|
|||
* Calling :func:`sys.exit` or raising the :exc:`SystemExit` exception is
|
||||
equivalent to calling :func:`_thread.exit`.
|
||||
|
||||
* Not all built-in functions that may block waiting for I/O allow other threads
|
||||
to run. (The most popular ones (:func:`time.sleep`, :meth:`io.FileIO.read`,
|
||||
:func:`select.select`) work as expected.)
|
||||
|
||||
* It is not possible to interrupt the :meth:`acquire` method on a lock --- the
|
||||
:exc:`KeyboardInterrupt` exception will happen after the lock has been acquired.
|
||||
|
||||
|
|
Loading…
Reference in New Issue