Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-10978: Semaphores can release multiple threads at a time (GH-15588) | Raymond Hettinger | 2019-08-29 | 1 | -4/+7 |
| | |||||
* | bpo-36084: Add threading Native ID information to What's New documentation ↵ | Jake Tesler | 2019-07-30 | 1 | -1/+1 |
| | | | | (GH-14845) | ||||
* | bpo-37266: Daemon threads are now denied in subinterpreters (GH-14049) | Victor Stinner | 2019-06-14 | 1 | -0/+8 |
| | | | | | | | | | | | | In a subinterpreter, spawning a daemon thread now raises an exception. Daemon threads were never supported in subinterpreters. Previously, the subinterpreter finalization crashed with a Pyton fatal error if a daemon thread was still running. * Add _thread._is_main_interpreter() * threading.Thread.start() now raises RuntimeError if the thread is a daemon thread and the method is called from a subinterpreter. * The _thread module now uses Argument Clinic for the new function. * Use textwrap.dedent() in test_threading.SubinterpThreadingTests | ||||
* | bpo-37261: Document sys.unraisablehook corner cases (GH-14059) | Victor Stinner | 2019-06-14 | 1 | -0/+8 |
| | | | | | | | | | | | Document reference cycle and resurrected objects issues in sys.unraisablehook() and threading.excepthook() documentation. Fix test.support.catch_unraisable_exception(): __exit__() no longer ignores unraisable exceptions. Fix test_io test_writer_close_error_on_close(): use a second catch_unraisable_exception() to catch the BufferedWriter unraisable exception. | ||||
* | bpo-37077: Add native thread ID (TID) for AIX (GH-13624) | Michael Felt | 2019-06-13 | 1 | -1/+1 |
| | | | | | | | This is the followup for issue36084 https://bugs.python.org/issue37077 | ||||
* | bpo-37160: Thread native ID NetBSD support (GH-13835) | David Carlier | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | bpo-37087: Adding native ID support for OpenBSD (GH-13654) | David Carlier | 2019-06-03 | 1 | -2/+2 |
| | |||||
* | bpo-1230540: Add threading.excepthook() (GH-13515) | Victor Stinner | 2019-05-27 | 1 | -0/+30 |
| | | | | | | | | | | | | | | | | | | | Add a new threading.excepthook() function which handles uncaught Thread.run() exception. It can be overridden to control how uncaught exceptions are handled. threading.ExceptHookArgs is not documented on purpose: it should not be used directly. * threading.excepthook() and threading.ExceptHookArgs. * Add _PyErr_Display(): similar to PyErr_Display(), but accept a 'file' parameter. * Add _thread._excepthook(): C implementation of the exception hook calling _PyErr_Display(). * Add _thread._ExceptHookArgs: structseq type. * Add threading._invoke_excepthook_wrapper() which handles the gory details to ensure that everything remains alive during Python shutdown. * Add unit tests. | ||||
* | bpo-36084: Add native thread ID (TID) to threading.Thread (GH-13463) | Jake Tesler | 2019-05-22 | 1 | -0/+32 |
| | | | | Add native thread ID (TID) to threading.Thread objects (supported platforms: Windows, FreeBSD, Linux, macOS). | ||||
* | Revert "bpo-36084: Add native thread ID to threading.Thread objects ↵ | Victor Stinner | 2019-05-21 | 1 | -31/+0 |
| | | | | | (GH-11993)" (GH-13458) This reverts commit 4959c33d2555b89b494c678d99be81a65ee864b0. | ||||
* | Correct typos in the Barrier specification (GH-9395) | Géry Ogam | 2019-05-17 | 1 | -2/+2 |
| | |||||
* | bpo-36084: Add native thread ID to threading.Thread objects (GH-11993) | Jake Tesler | 2019-05-12 | 1 | -0/+31 |
| | |||||
* | replace 'sequencial argument' by 'positional' in doc (GH-12925) | Mathieu Dupuy | 2019-04-23 | 1 | -1/+1 |
| | |||||
* | bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) | Serhiy Storchaka | 2018-12-19 | 1 | -2/+2 |
| | |||||
* | bpo-11233: Create availability directive for documentation (GH-9692) | Cheryl Sabella | 2018-10-12 | 1 | -1/+2 |
| | | | | | | Replace "Availability: xxx" with ".. availability:: xxx" in the doc. Original patch by Georg Brandl. Co-Authored-By: Georg Brandl <georg@python.org> | ||||
* | closes bpo-34004: Skip lock interruption tests on musl. (GH-9224) | Benjamin Peterson | 2018-09-12 | 1 | -1/+2 |
| | | | | | | | | | | | Returning EINTR from pthread semaphore or lock acquisition is an optional POSIX feature. musl does not provide this feature, so some threadsignal tests fail when Python is built against it. There's no good way to test for musl, so we skip if we're on Linux and not using glibc pthreads. Also, hedge in the threading documentation about when we can provide interrupts from lock acquisition. | ||||
* | bpo-32208: update threading.Semaphore docs and add unit test (#4709) | Garrett Berg | 2017-12-07 | 1 | -13/+13 |
| | | | | | | | | | | * fix issue32208: update threading.Semaphore docs and add unit test to validate correct behavior * add test for blocking * Update threading.rst * semaphore: remove documentation validation tests and move 'return value' test to BaseSemaphore | ||||
* | point to the module-level get_ident function rather than the one in _thread ↵ | Benjamin Peterson | 2017-09-27 | 1 | -4/+4 |
| | | | | (#3782) | ||||
* | Restore dummy_threading and _dummy_thread, but deprecate them (bpo-31370) ↵ | Antoine Pitrou | 2017-09-18 | 1 | -2/+2 |
| | | | | (#3648) | ||||
* | bpo-31191: Improve grammar in threading.Barrier docs (GH-3080) | Saurabh Chaturvedi | 2017-08-14 | 1 | -2/+2 |
| | |||||
* | bpo-27618: Clarify that threading.Lock is a factory function (GH-1307) | csabella | 2017-06-01 | 1 | -2/+3 |
| | |||||
* | Issue #28960: Drop comma attached to dash in Thread.join() description | Martin Panter | 2016-12-24 | 1 | -1/+1 |
| | |||||
* | Issue #19795: Improved more markups of True/False. | Serhiy Storchaka | 2016-10-19 | 1 | -1/+1 |
| | |||||
* | Issue #19795: Mark up None as literal text. | Serhiy Storchaka | 2016-10-19 | 1 | -3/+3 |
| | |||||
* | Issue #23921: Standardized documentation whitespace formatting. | Serhiy Storchaka | 2016-05-10 | 1 | -1/+1 |
| | | | | Original patch by James Edwards. | ||||
* | Issue #24952: Clarify default argument of stack_size() in threading, _thread | Martin Panter | 2015-08-31 | 1 | -1/+2 |
| | | | | Patch from Mattip. | ||||
* | Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple ↵ | Senthil Kumaran | 2015-06-15 | 1 | -1/+1 |
| | | | | | | | | | documentation typos. Related Issues: #issue21528 #issue24453 | ||||
* | Issue #23943: Fix typos. Patch by Piotr Kasprzyk. | Berker Peksag | 2015-04-14 | 1 | -1/+1 |
| | |||||
* | Issue #22369: Change "context manager protocol" to "context management ↵ | Serhiy Storchaka | 2014-09-10 | 1 | -4/+4 |
| | | | | protocol". | ||||
* | merge with 3.3 | Georg Brandl | 2013-10-06 | 1 | -1/+1 |
|\ | |||||
| * | Closes #18927: Lock.acquire only accepts -1 or positive values for timeout. | Georg Brandl | 2013-10-06 | 1 | -1/+1 |
| | | |||||
* | | Issue #18882: Add threading.main_thread() function. | Andrew Svetlov | 2013-09-04 | 1 | -0/+9 |
|/ | |||||
* | Issue #18757: Improved cross-references in the concurrent package. | Serhiy Storchaka | 2013-08-23 | 1 | -6/+7 |
| | |||||
* | Issue #17435: Don't use mutable default values in Timer. | R David Murray | 2013-03-30 | 1 | -1/+3 |
| | | | | Patch by Denver Coneybeare with some test modifications by me. | ||||
* | Issue #17193: Use binary prefixes (KiB, MiB, GiB) for memory units. | Serhiy Storchaka | 2013-02-16 | 1 | -4/+4 |
| | |||||
* | Issue #17208: add a note about the termination behaviour of daemon threads. | Antoine Pitrou | 2013-02-15 | 1 | -0/+6 |
|\ | |||||
| * | Issue #17208: add a note about the termination behaviour of daemon threads. | Antoine Pitrou | 2013-02-15 | 1 | -0/+6 |
| | | |||||
* | | #16978: merge with 3.2. | Ezio Melotti | 2013-01-18 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | #16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe. | Ezio Melotti | 2013-01-18 | 1 | -2/+2 |
| | | |||||
* | | #10968: commit threading doc changes and corresponding whatsnew entry. | R David Murray | 2012-10-06 | 1 | -166/+147 |
| | | | | | | | | | | | | It is unfortunate that the '_' names were not kept as aliases, and that RLock was not also converted to a class, but it is now too late to change either of those things for 3.3. | ||||
* | | #15865: merge with 3.2. | Ezio Melotti | 2012-09-08 | 1 | -4/+2 |
|\ \ | |/ | |||||
* | | Remove :noindex: for threading.Thread which killed all reference links to it | Eli Bendersky | 2012-07-13 | 1 | -1/+0 |
| | | |||||
* | | Remove outdated statements about threading and imports. | Antoine Pitrou | 2012-05-18 | 1 | -24/+0 |
| | | |||||
* | | #14823: Simplify threading.Lock.acquire argument discussion. | R David Murray | 2012-05-17 | 1 | -8/+5 |
|\ \ | |/ | |||||
| * | #14823: Simplify threading.Lock.acquire argument discussion. | R David Murray | 2012-05-17 | 1 | -8/+5 |
| | | |||||
* | | Improve the threading.Condition docs. | Antoine Pitrou | 2012-04-11 | 1 | -3/+5 |
|\ \ | |/ | |||||
| * | Improve the threading.Condition docs. | Antoine Pitrou | 2012-04-11 | 1 | -3/+5 |
| | | |||||
* | | Merge | Antoine Pitrou | 2012-04-10 | 1 | -139/+167 |
|\ \ | |/ | |||||
| * | Small improvements to the threading docs: better publicize support for the ↵ | Antoine Pitrou | 2012-04-10 | 1 | -19/+33 |
| | | | | | | | | with statement. | ||||
| * | Fix some markup in the threading docs. | Antoine Pitrou | 2012-04-10 | 1 | -70/+78 |
| | |