Commit Graph

103 Commits

Author SHA1 Message Date
Garrett Berg
a0374dd34a bpo-32208: update threading.Semaphore docs and add unit test (#4709)
* 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
2017-12-07 20:04:26 +02:00
Benjamin Peterson
236329ed9f point to the module-level get_ident function rather than the one in _thread (#3782) 2017-09-26 23:13:15 -07:00
Antoine Pitrou
b43c4caf81 Restore dummy_threading and _dummy_thread, but deprecate them (bpo-31370) (#3648) 2017-09-18 22:04:20 +02:00
Saurabh Chaturvedi
143be36629 bpo-31191: Improve grammar in threading.Barrier docs (GH-3080) 2017-08-14 11:54:53 -07:00
csabella
56ddfd2eea bpo-27618: Clarify that threading.Lock is a factory function (GH-1307) 2017-05-31 17:14:19 -07:00
Martin Panter
972e04ec46 Issue #28960: Drop comma attached to dash in Thread.join() description 2016-12-24 07:28:26 +00:00
Serhiy Storchaka
4adf01caae Issue #19795: Improved more markups of True/False. 2016-10-19 18:30:05 +03:00
Serhiy Storchaka
ecf41da83e Issue #19795: Mark up None as literal text. 2016-10-19 16:29:26 +03:00
Serhiy Storchaka
dba903993a Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
2016-05-10 12:01:23 +03:00
Martin Panter
31e7f50d4c Issue #24952: Clarify default argument of stack_size() in threading, _thread
Patch from Mattip.
2015-08-31 03:15:52 +00:00
Senthil Kumaran
b4760efbad Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation typos.
Related Issues:

#issue21528
#issue24453
2015-06-14 17:35:37 -07:00
Berker Peksag
4882cacab6 Issue #23943: Fix typos. Patch by Piotr Kasprzyk. 2015-04-14 09:30:01 +03:00
Serhiy Storchaka
148679982f Issue #22369: Change "context manager protocol" to "context management protocol". 2014-09-10 23:43:41 +03:00
Georg Brandl
55f4d56091 merge with 3.3 2013-10-06 10:48:48 +02:00
Georg Brandl
b19ef1846c Closes #18927: Lock.acquire only accepts -1 or positive values for timeout. 2013-10-06 10:48:08 +02:00
Andrew Svetlov
58b5c5ad14 Issue #18882: Add threading.main_thread() function. 2013-09-04 07:01:07 +03:00
Serhiy Storchaka
9e0ae53980 Issue #18757: Improved cross-references in the concurrent package. 2013-08-24 00:23:38 +03:00
R David Murray
19aeb439c6 Issue #17435: Don't use mutable default values in Timer.
Patch by Denver Coneybeare with some test modifications by me.
2013-03-30 17:19:38 -04:00
Serhiy Storchaka
f8def28ff0 Issue #17193: Use binary prefixes (KiB, MiB, GiB) for memory units. 2013-02-16 17:29:56 +02:00
Antoine Pitrou
db0b7be566 Issue #17208: add a note about the termination behaviour of daemon threads. 2013-02-15 21:31:33 +01:00
Antoine Pitrou
38b82543f7 Issue #17208: add a note about the termination behaviour of daemon threads. 2013-02-15 21:27:18 +01:00
Ezio Melotti
6d043fc781 #16978: merge with 3.2. 2013-01-18 19:58:47 +02:00
Ezio Melotti
ff12fae80e #16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe. 2013-01-18 19:55:46 +02:00
R David Murray
ef4d286770 #10968: commit threading doc changes and corresponding whatsnew entry.
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.
2012-10-06 14:35:35 -04:00
Ezio Melotti
8b61611309 #15865: merge with 3.2. 2012-09-08 20:49:18 +03:00