Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #20331: Fixed possible FD leaks in various modules: | Serhiy Storchaka | 2014-01-25 | 5 | -30/+34 |
|\ | | | | | | | http.server, imghdr, mailcap, mimetypes, xml.etree. | ||||
| * | Issue #20331: Fixed possible FD leaks in various modules: | Serhiy Storchaka | 2014-01-25 | 5 | -30/+34 |
| | | | | | | | | http.server, imghdr, mailcap, mimetypes, xml.etree. | ||||
* | | #20348: fix headers markup in Argument Clinic howto. Patch by Moritz Neeb. | Ezio Melotti | 2014-01-25 | 1 | -6/+2 |
| | | |||||
* | | Update asyncio from the Tulip project | Victor Stinner | 2014-01-25 | 17 | -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 resolution | Victor Stinner | 2014-01-25 | 1 | -0/+4 |
| | | |||||
* | | test_selectors: remove unused imports | Victor Stinner | 2014-01-25 | 1 | -1/+1 |
| | | |||||
* | | Issue #20311: asyncio: Add a granularity attribute to BaseEventLoop: maximum | Victor Stinner | 2014-01-25 | 6 | -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 Stinner | 2014-01-25 | 4 | -1/+33 |
| | | |||||
* | | Issue #20311: Revert e042ea77a152 and 7ce7295393c2, PollSelector.select() and | Victor Stinner | 2014-01-25 | 3 | -32/+2 |
| | | | | | | | | EpollSelector.select() round again the timeout towards zero | ||||
* | | (Merge 3.3) Issue #20311: Revert 033137c12d88 (02f9db3e684e), | Victor Stinner | 2014-01-25 | 3 | -18/+1 |
|\ \ | |/ | | | | | select.epoll.poll() rounds again the timeout towards zero | ||||
| * | Issue #20311: Revert 033137c12d88, select.epoll.poll() rounds again the timeout | Victor Stinner | 2014-01-25 | 3 | -19/+2 |
| | | | | | | | | towards zero | ||||
* | | Issue #20193: The _lzma module now uses Argument Clinic. | Serhiy Storchaka | 2014-01-25 | 2 | -146/+434 |
| | | | | | | | | LZMACompressor.__init__ is left not converted. | ||||
* | | Fix grammar: merge with 3.3. | Eric V. Smith | 2014-01-25 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix grammar. | Eric V. Smith | 2014-01-25 | 1 | -1/+1 |
| | | |||||
* | | Issue #20193: The _bz2 module now uses Argument Clinic. | Serhiy Storchaka | 2014-01-25 | 2 | -72/+241 |
| | | |||||
* | | Issue #20133: The audioop module now uses Argument Clinic. | Serhiy Storchaka | 2014-01-25 | 2 | -486/+1427 |
| | | |||||
* | | Fixed converting errors in the binascii module (issue20151). | Serhiy Storchaka | 2014-01-25 | 2 | -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 Ware | 2014-01-25 | 2 | -0/+3 |
| | | |||||
* | | Issue #20151: The binascii module now uses Argument Clinic. | Serhiy Storchaka | 2014-01-25 | 2 | -294/+736 |
| | | |||||
* | | merge 3.3 | Benjamin Peterson | 2014-01-25 | 1 | -3/+6 |
|\ \ | |/ | |||||
| * | update hosting faq | Benjamin Peterson | 2014-01-25 | 1 | -3/+6 |
| | | |||||
* | | Issue #20381: Fix sanity checking on default arguments when c_default is | Zachary Ware | 2014-01-25 | 2 | -3/+16 |
| | | | | | | | | also specified. | ||||
* | | Null merge | Serhiy Storchaka | 2014-01-24 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Fix typo. | Serhiy Storchaka | 2014-01-24 | 1 | -1/+1 |
| | | |||||
* | | Null merge | Serhiy Storchaka | 2014-01-24 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Issue #20384: Fix the test_tarfile test on Windows. | Serhiy Storchaka | 2014-01-24 | 1 | -1/+6 |
| | | | | | | | | On Windows os.open() error message doesn't contain file name. | ||||
* | | asyncio doc: document StreamWriter.drain() | Victor Stinner | 2014-01-24 | 1 | -2/+2 |
| | | |||||
* | | asyncio doc: move AbstractServer to the event loop page | Victor Stinner | 2014-01-24 | 3 | -16/+43 |
| | | | | | | | | | | Add also entries in the table of content for each synchronization primitive class. | ||||
* | | merge 3.3 (#20374) | Benjamin Peterson | 2014-01-24 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | new plan: just remove typecasts (closes #20374) | Benjamin Peterson | 2014-01-24 | 1 | -4/+4 |
| | | |||||
* | | asyncio doc: add a "Coroutines and protocols" section | Victor Stinner | 2014-01-24 | 2 | -0/+14 |
| | | |||||
* | | asyncio: mention that transports/protocols are low-level, streams are high-level | Victor Stinner | 2014-01-24 | 2 | -6/+6 |
| | | |||||
* | | Issue #20189: Four additional builtin types (PyTypeObject, | Larry Hastings | 2014-01-24 | 31 | -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.3 | Nick Coghlan | 2014-01-24 | 2 | -13/+49 |
|\ \ | |/ | |||||
| * | Issue 20317: Remove debugging code from contextlib | Nick Coghlan | 2014-01-24 | 2 | -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 Peterson | 2014-01-24 | 2 | -3/+5 |
|\ \ | |/ | |||||
| * | use new readline function types (closes #20374) | Benjamin Peterson | 2014-01-24 | 2 | -3/+5 |
| | | |||||
* | | asyncio: wait_for() now cancels the future on timeout. Patch written by Gustavo | Victor Stinner | 2014-01-23 | 2 | -17/+18 |
| | | | | | | | | Carneiro. | ||||
* | | asyncio (Tulip issue 110): StreamReader.read() and StreamReader.readline() now | Victor Stinner | 2014-01-23 | 1 | -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 X | Victor Stinner | 2014-01-23 | 1 | -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 string | Serhiy Storchaka | 2014-01-23 | 1 | -9/+20 |
|\ \ | |/ | | | | | representation in Tcl and Python. | ||||
| * | Fixed test_user_command on OpenSolaris where floats can have different string | Serhiy Storchaka | 2014-01-23 | 1 | -9/+20 |
| | | | | | | | | representation in Tcl and Python. | ||||
* | | Issue #19936: Restored executable bits for several libffi files. | Serhiy Storchaka | 2014-01-23 | 4 | -0/+0 |
|\ \ | |/ | | | | | These files have shebangs and executable bits in the libffi distribution. | ||||
| * | Issue #19936: Restored executable bits for several libffi files. | Serhiy Storchaka | 2014-01-23 | 4 | -0/+0 |
| | | | | | | | | These files have shebangs and executable bits in the libffi distribution. | ||||
* | | Issue #20311: add debug help in test_selectors | Victor Stinner | 2014-01-23 | 1 | -2/+5 |
| | | |||||
* | | asyncio doc: add an client example using streams | Victor Stinner | 2014-01-23 | 1 | -0/+35 |
| | | |||||
* | | asyncio doc: Move streams to their own dedicated page | Victor Stinner | 2014-01-23 | 3 | -209/+211 |
| | | |||||
* | | asyncio doc: link create_connection() to open_connection() and create_server() | Victor Stinner | 2014-01-23 | 2 | -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 class | Victor Stinner | 2014-01-23 | 1 | -29/+74 |
| | | |||||
* | | asyncio: Fix open_connection() documentation, writer is a StreamWriter | Victor Stinner | 2014-01-23 | 2 | -4/+4 |
| | |