summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Close #20365: Skip test_asyncio.test_events.test_read_pty_output() on Mac OS XVictor Stinner2014-01-231-0/+3
| | | | | | | | | | older than 10.9 (Maverick). kqueue doesn't support character devices (PTY) on Mac OS X older than 10.9.
* | Fixed test_user_command on OpenSolaris where floats can have different stringSerhiy Storchaka2014-01-231-9/+20
|\ \ | |/ | | | | representation in Tcl and Python.
| * Fixed test_user_command on OpenSolaris where floats can have different stringSerhiy Storchaka2014-01-231-9/+20
| | | | | | | | representation in Tcl and Python.
* | Issue #19936: Restored executable bits for several libffi files.Serhiy Storchaka2014-01-234-0/+0
|\ \ | |/ | | | | These files have shebangs and executable bits in the libffi distribution.
| * Issue #19936: Restored executable bits for several libffi files.Serhiy Storchaka2014-01-234-0/+0
| | | | | | | | These files have shebangs and executable bits in the libffi distribution.
* | Issue #20311: add debug help in test_selectorsVictor Stinner2014-01-231-2/+5
| |
* | asyncio doc: add an client example using streamsVictor Stinner2014-01-231-0/+35
| |
* | asyncio doc: Move streams to their own dedicated pageVictor Stinner2014-01-233-209/+211
| |
* | asyncio doc: link create_connection() to open_connection() and create_server()Victor Stinner2014-01-232-53/+63
| | | | | | | | | | | | to start_server() Rename also the "Network functions" section to "Stream functions" and move it to the Stream section.
* | asyncio doc: move stream classes to their own classVictor Stinner2014-01-231-29/+74
| |
* | asyncio: Fix open_connection() documentation, writer is a StreamWriterVictor Stinner2014-01-232-4/+4
| |