summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-36588: On AIX, remove major version from sys.platform (GH-12787)Michael Felt2019-04-121-0/+5
| | | | | | On AIX, sys.platform doesn't contain the major version anymore. Always return 'aix', instead of 'aix3' .. 'aix7'. Since older Python versions include the version number, it is recommended to always use sys.platform.startswith('aix').
* bpo-35934: Add socket.create_server() utility function (GH-11784)Giampaolo Rodola2019-04-081-0/+9
|
* Add a What's New entry for bpo-35459. (GH-12706)Serhiy Storchaka2019-04-081-0/+5
|
* bpo-27181: Add statistics.geometric_mean() (GH-12638)Raymond Hettinger2019-04-071-0/+3
|
* bpo-30661: Improve docs for tarfile pax change and effect on shutil (GH-12635)CAM Gerlach2019-04-071-0/+5
| | | | The shutil archive creation helpers use the default tarfile format, so that API is also switching to use `pax` by default.
* bpo-25451: Add transparency methods to tkinter.PhotoImage. (GH-10406)Zackery Spytz2019-04-051-0/+5
|
* bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637)Serhiy Storchaka2019-04-011-0/+23
| | | | | | | | | | | | | | | | | | | | | | Deprecated passing the following arguments as keyword arguments: - "func" in functools.partialmethod(), weakref.finalize(), profile.Profile.runcall(), cProfile.Profile.runcall(), bdb.Bdb.runcall(), trace.Trace.runfunc() and curses.wrapper(). - "function" in unittest.addModuleCleanup() and unittest.TestCase.addCleanup(). - "fn" in the submit() method of concurrent.futures.ThreadPoolExecutor and concurrent.futures.ProcessPoolExecutor. - "callback" in contextlib.ExitStack.callback(), contextlib.AsyncExitStack.callback() and contextlib.AsyncExitStack.push_async_callback(). - "c" and "typeid" in the create() method of multiprocessing.managers.Server and multiprocessing.managers.SharedMemoryServer. - "obj" in weakref.finalize(). Also allowed to pass arbitrary keyword arguments (even "self" and "func") if the above arguments are passed as positional argument.
* bpo-36085: Add installer check for KB2533625 (GH-12636)Steve Dower2019-03-311-1/+3
|
* bpo-36085: Enable better DLL resolution on Windows (GH-12302)Steve Dower2019-03-291-0/+30
|
* bpo-35810: Incref heap-allocated types in PyObject_Init (GH-11661)Eddie Elizondo2019-03-271-0/+67
| | | | | * Incref heap-allocated types in PyObject_Init * Add documentation and porting notes to What's New
* bpo-36326: Let inspect.getdoc() find docstrings for __slots__ (GH-12498)Raymond Hettinger2019-03-251-0/+14
|
* bpo-36381: warn when no PY_SSIZE_T_CLEAN defined (GH-12473)Inada Naoki2019-03-231-0/+10
| | | We will remove int support from 3.10 or 4.0.
* bpo-36268: Change default tar format to pax from GNU. (GH-12355)CAM Gerlach2019-03-211-0/+10
|
* bpo-36320: Switch typing.NamedTuple from OrderedDict to regular dict (GH-12396)Raymond Hettinger2019-03-181-0/+4
| | | | | | Also, deprecate the *_field_types* attributes which duplicated the information in *\__annotations__*. https://bugs.python.org/issue36320
* bpo-36297: remove "unicode_internal" codec (GH-12342)Inada Naoki2019-03-181-0/+3
|
* bpo-34160: Update news entry for XML order attributes (#12335)Diego Rojas2019-03-161-0/+5
|
* bpo-36127: Argument Clinic: inline parsing code for keyword parameters. ↵Serhiy Storchaka2019-03-141-0/+5
| | | | (GH-12058)
* bpo-36264: Updates documentation for change to expanduser on Windows (GH-12294)Steve Dower2019-03-121-0/+8
|
* bpo-35892: Fix mode() and add multimode() (#12089)Raymond Hettinger2019-03-121-0/+8
|
* closes bpo-33376: Update to Unicode 12.0.0. (GH-12256)Benjamin Peterson2019-03-101-0/+4
|
* bpo-36048: Use __index__() instead of __int__() for implicit conversion if ↵Serhiy Storchaka2019-02-251-0/+20
| | | | | | available. (GH-11952) Deprecate using the __int__() method in implicit conversions of Python numbers to C integers.
* bpo-36018: Add the NormalDist class to the statistics module (GH-11973)Raymond Hettinger2019-02-231-0/+26
|
* bpo-1054041: Add What's New docs. (GH-11999)Gregory P. Smith2019-02-231-0/+7
| | | Add What's New docs about the Ctrl-C improvement. Correct the issue number in the NEWS entry.
* bpo-35886: Make PyInterpreterState an opaque type in the public API. (GH-11731)Eric Snow2019-02-231-0/+10
| | | Move PyInterpreterState into the "internal" header files.
* bpo-36016: Add generation option to gc.getobjects() (GH-11909)Pablo Galindo2019-02-231-0/+9
|
* bpo-35904: Add statistics.fmean() (GH-11892)Raymond Hettinger2019-02-211-0/+9
|
* bpo-36068: Make _tuplegetter objects serializable (GH-11981)Joe Jevnik2019-02-211-1/+1
|
* bpo-36012: Avoid linear slot search for non-dunder methods (GH-11907)Stefan Behnel2019-02-201-0/+5
|
* bpo-33234: Add another attribution in Whatsnew (GH-11899)Raymond Hettinger2019-02-161-2/+2
| | | https://bugs.python.org/issue33234
* bpo-32492: Add missing whatsnew entries for itemgetter and namedtuple (GH-11897)Raymond Hettinger2019-02-161-0/+11
| | | https://bugs.python.org/issue32492
* bpo-33089: Add math.dist() and math.hypot() to Whatsnew (GH-11896)Raymond Hettinger2019-02-161-1/+8
| | | https://bugs.python.org/issue33089
* bpo-15248: Emit a compiler warning when missed a comma before tuple or list. ↵Serhiy Storchaka2019-02-161-0/+10
| | | | (GH-11757)
* Add What's New entry for date subclass behavior (#11790)Paul Ganssle2019-02-081-0/+8
| | | | | | | | This was a backwards incompatible change and should be clearly noted. Related bugs: bpo-32417: https://bugs.python.org/issue32417 bpo-35364: https://bugs.python.org/issue35364
* bpo-35606: Implement math.prod (GH-11359)Pablo Galindo2019-02-071-0/+9
|
* bpo-35884: Add variable access benchmarking script (GH-11725)Raymond Hettinger2019-02-031-0/+8
|
* bpo-35864: Replace OrderedDict with regular dict in namedtuple() (#11708)Raymond Hettinger2019-01-311-0/+8
| | | | | | * Change from OrderedDict to a regular dict * Add blurb
* bpo-35701: Update doc for UUID weak referencing (GH-11621)David H2019-01-281-5/+0
|
* bpo-35537: subprocess can use posix_spawn with pipes (GH-11575)Victor Stinner2019-01-231-2/+2
| | | | | | * subprocess.Popen can now also use os.posix_spawn() with pipes, but only if pipe file descriptors are greater than 2. * Fix Popen._posix_spawn(): set '_child_created' attribute to True. * Add Popen._close_pipe_fds() helper function to factorize the code.
* bpo-35713: Rework Python initialization (GH-11647)Victor Stinner2019-01-221-0/+4
| | | | | | | | | | | | | | | | | | | * The PyByteArray_Init() and PyByteArray_Fini() functions have been removed. They did nothing since Python 2.7.4 and Python 3.2.0, were excluded from the limited API (stable ABI), and were not documented. * Move "_PyXXX_Init()" and "_PyXXX_Fini()" declarations from Include/cpython/pylifecycle.h to Include/internal/pycore_pylifecycle.h. Replace "PyAPI_FUNC(TYPE)" with "extern TYPE". * _PyExc_Init() now returns an error on failure rather than calling Py_FatalError(). Move macros inside _PyExc_Init() and undefine them when done. Rewrite macros to make them look more like statement: add ";" when using them, add "do { ... } while (0)". * _PyUnicode_Init() now returns a _PyInitError error rather than call Py_FatalError(). * Move stdin check from _PySys_BeginInit() to init_sys_streams(). * _Py_ReadyTypes() now returns a _PyInitError error rather than calling Py_FatalError().
* bpo-34850: Emit a warning for "is" and "is not" with a literal. (GH-9642)Serhiy Storchaka2019-01-181-0/+7
|
* bpo-35283: Add deprecation warning for Thread.isAlive (GH-11454)Dong-hee Na2019-01-171-0/+2
| | | Add a deprecated warning for the threading.Thread.isAlive() method.
* bpo-35486: Note Py3.6 import system API requirement change (GH-11540)Nick Coghlan2019-01-171-0/+11
| | | | | | | | | | While the introduction of ModuleNotFoundError was fully backwards compatible on the import API consumer side, folks providing alternative implementations of `__import__` need to make an update to be forward compatible with clients that start relying on the new subclass. https://bugs.python.org/issue35486
* Revert "bpo-35537: subprocess can now use os.posix_spawnp (GH-11579)" (GH-11582)Victor Stinner2019-01-161-1/+2
| | | This reverts commit 07858894689047c77f9c12ddc061d30681368d19.
* bpo-35537: subprocess can now use os.posix_spawnp (GH-11579)Victor Stinner2019-01-161-2/+1
| | | | The subprocess module can now use the os.posix_spawnp() function, if it is available, to locate the program in the PATH.
* bpo-35537: subprocess uses os.posix_spawn in some cases (GH-11452)Victor Stinner2019-01-151-0/+9
| | | | | | | | | | | | The subprocess module can now use the os.posix_spawn() function in some cases for better performance. Currently, it is only used on macOS and Linux (using glibc 2.24 or newer) if all these conditions are met: * executable path contains a directory * close_fds=False * preexec_fn, pass_fds, cwd, stdin, stdout, stderr and start_new_session parameters are not set Co-authored-by: Joannah Nanjekye <nanjekyejoannah@gmail.com>
* bpo-35702: Add new identifier time.CLOCK_UPTIME_RAW for macOS 10.12 (GH-11503)Joannah Nanjekye2019-01-101-0/+6
|
* bpo-20849: add dirs_exist_ok arg to shutil.copytree (patch by Josh Bronson)jab2018-12-281-1/+8
|
* bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)Serhiy Storchaka2018-12-1911-54/+54
|
* bpo-35471: Remove the macpath module (GH-11129)Victor Stinner2018-12-141-0/+3
| | | | Python 2.4 dropped MacOS 9 support. The macpath module was deprecated in Python 3.7. This change removes it.
* bpo-33106: change dbm key deletion error for readonly file from KeyError to ↵Xiang Zhang2018-12-121-0/+6
| | | | | | dbm.error (#6295)