summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* NEWS update for asyncio.Guido van Rossum2014-01-261-0/+7
|
* asyncio: Rename {Empty,Full} to {QueueEmpty,QueueFull} and no longer get ↵Guido van Rossum2014-01-262-11/+21
| | | | them from queue.py.
* asyncio: Locks refactor: use a separate context manager; remove ↵Guido van Rossum2014-01-262-22/+95
| | | | Semaphore._locked.
* asyncio: Fix race in FastChildWatcher (by its original author, Anthony Baire).Guido van Rossum2014-01-261-20/+16
|
* Merge latest Tulip into asyncioVictor Stinner2014-01-254-16/+5
| | | | | | - Make the new granularity attribute private - Simplify BaseEventLoop._run_once(): avoid math.ceil(), use simple arithmetic instead
* Issue #20311: Fix test_telnetlib, set the resolution of the MockSelectorVictor Stinner2014-01-251-0/+4
|
* Issue 19944: Fix importlib.find_spec() so it imports parents as needed.Eric Snow2014-01-2511-230/+292
| | | | The function is also moved to importlib.util.
* asyncio: Don't export BaseEventLoop, BaseSelectorEventLoop norVictor Stinner2014-01-255-15/+13
| | | | | | BaseProactorEventLoop Import them from submodules if you really need them.
* merge 3.3Benjamin Peterson2014-01-251-5/+6
|\
| * update sphinx urlBenjamin Peterson2014-01-251-2/+2
| |
| * linkifyBenjamin Peterson2014-01-251-3/+4
| |
* | Issue #20331: Fixed possible FD leaks in various modules:Serhiy Storchaka2014-01-255-30/+34
|\ \ | |/ | | | | http.server, imghdr, mailcap, mimetypes, xml.etree.
| * Issue #20331: Fixed possible FD leaks in various modules:Serhiy Storchaka2014-01-255-30/+34
| | | | | | | | http.server, imghdr, mailcap, mimetypes, xml.etree.
* | #20348: fix headers markup in Argument Clinic howto. Patch by Moritz Neeb.Ezio Melotti2014-01-251-6/+2
| |
* | Update asyncio from the Tulip projectVictor Stinner2014-01-2517-887/+931
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major changes: - StreamReader.readexactly() now raises an IncompleteReadError if the end of stream is reached before we received enough bytes, instead of returning less bytes than requested. - Unit tests use the main asyncio module instead of submodules like events - _UnixWritePipeTransport now also supports character devices, as _UnixReadPipeTransport. Patch written by Jonathan Slenders. - Export more symbols: BaseEventLoop, BaseProactorEventLoop, BaseSelectorEventLoop, Queue and Queue sublasses, Empty, Full
* | Fix asyncio tests: define resolutionVictor Stinner2014-01-251-0/+4
| |
* | test_selectors: remove unused importsVictor Stinner2014-01-251-1/+1
| |
* | Issue #20311: asyncio: Add a granularity attribute to BaseEventLoop: maximumVictor Stinner2014-01-256-1/+44
| | | | | | | | | | | | between the resolution of the BaseEventLoop.time() method and the resolution of the selector. The granuarility is used in the scheduler to round time and deadline.
* | Issue #20311: selectors: Add a resolution attribute to BaseSelector.Victor Stinner2014-01-254-1/+33
| |
* | Issue #20311: Revert e042ea77a152 and 7ce7295393c2, PollSelector.select() andVictor Stinner2014-01-253-32/+2
| | | | | | | | EpollSelector.select() round again the timeout towards zero
* | (Merge 3.3) Issue #20311: Revert 033137c12d88 (02f9db3e684e),Victor Stinner2014-01-253-18/+1
|\ \ | |/ | | | | select.epoll.poll() rounds again the timeout towards zero
| * Issue #20311: Revert 033137c12d88, select.epoll.poll() rounds again the timeoutVictor Stinner2014-01-253-19/+2
| | | | | | | | towards zero
* | Issue #20193: The _lzma module now uses Argument Clinic.Serhiy Storchaka2014-01-252-146/+434
| | | | | | | | LZMACompressor.__init__ is left not converted.
* | Fix grammar: merge with 3.3.Eric V. Smith2014-01-251-1/+1
|\ \ | |/
| * Fix grammar.Eric V. Smith2014-01-251-1/+1
| |
* | Issue #20193: The _bz2 module now uses Argument Clinic.Serhiy Storchaka2014-01-252-72/+241
| |
* | Issue #20133: The audioop module now uses Argument Clinic.Serhiy Storchaka2014-01-252-486/+1427
| |
* | Fixed converting errors in the binascii module (issue20151).Serhiy Storchaka2014-01-252-62/+62
| | | | | | | | | | a2b_qp() now accepts keyword arguments. All "ascii" parameters is renamed to "data" for consistancy with a2b_qp().
* | Issue #20376: Argument Clinic now escapes backslashes in docstrings.Zachary Ware2014-01-252-0/+3
| |
* | Issue #20151: The binascii module now uses Argument Clinic.Serhiy Storchaka2014-01-252-294/+736
| |
* | merge 3.3Benjamin Peterson2014-01-251-3/+6
|\ \ | |/
| * update hosting faqBenjamin Peterson2014-01-251-3/+6
| |
* | Issue #20381: Fix sanity checking on default arguments when c_default isZachary Ware2014-01-252-3/+16
| | | | | | | | also specified.
* | Null mergeSerhiy Storchaka2014-01-240-0/+0
|\ \ | |/
| * Fix typo.Serhiy Storchaka2014-01-241-1/+1
| |
* | Null mergeSerhiy Storchaka2014-01-240-0/+0
|\ \ | |/
| * Issue #20384: Fix the test_tarfile test on Windows.Serhiy Storchaka2014-01-241-1/+6
| | | | | | | | On Windows os.open() error message doesn't contain file name.
* | asyncio doc: document StreamWriter.drain()Victor Stinner2014-01-241-2/+2
| |
* | asyncio doc: move AbstractServer to the event loop pageVictor Stinner2014-01-243-16/+43
| | | | | | | | | | Add also entries in the table of content for each synchronization primitive class.
* | merge 3.3 (#20374)Benjamin Peterson2014-01-241-4/+4
|\ \ | |/
| * new plan: just remove typecasts (closes #20374)Benjamin Peterson2014-01-241-4/+4
| |
* | asyncio doc: add a "Coroutines and protocols" sectionVictor Stinner2014-01-242-0/+14
| |
* | asyncio: mention that transports/protocols are low-level, streams are high-levelVictor Stinner2014-01-242-6/+6
| |
* | Issue #20189: Four additional builtin types (PyTypeObject,Larry Hastings2014-01-2431-514/+857
| | | | | | | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes.
* | Merge removal of issue 20317 debugging code from 3.3Nick Coghlan2014-01-242-13/+49
|\ \ | |/
| * Issue 20317: Remove debugging code from contextlibNick Coghlan2014-01-242-13/+49
| | | | | | | | | | | | | | - Alex J Burke noticed a debugging raise in the commit that fixed the original bug reported in issue 20317 - this showed that multiple iterations through the affected loop wasn't actually being tested
* | merge 3.3 (#20374)Benjamin Peterson2014-01-242-3/+5
|\ \ | |/
| * use new readline function types (closes #20374)Benjamin Peterson2014-01-242-3/+5
| |
* | asyncio: wait_for() now cancels the future on timeout. Patch written by GustavoVictor Stinner2014-01-232-17/+18
| | | | | | | | Carneiro.
* | asyncio (Tulip issue 110): StreamReader.read() and StreamReader.readline() nowVictor Stinner2014-01-231-7/+14
| | | | | | | | | | raise a RuntimeError, instead of using an assertion, if another coroutine is already waiting for incoming data