@@ -341,6 +341,15 @@ asyncio
341
341
-------
342
342
343
343
On Windows, the default event loop is now :class: `~asyncio.ProactorEventLoop `.
344
+ (Contributed by Victor Stinner in :issue: `34687 `.)
345
+
346
+ :class: `~asyncio.ProactorEventLoop ` now also supports UDP.
347
+ (Contributed by Adam Meily and Andrew Svetlov in :issue: `29883 `.)
348
+
349
+ :class: `~asyncio.ProactorEventLoop ` can now be interrupted by
350
+ :exc: `KeyboardInterrupt ` ("CTRL+C").
351
+ (Contributed by Vladimir Matveev in :issue: `23057 `.)
352
+
344
353
345
354
builtins
346
355
--------
@@ -672,6 +681,7 @@ how "unraisable exceptions" are handled. It is called when an exception has
672
681
occurred but there is no way for Python to handle it. For example, when a
673
682
destructor raises an exception or during garbage collection
674
683
(:func: `gc.collect `).
684
+ (Contributed by Victor Stinner in :issue: `36829 `.)
675
685
676
686
677
687
tarfile
@@ -740,7 +750,7 @@ unicodedata
740
750
unittest
741
751
--------
742
752
743
- * XXX Added :class: `AsyncMock ` to support an asynchronous version of :class: `Mock `.
753
+ * Added :class: `AsyncMock ` to support an asynchronous version of :class: `Mock `.
744
754
Appropriate new assert functions for testing have been added as well.
745
755
(Contributed by Lisa Roach in :issue: `26467 `).
746
756
@@ -801,6 +811,8 @@ Optimizations
801
811
are not set;
802
812
* the *executable * path contains a directory.
803
813
814
+ (Contributed by Joannah Nanjekye and Victor Stinner in :issue: `35537 `.)
815
+
804
816
* :func: `shutil.copyfile `, :func: `shutil.copy `, :func: `shutil.copy2 `,
805
817
:func: `shutil.copytree ` and :func: `shutil.move ` use platform-specific
806
818
"fast-copy" syscalls on Linux and macOS in order to copy the file
@@ -1006,10 +1018,12 @@ The following features and APIs have been removed from Python 3.8:
1006
1018
1007
1019
* The function :func: `platform.popen ` has been removed, it was deprecated since
1008
1020
Python 3.3: use :func: `os.popen ` instead.
1021
+ (Contributed by Victor Stinner in :issue: `35345 `.)
1009
1022
1010
1023
* The function :func: `time.clock ` has been removed, it was deprecated since Python
1011
1024
3.3: use :func: `time.perf_counter ` or :func: `time.process_time ` instead, depending
1012
1025
on your requirements, to have a well defined behavior.
1026
+ (Contributed by Matthias Bussonnier in :issue: `36895 `.)
1013
1027
1014
1028
* The ``pyvenv `` script has been removed in favor of ``python3.8 -m venv ``
1015
1029
to help eliminate confusion as to what Python interpreter the ``pyvenv ``
@@ -1100,12 +1114,14 @@ Changes in the Python API
1100
1114
Emulation, Popen constructor using :func: `os.posix_spawn ` no longer raise an
1101
1115
exception on errors like missing program, but the child process fails with a
1102
1116
non-zero :attr: `~Popen.returncode `.
1117
+ (Contributed by Joannah Nanjekye and Victor Stinner in :issue: `35537 `.)
1103
1118
1104
1119
* The :meth: `imap.IMAP4.logout ` method no longer ignores silently arbitrary
1105
1120
exceptions.
1106
1121
1107
1122
* The function :func: `platform.popen ` has been removed, it was deprecated since
1108
1123
Python 3.3: use :func: `os.popen ` instead.
1124
+ (Contributed by Victor Stinner in :issue: `35345 `.)
1109
1125
1110
1126
* The :func: `statistics.mode ` function no longer raises an exception
1111
1127
when given multimodal data. Instead, it returns the first mode
@@ -1232,6 +1248,7 @@ Changes in the C API
1232
1248
``RTLD_LOCAL ``, it was already not possible to load C extensions which
1233
1249
were not linked to ``libpython ``, like C extensions of the standard
1234
1250
library built by the ``*shared* `` section of ``Modules/Setup ``.
1251
+ (Contributed by Victor Stinner in :issue: `21536 `.)
1235
1252
1236
1253
* Use of ``# `` variants of formats in parsing or building value (e.g.
1237
1254
:c:func: `PyArg_ParseTuple `, :c:func: `Py_BuildValue `, :c:func: `PyObject_CallFunction `,
0 commit comments