summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* (Merge 3.4) asyncio: Fix test_sleep_cancel(): call_later() mock has no self ↵Victor Stinner2014-07-011-2/+2
|\ | | | | | | parameter
| * asyncio: Fix test_sleep_cancel(): call_later() mock has no self parameterVictor Stinner2014-07-011-2/+2
| |
* | Merge with 3.4Terry Jan Reedy2014-07-012-124/+70
|\ \ | |/
| * Issue #18592: Refactor 2 SearchDialogBase.create_(option/other)_buttons methodsTerry Jan Reedy2014-07-012-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.
* | Merge with 3.4Terry Jan Reedy2014-07-012-10/+213
|\ \ | |/
| * Issue #18592: Add unittests for SearchDialogBase. Patch by Phil Webster.Terry Jan Reedy2014-07-012-10/+213
| |
* | Merge with 3.4Terry Jan Reedy2014-06-307-61/+51
|\ \ | |/
| * Issue #21882: In turtle demos, remove module scope gui and sys calls byTerry Jan Reedy2014-06-307-61/+51
| | | | | | | | either deleting or moving to the module's main function.
* | (Merge 3.4) Issue #21163: BaseEventLoop.run_until_complete() andVictor Stinner2014-06-303-1/+14
|\ \ | |/ | | | | | | test_utils.run_briefly() don't log the "destroy pending task" message anymore. The log is redundant for run_until_complete() and useless in run_briefly().
| * Issue #21163: BaseEventLoop.run_until_complete() and test_utils.run_briefly()Victor Stinner2014-06-303-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 TulipVictor Stinner2014-06-303-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()
| * asyncio: sync with TulipVictor Stinner2014-06-303-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 #21645: asyncio: add a watchdog in test_read_all_from_pipe_reader() forVictor Stinner2014-06-301-0/+6
| | | | | | | | debug
* | Issue #14235: Merge from 3.4.Berker Peksag2014-06-301-1/+1
|\ \ | |/
| * Issue #14235: Use importlib.reload() in test_cmd.test_coverage.Berker Peksag2014-06-301-1/+1
| |
* | Issue #21679: Prevent extraneous fstat() calls during open(). Patch by ↵Antoine Pitrou2014-06-301-1/+10
| | | | | | | | Bohuslav Kabrda.
* | Fixes #10541: regrtest -T is brokenAlexander Belopolsky2014-06-292-10/+15
| | | | | | | | | | | | * makes test_trace tests restore the tracefunc after they run * write_results() in trace module will not terminate if lnotab cannot be found.
* | Issue #20753: Merge with 3.4.Berker Peksag2014-06-291-1/+5
|\ \ | |/
| * Issue #20753: Skip PasswordProtectedSiteTestCase when Python is built ↵Berker Peksag2014-06-291-1/+5
| | | | | | | | without threads.
* | (Merge 3.4) asyncio: sync with Tulip, add a new asyncio.coroutines moduleVictor Stinner2014-06-2812-199/+221
|\ \ | |/
| * asyncio: sync with Tulip, add a new asyncio.coroutines moduleVictor Stinner2014-06-2812-199/+221
| |
* | MERGE: Closes #11279: test_posix and lack of "id -G" support - less noise ↵Jesus Cea2014-06-281-1/+1
|\ \ | |/ | | | | required? (Solaris)
| * Closes #11279: test_posix and lack of "id -G" support - less noise required? ↵Jesus Cea2014-06-281-1/+1
| | | | | | | | (Solaris)
* | Issue #21863: cProfile now displays the module name of C extension ↵Antoine Pitrou2014-06-281-5/+5
| | | | | | | | functions, in addition to their own name.
* | (Merge 3.4) asyncio: Fix two "Coroutine xxx was never yielded from" messages inVictor Stinner2014-06-271-2/+6
|\ \ | |/ | | | | tests
| * asyncio: Fix two "Coroutine xxx was never yielded from" messages in testsVictor Stinner2014-06-271-2/+6
| |
* | (Merge 3.4) asyncio: Fix unit tests on Windows, escape filenames in regexVictor Stinner2014-06-272-6/+6
|\ \ | |/
| * asyncio: Fix unit tests on Windows, escape filenames in regexVictor Stinner2014-06-272-6/+6
| |
* | (Merge 3.4) Issue #11453: asyncore: emit a ResourceWarning when an unclosedVictor Stinner2014-06-272-0/+24
|\ \ | |/ | | | | | | file_wrapper object is destroyed. The destructor now closes the file if needed. The close() method can now be called twice: the second call does nothing.
| * Issue #11453: asyncore: emit a ResourceWarning when an unclosed file_wrapperVictor Stinner2014-06-272-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.
* | (Merge 3.4) Closes #21582: Cleanup test_asyncore. Patch written by diana.Victor Stinner2014-06-271-36/+17
|\ \ | |/ | | | | | | | | - Use support.captured_stderr() where appropriate - Removes some "from test.support import xxx" import and uses support.xxx instead.
| * Closes #21582: Cleanup test_asyncore. Patch written by diana.Victor Stinner2014-06-271-36/+18
| | | | | | | | | | | | - Use support.captured_stderr() where appropriate - Removes some "from test.support import xxx" import and uses support.xxx instead.
* | (Merge 3.4) asyncio, Tulip issue 137: In debug mode, save traceback whereVictor Stinner2014-06-278-26/+180
|\ \ | |/ | | | | | | | | | | | | | | | | | | Future, Task and 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, save traceback where Future, Task andVictor Stinner2014-06-278-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 coroutineVictor Stinner2014-06-272-7/+42
| | | | | | | | object was created to the "coroutine ... was never yield from" log
* | (Merge 3.4) asyncio, Tulip issue 137: In debug mode, add the traceback whereVictor Stinner2014-06-272-7/+42
| | | | | | | | | | the coroutine object was created to the "coroutine ... was never yield from" log
* | (Merge 3.4) asyncio: Oops, restore a removed testVictor Stinner2014-06-271-0/+3
|\ \ | |/
| * asyncio: Oops, restore a removed testVictor Stinner2014-06-271-0/+3
| |
* | Issue #21875: Remove vestigial references to Classic Mac OS in os module docs.Ned Deily2014-06-271-1/+1
|\ \ | |/
| * Issue #21875: Remove vestigial references to Classic Mac OS in os module docs.Ned Deily2014-06-271-1/+1
| |
* | Issue #21829: Merge with 3.4Zachary Ware2014-06-261-12/+3
|\ \ | |/
| * Issue #21829: Fix running test_ctypes on Windows with -O or -OOZachary Ware2014-06-261-12/+3
| |
* | Merge #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.R David Murray2014-06-262-1/+28
|\ \ | |/
| * #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.R David Murray2014-06-262-1/+28
| | | | | | | | This makes the behavior match that of Parser. Patch by Vajrasky Kok.
* | #20295: Teach imghdr to recognize OpenEXR format images.R David Murray2014-06-263-0/+7
| | | | | | | | Patch by Martin Vignali, test by Claudiu Popa.
* | Merge with 3.4Terry Jan Reedy2014-06-261-30/+57
|\ \ | |/
| * Issue #18592: For idlelib.SearchDialogBase, edit and add docstrings,Terry Jan Reedy2014-06-261-30/+57
| | | | | | | | move two functions next to the functions that use them.
* | (Merge 3.4) asyncio: Handle error handler: enhance formatting of the callbackVictor Stinner2014-06-251-2/+2
|\ \ | |/
| * asyncio: Handle error handler: enhance formatting of the callbackVictor Stinner2014-06-251-2/+2
| |
* | (Merge 3.4) Issue #21163: Fix one more "Task was destroyed but it is pending!"Victor Stinner2014-06-251-2/+6
|\ \ | |/ | | | | log in tests