Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #18592: Refactor 2 SearchDialogBase.create_(option/other)_buttons methods | Terry Jan Reedy | 2014-07-01 | 2 | -124/+70 |
| | | | | | | to remove duplication and return info for tests. Rewrite corresponding tests. Test_create_option_buttons was not testing anything because of buggy comparisons. Use Python subscripting to get widget options. | ||||
* | Issue #18592: Add unittests for SearchDialogBase. Patch by Phil Webster. | Terry Jan Reedy | 2014-07-01 | 2 | -10/+213 |
| | |||||
* | Issue #21882: In turtle demos, remove module scope gui and sys calls by | Terry Jan Reedy | 2014-06-30 | 7 | -61/+51 |
| | | | | either deleting or moving to the module's main function. | ||||
* | Issue #21163: BaseEventLoop.run_until_complete() and test_utils.run_briefly() | Victor Stinner | 2014-06-30 | 3 | -1/+14 |
| | | | | | don't log the "destroy pending task" message anymore. The log is redundant for run_until_complete() and useless in run_briefly(). | ||||
* | asyncio: sync with Tulip | Victor Stinner | 2014-06-30 | 3 | -10/+52 |
| | | | | | | | | | | | - Sort imports - Simplify/optimize iscoroutine(). Inline inspect.isgenerator(obj): replace it with isinstance(obj, types.GeneratorType) - CoroWrapper: check at runtime if Python has the yield-from bug #21209. If Python has the bug, check if CoroWrapper.send() was called by yield-from to decide if parameters must be unpacked or not. - Fix "Task was destroyed but it is pending!" warning in test_task_source_traceback() | ||||
* | Issue #14235: Use importlib.reload() in test_cmd.test_coverage. | Berker Peksag | 2014-06-30 | 1 | -1/+1 |
| | |||||
* | Issue #20753: Skip PasswordProtectedSiteTestCase when Python is built ↵ | Berker Peksag | 2014-06-29 | 1 | -1/+5 |
| | | | | without threads. | ||||
* | asyncio: sync with Tulip, add a new asyncio.coroutines module | Victor Stinner | 2014-06-28 | 12 | -199/+221 |
| | |||||
* | Closes #11279: test_posix and lack of "id -G" support - less noise required? ↵ | Jesus Cea | 2014-06-28 | 1 | -1/+1 |
| | | | | (Solaris) | ||||
* | asyncio: Fix two "Coroutine xxx was never yielded from" messages in tests | Victor Stinner | 2014-06-27 | 1 | -2/+6 |
| | |||||
* | asyncio: Fix unit tests on Windows, escape filenames in regex | Victor Stinner | 2014-06-27 | 2 | -6/+6 |
| | |||||
* | Issue #11453: asyncore: emit a ResourceWarning when an unclosed file_wrapper | Victor Stinner | 2014-06-27 | 2 | -0/+24 |
| | | | | | object is destroyed. The destructor now closes the file if needed. The close() method can now be called twice: the second call does nothing. | ||||
* | Closes #21582: Cleanup test_asyncore. Patch written by diana. | Victor Stinner | 2014-06-27 | 1 | -36/+18 |
| | | | | | | - Use support.captured_stderr() where appropriate - Removes some "from test.support import xxx" import and uses support.xxx instead. | ||||
* | asyncio, Tulip issue 137: In debug mode, save traceback where Future, Task and | Victor Stinner | 2014-06-27 | 8 | -26/+180 |
| | | | | | | | | | | | Handle objects are created. Pass the traceback to call_exception_handler() in the 'source_traceback' key. The traceback is truncated to hide internal calls in asyncio, show only the traceback from user code. Add tests for the new source_traceback, and a test for the 'Future/Task exception was never retrieved' log. | ||||
* | asyncio, Tulip issue 137: In debug mode, add the traceback where the coroutine | Victor Stinner | 2014-06-27 | 2 | -7/+42 |
| | | | | object was created to the "coroutine ... was never yield from" log | ||||
* | asyncio: Oops, restore a removed test | Victor Stinner | 2014-06-27 | 1 | -0/+3 |
| | |||||
* | Issue #21875: Remove vestigial references to Classic Mac OS in os module docs. | Ned Deily | 2014-06-27 | 1 | -1/+1 |
| | |||||
* | Issue #21829: Fix running test_ctypes on Windows with -O or -OO | Zachary Ware | 2014-06-26 | 1 | -12/+3 |
| | |||||
* | #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed. | R David Murray | 2014-06-26 | 2 | -1/+28 |
| | | | | This makes the behavior match that of Parser. Patch by Vajrasky Kok. | ||||
* | Issue #18592: For idlelib.SearchDialogBase, edit and add docstrings, | Terry Jan Reedy | 2014-06-26 | 1 | -30/+57 |
| | | | | move two functions next to the functions that use them. | ||||
* | asyncio: Handle error handler: enhance formatting of the callback | Victor Stinner | 2014-06-25 | 1 | -2/+2 |
| | |||||
* | Issue #21163: Fix one more "Task was destroyed but it is pending!" log in tests | Victor Stinner | 2014-06-25 | 1 | -2/+6 |
| | |||||
* | asyncio: sync with Tulip | Victor Stinner | 2014-06-25 | 2 | -0/+9 |
| | | | | | | - Python issue 21163: Fix more "Task was destroyed but it is pending!" logs in tests - Add test to check that run_until_complete() checks the loop of the future | ||||
* | Issue #21163, asyncio: Fix some "Task was destroyed but it is pending!" logs ↵ | Victor Stinner | 2014-06-25 | 3 | -16/+22 |
| | | | | in tests | ||||
* | Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. | Ned Deily | 2014-06-25 | 4 | -6/+24 |
| | |||||
* | asyncio, Tulip issue 177: Rewite repr() of Future, Task, Handle and TimerHandle | Victor Stinner | 2014-06-25 | 7 | -128/+231 |
| | | | | | | - Uniformize repr() output to format "<Class ...>" - On Python 3.5+, repr(Task) uses the qualified name instead of the short name of the coroutine | ||||
* | Issue #21729: Used the "with" statement in the dbm.dumb module to ensure | Serhiy Storchaka | 2014-06-25 | 1 | -36/+33 |
| | | | | files closing. Patch by Claudiu Popa. | ||||
* | issue20753 - robotparser tests should not rely upon external resource when ↵ | Senthil Kumaran | 2014-06-25 | 1 | -25/+47 |
| | | | | | | | | | | not required. Specifically, it was relying a URL which gave HTTP 403 and used it to assert it's methods, this changes undoes that and provides a local http server with similar properties. Patch contributed by Vajrasky Kok. | ||||
* | Correct the quopri module documentation. Mention the correct types of the | Senthil Kumaran | 2014-06-25 | 1 | -8/+6 |
| | | | | | | parameters on encodestring and decodestring. Patch by Petri Lehtinen. | ||||
* | Issue #19145: Fix handling of negative values for a "times" keyword ↵ | Raymond Hettinger | 2014-06-25 | 1 | -0/+13 |
| | | | | | | argument to itertools.repeat()> (Patch contributed by Vajrasky Kok.) | ||||
* | 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 |
| |