Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Forward port 3.7.0 final changes | Ned Deily | 2018-06-27 | 53 | -2574/+9667 | |
| | ||||||
* | bpo-33715: Fix multiprocessing test_wait_result() (GH-7971) | Victor Stinner | 2018-06-27 | 1 | -2/+2 | |
| | | | Increase timeouts from 10 seconds to 1 minute. | |||||
* | bpo-33913: Fix test_multiprocessing_main_handling (GH-7972) | Victor Stinner | 2018-06-27 | 1 | -6/+10 | |
| | | | | | | | | | bpo-30339, bpo-33913: * Increase timeout from 10 seconds to 1 minute in test_source_main_skipped_in_children source of test_multiprocessing_main_handling. * Replace time.time() with time.monotonic(). * On timeout, include the duration in the error message. | |||||
* | bpo-25007: Add copy protocol support to zlib compressors and decompressors ↵ | Zackery Spytz | 2018-06-27 | 5 | -25/+183 | |
| | | | | (GH-7940) | |||||
* | bpo-30356: Fix test_mymanager_context() of multiprocessing (GH-7968) | Victor Stinner | 2018-06-27 | 1 | -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 Dower | 2018-06-27 | 1 | -1/+7 | |
| | ||||||
* | bpo-31647: Fix bpo typo in NEWS entry. (GH-7964) | twisteroid ambassador | 2018-06-27 | 1 | -0/+0 | |
| | ||||||
* | bpo-33929: Fix regression in spawn_main() (#7962) | Victor Stinner | 2018-06-27 | 1 | -2/+6 | |
| | | | OpenProcess() creates a new handle that must be closed later. | |||||
* | bpo-33929: multiprocessing: fix handle leak on race condition (GH-7921) | Victor Stinner | 2018-06-27 | 4 | -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 Stinner | 2018-06-27 | 1 | -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 Hettinger | 2018-06-27 | 3 | -1/+13 | |
| | | | | | Handle subnormal weights for choices() | |||||
* | bpo-33975: Avoid small type when running IDLE's htests. (GH-7944) | Terry Jan Reedy | 2018-06-27 | 2 | -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. Mokhtari | 2018-06-27 | 1 | -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 candidates | Ned Deily | 2018-06-27 | 1 | -1/+1 | |
| | ||||||
* | bpo-33956: update vendored expat to 2.2.5 (GH-7925) | Benjamin Peterson | 2018-06-27 | 9 | -1465/+1354 | |
| | ||||||
* | bpo-33873: Fix bug in `runtest.py` and add checks for invalid `-R` ↵ | Pablo Galindo | 2018-06-26 | 3 | -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-26 | 1 | -1/+1 | |
| | ||||||
* | bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920) | Mark Roseman | 2018-06-26 | 1 | -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 Stinner | 2018-06-26 | 16 | -95/+91 | |
| | | | This reverts commit 8fbbdf0c3107c3052659e166f73990b466eacbb0. | |||||
* | bpo-33573: docs to suggest median() alternatives for non-numeric data (GH-7587) | Tal Einat | 2018-06-25 | 1 | -0/+4 | |
| | ||||||
* | bpo-33952: Fix typo in str.upper() documentation (GH-7898) | Andrés Delfino | 2018-06-25 | 1 | -1/+1 | |
| | ||||||
* | bpo-33943: Add references in the docs for logging.basicConfig (GH-7858) | Andrés Delfino | 2018-06-25 | 2 | -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 Na | 2018-06-25 | 4 | -3/+46 | |
| | ||||||
* | bpo-33951: IDLE test_configdialog: call page.update in setUpClass (GH-7892) | Tal Einat | 2018-06-24 | 1 | -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 Ware | 2018-06-24 | 4 | -3/+7 | |
| | ||||||
* | bpo-33451: Close pyc files before calling PyEval_EvalCode() (GH-7884) | Zackery Spytz | 2018-06-24 | 2 | -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 Delfino | 2018-06-24 | 1 | -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 Reedy | 2018-06-23 | 1 | -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 Delfino | 2018-06-23 | 1 | -0/+5 | |
| | ||||||
* | bpo-33805: Improve error message of dataclasses.replace() (GH-7580) | Dong-hee Na | 2018-06-23 | 3 | -0/+20 | |
| | ||||||
* | Remove tp_print implementation (GH-7857) | jdemeyer | 2018-06-23 | 1 | -6/+1 | |
| | ||||||
* | bpo-33916: Fix bz2 and lzma init when called twice (GH-7843) | Victor Stinner | 2018-06-23 | 3 | -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 Zhang | 2018-06-23 | 1 | -4/+4 | |
| | ||||||
* | bpo-33877: Remove UNIX qualification for running complete programs (GH-7744) | Andrés Delfino | 2018-06-22 | 1 | -5/+6 | |
| | | | The statement is true for Windows (and macOS) also. | |||||
* | Add test coverage reporting for C files (GH-7773) | Ammar Askar | 2018-06-22 | 1 | -1/+6 | |
| | ||||||
* | bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800) | Victor Stinner | 2018-06-22 | 16 | -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 Stinner | 2018-06-22 | 4 | -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 Reedy | 2018-06-22 | 3 | -11/+23 | |
| | | | Increases coverage by 44%. | |||||
* | bpo-33912: Fix test_warnings when run with -Werror (GH-7839) | Christopher Frederickson | 2018-06-21 | 1 | -0/+1 | |
| | | | Add missing warning filter to test_exec_filename(). | |||||
* | bpo-33716, test_concurrent_futures: increase timeout (GH-7828) | Pablo Galindo | 2018-06-21 | 1 | -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-21 | 1 | -1/+1 | |
| | ||||||
* | bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836) | Terry Jan Reedy | 2018-06-21 | 7 | -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 Reedy | 2018-06-21 | 8 | -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 Reedy | 2018-06-20 | 3 | -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 Zhang | 2018-06-20 | 3 | -5/+7 | |
| | ||||||
* | bpo-33499: PYTHONPYCACHEPREFIX What's New entry (GH-7749) | Nick Coghlan | 2018-06-20 | 1 | -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 Stinner | 2018-06-20 | 2 | -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-20 | 4 | -5/+6 | |
| | ||||||
* | bpo-33907: Rename an IDLE module and classes. (GH-7810) | Terry Jan Reedy | 2018-06-20 | 4 | -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-20 | 2 | -2/+0 | |
| | | | Signed-off-by: Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com> |