From: Victor Stinner Date: Tue, 8 Jul 2014 10:43:24 +0000 (+0200) Subject: Merge 3.4 X-Git-Tag: v3.5.0a1~1315 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4532c43e16c8d40101759f8ddd0e5631c3626e34;p=thirdparty%2FPython%2Fcpython.git Merge 3.4 asyncio: sync with Tulip - Tulip issue 185: Add a create_task() method to event loops. The create_task() method can be overriden in custom event loop to implement their own task class. For example, greenio and Pulsar projects use their own task class. The create_task() method is now preferred over creating directly task using the Task class. - tests: fix a warning - fix typo in the name of a test function - Update AbstractEventLoop: add new event loop methods; update also the unit test Update asyncio documentation - Document the new create_task() method - "Hide" the Task class: point to the create_task() method for interoperability - Rewrite the documentation of the Task class - Document the "Pending task destroyed" - Update output in debug mode of examples in the dev section - Replace Task() with create_task() in examples --- 4532c43e16c8d40101759f8ddd0e5631c3626e34