summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #9554: Use modern unittest features in test_argparse.Berker Peksag2014-07-061-71/+31
| | | | Initial patch by Denver Coneybeare and Radu Voicilas.
* (Merge 3.4) Closes #21886, #21447: Fix a race condition in asyncio when settingVictor Stinner2014-07-059-7/+31
|\ | | | | | | | | the result of a Future with call_soon(). Add an helper, a private method, to set the result only if the future was not cancelled.
| * Closes #21886, #21447: Fix a race condition in asyncio when setting the resultVictor Stinner2014-07-059-7/+31
| | | | | | | | | | of a Future with call_soon(). Add an helper, a private method, to set the result only if the future was not cancelled.
* | Issue #21897: Fix a crash with the f_locals attribute with closure variables ↵Antoine Pitrou2014-07-051-0/+52
|\ \ | |/ | | | | when frame.clear() has been called.
| * Issue #21897: Fix a crash with the f_locals attribute with closure variables ↵Antoine Pitrou2014-07-051-0/+52
| | | | | | | | when frame.clear() has been called.
* | #15014: Add 'auth' command to implement auth mechanisms and use it in login.R David Murray2014-07-032-66/+107
| | | | | | | | Patch by Milan Oberkirch.
* | Closes #21151: Merge with 3.4Zachary Ware2014-07-031-1/+14
|\ \ | |/
| * Issue #21151: Fixed a segfault in the winreg module.Zachary Ware2014-07-031-1/+14
| | | | | | | | | | | | | | When ``None`` was passed as a ``REG_BINARY`` value to SetValueEx, PyMem_DEL was called on an uninitialized buffer. Patch by John Ehresman. (Also an incidental typo fix in a comment in test_winreg)
* | Issue #21755: Skip {Frozen,Source}_DeadlockAvoidanceTests tests whenBerker Peksag2014-07-031-66/+78
| | | | | | | | Python is built without threads.
* | mergeRaymond Hettinger2014-07-021-1/+1
|\ \ | |/
| * Fix guidance for subclassing collections.Set()Raymond Hettinger2014-07-021-1/+1
| |
* | (Merge 3.4) asyncio: sync with TulipVictor Stinner2014-07-024-7/+23
|\ \ | |/ | | | | | | | | | | | | | | | | * _UnixSubprocessTransport: fix file mode of stdin. Open stdin in write mode, not in read mode * Examples: close the event loop at exit * More reliable CoroWrapper.__del__. If the constructor is interrupted by KeyboardInterrupt or the coroutine objet is destroyed lately, some the _source_traceback attribute doesn't exist anymore. * repr(Task): include also the future the task is waiting for
| * asyncio: sync with TulipVictor Stinner2014-07-024-7/+23
| | | | | | | | | | | | | | | | | | | | * _UnixSubprocessTransport: fix file mode of stdin. Open stdin in write mode, not in read mode * Examples: close the event loop at exit * More reliable CoroWrapper.__del__. If the constructor is interrupted by KeyboardInterrupt or the coroutine objet is destroyed lately, some the _source_traceback attribute doesn't exist anymore. * repr(Task): include also the future the task is waiting for
* | Normalize style per PEP-8Jason R. Coombs2014-07-021-35/+34
| |
* | Issue #5800: headers parameter of wsgiref.headers.Headers is now optional.Berker Peksag2014-07-022-5/+5
| | | | | | | | Patch by Pablo Torres Navarrete and SilentGhost.
* | Merge with 3.4Terry Jan Reedy2014-07-023-5/+5
|\ \ | |/
| * More idlelib cleanup inspired by pyflakes.Terry Jan Reedy2014-07-023-5/+5
| |
* | Issue #18258: Fix test discovery for test_codecmaps_*.Zachary Ware2014-07-026-22/+6
|\ \ | |/
| * Issue #18258: Fix test discovery for test_codecmaps_*.Zachary Ware2014-07-026-22/+6
| |
* | Merge with 3.4Terry Jan Reedy2014-07-015-10/+10
|\ \ | |/
| * Delete a few unused names suggested by pyflakes.Terry Jan Reedy2014-07-015-10/+10
| |
* | (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.