Elvis Pranskevichus
4d26c8a177
bpo-32996: Enhancements to What's New based on feedback (GH-7988)
2018-06-28 11:57:37 -04:00
Ned Deily
e76ac9d4ef
Forward port rest of NEWS changes as of 3.7.0
2018-06-28 04:18:35 -04:00
INADA Naoki
461a1c4b49
bpo-33842: Remove tarfile.filemode (GH-7661)
2018-06-28 17:10:36 +09:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
62b6cea6b8
bpo-33958: Doc: Remove unused variable in example (GH-7927)
2018-06-28 15:25:20 +09:00
Ned Deily
aee5df5e16
Forward port 3.7.0 final changes
2018-06-27 18:45:50 -04:00
Victor Stinner
492572715a
bpo-33715: Fix multiprocessing test_wait_result() (GH-7971)
...
Increase timeouts from 10 seconds to 1 minute.
2018-06-27 22:24:02 +02:00
Victor Stinner
64737e9ae2
bpo-33913: Fix test_multiprocessing_main_handling (GH-7972)
...
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.
2018-06-27 22:21:53 +02:00
Zackery Spytz
d2cbfffc84
bpo-25007: Add copy protocol support to zlib compressors and decompressors (GH-7940)
2018-06-27 21:04:51 +03:00
Victor Stinner
fbd7172325
bpo-30356: Fix test_mymanager_context() of multiprocessing (GH-7968)
...
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.
2018-06-27 18:18:10 +02:00
Steve Dower
74e4aee549
Prevent upload script uploading from the wrong directory (GH-7953)
2018-06-27 08:11:13 -07:00
twisteroid ambassador
4a8b037d2b
bpo-31647: Fix bpo typo in NEWS entry. (GH-7964)
2018-06-27 10:58:08 -04:00
Victor Stinner
0aab8660cd
bpo-33929: Fix regression in spawn_main() ( #7962 )
...
OpenProcess() creates a new handle that must be closed later.
2018-06-27 15:18:39 +02:00
Victor Stinner
2cc9d21fff
bpo-33929: multiprocessing: fix handle leak on race condition (GH-7921)
...
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.
2018-06-27 11:40:24 +02:00
Victor Stinner
f15f66d275
bpo-30317, test_multiprocessing: fix test_timeout() (GH-7957)
...
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
2018-06-27 11:04:51 +02:00
Raymond Hettinger
ddf7171911
bpo-24567: Random subnormal.diff ( #7954 )
...
Handle subnormal weights for choices()
2018-06-27 01:08:31 -07:00
Terry Jan Reedy
3c8043d8fa
bpo-33975: Avoid small type when running IDLE's htests. (GH-7944)
...
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.
2018-06-27 00:07:30 -04:00
Behzad B. Mokhtari
df748c20da
use rich markup for PEP reference (GH-7939)
...
it's better to refer to PEP with `pep` role in reStructuredText. It also links to the PEP page.
2018-06-26 20:57:39 -07:00
Ned Deily
e7d3cccd8e
bpo-29514: Make magic number test work for candidates
2018-06-26 22:36:46 -04:00
Benjamin Peterson
4e21100fa7
bpo-33956: update vendored expat to 2.2.5 (GH-7925)
2018-06-26 19:25:45 -07:00
Pablo Galindo
58ed7307ea
bpo-33873: Fix bug in `runtest.py` and add checks for invalid `-R` 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.
2018-06-26 15:17:26 +01:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
866c168a5f
bpo-33957: Doc: Use better wording (GH-7912)
2018-06-26 17:27:05 +09:00
Mark Roseman
42397731d7
bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920)
...
These should have been included in PR 7836.
2018-06-25 21:19:40 -04:00
Victor Stinner
937ee9e745
Revert "bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)" (GH-7919)
...
This reverts commit 8fbbdf0c31
.
2018-06-26 02:11:06 +02:00
Tal Einat
fdd6e0bf18
bpo-33573: docs to suggest median() alternatives for non-numeric data (GH-7587)
2018-06-25 14:04:01 +03:00
Andrés Delfino
4a6e746079
bpo-33952: Fix typo in str.upper() documentation (GH-7898)
2018-06-25 13:34:22 +03:00
Andrés Delfino
a8ddf85a84
bpo-33943: Add references in the docs for logging.basicConfig (GH-7858)
...
Adds references to info about file modes, `time.strftime()`, string formatting
syntaxes, and logging levels.
2018-06-25 09:06:10 +03:00
Dong-hee Na
cf67d6a934
bpo-33897: Add a 'force' keyword argument to logging.basicConfig(). (GH-7873)
2018-06-25 05:11:09 +01:00
Tal Einat
2af9f5d334
bpo-33951: IDLE test_configdialog: call page.update in setUpClass (GH-7892)
...
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
2018-06-24 16:35:59 -04:00
Zachary Ware
3f197f94d6
Enable GUI tests in VSTS Linux builds via xvfb-run (GH-7890)
2018-06-24 10:20:34 -05:00
Zackery Spytz
ea737751b1
bpo-33451: Close pyc files before calling PyEval_EvalCode() (GH-7884)
...
Directly executed pyc files were being kept open longer than necessary.
2018-06-24 13:15:24 +10:00
Andrés Delfino
0ba9a0b7d1
[master] bpo-33885: Replace "hook function" with "callable" (GH-7765) ( #7886 )
...
(cherry picked from commit c45cb47907
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-06-23 19:23:50 -07:00
Terry Jan Reedy
5ae70f66ff
bpo-33950: Remove IDLE htest spec for a deleted file. (GH-7881)
...
In configdialog, the custom tabbedpages widget was replaced
by ttk.notebook several months ago.
2018-06-23 17:33:27 -04:00
Andrés Delfino
38cf49bf69
bpo-33887: Add TOC to Design and History FAQ(GH-7766)
2018-06-23 11:27:16 -07:00
Dong-hee Na
3d70f7aef6
bpo-33805: Improve error message of dataclasses.replace() (GH-7580)
2018-06-23 10:46:32 -04:00
jdemeyer
66ecefcfe7
Remove tp_print implementation (GH-7857)
2018-06-23 21:08:43 +09:00
Victor Stinner
9b7cf75721
bpo-33916: Fix bz2 and lzma init when called twice (GH-7843)
...
bz2, lzma: When Decompressor.__init__() is called twice, free the old
lock to not leak memory.
2018-06-23 10:35:23 +02:00
Xiang Zhang
44742e94c8
suppress compiler warnings in _cursesmodule.c ( #7860 )
2018-06-23 12:29:30 +08:00
Andrés Delfino
c9d43c702a
bpo-33877: Remove UNIX qualification for running complete programs (GH-7744)
...
The statement is true for Windows (and macOS) also.
2018-06-22 17:31:03 -04:00
Ammar Askar
d7da836c74
Add test coverage reporting for C files (GH-7773)
2018-06-22 14:29:02 -07:00
Victor Stinner
8fbbdf0c31
bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)
...
* 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
2018-06-22 19:25:44 +02:00
Victor Stinner
209abf7469
bpo-33932: Calling Py_Initialize() twice does nothing (GH-7845)
...
Calling Py_Initialize() twice does nothing, instead of failing with a
fatal error: restore the Python 3.6 behaviour.
2018-06-22 19:14:51 +02:00
Terry Jan Reedy
bcd3a1a18d
bpo-33905: Add test for idlelib.stackview.StackBrowser. (GH-7852)
...
Increases coverage by 44%.
2018-06-21 22:19:56 -04:00
Christopher Frederickson
419e88d18c
bpo-33912: Fix test_warnings when run with -Werror (GH-7839)
...
Add missing warning filter to test_exec_filename().
2018-06-21 18:12:56 +02:00
Pablo Galindo
3ad8decd76
bpo-33716, test_concurrent_futures: increase timeout (GH-7828)
...
Increase the timeout from 1 min to 5 min.
Replace also time.time() with time.monotonic() for timeouts.
2018-06-21 12:30:37 +01:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
940ae60856
Clarified the tempfile.tempdir documentation (GH-7829)
2018-06-21 03:52:43 -04:00
Terry Jan Reedy
33c7420e7d
bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836)
...
Every other menudef key is the lowercase version of the
corresponding main menu entry (in this case, 'Window').
2018-06-20 22:49:55 -04:00
Terry Jan Reedy
a361e89d5a
bpo-33906: Rename idlelib.windows as window ( #7833 )
...
Match Window on the main menu and remove last plural module name.
Change imports, test, and attribute references to match new name.
2018-06-20 21:25:59 -04:00
Terry Jan Reedy
87a927325e
bpo-33917: Fix and document idlelib/idle_test/template.py (GH-7830)
...
The revised file compiles, runs, and tests OK. idle_test/README.txt
explains how to use it to create new IDLE test files.
2018-06-20 17:08:31 -04:00
Xiang Zhang
b248e957a8
Fix compiling error when missing gdbm version macros (GH-7823)
2018-06-20 21:23:30 +08:00
Nick Coghlan
16eb3bcdb2
bpo-33499: PYTHONPYCACHEPREFIX What's New entry (GH-7749)
...
Initial What's New in Python 3.8 entry for `PYTHONPYCACHEPREFIX`.
2018-06-20 21:25:01 +10:00