Commit graph

5996 commits

Author SHA1 Message Date
Victor Stinner
7088b99eb8 (Merge 3.4) Tulip issue 83, Python issue #21252: Fill some XXX docstrings in asyncio 2014-06-05 12:07:14 +02:00
Victor Stinner
f9e49dd346 Tulip issue 83, Python issue #21252: Fill some XXX docstrings in asyncio 2014-06-05 12:06:44 +02:00
Victor Stinner
17f3663497 Issue #21326: Add asyncio.BaseEventLoop.is_closed() method
Add BaseEventLoop._closed attribute and use it to check if the event loop was
closed or not, instead of checking different attributes in each subclass of
BaseEventLoop.

run_forever() and run_until_complete() now raises a RuntimeError('Event loop is
closed') exception if the event loop was closed.

BaseProactorEventLoop.close() now also cancels "accept futures".
2014-06-04 01:06:24 +02:00
Terry Jan Reedy
15ec11e4e3 Merge with 3.4 2014-06-02 20:43:13 -04:00
Terry Jan Reedy
b52f876767 Issue 21533: Dicts take iterables, not iterators. Patch by Wolfgang Maier. 2014-06-02 20:42:56 -04:00
Victor Stinner
06d736a891 (Merge 3.4) Issue #21601: Document asyncio.Task.cancel(). Initial patch written
by Vajrasky Kok.
2014-06-02 23:08:52 +02:00
Victor Stinner
8d21357fb5 Issue #21601: Document asyncio.Task.cancel(). Initial patch written by Vajrasky
Kok.
2014-06-02 23:06:46 +02:00
Benjamin Peterson
da30b46e57 merge 3.4 2014-05-31 13:17:15 -07:00
Benjamin Peterson
a8195770fa give the correct fixer name (closes #21604) 2014-05-31 13:16:49 -07:00
Terry Jan Reedy
069c87bee4 Merge with 3.4 2014-05-30 16:20:25 -04:00
Terry Jan Reedy
0edb5c1668 Issue #21593: (from StackOverflow) minor doc clarification for re.search. 2014-05-30 16:19:59 -04:00
Brett Cannon
2a17bde930 Issue #20383: Introduce importlib.util.module_from_spec().
Along the way, dismantle importlib._bootstrap._SpecMethods as it was
no longer relevant and constructing the new function required
partially dismantling the class anyway.
2014-05-30 14:55:29 -04:00
Vinay Sajip
c8f0d6ebfc Closes #21608: Merged documentation update from 3.4. 2014-05-30 19:04:08 +01:00
Vinay Sajip
c673a9ab87 Issue #21608: Updated HTTPHandler documentation. 2014-05-30 18:59:27 +01:00
Raymond Hettinger
35db43955c Issue #13742: Add key and reverse parameters to heapq.merge() 2014-05-30 02:28:36 -07:00
Victor Stinner
7434ed7b6a (Merge 3.4) Issue #21454: Fix asyncio.BaseEventLoop.connect_read_pipe doc
The function sets the the pipe to non-blocking mode.
2014-05-29 00:19:09 +02:00
Victor Stinner
a5b257af22 Issue #21454: Fix asyncio.BaseEventLoop.connect_read_pipe doc
The function sets the the pipe to non-blocking mode.
2014-05-29 00:14:03 +02:00
Victor Stinner
a1a4ddf0a7 (Merge 3.4) Issue #21376: document asyncio.TimeoutError 2014-05-29 00:05:13 +02:00
Victor Stinner
28d0ae48e9 Issue #21376: document asyncio.TimeoutError 2014-05-29 00:04:57 +02:00
Benjamin Peterson
e44b947a9d merge 3.4 2014-05-26 15:48:19 -07:00
Benjamin Peterson
5e2c4d2de0 grammar and sentence flow fix 2014-05-26 15:48:12 -07:00
Benjamin Peterson
2059ded1af merge 3.4 2014-05-26 15:45:22 -07:00
Benjamin Peterson
f9ea5f39d8 format reST directive in the usual way 2014-05-26 15:45:14 -07:00
Benjamin Peterson
0024fbb5ce merge 3.4 2014-05-26 15:42:44 -07:00
Benjamin Peterson
0d81d80f6e link to wikipedia description of cryptographic salt 2014-05-26 15:42:29 -07:00
Benjamin Peterson
0ccff4d3e1 oxford comma 2014-05-26 15:41:26 -07:00
Raymond Hettinger
dfe098d215 Issue 16774: Add a new itertools recipe (suggested by Alexey Kachayev). 2014-05-25 22:03:56 -07:00
Raymond Hettinger
fa4ed0c145 merge 2014-05-25 18:06:27 -07:00
Raymond Hettinger
e8e2df3daa Issue 21558: Fix a typo in the contextlib docs 2014-05-25 18:06:04 -07:00
Charles-François Natali
a924fc7abc Issue #21565: multiprocessing: use contex-manager protocol for synchronization
primitives.
2014-05-25 14:12:12 +01:00
Serhiy Storchaka
2f8dca735e Issue #20197: Added support for the WebP image type in the imghdr module.
Patch by Fabrice Aneche and Claudiu Popa.
2014-05-25 11:45:37 +03:00
Raymond Hettinger
a3d58ae2f2 merge 2014-05-23 03:47:11 +01:00
Raymond Hettinger
7096e26983 Issue 21479: Fix markup for the TarFile.open() classmethod. 2014-05-23 03:46:52 +01:00
Raymond Hettinger
14d062f2f5 merge 2014-05-23 00:04:26 +01:00
Raymond Hettinger
f7f64f94b1 Issue 21198: Minor tarfile documentation bug. 2014-05-23 00:03:45 +01:00
Charles-François Natali
644b8f52a8 Issue #21455: Add a default backlog to socket.listen(). 2014-05-22 19:45:39 +01:00
Donald Stufft
8b852f111e Fix Issue #21528 - Fix documentation typos 2014-05-20 12:58:38 -04:00
Antoine Pitrou
f48ff0dd6c Issue #21430: additions to the description of non-blocking SSL sockets 2014-05-18 00:56:53 +02:00
Antoine Pitrou
75e03388d8 Issue #21430: additions to the description of non-blocking SSL sockets 2014-05-18 00:55:13 +02:00
Brian Quinlan
20efceb757 Issue #21362: concurrent.futures does not validate that max_workers is proper 2014-05-17 13:51:10 -07:00
Antoine Pitrou
d87fcf438b Issue #21364: remove recommendation of broken pattern. 2014-05-15 22:39:41 +02:00
Antoine Pitrou
2d1ec06484 Issue #21364: remove recommendation of broken pattern. 2014-05-15 22:38:56 +02:00
Victor Stinner
ef5b4e3dc3 Issue #21488: Fix doc of codecs.decode() and codecs.encode(), no keyword support.
Patch written by Brad Aylsworth.
2014-05-14 17:08:45 +02:00
R David Murray
37f524f001 Merge: #21347: use string not list in shell=True example. 2014-05-14 10:10:14 -04:00
R David Murray
ae9d193dc4 #21347: use string not list in shell=True example.
Patch by Akira.
2014-05-14 10:09:52 -04:00
Antoine Pitrou
43e3d9409d Issue #19775: Add a samefile() method to pathlib Path objects.
Initial patch by Vajrasky Kok.
2014-05-13 10:50:15 +02:00
Jason R. Coombs
61f61dc679 Merge doc change from 3.3 2014-05-12 22:41:49 -04:00
Jason R. Coombs
73308d6869 Merge doc change from 3.3 2014-05-12 22:41:15 -04:00
Jason R. Coombs
13266fb5c8 Update docs to reflect resurrection of Setuptools over Distribute 2014-05-12 22:40:49 -04:00
Victor Stinner
933da8efb7 (Merge 3.4) Issue #21485: remove unnecesary .flush() calls in the asyncio
subprocess code example
2014-05-12 23:25:25 +02:00