Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22286: The "backslashreplace" error handlers now works with | Serhiy Storchaka | 2015-01-25 | 2 | -11/+71 |
| | | | | decoding and translating. | ||||
* | merge from 3.4 | Senthil Kumaran | 2015-01-25 | 1 | -25/+42 |
|\ | | | | | | | | | | | | | Increase http.client.HTTPConnection test coverage. Added a new tunnel test to verify setting of _tunnel_host, _tunnel_port, _tunnel_headers attributes on HTTPConnection object. | ||||
| * | Increase http.client.HTTPConnection test coverage. | Senthil Kumaran | 2015-01-25 | 1 | -25/+42 |
| | | | | | | | | | | Added a new tunnel test to verify setting of _tunnel_host, _tunnel_port, _tunnel_headers attributes on HTTPConnection object. | ||||
* | | Issue20284: Implement PEP461 | Ethan Furman | 2015-01-24 | 2 | -141/+288 |
| | | |||||
* | | prefer server alpn ordering over the client's | Benjamin Peterson | 2015-01-23 | 1 | -2/+2 |
| | | |||||
* | | add support for ALPN (closes #20188) | Benjamin Peterson | 2015-01-23 | 1 | -4/+60 |
| | | |||||
* | | http.client: disable Nagle's algorithm (closes #23302) | Benjamin Peterson | 2015-01-23 | 1 | -22/+3 |
| | | | | | | | | Patch by Demian Brecht. | ||||
* | | revert 7b833bd1f509. I misread the side effect that the code was triggering. | Gregory P. Smith | 2015-01-23 | 1 | -2/+4 |
|\ \ | |/ | | | | | | | *any* kwarg supplied to _assert_python causes it to not append -E to the command line flags so without='-E' does effectively work. | ||||
| * | revert 7b833bd1f509. I misread the side effect that the code was triggering. | Gregory P. Smith | 2015-01-23 | 1 | -2/+4 |
| | | | | | | | | | | *any* kwarg supplied to _assert_python causes it to not append -E to the command line flags so without='-E' does effectively work. | ||||
* | | Remove the unimplemented but ignored without='-E' parameters being passed to | Gregory P. Smith | 2015-01-23 | 1 | -4/+2 |
|\ \ | |/ | | | | | | | | | script_helper.assert_python_failure(). No such feature has ever existed, thus it doesn't do what the comment claims. (It does add a 'without' variable to the environment of the child process but that was not intended) | ||||
| * | Remove the unimplemented but ignored without='-E' parameters being passed to | Gregory P. Smith | 2015-01-23 | 1 | -4/+2 |
| | | | | | | | | | | | | script_helper.assert_python_failure(). No such feature has ever existed, thus it doesn't do what the comment claims. (It does add a 'without' variable to the environment of the child process but that was not intended) | ||||
* | | Only pass -E to the child interpreter if our interpreter was running in that | Gregory P. Smith | 2015-01-23 | 1 | -7/+15 |
|\ \ | |/ | | | | | | | | | | | | | | | mode. Explicitly remove the PYTHONFAULTHANDLER environment variable before launching a child interpreter when its presence would impact the test (the reason -E was being used in the first place). This enables running the test in an environment where other Python environment variables must be set in order for things to run (such as using PYTHONHOME to tell an embedded interpreter where it should think it lives). | ||||
| * | Only pass -E to the child interpreter if our interpreter was running in that | Gregory P. Smith | 2015-01-23 | 1 | -7/+15 |
| | | | | | | | | | | | | | | | | | | | | mode. Explicitly remove the PYTHONFAULTHANDLER environment variable before launching a child interpreter when its presence would impact the test (the reason -E was being used in the first place). This enables running the test in an environment where other Python environment variables must be set in order for things to run (such as using PYTHONHOME to tell an embedded interpreter where it should think it lives). | ||||
* | | Break up TestCommandLine.test_env_var into four distinct tests. | Gregory P. Smith | 2015-01-22 | 1 | -3/+5 |
|\ \ | |/ | |||||
| * | Break up TestCommandLine.test_env_var into four distinct tests. | Gregory P. Smith | 2015-01-22 | 1 | -3/+5 |
| | | |||||
| * | Issue #23009: Add missing "import sys" in test_selectors | Victor Stinner | 2015-01-22 | 1 | -0/+1 |
| | | |||||
* | | Merge 3.4 | Victor Stinner | 2015-01-22 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue #23009: Skip test_selectors.test_empty_select() on Windows | Victor Stinner | 2015-01-22 | 1 | -0/+4 |
| | | |||||
* | | Merge 3.4 (asyncio) | Victor Stinner | 2015-01-21 | 2 | -11/+4 |
|\ \ | |/ | |||||
| * | asyncio: pyflakes, remove unused import | Victor Stinner | 2015-01-21 | 1 | -9/+1 |
| | | | | | | | | tests: Remove unused function; inline another function | ||||
| * | asyncio: Enhance BaseProactorEventLoop._loop_self_reading() | Victor Stinner | 2015-01-21 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | * Handle correctly CancelledError: just exit * On error, log the exception and exit Don't try to close the event loop, it is probably running and so it cannot be closed. | ||||
* | | Add the command line to the AssertionError raised by test.script_helper's | Gregory P. Smith | 2015-01-21 | 2 | -2/+38 |
|\ \ | |/ | | | | | | | | | | | Python subprocess failure assertion error messages for easier debugging. Adds a unittest for test.script_helper to confirm that this code works as it is otherwise uncovered by an already passing test suite that uses it. :) | ||||
| * | Add the command line to the AssertionError raised by test.script_helper's | Gregory P. Smith | 2015-01-21 | 2 | -2/+38 |
| | | | | | | | | | | | | | | Python subprocess failure assertion error messages for easier debugging. Adds a unittest for test.script_helper to confirm that this code works as it is otherwise uncovered by an already passing test suite that uses it. :) | ||||
* | | Merge with 3.4 (closes #23280) | Zachary Ware | 2015-01-20 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Issue #23280: Fix docstrings for binascii.(un)hexlify | Zachary Ware | 2015-01-20 | 1 | -1/+3 |
| | | |||||
* | | Issue #23266: Restore the performance of ipaddress.collapse_addresses() whith | Serhiy Storchaka | 2015-01-18 | 1 | -5/+9 |
| | | | | | | | | duplicated addresses and simplify the code. | ||||
* | | Issue 23261: Clean-up the hack to store the set.pop() search finger in a ↵ | Raymond Hettinger | 2015-01-18 | 1 | -1/+1 |
| | | | | | | | | hash field instead of the setobject. | ||||
* | | Fixed tests for issue #23133 (pickling of IPv4Network was not tested). | Serhiy Storchaka | 2015-01-18 | 1 | -4/+4 |
| | | |||||
* | | Issue #23133: Pickling of ipaddress objects now produces more compact and | Serhiy Storchaka | 2015-01-18 | 1 | -7/+24 |
| | | | | | | | | portable representation. | ||||
* | | Issue #23266: Much faster implementation of ipaddress.collapse_addresses() ↵ | Antoine Pitrou | 2015-01-18 | 1 | -1/+2 |
| | | | | | | | | when there are many non-consecutive addresses. | ||||
* | | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 5 | -7/+7 |
|\ \ | |/ | |||||
| * | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 5 | -7/+7 |
| | | |||||
| * | Issue #23211: Fix patch for 3.4 differences. | Ned Deily | 2015-01-18 | 1 | -3/+3 |
| | | |||||
* | | Issue #23211: merge from 3.4 | Ned Deily | 2015-01-18 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #23211: Workaround test_logging failure on some OS X 10.6 systems: | Ned Deily | 2015-01-18 | 1 | -2/+2 |
| | | | | | | | | | | getaddrinfo("localhost") can fail depending on the name server configuration, use "127.0.0.0" instead. | ||||
* | | Issue #21817: When an exception is raised in a task submitted to a ↵ | Antoine Pitrou | 2015-01-17 | 1 | -0/+26 |
| | | | | | | | | | | | | ProcessPoolExecutor, the remote traceback is now displayed in the parent process. Patch by Claudiu Popa. | ||||
* | | Issue #15955: Add an option to limit output size when decompressing LZMA data. | Antoine Pitrou | 2015-01-17 | 1 | -0/+91 |
| | | | | | | | | Patch by Nikolaus Rath and Martin Panter. | ||||
* | | merge 3.4 (#22986) | Benjamin Peterson | 2015-01-17 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | capitialize "HttpOnly" and "Secure" as they appear in the standard and other ↵ | Benjamin Peterson | 2015-01-17 | 1 | -2/+2 |
| | | | | | | | | | | | | impls (closes #23250) Patch by Jon Dufresne. | ||||
* | | Merge 3.4 (asyncio) | Victor Stinner | 2015-01-15 | 1 | -2/+12 |
|\ \ | |/ | |||||
| * | Issue #22685: Fix test_pause_reading() of asyncio/test_subprocess | Victor Stinner | 2015-01-15 | 1 | -2/+12 |
| | | | | | | | | | | | | | | Override the connect_read_pipe() method of the loop to mock immediatly pause_reading() and resume_reading() methods. The test failed randomly on FreeBSD 9 buildbot and on Windows using trollius. | ||||
* | | Merge 3.4 (asyncio) | Victor Stinner | 2015-01-15 | 1 | -0/+27 |
|\ \ | |/ | |||||
| * | Closes #23219: cancelling asyncio.wait_for() now cancels the task | Victor Stinner | 2015-01-15 | 1 | -0/+27 |
| | | |||||
* | | Merge 3.4 (asyncio) | Victor Stinner | 2015-01-15 | 4 | -3/+15 |
|\ \ | |/ | |||||
| * | asyncio: Close transports in tests | Victor Stinner | 2015-01-15 | 4 | -3/+15 |
| | | | | | | | | | | | | | | | | | | * Use test_utils.run_briefly() to execute pending calls to really close transports * sslproto: mock also _SSLPipe.shutdown(), it's need to close the transport * pipe test: the test doesn't close explicitly the PipeHandle, so ignore the warning instead * test_popen: use the context manager ("with p:") to explicitly close pipes | ||||
* | | Merge 3.4 (asyncio) | Victor Stinner | 2015-01-15 | 4 | -278/+249 |
|\ \ | |/ | |||||
| * | Issue #23243: Close explicitly transports in asyncio tests | Victor Stinner | 2015-01-15 | 3 | -277/+226 |
| | | |||||
| * | Issue #23243: Close explicitly event loops in asyncio tests | Victor Stinner | 2015-01-15 | 3 | -1/+20 |
| | | |||||
| * | Issue #23243: Fix asyncio._UnixWritePipeTransport.close() | Victor Stinner | 2015-01-15 | 1 | -0/+3 |
| | | | | | | | | | | Do nothing if the transport is already closed. Before it was not possible to close the transport twice. | ||||
* | | Merge 3.4 (asyncio) | Victor Stinner | 2015-01-14 | 5 | -0/+26 |
|\ \ | |/ |