diff options
author | Ned Deily <nad@python.org> | 2018-01-09 02:57:13 (GMT) |
---|---|---|
committer | Ned Deily <nad@python.org> | 2018-01-09 02:57:13 (GMT) |
commit | 3b43bfaae665ab784ef67cefc3a3f95a75aafdc4 (patch) | |
tree | 0137e9cc86b0f7e1ec05d70ccf14185e0f090150 /Misc/NEWS.d | |
parent | ca0c5f26563349ed761af13590acef80e1064eab (diff) | |
download | cpython-3b43bfaae665ab784ef67cefc3a3f95a75aafdc4.zip cpython-3b43bfaae665ab784ef67cefc3a3f95a75aafdc4.tar.gz cpython-3b43bfaae665ab784ef67cefc3a3f95a75aafdc4.tar.bz2 |
Update docs for 3.7.0a4
Diffstat (limited to 'Misc/NEWS.d')
85 files changed, 847 insertions, 195 deletions
diff --git a/Misc/NEWS.d/3.7.0a4.rst b/Misc/NEWS.d/3.7.0a4.rst new file mode 100644 index 0000000..cc90bd6 --- /dev/null +++ b/Misc/NEWS.d/3.7.0a4.rst @@ -0,0 +1,847 @@ +.. bpo: 31975 +.. date: 2018-01-05-20-54-27 +.. nonce: AmftlU +.. release date: 2018-01-08 +.. section: Core and Builtins + +The default warning filter list now starts with a +"default::DeprecationWarning:__main__" entry, so deprecation warnings are +once again shown by default in single-file scripts and at the interactive +prompt. + +.. + +.. bpo: 32226 +.. date: 2018-01-04-15-06-15 +.. nonce: 7cAvRG +.. section: Core and Builtins + +``__class_getitem__`` is now an automatic class method. + +.. + +.. bpo: 32399 +.. date: 2017-12-22-13-38-17 +.. nonce: wlH12z +.. section: Core and Builtins + +Add AIX uuid library support for RFC4122 using uuid_create() in libc.a + +.. + +.. bpo: 32390 +.. date: 2017-12-22-13-28-07 +.. nonce: QPj083 +.. section: Core and Builtins + +Fix the compilation failure on AIX after the f_fsid field has been added to +the object returned by os.statvfs() (issue #32143). Original patch by +Michael Felt. + +.. + +.. bpo: 32379 +.. date: 2017-12-19-21-14-41 +.. nonce: B7mOmI +.. section: Core and Builtins + +Make MRO computation faster when a class inherits from a single base. + +.. + +.. bpo: 32259 +.. date: 2017-12-16-14-30-21 +.. nonce: GoOJiX +.. section: Core and Builtins + +The error message of a TypeError raised when unpack non-iterable is now more +specific. + +.. + +.. bpo: 27169 +.. date: 2017-12-15-11-50-06 +.. nonce: VO84fQ +.. section: Core and Builtins + +The ``__debug__`` constant is now optimized out at compile time. This fixes +also bpo-22091. + +.. + +.. bpo: 32329 +.. date: 2017-12-15-00-13-04 +.. nonce: q47IN2 +.. section: Core and Builtins + +The :option:`-R` option now turns on hash randomization when the +:envvar:`PYTHONHASHSEED` environment variable is set to ``0``. Previously, +the option was ignored. Moreover, ``sys.flags.hash_randomization`` is now +properly set to 0 when hash randomization is turned off by +``PYTHONHASHSEED=0``. + +.. + +.. bpo: 30416 +.. date: 2017-12-14-11-48-19 +.. nonce: hlHo_9 +.. section: Core and Builtins + +The optimizer is now protected from spending much time doing complex +calculations and consuming much memory for creating large constants in +constant folding. Increased limits for constants that can be produced in +constant folding. + +.. + +.. bpo: 32282 +.. date: 2017-12-12-14-02-28 +.. nonce: xFVMTn +.. section: Core and Builtins + +Fix an unnecessary ifdef in the include of VersionHelpers.h in socketmodule +on Windows. + +.. + +.. bpo: 30579 +.. date: 2017-12-11-01-52-42 +.. nonce: X6cEzf +.. section: Core and Builtins + +Implement TracebackType.__new__ to allow Python-level creation of traceback +objects, and make TracebackType.tb_next mutable. + +.. + +.. bpo: 32260 +.. date: 2017-12-09-11-03-51 +.. nonce: 1DAO-p +.. section: Core and Builtins + +Don't byte swap the input keys to the SipHash algorithm on big-endian +platforms. This should ensure siphash gives consistent results across +platforms. + +.. + +.. bpo: 31506 +.. date: 2017-12-07-23-44-29 +.. nonce: j1U2fU +.. section: Core and Builtins + +Improve the error message logic for object.__new__ and object.__init__. +Patch by Sanyam Khurana. + +.. + +.. bpo: 20361 +.. date: 2017-12-07-17-22-30 +.. nonce: zQUmbi +.. section: Core and Builtins + +``-b`` and ``-bb`` now inject ``'default::BytesWarning'`` and +``error::BytesWarning`` entries into ``sys.warnoptions``, ensuring that they +take precedence over any other warning filters configured via the ``-W`` +option or the ``PYTHONWARNINGS`` environment variable. + +.. + +.. bpo: 32230 +.. date: 2017-12-06-20-18-34 +.. nonce: PgGQaB +.. section: Core and Builtins + +`-X dev` now injects a ``'default'`` entry into sys.warnoptions, ensuring +that it behaves identically to actually passing ``-Wdefault`` at the command +line. + +.. + +.. bpo: 29240 +.. date: 2017-12-05-23-10-58 +.. nonce: qpJP5l +.. section: Core and Builtins + +Add a new UTF-8 mode: implementation of the :pep:`540`. + +.. + +.. bpo: 32226 +.. date: 2017-12-05-21-42-58 +.. nonce: G8fqb6 +.. section: Core and Builtins + +PEP 560: Add support for __mro_entries__ and __class_getitem__. Implemented +by Ivan Levkivskyi. + +.. + +.. bpo: 32225 +.. date: 2017-12-05-21-33-47 +.. nonce: ucKjvw +.. section: Core and Builtins + +PEP 562: Add support for module ``__getattr__`` and ``__dir__``. Implemented +by Ivan Levkivskyi. + +.. + +.. bpo: 31901 +.. date: 2017-11-28-15-04-14 +.. nonce: mDeCLK +.. section: Core and Builtins + +The `atexit` module now has its callback stored per interpreter. + +.. + +.. bpo: 31650 +.. date: 2017-11-26-14-38-44 +.. nonce: JWf_Im +.. section: Core and Builtins + +Implement PEP 552 (Deterministic pycs). Python now supports invalidating +bytecode cache files bashed on a source content hash rather than source +last-modified time. + +.. + +.. bpo: 29469 +.. date: 2017-07-26-00-20-15 +.. nonce: potmyI +.. section: Core and Builtins + +Move constant folding from bytecode layer to AST layer. Original patch by +Eugene Toder. + +.. + +.. bpo: 32506 +.. date: 2018-01-07-11-32-42 +.. nonce: MaT-zU +.. section: Library + +Now that dict is defined as keeping insertion order, drop OrderedDict and +just use plain dict. + +.. + +.. bpo: 32279 +.. date: 2018-01-06-16-50-11 +.. nonce: 1xOpU8 +.. section: Library + +Add params to dataclasses.make_dataclasses(): init, repr, eq, order, hash, +and frozen. Pass them through to dataclass(). + +.. + +.. bpo: 32278 +.. date: 2018-01-06-15-15-34 +.. nonce: bGnGc0 +.. section: Library + +Make type information optional on dataclasses.make_dataclass(). If omitted, +the string 'typing.Any' is used. + +.. + +.. bpo: 32499 +.. date: 2018-01-06-10-54-16 +.. nonce: koyY-4 +.. section: Library + +Add dataclasses.is_dataclass(obj), which returns True if obj is a dataclass +or an instance of one. + +.. + +.. bpo: 32468 +.. date: 2017-12-31-20-32-58 +.. nonce: YBs__0 +.. section: Library + +Improve frame repr() to mention filename, code name and current line number. + +.. + +.. bpo: 23749 +.. date: 2017-12-29-00-44-42 +.. nonce: QL1Cxd +.. section: Library + +asyncio: Implement loop.start_tls() + +.. + +.. bpo: 32441 +.. date: 2017-12-28-21-30-40 +.. nonce: LqlboJ +.. section: Library + +Return the new file descriptor (i.e., the second argument) from ``os.dup2``. +Previously, ``None`` was always returned. + +.. + +.. bpo: 32422 +.. date: 2017-12-25-20-22-47 +.. nonce: 5H3Wq2 +.. section: Library + +``functools.lru_cache`` uses less memory (3 words for each cached key) and +takes about 1/3 time for cyclic GC. + +.. + +.. bpo: 31721 +.. date: 2017-12-25-11-09-46 +.. nonce: 5gM972 +.. section: Library + +Prevent Python crash from happening when Future._log_traceback is set to +True manually. Now it can only be set to False, or a ValueError is raised. + +.. + +.. bpo: 32415 +.. date: 2017-12-23-12-45-00 +.. nonce: YufXTU +.. section: Library + +asyncio: Add Task.get_loop() and Future.get_loop() + +.. + +.. bpo: 26133 +.. date: 2017-12-21-11-08-42 +.. nonce: mt81QV +.. section: Library + +Don't unsubscribe signals in asyncio UNIX event loop on interpreter +shutdown. + +.. + +.. bpo: 32363 +.. date: 2017-12-19-00-37-28 +.. nonce: YTeGU0 +.. section: Library + +Make asyncio.Task.set_exception() and set_result() raise +NotImplementedError. Task._step() and Future.__await__() raise proper +exceptions when they are in an invalid state, instead of raising an +AssertionError. + +.. + +.. bpo: 32357 +.. date: 2017-12-18-00-36-41 +.. nonce: t1F3sn +.. section: Library + +Optimize asyncio.iscoroutine() and loop.create_task() for non-native +coroutines (e.g. async/await compiled with Cython). + +'loop.create_task(python_coroutine)' used to be 20% faster than +'loop.create_task(cython_coroutine)'. Now, the latter is as fast. + +.. + +.. bpo: 32356 +.. date: 2017-12-17-22-50-51 +.. nonce: roZJpA +.. section: Library + +asyncio.transport.resume_reading() and pause_reading() are now idempotent. +New transport.is_reading() method is added. + +.. + +.. bpo: 32355 +.. date: 2017-12-17-21-42-24 +.. nonce: tbaTWA +.. section: Library + +Optimize asyncio.gather(); now up to 15% faster. + +.. + +.. bpo: 32351 +.. date: 2017-12-17-14-23-23 +.. nonce: 95fh2K +.. section: Library + +Use fastpath in asyncio.sleep if delay<0 (2x boost) + +.. + +.. bpo: 32348 +.. date: 2017-12-16-18-50-57 +.. nonce: 5j__he +.. section: Library + +Optimize asyncio.Future schedule/add/remove callback. The optimization +shows 3-6% performance improvements of async/await code. + +.. + +.. bpo: 32331 +.. date: 2017-12-15-23-48-43 +.. nonce: fIg1Uc +.. section: Library + +Fix socket.settimeout() and socket.setblocking() to keep socket.type as is. +Fix socket.socket() constructor to reset any bit flags applied to socket's +type. This change only affects OSes that have SOCK_NONBLOCK and/or +SOCK_CLOEXEC. + +.. + +.. bpo: 32248 +.. date: 2017-12-15-15-34-12 +.. nonce: zmO8G2 +.. section: Library + +Add :class:`importlib.abc.ResourceReader` as an ABC for loaders to provide a +unified API for reading resources contained within packages. Also add +:mod:`importlib.resources` as the port of ``importlib_resources``. + +.. + +.. bpo: 32311 +.. date: 2017-12-14-17-28-54 +.. nonce: DL5Ytn +.. section: Library + +Implement asyncio.create_task(coro) shortcut + +.. + +.. bpo: 32327 +.. date: 2017-12-14-16-00-25 +.. nonce: bbkSxA +.. section: Library + +Convert asyncio functions that were documented as coroutines to coroutines. +Affected functions: loop.sock_sendall, loop.sock_recv, loop.sock_accept, +loop.run_in_executor, loop.getaddrinfo, loop.getnameinfo. + +.. + +.. bpo: 32323 +.. date: 2017-12-14-10-10-10 +.. nonce: ideco +.. section: Library + +:func:`urllib.parse.urlsplit()` does not convert zone-id (scope) to lower +case for scoped IPv6 addresses in hostnames now. + +.. + +.. bpo: 32302 +.. date: 2017-12-13-22-38-08 +.. nonce: othtTr +.. section: Library + +Fix bdist_wininst of distutils for CRT v142: it binary compatible with CRT +v140. + +.. + +.. bpo: 29711 +.. date: 2017-12-13-22-10-36 +.. nonce: hJjghA +.. section: Library + +Fix ``stop_serving`` in asyncio proactor loop kill all listening servers + +.. + +.. bpo: 32308 +.. date: 2017-12-13-20-31-30 +.. nonce: CUbsb2 +.. section: Library + +:func:`re.sub()` now replaces empty matches adjacent to a previous non-empty +match. + +.. + +.. bpo: 29970 +.. date: 2017-12-13-19-02-38 +.. nonce: uxVOpk +.. section: Library + +Abort asyncio SSLProtocol connection if handshake not complete within 10s + +.. + +.. bpo: 32314 +.. date: 2017-12-13-16-47-38 +.. nonce: W4_U2j +.. section: Library + +Implement asyncio.run(). + +.. + +.. bpo: 17852 +.. date: 2017-12-13-00-00-37 +.. nonce: Q8BP8N +.. section: Library + +Revert incorrect fix based on misunderstanding of _Py_PyAtExit() semantics. + +.. + +.. bpo: 32296 +.. date: 2017-12-12-18-01-01 +.. nonce: bwscHz +.. section: Library + +Implement asyncio._get_running_loop() and get_event_loop() in C. This makes +them 4x faster. + +.. + +.. bpo: 32250 +.. date: 2017-12-12-16-58-20 +.. nonce: UljTa0 +.. section: Library + +Implement ``asyncio.current_task()`` and ``asyncio.all_tasks()``. Add +helpers intended to be used by alternative task implementations: +``asyncio._register_task``, ``asyncio._enter_task``, ``asyncio._leave_task`` +and ``asyncio._unregister_task``. Deprecate ``asyncio.Task.current_task()`` +and ``asyncio.Task.all_tasks()``. + +.. + +.. bpo: 32255 +.. date: 2017-12-12-07-29-06 +.. nonce: 2bfNmM +.. section: Library + +A single empty field is now always quoted when written into a CSV file. This +allows to distinguish an empty row from a row consisting of a single empty +field. Patch by Licht Takeuchi. + +.. + +.. bpo: 32277 +.. date: 2017-12-11-09-53-14 +.. nonce: jkKiVC +.. section: Library + +Raise ``NotImplementedError`` instead of ``SystemError`` on platforms where +``chmod(..., follow_symlinks=False)`` is not supported. Patch by Anthony +Sottile. + +.. + +.. bpo: 30050 +.. date: 2017-12-10-23-44-56 +.. nonce: 4SZ3lY +.. section: Library + +New argument warn_on_full_buffer to signal.set_wakeup_fd lets you control +whether Python prints a warning on stderr when the wakeup fd buffer +overflows. + +.. + +.. bpo: 29137 +.. date: 2017-12-10-21-19-14 +.. nonce: CFcON1 +.. section: Library + +The ``fpectl`` library has been removed. It was never enabled by default, +never worked correctly on x86-64, and it changed the Python ABI in ways that +caused unexpected breakage of C extensions. + +.. + +.. bpo: 32273 +.. date: 2017-12-10-19-14-55 +.. nonce: 5KKlCv +.. section: Library + +Move asyncio.test_utils to test.test_asyncio. + +.. + +.. bpo: 32272 +.. date: 2017-12-10-18-59-13 +.. nonce: Mu84Am +.. section: Library + +Remove asyncio.async() function. + +.. + +.. bpo: 32269 +.. date: 2017-12-10-12-30-13 +.. nonce: Q85pKj +.. section: Library + +Add asyncio.get_running_loop() function. + +.. + +.. bpo: 32265 +.. date: 2017-12-10-00-57-51 +.. nonce: kELtTE +.. section: Library + +All class and static methods of builtin types now are correctly classified +by inspect.classify_class_attrs() and grouped in pydoc ouput. Added +types.ClassMethodDescriptorType for unbound class methods of builtin types. + +.. + +.. bpo: 32253 +.. date: 2017-12-09-11-30-35 +.. nonce: TQHSYF +.. section: Library + +Deprecate ``yield from lock``, ``await lock``, ``with (yield from lock)`` +and ``with await lock`` for asyncio synchronization primitives. + +.. + +.. bpo: 22589 +.. date: 2017-12-08-15-09-41 +.. nonce: 8ouqI6 +.. section: Library + +Changed MIME type of .bmp from 'image/x-ms-bmp' to 'image/bmp' + +.. + +.. bpo: 32193 +.. date: 2017-12-08-11-02-26 +.. nonce: NJe_TQ +.. section: Library + +Convert asyncio to use *async/await* syntax. Old styled ``yield from`` is +still supported too. + +.. + +.. bpo: 32206 +.. date: 2017-12-07-13-14-40 +.. nonce: obm4OM +.. section: Library + +Add support to run modules with pdb + +.. + +.. bpo: 32227 +.. date: 2017-12-05-13-25-15 +.. nonce: 3vnWFS +.. section: Library + +``functools.singledispatch`` now supports registering implementations using +type annotations. + +.. + +.. bpo: 15873 +.. date: 2017-12-04-17-41-40 +.. nonce: -T4TRK +.. section: Library + +Added new alternate constructors :meth:`datetime.datetime.fromisoformat`, +:meth:`datetime.time.fromisoformat` and :meth:`datetime.date.fromisoformat` +as the inverse operation of each classes's respective ``isoformat`` methods. + +.. + +.. bpo: 32199 +.. date: 2017-12-04-12-23-26 +.. nonce: nGof4v +.. section: Library + +The getnode() ip getter now uses 'ip link' instead of 'ip link list'. + +.. + +.. bpo: 32143 +.. date: 2017-11-26-17-28-26 +.. nonce: o7YdXL +.. section: Library + +os.statvfs() includes the f_fsid field from statvfs(2) + +.. + +.. bpo: 26439 +.. date: 2017-11-24-08-35-43 +.. nonce: IC45_f +.. section: Library + +Fix ctypes.util.find_library() for AIX by implementing +ctypes._aix.find_library() Patch by: Michael Felt + +.. + +.. bpo: 31993 +.. date: 2017-11-10-00-05-08 +.. nonce: -OMNg8 +.. section: Library + +The picklers no longer allocate temporary memory when dumping large +``bytes`` and ``str`` objects into a file object. Instead the data is +directly streamed into the underlying file object. + +.. + +.. bpo: 27456 +.. date: 2017-11-02-11-57-41 +.. nonce: snzyTC +.. section: Library + +Ensure TCP_NODELAY is set on Linux. Tests by Victor Stinner. + +.. + +.. bpo: 31778 +.. date: 2017-10-18-17-29-30 +.. nonce: B6vAkP +.. section: Library + +ast.literal_eval() is now more strict. Addition and subtraction of arbitrary +numbers no longer allowed. + +.. + +.. bpo: 31802 +.. date: 2017-10-17-14-52-14 +.. nonce: sYj2Zv +.. section: Library + +Importing native path module (``posixpath``, ``ntpath``) now works even if +the ``os`` module still is not imported. + +.. + +.. bpo: 30241 +.. date: 2017-10-10-18-56-46 +.. nonce: F_go20 +.. section: Library + +Add contextlib.AbstractAsyncContextManager. Patch by Jelle Zijlstra. + +.. + +.. bpo: 31699 +.. date: 2017-10-05-11-06-32 +.. nonce: MF47Y6 +.. section: Library + +Fix deadlocks in :class:`concurrent.futures.ProcessPoolExecutor` when task +arguments or results cause pickling or unpickling errors. This should make +sure that calls to the :class:`ProcessPoolExecutor` API always eventually +return. + +.. + +.. bpo: 15216 +.. date: 2017-09-16-02-56-33 +.. nonce: lqXCTT +.. section: Library + +``TextIOWrapper.reconfigure()`` supports changing *encoding*, *errors*, and +*newline*. + +.. + +.. bpo: 32418 +.. date: 2017-12-24-17-29-37 +.. nonce: eZe-ID +.. section: Documentation + +Add get_loop() method to Server and AbstractServer classes. + +.. + +.. bpo: 32252 +.. date: 2017-12-11-13-31-33 +.. nonce: YnFw7J +.. section: Tests + +Fix faulthandler_suppress_crash_report() used to prevent core dump files +when testing crashes. getrlimit() returns zero on success. + +.. + +.. bpo: 32002 +.. date: 2017-11-11-16-35-18 +.. nonce: itDxIo +.. section: Tests + +Adjust C locale coercion testing for the empty locale and POSIX locale cases +to more readily adjust to platform dependent behaviour. + +.. + +.. bpo: 19764 +.. date: 2017-08-18-18-00-24 +.. nonce: ODpc9y +.. section: Windows + +Implement support for `subprocess.Popen(close_fds=True)` on Windows. Patch +by Segev Finer. + +.. + +.. bpo: 24960 +.. date: 2017-12-22-09-25-51 +.. nonce: TGdAgO +.. section: Tools/Demos + +2to3 and lib2to3 can now read pickled grammar files using pkgutil.get_data() +rather than probing the filesystem. This lets 2to3 and lib2to3 work when run +from a zipfile. + +.. + +.. bpo: 32030 +.. date: 2017-12-20-23-22-32 +.. nonce: d1dcwh +.. section: C API + +Py_Initialize() doesn't reset the memory allocators to default if the +``PYTHONMALLOC`` environment variable is not set. + +.. + +.. bpo: 29084 +.. date: 2017-12-16-09-59-35 +.. nonce: ZGJ-LJ +.. section: C API + +Undocumented C API for OrderedDict has been excluded from the limited C API. +It was added by mistake and actually never worked in the limited C API. + +.. + +.. bpo: 32264 +.. date: 2017-12-12-23-09-46 +.. nonce: ahRlOI +.. section: C API + +Moved the pygetopt.h header into internal/, since it has no public APIs. + +.. + +.. bpo: 32241 +.. date: 2017-12-07-15-58-15 +.. nonce: LbyQt6 +.. section: C API + +:c:func:`Py_SetProgramName` and :c:func:`Py_SetPythonHome` now take the +``const wchar *`` arguments instead of ``wchar *``. diff --git a/Misc/NEWS.d/next/C API/2017-12-07-15-58-15.bpo-32241.LbyQt6.rst b/Misc/NEWS.d/next/C API/2017-12-07-15-58-15.bpo-32241.LbyQt6.rst deleted file mode 100644 index 71fa8ba..0000000 --- a/Misc/NEWS.d/next/C API/2017-12-07-15-58-15.bpo-32241.LbyQt6.rst +++ /dev/null @@ -1,2 +0,0 @@ -:c:func:`Py_SetProgramName` and :c:func:`Py_SetPythonHome` now take the -``const wchar *`` arguments instead of ``wchar *``. diff --git a/Misc/NEWS.d/next/C API/2017-12-12-23-09-46.bpo-32264.ahRlOI.rst b/Misc/NEWS.d/next/C API/2017-12-12-23-09-46.bpo-32264.ahRlOI.rst deleted file mode 100644 index 5033d61..0000000 --- a/Misc/NEWS.d/next/C API/2017-12-12-23-09-46.bpo-32264.ahRlOI.rst +++ /dev/null @@ -1 +0,0 @@ -Moved the pygetopt.h header into internal/, since it has no public APIs. diff --git a/Misc/NEWS.d/next/C API/2017-12-16-09-59-35.bpo-29084.ZGJ-LJ.rst b/Misc/NEWS.d/next/C API/2017-12-16-09-59-35.bpo-29084.ZGJ-LJ.rst deleted file mode 100644 index 940f716..0000000 --- a/Misc/NEWS.d/next/C API/2017-12-16-09-59-35.bpo-29084.ZGJ-LJ.rst +++ /dev/null @@ -1,2 +0,0 @@ -Undocumented C API for OrderedDict has been excluded from the limited C API. -It was added by mistake and actually never worked in the limited C API. diff --git a/Misc/NEWS.d/next/C API/2017-12-20-23-22-32.bpo-32030.d1dcwh.rst b/Misc/NEWS.d/next/C API/2017-12-20-23-22-32.bpo-32030.d1dcwh.rst deleted file mode 100644 index 8e8b430..0000000 --- a/Misc/NEWS.d/next/C API/2017-12-20-23-22-32.bpo-32030.d1dcwh.rst +++ /dev/null @@ -1,2 +0,0 @@ -Py_Initialize() doesn't reset the memory allocators to default if the -``PYTHONMALLOC`` environment variable is not set. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-07-26-00-20-15.bpo-29469.potmyI.rst b/Misc/NEWS.d/next/Core and Builtins/2017-07-26-00-20-15.bpo-29469.potmyI.rst deleted file mode 100644 index 138a913..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-07-26-00-20-15.bpo-29469.potmyI.rst +++ /dev/null @@ -1,2 +0,0 @@ -Move constant folding from bytecode layer to AST layer. -Original patch by Eugene Toder. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-11-26-14-38-44.bpo-31650.JWf_Im.rst b/Misc/NEWS.d/next/Core and Builtins/2017-11-26-14-38-44.bpo-31650.JWf_Im.rst deleted file mode 100644 index b653f0b..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-11-26-14-38-44.bpo-31650.JWf_Im.rst +++ /dev/null @@ -1,3 +0,0 @@ -Implement PEP 552 (Deterministic pycs). Python now supports invalidating -bytecode cache files bashed on a source content hash rather than source -last-modified time. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-11-28-15-04-14.bpo-31901.mDeCLK.rst b/Misc/NEWS.d/next/Core and Builtins/2017-11-28-15-04-14.bpo-31901.mDeCLK.rst deleted file mode 100644 index 613eee0..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-11-28-15-04-14.bpo-31901.mDeCLK.rst +++ /dev/null @@ -1 +0,0 @@ -The `atexit` module now has its callback stored per interpreter. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-05-21-33-47.bpo-32225.ucKjvw.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-05-21-33-47.bpo-32225.ucKjvw.rst deleted file mode 100644 index 5cde073..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-05-21-33-47.bpo-32225.ucKjvw.rst +++ /dev/null @@ -1,2 +0,0 @@ -PEP 562: Add support for module ``__getattr__`` and ``__dir__``. Implemented by Ivan -Levkivskyi. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-05-21-42-58.bpo-32226.G8fqb6.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-05-21-42-58.bpo-32226.G8fqb6.rst deleted file mode 100644 index 97954fd..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-05-21-42-58.bpo-32226.G8fqb6.rst +++ /dev/null @@ -1,2 +0,0 @@ -PEP 560: Add support for __mro_entries__ and __class_getitem__. Implemented -by Ivan Levkivskyi. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-05-23-10-58.bpo-29240.qpJP5l.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-05-23-10-58.bpo-29240.qpJP5l.rst deleted file mode 100644 index dbd9d61..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-05-23-10-58.bpo-29240.qpJP5l.rst +++ /dev/null @@ -1 +0,0 @@ -Add a new UTF-8 mode: implementation of the :pep:`540`. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-06-20-18-34.bpo-32230.PgGQaB.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-06-20-18-34.bpo-32230.PgGQaB.rst deleted file mode 100644 index b8656e4..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-06-20-18-34.bpo-32230.PgGQaB.rst +++ /dev/null @@ -1,3 +0,0 @@ -`-X dev` now injects a ``'default'`` entry into sys.warnoptions, ensuring -that it behaves identically to actually passing ``-Wdefault`` at the command -line. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-07-17-22-30.bpo-20361.zQUmbi.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-07-17-22-30.bpo-20361.zQUmbi.rst deleted file mode 100644 index df7aed7..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-07-17-22-30.bpo-20361.zQUmbi.rst +++ /dev/null @@ -1,4 +0,0 @@ -``-b`` and ``-bb`` now inject ``'default::BytesWarning'`` and -``error::BytesWarning`` entries into ``sys.warnoptions``, ensuring that they -take precedence over any other warning filters configured via the ``-W`` -option or the ``PYTHONWARNINGS`` environment variable. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-07-23-44-29.bpo-31506.j1U2fU.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-07-23-44-29.bpo-31506.j1U2fU.rst deleted file mode 100644 index ceb9ee2..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-07-23-44-29.bpo-31506.j1U2fU.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve the error message logic for object.__new__ and object.__init__. -Patch by Sanyam Khurana. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-09-11-03-51.bpo-32260.1DAO-p.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-09-11-03-51.bpo-32260.1DAO-p.rst deleted file mode 100644 index 523ffe0..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-09-11-03-51.bpo-32260.1DAO-p.rst +++ /dev/null @@ -1,3 +0,0 @@ -Don't byte swap the input keys to the SipHash algorithm on big-endian -platforms. This should ensure siphash gives consistent results across -platforms. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-11-01-52-42.bpo-30579.X6cEzf.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-11-01-52-42.bpo-30579.X6cEzf.rst deleted file mode 100644 index 392ebf6..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-11-01-52-42.bpo-30579.X6cEzf.rst +++ /dev/null @@ -1,2 +0,0 @@ -Implement TracebackType.__new__ to allow Python-level creation of -traceback objects, and make TracebackType.tb_next mutable. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-12-14-02-28.bpo-32282.xFVMTn.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-12-14-02-28.bpo-32282.xFVMTn.rst deleted file mode 100644 index 1c833c5..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-12-14-02-28.bpo-32282.xFVMTn.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix an unnecessary ifdef in the include of VersionHelpers.h in socketmodule -on Windows. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-14-11-48-19.bpo-30416.hlHo_9.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-14-11-48-19.bpo-30416.hlHo_9.rst deleted file mode 100644 index 532700e..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-14-11-48-19.bpo-30416.hlHo_9.rst +++ /dev/null @@ -1,4 +0,0 @@ -The optimizer is now protected from spending much time doing complex -calculations and consuming much memory for creating large constants in -constant folding. Increased limits for constants that can be produced in -constant folding. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-15-00-13-04.bpo-32329.q47IN2.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-15-00-13-04.bpo-32329.q47IN2.rst deleted file mode 100644 index 86bcf23..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-15-00-13-04.bpo-32329.q47IN2.rst +++ /dev/null @@ -1,5 +0,0 @@ -The :option:`-R` option now turns on hash randomization when the -:envvar:`PYTHONHASHSEED` environment variable is set to ``0``. Previously, -the option was ignored. Moreover, ``sys.flags.hash_randomization`` is now -properly set to 0 when hash randomization is turned off by -``PYTHONHASHSEED=0``. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-15-11-50-06.bpo-27169.VO84fQ.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-15-11-50-06.bpo-27169.VO84fQ.rst deleted file mode 100644 index 81d1d15..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-15-11-50-06.bpo-27169.VO84fQ.rst +++ /dev/null @@ -1,2 +0,0 @@ -The ``__debug__`` constant is now optimized out at compile time. This fixes also -bpo-22091. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-16-14-30-21.bpo-32259.GoOJiX.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-16-14-30-21.bpo-32259.GoOJiX.rst deleted file mode 100644 index 1129c75..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-16-14-30-21.bpo-32259.GoOJiX.rst +++ /dev/null @@ -1,2 +0,0 @@ -The error message of a TypeError raised when unpack non-iterable is now more -specific. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-19-21-14-41.bpo-32379.B7mOmI.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-19-21-14-41.bpo-32379.B7mOmI.rst deleted file mode 100644 index 1050c61..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-19-21-14-41.bpo-32379.B7mOmI.rst +++ /dev/null @@ -1 +0,0 @@ -Make MRO computation faster when a class inherits from a single base. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-22-13-28-07.bpo-32390.QPj083.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-22-13-28-07.bpo-32390.QPj083.rst deleted file mode 100644 index 0e9c1bf..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-22-13-28-07.bpo-32390.QPj083.rst +++ /dev/null @@ -1 +0,0 @@ -Fix the compilation failure on AIX after the f_fsid field has been added to the object returned by os.statvfs() (issue #32143). Original patch by Michael Felt. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-12-22-13-38-17.bpo-32399.wlH12z.rst b/Misc/NEWS.d/next/Core and Builtins/2017-12-22-13-38-17.bpo-32399.wlH12z.rst deleted file mode 100644 index ab18f26..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-12-22-13-38-17.bpo-32399.wlH12z.rst +++ /dev/null @@ -1 +0,0 @@ -Add AIX uuid library support for RFC4122 using uuid_create() in libc.a diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-01-04-15-06-15.bpo-32226.7cAvRG.rst b/Misc/NEWS.d/next/Core and Builtins/2018-01-04-15-06-15.bpo-32226.7cAvRG.rst deleted file mode 100644 index 842775f..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2018-01-04-15-06-15.bpo-32226.7cAvRG.rst +++ /dev/null @@ -1 +0,0 @@ -``__class_getitem__`` is now an automatic class method. diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-01-05-20-54-27.bpo-31975.AmftlU.rst b/Misc/NEWS.d/next/Core and Builtins/2018-01-05-20-54-27.bpo-31975.AmftlU.rst deleted file mode 100644 index 98cfae0..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2018-01-05-20-54-27.bpo-31975.AmftlU.rst +++ /dev/null @@ -1,4 +0,0 @@ -The default warning filter list now starts with a -"default::DeprecationWarning:__main__" entry, so deprecation warnings are -once again shown by default in single-file scripts and at the interactive -prompt. diff --git a/Misc/NEWS.d/next/Documentation/2017-12-24-17-29-37.bpo-32418.eZe-ID.rst b/Misc/NEWS.d/next/Documentation/2017-12-24-17-29-37.bpo-32418.eZe-ID.rst deleted file mode 100644 index 9441b74..0000000 --- a/Misc/NEWS.d/next/Documentation/2017-12-24-17-29-37.bpo-32418.eZe-ID.rst +++ /dev/null @@ -1 +0,0 @@ -Add get_loop() method to Server and AbstractServer classes. diff --git a/Misc/NEWS.d/next/Library/2017-09-16-02-56-33.bpo-15216.lqXCTT.rst b/Misc/NEWS.d/next/Library/2017-09-16-02-56-33.bpo-15216.lqXCTT.rst deleted file mode 100644 index 0e9fd55..0000000 --- a/Misc/NEWS.d/next/Library/2017-09-16-02-56-33.bpo-15216.lqXCTT.rst +++ /dev/null @@ -1,2 +0,0 @@ -``TextIOWrapper.reconfigure()`` supports changing *encoding*, *errors*, and -*newline*. diff --git a/Misc/NEWS.d/next/Library/2017-10-05-11-06-32.bpo-31699.MF47Y6.rst b/Misc/NEWS.d/next/Library/2017-10-05-11-06-32.bpo-31699.MF47Y6.rst deleted file mode 100644 index 49cbbb3..0000000 --- a/Misc/NEWS.d/next/Library/2017-10-05-11-06-32.bpo-31699.MF47Y6.rst +++ /dev/null @@ -1,4 +0,0 @@ -Fix deadlocks in :class:`concurrent.futures.ProcessPoolExecutor` when -task arguments or results cause pickling or unpickling errors. -This should make sure that calls to the :class:`ProcessPoolExecutor` API -always eventually return. diff --git a/Misc/NEWS.d/next/Library/2017-10-10-18-56-46.bpo-30241.F_go20.rst b/Misc/NEWS.d/next/Library/2017-10-10-18-56-46.bpo-30241.F_go20.rst deleted file mode 100644 index 9b6c6f6..0000000 --- a/Misc/NEWS.d/next/Library/2017-10-10-18-56-46.bpo-30241.F_go20.rst +++ /dev/null @@ -1 +0,0 @@ -Add contextlib.AbstractAsyncContextManager. Patch by Jelle Zijlstra. diff --git a/Misc/NEWS.d/next/Library/2017-10-17-14-52-14.bpo-31802.sYj2Zv.rst b/Misc/NEWS.d/next/Library/2017-10-17-14-52-14.bpo-31802.sYj2Zv.rst deleted file mode 100644 index 77df6bb..0000000 --- a/Misc/NEWS.d/next/Library/2017-10-17-14-52-14.bpo-31802.sYj2Zv.rst +++ /dev/null @@ -1,2 +0,0 @@ -Importing native path module (``posixpath``, ``ntpath``) now works even if -the ``os`` module still is not imported. diff --git a/Misc/NEWS.d/next/Library/2017-10-18-17-29-30.bpo-31778.B6vAkP.rst b/Misc/NEWS.d/next/Library/2017-10-18-17-29-30.bpo-31778.B6vAkP.rst deleted file mode 100644 index 452ad6e..0000000 --- a/Misc/NEWS.d/next/Library/2017-10-18-17-29-30.bpo-31778.B6vAkP.rst +++ /dev/null @@ -1,2 +0,0 @@ -ast.literal_eval() is now more strict. Addition and subtraction of -arbitrary numbers no longer allowed. diff --git a/Misc/NEWS.d/next/Library/2017-11-02-11-57-41.bpo-27456.snzyTC.rst b/Misc/NEWS.d/next/Library/2017-11-02-11-57-41.bpo-27456.snzyTC.rst deleted file mode 100644 index fa7b561..0000000 --- a/Misc/NEWS.d/next/Library/2017-11-02-11-57-41.bpo-27456.snzyTC.rst +++ /dev/null @@ -1 +0,0 @@ -Ensure TCP_NODELAY is set on Linux. Tests by Victor Stinner. diff --git a/Misc/NEWS.d/next/Library/2017-11-10-00-05-08.bpo-31993.-OMNg8.rst b/Misc/NEWS.d/next/Library/2017-11-10-00-05-08.bpo-31993.-OMNg8.rst deleted file mode 100644 index b453e21..0000000 --- a/Misc/NEWS.d/next/Library/2017-11-10-00-05-08.bpo-31993.-OMNg8.rst +++ /dev/null @@ -1,14 +0,0 @@ -The picklers do no longer allocate temporary memory when dumping large -``bytes`` and ``str`` objects into a file object. Instead the data is -directly streamed into the underlying file object. - -Previously the C implementation would buffer all content and issue a -single call to ``file.write`` at the end of the dump. With protocol 4 -this behavior has changed to issue one call to ``file.write`` per frame. - -The Python pickler with protocol 4 now dumps each frame content as a -memoryview to an IOBytes instance that is never reused and the -memoryview is no longer released after the call to write. This makes it -possible for the file object to delay access to the memoryview of -previous frames without forcing any additional memory copy as was -already possible with the C pickler. diff --git a/Misc/NEWS.d/next/Library/2017-11-24-08-35-43.bpo-26439.IC45_f.rst b/Misc/NEWS.d/next/Library/2017-11-24-08-35-43.bpo-26439.IC45_f.rst deleted file mode 100644 index 91c9a45..0000000 --- a/Misc/NEWS.d/next/Library/2017-11-24-08-35-43.bpo-26439.IC45_f.rst +++ /dev/null @@ -1,12 +0,0 @@ -Fix ctypes.util.find_library() for AIX -by implementing ctypes._aix.find_library() -Patch by: Michael Felt aka aixtools - -ctypes.util.find_library has always returned None on a standard AIX. -With this patch there is support for both AIX and svr4 shared libraries. -None is returned only when there is nothinbg found. Normal behavior is now: -on AIX find_library("FOO") returns either libFOO.a(libFOO.so) or libFOO.so -while legacy names e.g., find_library("c") returns libc.a(shr.o) -or libc.a(shr_64.o) - depending on 32 or 64-bit operations. -Include RTLD_MEMBER to mode to support AIX legacy library(member) names -(Modules/_ctype/posixmodule.c), ctypes/__init__.py and configure.ac) diff --git a/Misc/NEWS.d/next/Library/2017-11-26-17-28-26.bpo-32143.o7YdXL.rst b/Misc/NEWS.d/next/Library/2017-11-26-17-28-26.bpo-32143.o7YdXL.rst deleted file mode 100644 index f416ec5..0000000 --- a/Misc/NEWS.d/next/Library/2017-11-26-17-28-26.bpo-32143.o7YdXL.rst +++ /dev/null @@ -1 +0,0 @@ -os.statvfs() includes the f_fsid field from statvfs(2) diff --git a/Misc/NEWS.d/next/Library/2017-12-04-12-23-26.bpo-32199.nGof4v.rst b/Misc/NEWS.d/next/Library/2017-12-04-12-23-26.bpo-32199.nGof4v.rst deleted file mode 100644 index d5f88ce..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-04-12-23-26.bpo-32199.nGof4v.rst +++ /dev/null @@ -1 +0,0 @@ -The getnode() ip getter now uses 'ip link' instead of 'ip link list'. diff --git a/Misc/NEWS.d/next/Library/2017-12-04-17-41-40.bpo-15873.-T4TRK.rst b/Misc/NEWS.d/next/Library/2017-12-04-17-41-40.bpo-15873.-T4TRK.rst deleted file mode 100644 index 98a8415..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-04-17-41-40.bpo-15873.-T4TRK.rst +++ /dev/null @@ -1,3 +0,0 @@ -Added new alternate constructors :meth:`datetime.datetime.fromisoformat`, -:meth:`datetime.time.fromisoformat` and :meth:`datetime.date.fromisoformat` -as the inverse operation of each classes's respective ``isoformat`` methods. diff --git a/Misc/NEWS.d/next/Library/2017-12-05-13-25-15.bpo-32227.3vnWFS.rst b/Misc/NEWS.d/next/Library/2017-12-05-13-25-15.bpo-32227.3vnWFS.rst deleted file mode 100644 index 4dbc7ba..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-05-13-25-15.bpo-32227.3vnWFS.rst +++ /dev/null @@ -1,2 +0,0 @@ -``functools.singledispatch`` now supports registering implementations using -type annotations. diff --git a/Misc/NEWS.d/next/Library/2017-12-07-13-14-40.bpo-32206.obm4OM.rst b/Misc/NEWS.d/next/Library/2017-12-07-13-14-40.bpo-32206.obm4OM.rst deleted file mode 100644 index 20d7eea..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-07-13-14-40.bpo-32206.obm4OM.rst +++ /dev/null @@ -1 +0,0 @@ -Add support to run modules with pdb diff --git a/Misc/NEWS.d/next/Library/2017-12-08-11-02-26.bpo-32193.NJe_TQ.rst b/Misc/NEWS.d/next/Library/2017-12-08-11-02-26.bpo-32193.NJe_TQ.rst deleted file mode 100644 index 6982f1e..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-08-11-02-26.bpo-32193.NJe_TQ.rst +++ /dev/null @@ -1,2 +0,0 @@ -Convert asyncio to use *async/await* syntax. Old styled ``yield from`` is -still supported too. diff --git a/Misc/NEWS.d/next/Library/2017-12-08-15-09-41.bpo-22589.8ouqI6.rst b/Misc/NEWS.d/next/Library/2017-12-08-15-09-41.bpo-22589.8ouqI6.rst deleted file mode 100644 index e8469cb..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-08-15-09-41.bpo-22589.8ouqI6.rst +++ /dev/null @@ -1 +0,0 @@ -Changed MIME type of .bmp from 'image/x-ms-bmp' to 'image/bmp' diff --git a/Misc/NEWS.d/next/Library/2017-12-09-11-30-35.bpo-32253.TQHSYF.rst b/Misc/NEWS.d/next/Library/2017-12-09-11-30-35.bpo-32253.TQHSYF.rst deleted file mode 100644 index 2916410..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-09-11-30-35.bpo-32253.TQHSYF.rst +++ /dev/null @@ -1,2 +0,0 @@ -Deprecate ``yield from lock``, ``await lock``, ``with (yield from lock)`` -and ``with await lock`` for asyncio synchronization primitives. diff --git a/Misc/NEWS.d/next/Library/2017-12-10-00-57-51.bpo-32265.kELtTE.rst b/Misc/NEWS.d/next/Library/2017-12-10-00-57-51.bpo-32265.kELtTE.rst deleted file mode 100644 index 16686c1..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-10-00-57-51.bpo-32265.kELtTE.rst +++ /dev/null @@ -1,3 +0,0 @@ -All class and static methods of builtin types now are correctly classified -by inspect.classify_class_attrs() and grouped in pydoc ouput. Added -types.ClassMethodDescriptorType for unbound class methods of builtin types. diff --git a/Misc/NEWS.d/next/Library/2017-12-10-12-30-13.bpo-32269.Q85pKj.rst b/Misc/NEWS.d/next/Library/2017-12-10-12-30-13.bpo-32269.Q85pKj.rst deleted file mode 100644 index 9fa1244..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-10-12-30-13.bpo-32269.Q85pKj.rst +++ /dev/null @@ -1 +0,0 @@ -Add asyncio.get_running_loop() function. diff --git a/Misc/NEWS.d/next/Library/2017-12-10-18-59-13.bpo-32272.Mu84Am.rst b/Misc/NEWS.d/next/Library/2017-12-10-18-59-13.bpo-32272.Mu84Am.rst deleted file mode 100644 index 500e3c8..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-10-18-59-13.bpo-32272.Mu84Am.rst +++ /dev/null @@ -1 +0,0 @@ -Remove asyncio.async() function. diff --git a/Misc/NEWS.d/next/Library/2017-12-10-19-14-55.bpo-32273.5KKlCv.rst b/Misc/NEWS.d/next/Library/2017-12-10-19-14-55.bpo-32273.5KKlCv.rst deleted file mode 100644 index 3bbec8f..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-10-19-14-55.bpo-32273.5KKlCv.rst +++ /dev/null @@ -1 +0,0 @@ -Move asyncio.test_utils to test.test_asyncio. diff --git a/Misc/NEWS.d/next/Library/2017-12-10-21-19-14.bpo-29137.CFcON1.rst b/Misc/NEWS.d/next/Library/2017-12-10-21-19-14.bpo-29137.CFcON1.rst deleted file mode 100644 index 85f3df5..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-10-21-19-14.bpo-29137.CFcON1.rst +++ /dev/null @@ -1,3 +0,0 @@ -The ``fpectl`` library has been removed. It was never enabled by default, -never worked correctly on x86-64, and it changed the Python ABI in ways that -caused unexpected breakage of C extensions. diff --git a/Misc/NEWS.d/next/Library/2017-12-10-23-44-56.bpo-30050.4SZ3lY.rst b/Misc/NEWS.d/next/Library/2017-12-10-23-44-56.bpo-30050.4SZ3lY.rst deleted file mode 100644 index 76de12b..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-10-23-44-56.bpo-30050.4SZ3lY.rst +++ /dev/null @@ -1,3 +0,0 @@ -New argument warn_on_full_buffer to signal.set_wakeup_fd lets you control -whether Python prints a warning on stderr when the wakeup fd buffer -overflows. diff --git a/Misc/NEWS.d/next/Library/2017-12-11-09-53-14.bpo-32277.jkKiVC.rst b/Misc/NEWS.d/next/Library/2017-12-11-09-53-14.bpo-32277.jkKiVC.rst deleted file mode 100644 index 765527a..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-11-09-53-14.bpo-32277.jkKiVC.rst +++ /dev/null @@ -1,3 +0,0 @@ -Raise ``NotImplementedError`` instead of ``SystemError`` on platforms where -``chmod(..., follow_symlinks=False)`` is not supported. Patch by Anthony -Sottile. diff --git a/Misc/NEWS.d/next/Library/2017-12-12-07-29-06.bpo-32255.2bfNmM.rst b/Misc/NEWS.d/next/Library/2017-12-12-07-29-06.bpo-32255.2bfNmM.rst deleted file mode 100644 index dafee67..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-12-07-29-06.bpo-32255.2bfNmM.rst +++ /dev/null @@ -1,3 +0,0 @@ -A single empty field is now always quoted when written into a CSV file. -This allows to distinguish an empty row from a row consisting of a single empty field. -Patch by Licht Takeuchi. diff --git a/Misc/NEWS.d/next/Library/2017-12-12-16-58-20.bpo-32250.UljTa0.rst b/Misc/NEWS.d/next/Library/2017-12-12-16-58-20.bpo-32250.UljTa0.rst deleted file mode 100644 index f2d016d..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-12-16-58-20.bpo-32250.UljTa0.rst +++ /dev/null @@ -1,5 +0,0 @@ -Implement ``asyncio.current_task()`` and ``asyncio.all_tasks()``. Add -helpers intended to be used by alternative task implementations: -``asyncio._register_task``, ``asyncio._enter_task``, ``asyncio._leave_task`` -and ``asyncio._unregister_task``. Deprecate ``asyncio.Task.current_task()`` -and ``asyncio.Task.all_tasks()``. diff --git a/Misc/NEWS.d/next/Library/2017-12-12-18-01-01.bpo-32296.bwscHz.rst b/Misc/NEWS.d/next/Library/2017-12-12-18-01-01.bpo-32296.bwscHz.rst deleted file mode 100644 index 4100d48..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-12-18-01-01.bpo-32296.bwscHz.rst +++ /dev/null @@ -1,2 +0,0 @@ -Implement asyncio._get_running_loop() and get_event_loop() in C. This makes -them 4x faster. diff --git a/Misc/NEWS.d/next/Library/2017-12-13-00-00-37.bpo-17852.Q8BP8N.rst b/Misc/NEWS.d/next/Library/2017-12-13-00-00-37.bpo-17852.Q8BP8N.rst deleted file mode 100644 index 768108d..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-13-00-00-37.bpo-17852.Q8BP8N.rst +++ /dev/null @@ -1 +0,0 @@ -Revert incorrect fix based on misunderstanding of _Py_PyAtExit() semantics. diff --git a/Misc/NEWS.d/next/Library/2017-12-13-16-47-38.bpo-32314.W4_U2j.rst b/Misc/NEWS.d/next/Library/2017-12-13-16-47-38.bpo-32314.W4_U2j.rst deleted file mode 100644 index 416906c..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-13-16-47-38.bpo-32314.W4_U2j.rst +++ /dev/null @@ -1 +0,0 @@ -Implement asyncio.run(). diff --git a/Misc/NEWS.d/next/Library/2017-12-13-19-02-38.bpo-29970.uxVOpk.rst b/Misc/NEWS.d/next/Library/2017-12-13-19-02-38.bpo-29970.uxVOpk.rst deleted file mode 100644 index d3d9ae9..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-13-19-02-38.bpo-29970.uxVOpk.rst +++ /dev/null @@ -1 +0,0 @@ -Abort asyncio SSLProtocol connection if handshake not complete within 10s diff --git a/Misc/NEWS.d/next/Library/2017-12-13-20-31-30.bpo-32308.CUbsb2.rst b/Misc/NEWS.d/next/Library/2017-12-13-20-31-30.bpo-32308.CUbsb2.rst deleted file mode 100644 index d760d608..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-13-20-31-30.bpo-32308.CUbsb2.rst +++ /dev/null @@ -1,2 +0,0 @@ -:func:`re.sub()` now replaces empty matches adjacent to a previous non-empty -match. diff --git a/Misc/NEWS.d/next/Library/2017-12-13-22-10-36.bpo-29711.hJjghA.rst b/Misc/NEWS.d/next/Library/2017-12-13-22-10-36.bpo-29711.hJjghA.rst deleted file mode 100644 index 6774172..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-13-22-10-36.bpo-29711.hJjghA.rst +++ /dev/null @@ -1 +0,0 @@ -Fix ``stop_serving`` in asyncio proactor loop kill all listening servers diff --git a/Misc/NEWS.d/next/Library/2017-12-13-22-38-08.bpo-32302.othtTr.rst b/Misc/NEWS.d/next/Library/2017-12-13-22-38-08.bpo-32302.othtTr.rst deleted file mode 100644 index abe51f0..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-13-22-38-08.bpo-32302.othtTr.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix bdist_wininst of distutils for CRT v142: it binary compatible with CRT -v140. diff --git a/Misc/NEWS.d/next/Library/2017-12-14-10-10-10.bpo-32323.ideco.rst b/Misc/NEWS.d/next/Library/2017-12-14-10-10-10.bpo-32323.ideco.rst deleted file mode 100644 index 3077d7c..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-14-10-10-10.bpo-32323.ideco.rst +++ /dev/null @@ -1,2 +0,0 @@ -:func:`urllib.parse.urlsplit()` does not convert zone-id (scope) to lower case -for scoped IPv6 addresses in hostnames now. diff --git a/Misc/NEWS.d/next/Library/2017-12-14-16-00-25.bpo-32327.bbkSxA.rst b/Misc/NEWS.d/next/Library/2017-12-14-16-00-25.bpo-32327.bbkSxA.rst deleted file mode 100644 index 5fd9fbc..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-14-16-00-25.bpo-32327.bbkSxA.rst +++ /dev/null @@ -1,3 +0,0 @@ -Convert asyncio functions that were documented as coroutines to coroutines. -Affected functions: loop.sock_sendall, loop.sock_recv, loop.sock_accept, -loop.run_in_executor, loop.getaddrinfo, loop.getnameinfo. diff --git a/Misc/NEWS.d/next/Library/2017-12-14-17-28-54.bpo-32311.DL5Ytn.rst b/Misc/NEWS.d/next/Library/2017-12-14-17-28-54.bpo-32311.DL5Ytn.rst deleted file mode 100644 index e2d1095..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-14-17-28-54.bpo-32311.DL5Ytn.rst +++ /dev/null @@ -1 +0,0 @@ -Implement asyncio.create_task(coro) shortcut diff --git a/Misc/NEWS.d/next/Library/2017-12-15-15-34-12.bpo-32248.zmO8G2.rst b/Misc/NEWS.d/next/Library/2017-12-15-15-34-12.bpo-32248.zmO8G2.rst deleted file mode 100644 index 02b7e5f..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-15-15-34-12.bpo-32248.zmO8G2.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add :class:`importlib.abc.ResourceReader` as an ABC for loaders to provide a -unified API for reading resources contained within packages. Also add -:mod:`importlib.resources` as the port of ``importlib_resources``. diff --git a/Misc/NEWS.d/next/Library/2017-12-15-23-48-43.bpo-32331.fIg1Uc.rst b/Misc/NEWS.d/next/Library/2017-12-15-23-48-43.bpo-32331.fIg1Uc.rst deleted file mode 100644 index 53a262c..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-15-23-48-43.bpo-32331.fIg1Uc.rst +++ /dev/null @@ -1,4 +0,0 @@ -Fix socket.settimeout() and socket.setblocking() to keep socket.type -as is. Fix socket.socket() constructor to reset any bit flags applied to -socket's type. This change only affects OSes that have SOCK_NONBLOCK -and/or SOCK_CLOEXEC. diff --git a/Misc/NEWS.d/next/Library/2017-12-16-18-50-57.bpo-32348.5j__he.rst b/Misc/NEWS.d/next/Library/2017-12-16-18-50-57.bpo-32348.5j__he.rst deleted file mode 100644 index b3618db..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-16-18-50-57.bpo-32348.5j__he.rst +++ /dev/null @@ -1,2 +0,0 @@ -Optimize asyncio.Future schedule/add/remove callback. The optimization -shows 3-6% performance improvements of async/await code. diff --git a/Misc/NEWS.d/next/Library/2017-12-17-14-23-23.bpo-32351.95fh2K.rst b/Misc/NEWS.d/next/Library/2017-12-17-14-23-23.bpo-32351.95fh2K.rst deleted file mode 100644 index 56f52d2..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-17-14-23-23.bpo-32351.95fh2K.rst +++ /dev/null @@ -1 +0,0 @@ -Use fastpath in asyncio.sleep if delay<0 (2x boost) diff --git a/Misc/NEWS.d/next/Library/2017-12-17-21-42-24.bpo-32355.tbaTWA.rst b/Misc/NEWS.d/next/Library/2017-12-17-21-42-24.bpo-32355.tbaTWA.rst deleted file mode 100644 index ca908e9..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-17-21-42-24.bpo-32355.tbaTWA.rst +++ /dev/null @@ -1 +0,0 @@ -Optimize asyncio.gather(); now up to 15% faster. diff --git a/Misc/NEWS.d/next/Library/2017-12-17-22-50-51.bpo-32356.roZJpA.rst b/Misc/NEWS.d/next/Library/2017-12-17-22-50-51.bpo-32356.roZJpA.rst deleted file mode 100644 index 84b5381..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-17-22-50-51.bpo-32356.roZJpA.rst +++ /dev/null @@ -1,2 +0,0 @@ -asyncio.transport.resume_reading() and pause_reading() are now idempotent. -New transport.is_reading() method is added. diff --git a/Misc/NEWS.d/next/Library/2017-12-18-00-36-41.bpo-32357.t1F3sn.rst b/Misc/NEWS.d/next/Library/2017-12-18-00-36-41.bpo-32357.t1F3sn.rst deleted file mode 100644 index f51eaf5..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-18-00-36-41.bpo-32357.t1F3sn.rst +++ /dev/null @@ -1,5 +0,0 @@ -Optimize asyncio.iscoroutine() and loop.create_task() for non-native -coroutines (e.g. async/await compiled with Cython). - -'loop.create_task(python_coroutine)' used to be 20% faster than -'loop.create_task(cython_coroutine)'. Now, the latter is as fast. diff --git a/Misc/NEWS.d/next/Library/2017-12-19-00-37-28.bpo-32363.YTeGU0.rst b/Misc/NEWS.d/next/Library/2017-12-19-00-37-28.bpo-32363.YTeGU0.rst deleted file mode 100644 index 4c376c5..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-19-00-37-28.bpo-32363.YTeGU0.rst +++ /dev/null @@ -1,4 +0,0 @@ -Make asyncio.Task.set_exception() and set_result() raise -NotImplementedError. Task._step() and Future.__await__() raise proper -exceptions when they are in an invalid state, instead of raising an -AssertionError. diff --git a/Misc/NEWS.d/next/Library/2017-12-21-11-08-42.bpo-26133.mt81QV.rst b/Misc/NEWS.d/next/Library/2017-12-21-11-08-42.bpo-26133.mt81QV.rst deleted file mode 100644 index 0653d19..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-21-11-08-42.bpo-26133.mt81QV.rst +++ /dev/null @@ -1 +0,0 @@ -Don't unsubscribe signals in asyncio UNIX event loop on interpreter shutdown. diff --git a/Misc/NEWS.d/next/Library/2017-12-23-12-45-00.bpo-32415.YufXTU.rst b/Misc/NEWS.d/next/Library/2017-12-23-12-45-00.bpo-32415.YufXTU.rst deleted file mode 100644 index f1f5737..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-23-12-45-00.bpo-32415.YufXTU.rst +++ /dev/null @@ -1 +0,0 @@ -asyncio: Add Task.get_loop() and Future.get_loop() diff --git a/Misc/NEWS.d/next/Library/2017-12-25-11-09-46.bpo-31721.5gM972.rst b/Misc/NEWS.d/next/Library/2017-12-25-11-09-46.bpo-31721.5gM972.rst deleted file mode 100644 index a989a94..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-25-11-09-46.bpo-31721.5gM972.rst +++ /dev/null @@ -1,2 +0,0 @@ -Prevent Python crash from happening when Future._log_traceback is set to -True manually. Now it can only be set to False, or a ValueError is raised. diff --git a/Misc/NEWS.d/next/Library/2017-12-25-20-22-47.bpo-32422.5H3Wq2.rst b/Misc/NEWS.d/next/Library/2017-12-25-20-22-47.bpo-32422.5H3Wq2.rst deleted file mode 100644 index 5918c32..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-25-20-22-47.bpo-32422.5H3Wq2.rst +++ /dev/null @@ -1,2 +0,0 @@ -``functools.lru_cache`` uses less memory (3 words for each cached key) and -takes about 1/3 time for cyclic GC. diff --git a/Misc/NEWS.d/next/Library/2017-12-28-21-30-40.bpo-32441.LqlboJ.rst b/Misc/NEWS.d/next/Library/2017-12-28-21-30-40.bpo-32441.LqlboJ.rst deleted file mode 100644 index a0fe4f3..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-28-21-30-40.bpo-32441.LqlboJ.rst +++ /dev/null @@ -1,2 +0,0 @@ -Return the new file descriptor (i.e., the second argument) from ``os.dup2``. -Previously, ``None`` was always returned. diff --git a/Misc/NEWS.d/next/Library/2017-12-29-00-44-42.bpo-23749.QL1Cxd.rst b/Misc/NEWS.d/next/Library/2017-12-29-00-44-42.bpo-23749.QL1Cxd.rst deleted file mode 100644 index d6de1fe..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-29-00-44-42.bpo-23749.QL1Cxd.rst +++ /dev/null @@ -1 +0,0 @@ -asyncio: Implement loop.start_tls() diff --git a/Misc/NEWS.d/next/Library/2017-12-31-20-32-58.bpo-32468.YBs__0.rst b/Misc/NEWS.d/next/Library/2017-12-31-20-32-58.bpo-32468.YBs__0.rst deleted file mode 100644 index 135bbd8..0000000 --- a/Misc/NEWS.d/next/Library/2017-12-31-20-32-58.bpo-32468.YBs__0.rst +++ /dev/null @@ -1 +0,0 @@ -Improve frame repr() to mention filename, code name and current line number. diff --git a/Misc/NEWS.d/next/Library/2018-01-06-10-54-16.bpo-32499.koyY-4.rst b/Misc/NEWS.d/next/Library/2018-01-06-10-54-16.bpo-32499.koyY-4.rst deleted file mode 100644 index bf3e99c..0000000 --- a/Misc/NEWS.d/next/Library/2018-01-06-10-54-16.bpo-32499.koyY-4.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add dataclasses.is_dataclass(obj), which returns True if obj is a dataclass -or an instance of one. diff --git a/Misc/NEWS.d/next/Library/2018-01-06-15-15-34.bpo-32278.bGnGc0.rst b/Misc/NEWS.d/next/Library/2018-01-06-15-15-34.bpo-32278.bGnGc0.rst deleted file mode 100644 index c627468..0000000 --- a/Misc/NEWS.d/next/Library/2018-01-06-15-15-34.bpo-32278.bGnGc0.rst +++ /dev/null @@ -1,2 +0,0 @@ -Make type information optional on dataclasses.make_dataclass(). If omitted, -the string 'typing.Any' is used. diff --git a/Misc/NEWS.d/next/Library/2018-01-06-16-50-11.bpo-32279.1xOpU8.rst b/Misc/NEWS.d/next/Library/2018-01-06-16-50-11.bpo-32279.1xOpU8.rst deleted file mode 100644 index b7ef8c8..0000000 --- a/Misc/NEWS.d/next/Library/2018-01-06-16-50-11.bpo-32279.1xOpU8.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add params to dataclasses.make_dataclasses(): init, repr, eq, order, hash, -and frozen. Pass them through to dataclass(). diff --git a/Misc/NEWS.d/next/Library/2018-01-07-11-32-42.bpo-32506.MaT-zU.rst b/Misc/NEWS.d/next/Library/2018-01-07-11-32-42.bpo-32506.MaT-zU.rst deleted file mode 100644 index e524769..0000000 --- a/Misc/NEWS.d/next/Library/2018-01-07-11-32-42.bpo-32506.MaT-zU.rst +++ /dev/null @@ -1,2 +0,0 @@ -Now that dict is defined as keeping insertion order, drop OrderedDict and -just use plain dict. diff --git a/Misc/NEWS.d/next/Tests/2017-11-11-16-35-18.bpo-32002.itDxIo.rst b/Misc/NEWS.d/next/Tests/2017-11-11-16-35-18.bpo-32002.itDxIo.rst deleted file mode 100644 index 9cc7ec2..0000000 --- a/Misc/NEWS.d/next/Tests/2017-11-11-16-35-18.bpo-32002.itDxIo.rst +++ /dev/null @@ -1,2 +0,0 @@ -Adjust C locale coercion testing for the empty locale and POSIX locale -cases to more readily adjust to platform dependent behaviour. diff --git a/Misc/NEWS.d/next/Tests/2017-12-11-13-31-33.bpo-32252.YnFw7J.rst b/Misc/NEWS.d/next/Tests/2017-12-11-13-31-33.bpo-32252.YnFw7J.rst deleted file mode 100644 index ee4c56b..0000000 --- a/Misc/NEWS.d/next/Tests/2017-12-11-13-31-33.bpo-32252.YnFw7J.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix faulthandler_suppress_crash_report() used to prevent core dump files -when testing crashes. getrlimit() returns zero on success. diff --git a/Misc/NEWS.d/next/Tools-Demos/2017-12-22-09-25-51.bpo-24960.TGdAgO.rst b/Misc/NEWS.d/next/Tools-Demos/2017-12-22-09-25-51.bpo-24960.TGdAgO.rst deleted file mode 100644 index 6f9d83c..0000000 --- a/Misc/NEWS.d/next/Tools-Demos/2017-12-22-09-25-51.bpo-24960.TGdAgO.rst +++ /dev/null @@ -1,3 +0,0 @@ -2to3 and lib2to3 can now read pickled grammar files using pkgutil.get_data() -rather than probing the filesystem. This lets 2to3 and lib2to3 work when run -from a zipfile. diff --git a/Misc/NEWS.d/next/Windows/2017-08-18-18-00-24.bpo-19764.ODpc9y.rst b/Misc/NEWS.d/next/Windows/2017-08-18-18-00-24.bpo-19764.ODpc9y.rst deleted file mode 100644 index b5f5cae..0000000 --- a/Misc/NEWS.d/next/Windows/2017-08-18-18-00-24.bpo-19764.ODpc9y.rst +++ /dev/null @@ -1,2 +0,0 @@ -Implement support for `subprocess.Popen(close_fds=True)` on Windows. Patch -by Segev Finer. |