Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #14117: Inprove help text and docstrings, some for clarity, some just to | Terry Jan Reedy | 2014-06-25 | 7 | -48/+60 |
| | | | | fit in the default width of the text window (45 chars). | ||||
* | Issue 21832: Require named tuple inputs to be exact strings | Raymond Hettinger | 2014-06-24 | 1 | -0/+3 |
| | |||||
* | asyncio: repr(Task) now also contains the line number even if the coroutine is | Victor Stinner | 2014-06-24 | 2 | -4/+8 |
| | | | | | | | | done: use the first line number of the code object instead of the current line number of the generator frame. The name of the coroutine is not enough because many coroutines may have the same name. It's a common case in asyncio tests for example. | ||||
* | #20155: use fake HTTP method names so windows doesn't hang the tests. | R David Murray | 2014-06-24 | 1 | -2/+3 |
| | | | | | | | Windows was seeing the 'GET' generated by these tests as invalid and forcibly closing the socket, causing the test to fail. Patch by Jeff Allen. | ||||
* | asyncio: Log an error if a Task is destroyed while it is still pending | Victor Stinner | 2014-06-24 | 4 | -4/+60 |
| | |||||
* | inspect: Validate that __signature__ is None or an instance of Signature. | Yury Selivanov | 2014-06-23 | 2 | -0/+11 |
| | | | | Closes #21801. | ||||
* | asyncio: Fix BaseEventLoop._assert_is_current_event_loop(): get_event_loop() | Victor Stinner | 2014-06-23 | 1 | -2/+5 |
| | | | | raises an exception if there is no current loop | ||||
* | Issue #8343: Named group error msgs did not show the group name. | Raymond Hettinger | 2014-06-23 | 1 | -3/+6 |
| | |||||
* | asyncio, Tulip issue 171: BaseEventLoop.close() now raises an exception if the | Victor Stinner | 2014-06-22 | 5 | -3/+16 |
| | | | | | event loop is running. You must first stop the event loop and then wait until it stopped, before closing it. | ||||
* | asyncio, Tulip issue 172: only log selector timing in debug mode | Victor Stinner | 2014-06-22 | 2 | -2/+4 |
| | |||||
* | asyncio: Add an unit test to check that setting the PYTHONASYNCIODEBUG env var | Victor Stinner | 2014-06-22 | 2 | -4/+24 |
| | | | | enables debug mode of the event loop. | ||||
* | asyncio: Enable the debug mode of event loops when the PYTHONASYNCIODEBUG | Victor Stinner | 2014-06-22 | 5 | -13/+6 |
| | | | | environment variable is set | ||||
* | asyncio: BaseEventLoop._assert_is_current_event_loop() now only raises an | Victor Stinner | 2014-06-22 | 1 | -1/+2 |
| | | | | | | | | | | | | exception if the current loop is not None. Guido van Rossum wrote: "The behavior that you can set the loop to None (and keep track of it explicitly) is part of the spec, and this should still be supported even in debug mode. The behavior that we raise an error if you are caught having multiple active loops per thread is just a debugging heuristic, and it shouldn't break code that follows the spec." | ||||
* | Issue #21812: Trigger immediate transformation in turtle.shapetransform(). | Raymond Hettinger | 2014-06-22 | 1 | -1/+1 |
| | |||||
* | Issue #21823: Catch turtle.Terminator exceptions in turtledemo. | Terry Jan Reedy | 2014-06-22 | 3 | -25/+37 |
| | | | | Add note to demohelp.txt about doing so. | ||||
* | Issue 21635: Fix caching in difflib.SequenceMatcher.get_matching_blocks(). | Raymond Hettinger | 2014-06-21 | 2 | -2/+11 |
| | |||||
* | Merge. | Charles-François Natali | 2014-06-20 | 1 | -2/+2 |
|\ | |||||
| * | Issue #21770: Call function instead of module. Patch by Claudiu Popa. | Terry Jan Reedy | 2014-06-20 | 1 | -2/+2 |
| | | |||||
* | | Fix test_pydoc failure introduced by 7aa72075d440. Patch by Berker Peksag. | Charles-François Natali | 2014-06-20 | 1 | -0/+3 |
|/ | |||||
* | Issue #21491: socketserver: Fix a race condition in child processes reaping. | Charles-François Natali | 2014-06-20 | 1 | -26/+30 |
| | |||||
* | Issue #21768: fix NameError in test_pydescr. Patch by Claudiu Popa. | Terry Jan Reedy | 2014-06-20 | 1 | -1/+1 |
| | |||||
* | Issue #21768: fix type in test_pydoc, patch by Claudiu Popa. | Terry Jan Reedy | 2014-06-20 | 1 | -1/+1 |
| | |||||
* | asyncio, Tulip issue 105: in debug mode, log callbacks taking more than 100 ms | Victor Stinner | 2014-06-20 | 2 | -5/+55 |
| | | | | to be executed. | ||||
* | Tulip issue 83: document more asyncio functions in docstrings | Victor Stinner | 2014-06-19 | 2 | -7/+55 |
| | |||||
* | Closes #21595: asyncio.BaseSelectorEventLoop._read_from_self() now reads all | Victor Stinner | 2014-06-19 | 1 | -4/+9 |
| | | | | | | available bytes from the "self pipe", not only a single byte. This change reduces the risk of having the pipe full and so getting the innocuous "BlockingIOError: [Errno 11] Resource temporarily unavailable" message. | ||||
* | Issue #21722: The distutils "upload" command now exits with a non-zero ↵ | Antoine Pitrou | 2014-06-19 | 2 | -11/+20 |
| | | | | | | return code when uploading fails. Patch by Martin Dengler. | ||||
* | Issue #3485: remove misleading comment | Ned Deily | 2014-06-18 | 1 | -1/+0 |
| | |||||
* | asyncio: Fix pyflakes errors | Victor Stinner | 2014-06-18 | 3 | -5/+2 |
| | | | | | | - Add a missing import - Remove an unused import - Remove unused variables | ||||
* | asyncio: Refactor tests: add a base TestCase class | Victor Stinner | 2014-06-17 | 13 | -219/+145 |
| | |||||
* | asyncio: Refactor test__run_once_logging() to not rely on the exact number of | Victor Stinner | 2014-06-17 | 1 | -18/+11 |
| | | | | calls to time.monotonic(). Use a "fast select" and a "slow select" instead. | ||||
* | asyncio: Set __qualname__ attribute of CoroWrapper in @coroutine decorator on | Victor Stinner | 2014-06-17 | 2 | -12/+46 |
| | | | | | | | | | | | Python 3.5 - Drop __slots__ optimization of CoroWrapper to be able to set the __qualname__ attribute. - Add tests on __name__, __qualname__ and __module__ of a coroutine function and coroutine object. - Fix test_tasks when run in debug mode (PYTHONASYNCIODEBUG env var set) on Python 3.3 or 3.4 | ||||
* | Issue #21723: asyncio.Queue: support any type of number (ex: float) for the | Victor Stinner | 2014-06-17 | 2 | -3/+18 |
| | | | | maximum size. Patch written by Vajrasky Kok. | ||||
* | Issue #21694: Add unittest for ParenMatch. Patch by Saimadhav Heblikar. | Terry Jan Reedy | 2014-06-17 | 2 | -4/+119 |
| | |||||
* | merge 3.3 | Benjamin Peterson | 2014-06-17 | 1 | -1/+1 |
|\ | |||||
| * | merge 3.2 | Benjamin Peterson | 2014-06-17 | 1 | -1/+1 |
| |\ | |||||
| | * | expect the correct platform-dependent linesep | Benjamin Peterson | 2014-06-17 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #21686: add unittest for idlelib.HyperParser. Original patch by Saimadhav | Terry Jan Reedy | 2014-06-16 | 2 | -4/+201 |
| | | | | | | | | | | | | Heblikar. Correct a minor 3.x bug in HyperParser discovered by testing. | ||||
* | | | asyncio: Task.__repr__() now also handles CoroWrapper | Victor Stinner | 2014-06-16 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #21773: Fix TestStdLib.test_pydoc() of test_enum. Patch written by | Victor Stinner | 2014-06-16 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | | | | | | Claudiu Popa. The print_diffs() function was not defined, using the assertEqual() is more reliable. | ||||
* | | | Sync asyncio with Tulip: Fix test_tasks for Python 3.5 | Victor Stinner | 2014-06-16 | 1 | -4/+8 |
| | | | | | | | | | | | | | | | | | | On Python 3.5, generator now gets their name from the function, no more from the code. So we get the expected "notmuch" name instead of the generic "coro" name. | ||||
* | | | Issue #21669: Special case print & exec syntax errors | Nick Coghlan | 2014-06-16 | 1 | -0/+25 |
| | | | |||||
* | | | whitespace | Terry Jan Reedy | 2014-06-16 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #21686: idlelib/HyperParser.py - Update docstrings and comments and | Terry Jan Reedy | 2014-06-16 | 1 | -80/+84 |
| | | | | | | | | | | | | replace \ line contiuation. Tested against nearly done test_hyperparser.py. | ||||
* | | | clarify when the list of subdirectories is read (closes #13779) | Benjamin Peterson | 2014-06-16 | 1 | -5/+7 |
| | | | |||||
* | | | fix a BytesWarning in my previous commit. | Gregory P. Smith | 2014-06-16 | 1 | -1/+1 |
| | | | |||||
* | | | Isolate the subprocess test_close_fds_when_max_fd_is_lowered test so | Gregory P. Smith | 2014-06-16 | 1 | -8/+30 |
| | | | | | | | | | | | | | | | | | | that the rlimit calls happens in a child process rather than the TestCase process to attempt to fix the gentoo buildbot's "Too many open files" error. | ||||
* | | | Issue #21774: Fix incorrect variable in xml.dom.minidom | Raymond Hettinger | 2014-06-15 | 2 | -1/+8 |
| | | | |||||
* | | | merge 3.3 (#21766) | Benjamin Peterson | 2014-06-15 | 2 | -1/+6 |
|\ \ \ | |/ / | |||||
| * | | merge 3.2 (#21766) | Benjamin Peterson | 2014-06-15 | 2 | -1/+6 |
| |\ \ | | |/ | |||||
| | * | url unquote the path before checking if it refers to a CGI script (closes ↵ | Benjamin Peterson | 2014-06-15 | 2 | -1/+6 |
| | | | | | | | | | | | | #21766) |