summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
Commit message (Collapse)AuthorAgeFilesLines
* bpo-33899: Make tokenize module mirror end-of-file is end-of-line behavior ↵Ammar Askar2018-07-061-0/+3
| | | | | | | | | (GH-7891) Most of the change involves fixing up the test suite, which previously made the assumption that there wouldn't be a new line if the input didn't end in one. Contributed by Ammar Askar.
* bpo-34043: Optimize tarfile uncompress performance (GH-8089)INADA Naoki2018-07-061-0/+1
| | | | | | | | | | | tarfile._Stream has two buffer for compressed and uncompressed data. Those buffers are not aligned so unnecessary bytes slicing happens for every reading chunks. This commit bypass compressed buffering. In this benchmark [1], user time become 250ms from 300ms. [1]: https://bugs.python.org/msg320763
* bpo-34044: subprocess.Popen copies startupinfo (GH-8090)Victor Stinner2018-07-051-0/+3
| | | | | | | subprocess.Popen now copies the startupinfo argument to leave it unchanged: it will modify the copy, so that the same STARTUPINFO object can be used multiple times. Add subprocess.STARTUPINFO.copy() method.
* bpo-34010: Fix tarfile read performance regression (GH-8020)hajoscher2018-07-041-0/+2
| | | | During buffered read, use a list followed by join instead of extending a bytes object. This is how it was done before but changed in commit b506dc32c1a.
* bpo-33418: Add tp_clear for function object (GH-8058)INADA Naoki2018-07-041-0/+2
| | | | | Without tp_clear, GC can't break cyclic reference. It will cause memory leak when cyclic reference is created intentionally.
* bpo-24596: Decref module in PyRun_SimpleFileExFlags() on SystemExit (GH-7918)Zackery Spytz2018-07-031-0/+2
| | | | PyErr_Print() will not return when the exception is a SystemExit, so decref the __main__ module object in that case.
* bpo-34019: Fix wrong arguments for Opera Browser (#8047)Bumsik Kim2018-07-031-0/+2
| | | | | The Opera Browser was using a outdated command line invocation that resulted in an incorrect URL being opened in the browser when requested using the webbrowser module. * Correct the arguments passed to the Opera Browser when opening a new URL.
* bpo-34006: Revert line length limit for Windows help docs (GH-8051)Zachary Ware2018-07-021-0/+3
| | | | The line-length limit is not needed because the pages appear in a separate app rather than on a browser tab. It can also interact badly with the DPI setting.
* bpo-33978: Close existing handlers before logging (re-)configuration. (GH-8008)Xtreak2018-07-021-0/+2
|
* bpo-32568: make select.epoll() and its docs consistent (#7840)Tal Einat2018-06-301-0/+2
| | | | | | | | | | | | | * `flags` is indeed deprecated, but there is a validation on its value for backwards compatibility reasons. This adds mention of this in the docs. * The docs say that `sizehint` is deprecated and ignored, but it is still used when `epoll_create1()` is unavailable. This adds mention of this in the docs. * `sizehint=-1` is acceptable again, and is replaced with `FD_SETSIZE-1`. This is needed to have a default value available at the Python level, since `FD_SETSIZE` is not exposed to Python. (see: bpo-31938) * Reject `sizehint=0` since it is invalid to pass on to `epoll_create()`. The relevant tests have also been updated.
* bpo-33974: Fix passing special characters to ttk widgets. (GH-7986)Serhiy Storchaka2018-06-301-0/+3
| | | | Fix passing lists and tuples of strings containing special characters '"', '\\', '{', '}' and '\n' as options to tkinter.ttk widgets.
* bpo-25862: Fix assertion failures in io.TextIOWrapper.tell(). (GH-3918)Zackery Spytz2018-06-291-0/+2
|
* bpo-14117: Make minor tweaks to turtledemo (GH-8002)Terry Jan Reedy2018-06-291-0/+3
| | | | | | The 'wikipedia' example is now 'rosette', describing what it draws. The 'penrose' print output is reduced. The 'tree' '1024' output is eliminated.
* bpo-27500: Fix static version of getaddrinfo to resolve IPv6 (GH-7993)Yury Selivanov2018-06-291-0/+1
|
* bpo-33985: Implement ContextVar.name attribute. (GH-7980)Yury Selivanov2018-06-281-0/+1
|
* bpo-31546: Fix input hook integration (GH-7978)Thomas A Caswell2018-06-281-0/+3
|
* Forward port rest of NEWS changes as of 3.7.0Ned Deily2018-06-287-1/+2533
|
* bpo-33842: Remove tarfile.filemode (GH-7661)INADA Naoki2018-06-281-0/+1
|
* Forward port 3.7.0 final changesNed Deily2018-06-2750-2570/+9663
|
* bpo-25007: Add copy protocol support to zlib compressors and decompressors ↵Zackery Spytz2018-06-271-0/+2
| | | | (GH-7940)
* bpo-31647: Fix bpo typo in NEWS entry. (GH-7964)twisteroid ambassador2018-06-271-0/+0
|
* bpo-33929: multiprocessing: fix handle leak on race condition (GH-7921)Victor Stinner2018-06-271-0/+5
| | | | | | | | | 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-24567: Random subnormal.diff (#7954)Raymond Hettinger2018-06-271-0/+2
| | | | | Handle subnormal weights for choices()
* bpo-33975: Avoid small type when running IDLE's htests. (GH-7944)Terry Jan Reedy2018-06-271-0/+3
| | | | | | | | | 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.
* bpo-33956: update vendored expat to 2.2.5 (GH-7925)Benjamin Peterson2018-06-271-0/+1
|
* bpo-33873: Fix bug in `runtest.py` and add checks for invalid `-R` ↵Pablo Galindo2018-06-261-0/+4
| | | | | | | | 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-33897: Add a 'force' keyword argument to logging.basicConfig(). (GH-7873)Dong-hee Na2018-06-251-0/+1
|
* bpo-33451: Close pyc files before calling PyEval_EvalCode() (GH-7884)Zackery Spytz2018-06-241-0/+1
| | | Directly executed pyc files were being kept open longer than necessary.
* bpo-33805: Improve error message of dataclasses.replace() (GH-7580)Dong-hee Na2018-06-231-0/+1
|
* bpo-33916: Fix bz2 and lzma init when called twice (GH-7843)Victor Stinner2018-06-231-0/+2
| | | | bz2, lzma: When Decompressor.__init__() is called twice, free the old lock to not leak memory.
* bpo-33932: Calling Py_Initialize() twice does nothing (GH-7845)Victor Stinner2018-06-221-0/+2
| | | | 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-221-0/+1
| | | Increases coverage by 44%.
* bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836)Terry Jan Reedy2018-06-211-0/+2
| | | | | 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-211-0/+2
| | | | 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-201-0/+3
| | | | The revised file compiles, runs, and tests OK. idle_test/README.txt explains how to use it to create new IDLE test files.
* bpo-33746: Fix test_unittest.testRegisterResult() in verbose mode (GH-7799)Victor Stinner2018-06-201-0/+1
| | | | | | | | | | | 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-201-0/+1
|
* bpo-33907: Rename an IDLE module and classes. (GH-7810)Terry Jan Reedy2018-06-201-3/+3
| | | | | 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-33907: Rename an IDLE module and class. (GH-7807)Terry Jan Reedy2018-06-201-0/+3
| | | | Improve consistency and appearance. Module idlelib.calltips is now calltip. Class idlelib.calltip_w.CallTip is now Calltip.
* bpo-30345: Add -g to LDFLAGS for LTO (GH-7709)Victor Stinner2018-06-191-0/+1
| | | Add -g to LDFLAGS when compiling with LTO to get debug symbols.
* bpo-33901: Better test_dbm_gnu.test_reorganize() fix (GH-7795)Victor Stinner2018-06-191-4/+2
| | | | Fix test_dbm_gnu.test_reorganize() on macOS with gdbm 1.15: add a larger value to make sure that the file size changes.
* bpo-33671 / shutil.copyfile: use memoryview() with dynamic size on Windows ↵Giampaolo Rodola2018-06-191-8/+7
| | | | | | | | | | (#7681) bpo-33671 * use memoryview() with size == file size on Windows, see https://github.com/python/cpython/pull/7160#discussion_r195405230 * release intermediate (sliced) memoryview immediately * replace "OSX" occurrences with "macOS" * add some unittests for copyfileobj()
* bpo-33365: print the header values beside the keys (GH-6611)Marco Strigl2018-06-191-0/+1
| | | | | with debuglevel=1 only the header keys got printed. With this change the header values get printed as well and the single header entries get '\n' as a separator.
* bpo-33901: Fix test_dbm_gnu for gdbm 1.15 (GH-7791)Victor Stinner2018-06-191-0/+4
| | | | | | Using gdbm 1.15, creating a database creates a file of 16 MiB. Adding a small entry and then modifying the small entry doesn't change the file size. Modify test_dbm_gnu to be less strict: allow that the file size doesn't change.
* bpo-33843: Remove deprecated stuff in cgi module (GH-7662)INADA Naoki2018-06-191-0/+1
|
* bpo-33663: Convert content length to string before putting to header (GH-7754)ValeriyaSinevich2018-06-181-0/+1
|
* bpo-33856: Add "help" to the welcome message of IDLE (GH-7755)Stéphane Wirtel2018-06-161-0/+1
| | | Make it the same as when one runs 'python'.
* bpo-33499: Add PYTHONPYCACHEPREFIX env var for alt bytecode cache location. ↵Carl Meyer2018-06-161-0/+3
| | | | | | | | | | | | | | | (GH-6834) In some development setups it is inconvenient or impossible to write bytecode caches to the code tree, but the bytecode caches are still useful. The PYTHONPYCACHEPREFIX environment variable allows specifying an alternate location for cached bytecode files, within which a directory tree mirroring the code tree will be created. This cache tree is then used (for both reading and writing) instead of the local `__pycache__` subdirectory within each source directory. Exposed at runtime as sys.pycache_prefix (defaulting to None), and can be set from the CLI as "-X pycache_prefix=path". Patch by Carl Meyer.
* bpo-33855: Minimally test all IDLE modules. (GH-7689)Terry Jan Reedy2018-06-151-0/+2
| | | | Create a template for minimally testing a tkinter-using module by importing it and instantiating its class(es). Add a test file for all non-startup IDLE modules. Edit existing files and update coverage. This is part 1 of 3, covering the 21 autocomplete to help modules and touching 33 idlelib files.
* bpo-33824, bpo-32030: Fix pymain_read_conf() (GH-7712)Victor Stinner2018-06-151-0/+2
| | | | | | Fix "LC_ALL=C python3.7 -V": reset properly the command line parser when the encoding changes after reading the Python configuration. Fix pymain_read_conf(): use memset(0) to reset properly cmdline.