summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30356: Fix test_mymanager_context() of multiprocessing (GH-7968)Victor Stinner2018-06-271-1/+3
| | | | | test_mymanager_context() now also accepts -SIGTERM as an expected exitcode for the manager process. The process is killed with SIGTERM if it takes longer than 1 second to stop.
* Prevent upload script uploading from the wrong directory (GH-7953)Steve Dower2018-06-271-1/+7
|
* bpo-31647: Fix bpo typo in NEWS entry. (GH-7964)twisteroid ambassador2018-06-271-0/+0
|
* bpo-33929: Fix regression in spawn_main() (#7962)Victor Stinner2018-06-271-2/+6
| | | OpenProcess() creates a new handle that must be closed later.
* bpo-33929: multiprocessing: fix handle leak on race condition (GH-7921)Victor Stinner2018-06-274-6/+34
| | | | | | | | | Fix a race condition in Popen of multiprocessing.popen_spawn_win32. The child process now duplicates the read end of pipe instead of "stealing" it. Previously, the read end of pipe was "stolen" by the child process, but it leaked a handle if the child process had been terminated before it could steal the handle from the parent process.
* bpo-30317, test_multiprocessing: fix test_timeout() (GH-7957)Victor Stinner2018-06-271-2/+2
| | | | | | | | | | | Tolerate a different of 50 ms, instead of just 30 ms, in test_timeout() of multiprocessing tests. This change should fix such test failure on Windows: FAIL: test_timeout (test.test_multiprocessing_spawn.WithProcessesTestQueue) Traceback (most recent call last): File "lib\test\_test_multiprocessing.py", line 753, in test_timeout self.assertGreaterEqual(delta, 0.170) AssertionError: 0.16138982772827148 not greater than or equal to 0.17
* bpo-24567: Random subnormal.diff (#7954)Raymond Hettinger2018-06-273-1/+13
| | | | | Handle subnormal weights for choices()
* bpo-33975: Avoid small type when running IDLE's htests. (GH-7944)Terry Jan Reedy2018-06-272-0/+4
| | | | | | | | | Import pyshell first in htest to call SetProcessDpiAwareness on Windows before tkinter.Tk() is called for the htest. Apparently, 'root.destroy()' undoes a previous 'root = Tk()'. Since IDLE unittests always destroy roots, a unittest before an htest does not require anything more to work right. Since part of the purpose of human-viewed tests is to determine that widgets look right, it is important that they look the same for testing as when running IDLE.
* use rich markup for PEP reference (GH-7939)Behzad B. Mokhtari2018-06-271-1/+1
| | | it's better to refer to PEP with `pep` role in reStructuredText. It also links to the PEP page.
* bpo-29514: Make magic number test work for candidatesNed Deily2018-06-271-1/+1
|
* bpo-33956: update vendored expat to 2.2.5 (GH-7925)Benjamin Peterson2018-06-279-1465/+1354
|
* bpo-33873: Fix bug in `runtest.py` and add checks for invalid `-R` ↵Pablo Galindo2018-06-263-1/+15
| | | | | | | | parameters (GH-7735) Fix bug in `Lib/test/libregrtest/runtest.py` that makes running tests an extra time than the specified number of runs. Add check for invalid --huntrleaks/-R parameters.
* bpo-33957: Doc: Use better wording (GH-7912)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-06-261-1/+1
|
* bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920)Mark Roseman2018-06-261-2/+2
| | | These should have been included in PR 7836.
* Revert "bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)" (GH-7919)Victor Stinner2018-06-2616-95/+91
| | | This reverts commit 8fbbdf0c3107c3052659e166f73990b466eacbb0.
* bpo-33573: docs to suggest median() alternatives for non-numeric data (GH-7587)Tal Einat2018-06-251-0/+4
|
* bpo-33952: Fix typo in str.upper() documentation (GH-7898)Andrés Delfino2018-06-251-1/+1
|
* bpo-33943: Add references in the docs for logging.basicConfig (GH-7858)Andrés Delfino2018-06-252-19/+27
| | | | Adds references to info about file modes, `time.strftime()`, string formatting syntaxes, and logging levels.
* bpo-33897: Add a 'force' keyword argument to logging.basicConfig(). (GH-7873)Dong-hee Na2018-06-254-3/+46
|
* bpo-33951: IDLE test_configdialog: call page.update in setUpClass (GH-7892)Tal Einat2018-06-241-0/+4
| | | | | | | This avoids a failure in at least one case when running only a single test method rather than all tests in the module. The issue came up when testing the following on Windows 10 Pro 64-bit: HighPageTest.test_highlight_target_text_mouse
* Enable GUI tests in VSTS Linux builds via xvfb-run (GH-7890)Zachary Ware2018-06-244-3/+7
|
* bpo-33451: Close pyc files before calling PyEval_EvalCode() (GH-7884)Zackery Spytz2018-06-242-6/+10
| | | Directly executed pyc files were being kept open longer than necessary.
* [master] bpo-33885: Replace "hook function" with "callable" (GH-7765) (#7886)Andrés Delfino2018-06-241-2/+2
| | | | | (cherry picked from commit c45cb479074b5d25f0d382d3109f527520a9f03c) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-33950: Remove IDLE htest spec for a deleted file. (GH-7881)Terry Jan Reedy2018-06-231-10/+0
| | | | In configdialog, the custom tabbedpages widget was replaced by ttk.notebook several months ago.
* bpo-33887: Add TOC to Design and History FAQ(GH-7766)Andrés Delfino2018-06-231-0/+5
|
* bpo-33805: Improve error message of dataclasses.replace() (GH-7580)Dong-hee Na2018-06-233-0/+20
|
* Remove tp_print implementation (GH-7857)jdemeyer2018-06-231-6/+1
|
* bpo-33916: Fix bz2 and lzma init when called twice (GH-7843)Victor Stinner2018-06-233-4/+14
| | | | bz2, lzma: When Decompressor.__init__() is called twice, free the old lock to not leak memory.
* suppress compiler warnings in _cursesmodule.c (#7860)Xiang Zhang2018-06-231-4/+4
|
* bpo-33877: Remove UNIX qualification for running complete programs (GH-7744)Andrés Delfino2018-06-221-5/+6
| | | The statement is true for Windows (and macOS) also.
* Add test coverage reporting for C files (GH-7773)Ammar Askar2018-06-221-1/+6
|
* bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)Victor Stinner2018-06-2216-91/+95
| | | | | | | | * Add support.MS_WINDOWS: True if Python is running on Microsoft Windows. * Add support.MACOS: True if Python is running on Apple macOS. * Replace support.is_android with support.ANDROID * Replace support.is_jython with support.JYTHON * Cleanup code to initialize unix_shell
* bpo-33932: Calling Py_Initialize() twice does nothing (GH-7845)Victor Stinner2018-06-224-0/+30
| | | | Calling Py_Initialize() twice does nothing, instead of failing with a fatal error: restore the Python 3.6 behaviour.
* bpo-33905: Add test for idlelib.stackview.StackBrowser. (GH-7852)Terry Jan Reedy2018-06-223-11/+23
| | | Increases coverage by 44%.
* bpo-33912: Fix test_warnings when run with -Werror (GH-7839)Christopher Frederickson2018-06-211-0/+1
| | | Add missing warning filter to test_exec_filename().
* bpo-33716, test_concurrent_futures: increase timeout (GH-7828)Pablo Galindo2018-06-211-5/+5
| | | | | Increase the timeout from 1 min to 5 min. Replace also time.time() with time.monotonic() for timeouts.
* Clarified the tempfile.tempdir documentation (GH-7829)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-06-211-1/+1
|
* bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836)Terry Jan Reedy2018-06-217-9/+11
| | | | | Every other menudef key is the lowercase version of the corresponding main menu entry (in this case, 'Window').
* bpo-33906: Rename idlelib.windows as window (#7833)Terry Jan Reedy2018-06-218-22/+24
| | | | Match Window on the main menu and remove last plural module name. Change imports, test, and attribute references to match new name.
* bpo-33917: Fix and document idlelib/idle_test/template.py (GH-7830)Terry Jan Reedy2018-06-203-26/+41
| | | | The revised file compiles, runs, and tests OK. idle_test/README.txt explains how to use it to create new IDLE test files.
* Fix compiling error when missing gdbm version macros (GH-7823)Xiang Zhang2018-06-203-5/+7
|
* bpo-33499: PYTHONPYCACHEPREFIX What's New entry (GH-7749)Nick Coghlan2018-06-201-0/+14
| | | | Initial What's New in Python 3.8 entry for `PYTHONPYCACHEPREFIX`.
* bpo-33746: Fix test_unittest.testRegisterResult() in verbose mode (GH-7799)Victor Stinner2018-06-202-9/+7
| | | | | | | | | | | Only make sure that the result is in unittest.signals._results, don't check the full content of unittest.signals._results. support._run_suite() uses TextTestRunner in verbose mode, but TextTestRunner.run() calls registerResult(result) which made the test fail with "odd object in result set". Call also removeResult() to restore unittest.signals._results to avoid test side effect.
* bpo-33904: In IDLE's rstrip, rename class RstripExtension as Rstrip (GH-7811)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-06-204-5/+6
|
* bpo-33907: Rename an IDLE module and classes. (GH-7810)Terry Jan Reedy2018-06-204-11/+11
| | | | | Fix-up class name duplication in PR #7807. Combined effect is that module calltips and its class CallTips are now calltip and Calltip. In module calltip_w class CallTip is now CalltipWindow.
* bpo-33908: Remove two superfluous assignments (GH-7116)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-06-202-2/+0
| | | Signed-off-by: Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>
* bpo-33907: Rename an IDLE module and class. (GH-7807)Terry Jan Reedy2018-06-207-32/+35
| | | | Improve consistency and appearance. Module idlelib.calltips is now calltip. Class idlelib.calltip_w.CallTip is now Calltip.
* bpo-33855: Still more edits and minimal tests for IDLE (GH-7784)Terry Jan Reedy2018-06-1936-95/+356
| | | | | Part 3 of 3, continuing PR #7689. This covers 14 idlelib modules and their tests, rpc to zoomheight except for run (already done) and tooltip (being done separately).
* bpo-33901: Add _gdbm._GDBM_VERSION (GH-7794)Victor Stinner2018-06-193-8/+52
| | | | | | | * Fix also PyInit__gdbm() to catch errors. * test.pythoninfo: add gdbm.version * test_dbm_gnu now logs GDBM_VERSION when run in verbose mode. * pythoninfo: rename function to collect_gdbm()
* bpo-30345: Add -g to LDFLAGS for LTO (GH-7709)Victor Stinner2018-06-193-0/+17
| | | Add -g to LDFLAGS when compiling with LTO to get debug symbols.