Commit Graph

82373 Commits

Author SHA1 Message Date
Victor Stinner 0c6f1ca40c asyncio doc: write a complete TCP echo example, client and server
Example based on tcp_echo.py example from Tulip source code.
2013-12-03 01:46:39 +01:00
Victor Stinner 3e09e32c8a asyncio doc: move coroutine example to the Task page 2013-12-03 01:22:06 +01:00
Victor Stinner ea3183f5b8 Split asyncio documentation into subfiles 2013-12-03 01:08:00 +01:00
Victor Stinner fa2ce78a21 asyncio doc: change level of titles
Remove also a duplicated Protocols section!
2013-12-03 00:56:27 +01:00
Victor Stinner b3be72cac3 asyncio doc: reorder sections 2013-12-03 00:49:26 +01:00
Victor Stinner 34d8df5171 asyncio: document wait() function 2013-12-03 00:42:59 +01:00
Victor Stinner dd339a248c asyncio doc
* complete create_connection() prototype
* link to Server
* document get_extra_info() keys
2013-12-03 00:32:48 +01:00
Antoine Pitrou 4a60d42aad Issue #19852: move Path._raw_open() around, as it is now a private method.
Patch by Vajrasky Kok.
2013-12-02 21:25:18 +01:00
Christian Heimes a02c69a73b add check_hostname arg to ssl._create_stdlib_context() 2013-12-02 20:59:28 +01:00
Christian Heimes a5768f7292 Issue #19785: smtplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
2013-12-02 20:44:17 +01:00
Christian Heimes 216d463b1f Issue #19783: nntplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
2013-12-02 20:20:11 +01:00
Christian Heimes 1bc7068d7f Issue #19784: poplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
2013-12-02 20:10:50 +01:00
Christian Heimes b8a3f58158 merge 2013-12-02 20:02:04 +01:00
Christian Heimes 48aae57996 Issue #19782: imaplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
2013-12-02 20:01:29 +01:00
Serhiy Storchaka 6de88b3107 Fixed formatting (was parsed as description list). 2013-12-02 20:31:00 +02:00
Serhiy Storchaka 475546facf Fixed regex match representation in an example. 2013-12-02 20:23:19 +02:00
Victor Stinner 0c924b83ee asyncio: sort some methods 2013-12-02 17:52:31 +01:00
Victor Stinner b09f9b33d2 asyncio doc: group transport method by classes
Declare classes because they are mentionned in documentation of other functions
2013-12-02 17:46:04 +01:00
Victor Stinner e91f180efe asyncio: more documentation 2013-12-02 17:40:48 +01:00
Victor Stinner be490633be asyncio: document network functions, and stream reader/writer 2013-12-02 17:28:32 +01:00
Walter Doerwald f217206bcc Add NEWS entry for issue #19834: merge with 3.3. 2013-12-02 17:20:50 +01:00
Walter Doerwald 7601a1e56f Add NEWS entry for issue #19834. 2013-12-02 17:19:00 +01:00
Eli Bendersky b55c4d4539 Issue #19814: Clarify argparse's docs w.r.t prefix matching 2013-12-02 05:50:48 -08:00
Eli Bendersky f3114532e4 Issue #19814: Clarify argparse's docs w.r.t prefix matching 2013-12-02 05:49:54 -08:00
Victor Stinner 10a8e6ab7b asyncio: replace our with asynchronous in docstring 2013-12-02 14:31:43 +01:00
Victor Stinner c37dd614b6 asyncio: document locks 2013-12-02 14:31:16 +01:00
Victor Stinner 0da1d29c8a asyncio: document Queue classes 2013-12-02 14:06:03 +01:00
Victor Stinner 60efaae4f9 Document Task class and task functions 2013-12-02 13:47:23 +01:00
Victor Stinner 3c3c4f5a11 asyncio: cleanup doc 2013-12-02 13:04:25 +01:00
Victor Stinner 550a09ef86 Issue #19833: Document more asyncio.BaseEventLoop methods 2013-12-02 12:41:54 +01:00
Victor Stinner 4e70bb84e6 Issue #19833: add 2 examples to asyncio doc (hello world) 2013-12-02 12:21:30 +01:00
Victor Stinner 8dc434e092 Issue #19833: asyncio doc: add class name to methods 2013-12-02 12:20:57 +01:00
Victor Stinner 5f5657ee50 (Merge 3.3) Issue #19728: Fix sys.getfilesystemencoding() documentation 2013-12-02 12:17:29 +01:00
Victor Stinner 22d0418f71 Issue #19728: Fix sys.getfilesystemencoding() documentation 2013-12-02 12:16:46 +01:00
Walter Doerwald 69359f6207 Fix #19834: merge with 3.3. 2013-12-02 11:43:20 +01:00
Walter Doerwald 9d1dbca5e2 Fix issue #19834: Support unpickling of exceptions pickled by Python 2. 2013-12-02 11:41:01 +01:00
Christian Heimes e5b5edfa2c Issue #19781: ftplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
2013-12-02 02:56:02 +01:00
Christian Heimes 1aa9a75fbf Issue #19509: Add SSLContext.check_hostname to match the peer's certificate
with server_hostname on handshake.
2013-12-02 02:41:19 +01:00
Gregory P. Smith 6e6429a2cd null merge (3.4 already has its own fix for this). 2013-12-01 17:28:24 -08:00
Gregory P. Smith 708a3182c9 Fixes issue #15798: subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed.
The errpipe_write fd will always be >= 3.
2013-12-01 17:27:40 -08:00
Alexandre Vassalotti 02066d3fbd Issue #19754: Fix typo. 2013-12-01 16:31:49 -08:00
Alexandre Vassalotti 28d271ef6b Issue #19754: Make pickletools.optimize respect the frame size target. 2013-12-01 16:27:46 -08:00
Gregory P. Smith 53dd8167ff Fixes issue #15798: subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed. (correct fix for 3.4 this time)
2013-12-01 16:03:24 -08:00
Alexandre Vassalotti 5a63aa62ca Issue #11480: Merge with 3.3. 2013-12-01 13:26:32 -08:00
Alexandre Vassalotti 5c1c3b4f19 Issue #11480: Fixed copy.copy to work with classes with custom metaclasses.
Patch by Daniel Urban.
2013-12-01 13:25:26 -08:00
Charles-François Natali 5abca14b00 Issue #18994: Add a missing check for a return value in fcntmodule. Patch by
Vajrasky Kok.
2013-12-01 14:30:47 +01:00
Charles-François Natali 837a6e012f Issue #19849: selectors: Document the possibility of early select() wakeup upon
EINTR.
2013-12-01 13:23:48 +01:00
Charles-François Natali b3330a0abf Issue #19842: Refactor BaseSelector to make it an actual usable ABC. 2013-12-01 11:04:17 +01:00
Victor Stinner be0708f066 Closes #19831: Stop tracemalloc later at Python shutdown to be able to use
tracemalloc in objects destructor

Replace atexit handler with an harcoded C function _PyTraceMalloc_Fini().
2013-12-01 10:03:26 +01:00
Gregory P. Smith 54532c9742 Undo supposed fix for Issue #15798 until I understand why this is
causing test_multiprocessing_forkserver and test_multiprocessing_spawn
failures on head (3.4).
2013-12-01 00:13:35 -08:00