chunk_id
stringlengths
36
36
source
stringclasses
35 values
source_url
stringlengths
0
290
upstream_license
stringclasses
1 value
document_id
stringlengths
36
36
chunk_index
int64
0
324k
retrieved_at
stringclasses
2 values
chunker_version
stringclasses
4 values
content_hash
stringlengths
15
64
content
stringlengths
50
44.7k
namespace
stringclasses
9 values
source_name
stringclasses
35 values
raw_text
stringlengths
50
44.7k
cleaned_text
stringlengths
50
44.7k
tags
stringclasses
49 values
collection_name
stringclasses
11 values
33c00de3-0d3a-40c3-82a8-63f904740008
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,946
supabase-export-v2
3f63344e3dc5da21
ftplib ------- :class:`~ftplib.FTP` and :class:`~ftplib.FTP_TLS` now raise a :class:`ValueError` if the given timeout for their constructor is zero to prevent the creation of a non-blocking socket. (Contributed by Donghee Na in :issue:`39259`.)
trusted_official_docs
CPython Docs
ftplib ------- :class:`~ftplib.FTP` and :class:`~ftplib.FTP_TLS` now raise a :class:`ValueError` if the given timeout for their constructor is zero to prevent the creation of a non-blocking socket. (Contributed by Donghee Na in :issue:`39259`.)
ftplib ------- :class:`~ftplib.FTP` and :class:`~ftplib.FTP_TLS` now raise a :class:`ValueError` if the given timeout for their constructor is zero to prevent the creation of a non-blocking socket. (Contributed by Donghee Na in :issue:`39259`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
341ffa8c-14a3-42af-84ea-a8a4db6ec609
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,042
supabase-export-v2
93d94de00cfa0152
division` of float operation now has a better performance. Also the message of :exc:`ZeroDivisionError` for this operation is updated. (Contributed by Donghee Na in :issue:`39434`.) * Decoding short ASCII strings with UTF-8 and ascii codecs is now about 15% faster. (Contributed by Inada Naoki in :issue:`37348`.)
trusted_official_docs
CPython Docs
division` of float operation now has a better performance. Also the message of :exc:`ZeroDivisionError` for this operation is updated. (Contributed by Donghee Na in :issue:`39434`.) * Decoding short ASCII strings with UTF-8 and ascii codecs is now about 15% faster. (Contributed by Inada Naoki in :issue:`37348`.)
division` of float operation now has a better performance. Also the message of :exc:`ZeroDivisionError` for this operation is updated. (Contributed by Donghee Na in :issue:`39434`.) * Decoding short ASCII strings with UTF-8 and ascii codecs is now about 15% faster. (Contributed by Inada Naoki in :issue:`37348`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
34c2418f-7f60-404e-a89d-7ffeedf0f04f
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,875
supabase-export-v2
9967f6ab49a09691
of them emitted a :exc:`DeprecationWarning` warning for several years. For example, using ``collections.Mapping`` instead of ``collections.abc.Mapping`` emits a :exc:`DeprecationWarning` since Python 3.3, released in 2012. Test your application with the :option:`-W` ``default`` command-line option to see :exc:`Deprecat...
trusted_official_docs
CPython Docs
of them emitted a :exc:`DeprecationWarning` warning for several years. For example, using ``collections.Mapping`` instead of ``collections.abc.Mapping`` emits a :exc:`DeprecationWarning` since Python 3.3, released in 2012. Test your application with the :option:`-W` ``default`` command-line option to see :exc:`Deprecat...
of them emitted a :exc:`DeprecationWarning` warning for several years. For example, using ``collections.Mapping`` instead of ``collections.abc.Mapping`` emits a :exc:`DeprecationWarning` since Python 3.3, released in 2012. Test your application with the :option:`-W` ``default`` command-line option to see :exc:`Deprecat...
python, official-docs, cpython, P0
Local_Trusted_Corpus
350e03a2-def4-40eb-a351-312283d2f379
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,970
supabase-export-v2
79d09647428831c3
Import loaders which publish immutable module objects can now publish immutable packages in addition to individual modules. (Contributed by Dino Viehland in :issue:`39336`.) Added :func:`importlib.resources.files` function with support for subdirectories in package data, matching backport in ``importlib_resources`` ver...
trusted_official_docs
CPython Docs
Import loaders which publish immutable module objects can now publish immutable packages in addition to individual modules. (Contributed by Dino Viehland in :issue:`39336`.) Added :func:`importlib.resources.files` function with support for subdirectories in package data, matching backport in ``importlib_resources`` ver...
Import loaders which publish immutable module objects can now publish immutable packages in addition to individual modules. (Contributed by Dino Viehland in :issue:`39336`.) Added :func:`importlib.resources.files` function with support for subdirectories in package data, matching backport in ``importlib_resources`` ver...
python, official-docs, cpython, P0
Local_Trusted_Corpus
357e156c-b0b0-4a02-9517-d1a845287ee3
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,017
supabase-export-v2
6bb99cd322abde9f
sys --- Added a new :data:`sys.platlibdir` attribute: name of the platform-specific library directory. It is used to build the path of standard library and the paths of installed extension modules. It is equal to ``"lib"`` on most platforms. On Fedora and SuSE, it is equal to ``"lib64"`` on 64-bit platforms. (Contribut...
trusted_official_docs
CPython Docs
sys --- Added a new :data:`sys.platlibdir` attribute: name of the platform-specific library directory. It is used to build the path of standard library and the paths of installed extension modules. It is equal to ``"lib"`` on most platforms. On Fedora and SuSE, it is equal to ``"lib64"`` on 64-bit platforms. (Contribut...
sys --- Added a new :data:`sys.platlibdir` attribute: name of the platform-specific library directory. It is used to build the path of standard library and the paths of installed extension modules. It is equal to ``"lib"`` on most platforms. On Fedora and SuSE, it is equal to ``"lib64"`` on 64-bit platforms. (Contribut...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3796bfab-77de-43a4-a9f2-ae74fb561198
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,853
supabase-export-v2
5ad88712b93c5838
* Credit the author of a patch or bugfix. Just the name is sufficient; the e-mail address isn't necessary. * It's helpful to add the bug/patch number as a comment:
trusted_official_docs
CPython Docs
* Credit the author of a patch or bugfix. Just the name is sufficient; the e-mail address isn't necessary. * It's helpful to add the bug/patch number as a comment:
* Credit the author of a patch or bugfix. Just the name is sufficient; the e-mail address isn't necessary. * It's helpful to add the bug/patch number as a comment:
python, official-docs, cpython, P0
Local_Trusted_Corpus
38a0722f-0603-4181-955c-b254643b7092
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,036
supabase-export-v2
22f36a2231f36be9
Previously, the bytecode evaluation loop was interrupted at each instruction until the main thread handles signals. (Contributed by Victor Stinner in :issue:`40010`.) * Optimized the :mod:`subprocess` module on FreeBSD using ``closefrom()``. (Contributed by Ed Maste, Conrad Meyer, Kyle Evans, Kubilay Kocak and Victor ...
trusted_official_docs
CPython Docs
Previously, the bytecode evaluation loop was interrupted at each instruction until the main thread handles signals. (Contributed by Victor Stinner in :issue:`40010`.) * Optimized the :mod:`subprocess` module on FreeBSD using ``closefrom()``. (Contributed by Ed Maste, Conrad Meyer, Kyle Evans, Kubilay Kocak and Victor ...
Previously, the bytecode evaluation loop was interrupted at each instruction until the main thread handles signals. (Contributed by Victor Stinner in :issue:`40010`.) * Optimized the :mod:`subprocess` module on FreeBSD using ``closefrom()``. (Contributed by Ed Maste, Conrad Meyer, Kyle Evans, Kubilay Kocak and Victor ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
39321c38-2994-46be-9d16-a8aa88772a60
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,900
supabase-export-v2
a99a3aa3281ba07d
now raises :exc:`ImportError` instead of :exc:`ValueError`, which used to occur when a relative import went past its top-level package. (Contributed by Ngalim Siregar in :issue:`37444`.) * Python now gets the absolute path of the script filename specified on the command line (ex: ``python3 script.py``): the ``__file__...
trusted_official_docs
CPython Docs
now raises :exc:`ImportError` instead of :exc:`ValueError`, which used to occur when a relative import went past its top-level package. (Contributed by Ngalim Siregar in :issue:`37444`.) * Python now gets the absolute path of the script filename specified on the command line (ex: ``python3 script.py``): the ``__file__...
now raises :exc:`ImportError` instead of :exc:`ValueError`, which used to occur when a relative import went past its top-level package. (Contributed by Ngalim Siregar in :issue:`37444`.) * Python now gets the absolute path of the script filename specified on the command line (ex: ``python3 script.py``): the ``__file__...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3a258874-5de5-4d25-ad27-a1ce7546ef90
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,190
supabase-export-v2
67e5209da7fa7a48
:exc:`TypeError` exception during equality comparisons if any of their parameters are not :term:`hashable`. Note that declaring ``Literal`` with mutable parameters will not throw an error:: >>> from typing import Literal >>> Literal[{0}] >>> Literal[{0}] == Literal[{False}] Traceback (most recent call last): File "...
trusted_official_docs
CPython Docs
:exc:`TypeError` exception during equality comparisons if any of their parameters are not :term:`hashable`. Note that declaring ``Literal`` with mutable parameters will not throw an error:: >>> from typing import Literal >>> Literal[{0}] >>> Literal[{0}] == Literal[{False}] Traceback (most recent call last): File "...
:exc:`TypeError` exception during equality comparisons if any of their parameters are not :term:`hashable`. Note that declaring ``Literal`` with mutable parameters will not throw an error:: >>> from typing import Literal >>> Literal[{0}] >>> Literal[{0}] == Literal[{False}] Traceback (most recent call last): File "...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3a2dbd93-dc40-4971-98fa-cb1410fdbceb
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,930
supabase-export-v2
2c0efcfb31871c9f
the cancellation is complete also in the case when *timeout* is <= 0, like it does with positive timeouts. (Contributed by Elvis Pranskevichus in :issue:`32751`.) :mod:`asyncio` now raises :exc:`TypeError` when calling incompatible methods with an :class:`ssl.SSLSocket` socket. (Contributed by Ido Michael in :issue:`37...
trusted_official_docs
CPython Docs
the cancellation is complete also in the case when *timeout* is <= 0, like it does with positive timeouts. (Contributed by Elvis Pranskevichus in :issue:`32751`.) :mod:`asyncio` now raises :exc:`TypeError` when calling incompatible methods with an :class:`ssl.SSLSocket` socket. (Contributed by Ido Michael in :issue:`37...
the cancellation is complete also in the case when *timeout* is <= 0, like it does with positive timeouts. (Contributed by Elvis Pranskevichus in :issue:`32751`.) :mod:`asyncio` now raises :exc:`TypeError` when calling incompatible methods with an :class:`ssl.SSLSocket` socket. (Contributed by Ido Michael in :issue:`37...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3baecb92-9d78-4c37-9459-eb857dc217ed
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,928
supabase-export-v2
bf61af7c3891e45a
Added :class:`!asyncio.PidfdChildWatcher`, a Linux-specific child watcher implementation that polls process file descriptors. (:issue:`38692`) Added a new :term:`coroutine` :func:`asyncio.to_thread`. It is mainly used for running IO-bound functions in a separate thread to avoid blocking the event loop, and essentially ...
trusted_official_docs
CPython Docs
Added :class:`!asyncio.PidfdChildWatcher`, a Linux-specific child watcher implementation that polls process file descriptors. (:issue:`38692`) Added a new :term:`coroutine` :func:`asyncio.to_thread`. It is mainly used for running IO-bound functions in a separate thread to avoid blocking the event loop, and essentially ...
Added :class:`!asyncio.PidfdChildWatcher`, a Linux-specific child watcher implementation that polls process file descriptors. (:issue:`38692`) Added a new :term:`coroutine` :func:`asyncio.to_thread`. It is mainly used for running IO-bound functions in a separate thread to avoid blocking the event loop, and essentially ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3c703661-aa91-4883-bb42-a65f27dc54de
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,173
supabase-export-v2
21f1a15014d4d218
* Excluded ``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros of ``pyfpe.h`` from the limited C API. (Contributed by Victor Stinner in :issue:`38835`.) * The ``tp_print`` slot of :ref:`PyTypeObject <type-structs>` has been removed. It was used for printing objects to files in Python 2.7 and before. Since Pyt...
trusted_official_docs
CPython Docs
* Excluded ``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros of ``pyfpe.h`` from the limited C API. (Contributed by Victor Stinner in :issue:`38835`.) * The ``tp_print`` slot of :ref:`PyTypeObject <type-structs>` has been removed. It was used for printing objects to files in Python 2.7 and before. Since Pyt...
* Excluded ``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros of ``pyfpe.h`` from the limited C API. (Contributed by Victor Stinner in :issue:`38835`.) * The ``tp_print`` slot of :ref:`PyTypeObject <type-structs>` has been removed. It was used for printing objects to files in Python 2.7 and before. Since Pyt...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3d0177a3-fef7-44d8-8e3d-924b07995d5a
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,102
supabase-export-v2
ca45bee46c01c48a
* The :mod:`venv` activation scripts no longer special-case when ``__VENV_PROMPT__`` is set to ``""``. * The :meth:`select.epoll.unregister` method no longer ignores the :const:`~errno.EBADF` error. (Contributed by Victor Stinner in :issue:`39239`.)
trusted_official_docs
CPython Docs
* The :mod:`venv` activation scripts no longer special-case when ``__VENV_PROMPT__`` is set to ``""``. * The :meth:`select.epoll.unregister` method no longer ignores the :const:`~errno.EBADF` error. (Contributed by Victor Stinner in :issue:`39239`.)
* The :mod:`venv` activation scripts no longer special-case when ``__VENV_PROMPT__`` is set to ``""``. * The :meth:`select.epoll.unregister` method no longer ignores the :const:`~errno.EBADF` error. (Contributed by Victor Stinner in :issue:`39239`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
3dad879f-d3ba-416b-aa7e-2e2469fe8df6
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,948
supabase-export-v2
7a852c412375c602
gc -- When the garbage collector makes a collection in which some objects resurrect (they are reachable from outside the isolated cycles after the finalizers have been executed), do not block the collection of all objects that are still unreachable. (Contributed by Pablo Galindo and Tim Peters in :issue:`38379`.)
trusted_official_docs
CPython Docs
gc -- When the garbage collector makes a collection in which some objects resurrect (they are reachable from outside the isolated cycles after the finalizers have been executed), do not block the collection of all objects that are still unreachable. (Contributed by Pablo Galindo and Tim Peters in :issue:`38379`.)
gc -- When the garbage collector makes a collection in which some objects resurrect (they are reachable from outside the isolated cycles after the finalizers have been executed), do not block the collection of all objects that are still unreachable. (Contributed by Pablo Galindo and Tim Peters in :issue:`38379`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
3f30e240-6d60-40f9-a2af-d0fb63f24ac0
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,134
supabase-export-v2
a4e9a7d6e09e6c0a
* On non-Windows platforms, the :c:func:`!setenv` and :c:func:`!unsetenv` functions are now required to build Python. (Contributed by Victor Stinner in :issue:`39395`.) * On non-Windows platforms, creating ``bdist_wininst`` installers is now officially unsupported. (See :issue:`10945` for more details.)
trusted_official_docs
CPython Docs
* On non-Windows platforms, the :c:func:`!setenv` and :c:func:`!unsetenv` functions are now required to build Python. (Contributed by Victor Stinner in :issue:`39395`.) * On non-Windows platforms, creating ``bdist_wininst`` installers is now officially unsupported. (See :issue:`10945` for more details.)
* On non-Windows platforms, the :c:func:`!setenv` and :c:func:`!unsetenv` functions are now required to build Python. (Contributed by Victor Stinner in :issue:`39395`.) * On non-Windows platforms, creating ``bdist_wininst`` installers is now officially unsupported. (See :issue:`10945` for more details.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
3f5c6fd7-23a5-434e-93eb-a7b4e354815f
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,068
supabase-export-v2
dd8070934ad2ab8c
the parser and not accepted by the code generator in Python 3. (Contributed by Batuhan Taskaya in :issue:`39639` and :issue:`39969` and Serhiy Storchaka in :issue:`39988`.) * The :c:func:`!PyEval_InitThreads` and :c:func:`!PyEval_ThreadsInitialized` functions are now deprecated and will be removed in Python 3.11. Call...
trusted_official_docs
CPython Docs
the parser and not accepted by the code generator in Python 3. (Contributed by Batuhan Taskaya in :issue:`39639` and :issue:`39969` and Serhiy Storchaka in :issue:`39988`.) * The :c:func:`!PyEval_InitThreads` and :c:func:`!PyEval_ThreadsInitialized` functions are now deprecated and will be removed in Python 3.11. Call...
the parser and not accepted by the code generator in Python 3. (Contributed by Batuhan Taskaya in :issue:`39639` and :issue:`39969` and Serhiy Storchaka in :issue:`39988`.) * The :c:func:`!PyEval_InitThreads` and :c:func:`!PyEval_ThreadsInitialized` functions are now deprecated and will be removed in Python 3.11. Call...
python, official-docs, cpython, P0
Local_Trusted_Corpus
400ce9c2-0a79-4db6-ac38-4dbfdbf4f572
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,982
supabase-export-v2
c906254ce235a956
Added :func:`math.nextafter`: return the next floating-point value after *x* towards *y*. (Contributed by Victor Stinner in :issue:`39288`.) Added :func:`math.ulp`: return the value of the least significant bit of a float. (Contributed by Victor Stinner in :issue:`39310`.)
trusted_official_docs
CPython Docs
Added :func:`math.nextafter`: return the next floating-point value after *x* towards *y*. (Contributed by Victor Stinner in :issue:`39288`.) Added :func:`math.ulp`: return the value of the least significant bit of a float. (Contributed by Victor Stinner in :issue:`39310`.)
Added :func:`math.nextafter`: return the next floating-point value after *x* towards *y*. (Contributed by Victor Stinner in :issue:`39288`.) Added :func:`math.ulp`: return the value of the least significant bit of a float. (Contributed by Victor Stinner in :issue:`39310`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
43d17844-8ef4-4719-9f06-2e3ba1a7279a
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,043
supabase-export-v2
145ac485b9f97b3e
* Decoding short ASCII strings with UTF-8 and ascii codecs is now about 15% faster. (Contributed by Inada Naoki in :issue:`37348`.) Here's a summary of performance improvements from Python 3.4 through Python 3.9:
trusted_official_docs
CPython Docs
* Decoding short ASCII strings with UTF-8 and ascii codecs is now about 15% faster. (Contributed by Inada Naoki in :issue:`37348`.) Here's a summary of performance improvements from Python 3.4 through Python 3.9:
* Decoding short ASCII strings with UTF-8 and ascii codecs is now about 15% faster. (Contributed by Inada Naoki in :issue:`37348`.) Here's a summary of performance improvements from Python 3.4 through Python 3.9:
python, official-docs, cpython, P0
Local_Trusted_Corpus
455ee109-003e-47d6-a11f-5d652b6555dc
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,201
supabase-export-v2
31bf99b224f4603e
Notable changes in Python 3.9.3 =============================== A security fix alters the :class:`ftplib.FTP` behavior to not trust the IPv4 address sent from the remote server when setting up a passive data channel. We reuse the ftp server IP address instead. For unusual code requiring the old behavior, set a ``trust_...
trusted_official_docs
CPython Docs
Notable changes in Python 3.9.3 =============================== A security fix alters the :class:`ftplib.FTP` behavior to not trust the IPv4 address sent from the remote server when setting up a passive data channel. We reuse the ftp server IP address instead. For unusual code requiring the old behavior, set a ``trust_...
Notable changes in Python 3.9.3 =============================== A security fix alters the :class:`ftplib.FTP` behavior to not trust the IPv4 address sent from the remote server when setting up a passive data channel. We reuse the ftp server IP address instead. For unusual code requiring the old behavior, set a ``trust_...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4602d710-01b8-42d6-864c-2ccb2e737541
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,038
supabase-export-v2
3d0f1345609f5af5
* :c:func:`PyLong_FromDouble` is now up to 1.87x faster for values that fit into :c:expr:`long`. (Contributed by Sergey Fedoseev in :issue:`37986`.) * A number of Python builtins (:class:`range`, :class:`tuple`, :class:`set`, :class:`frozenset`, :class:`list`, :class:`dict`) are now sped up by using :pep:`590` vector...
trusted_official_docs
CPython Docs
* :c:func:`PyLong_FromDouble` is now up to 1.87x faster for values that fit into :c:expr:`long`. (Contributed by Sergey Fedoseev in :issue:`37986`.) * A number of Python builtins (:class:`range`, :class:`tuple`, :class:`set`, :class:`frozenset`, :class:`list`, :class:`dict`) are now sped up by using :pep:`590` vector...
* :c:func:`PyLong_FromDouble` is now up to 1.87x faster for values that fit into :c:expr:`long`. (Contributed by Sergey Fedoseev in :issue:`37986`.) * A number of Python builtins (:class:`range`, :class:`tuple`, :class:`set`, :class:`frozenset`, :class:`list`, :class:`dict`) are now sped up by using :pep:`590` vector...
python, official-docs, cpython, P0
Local_Trusted_Corpus
47d37e27-1f75-44d1-8607-524c2e150396
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,965
supabase-export-v2
df19339e9097ad9c
imaplib ------- :class:`~imaplib.IMAP4` and :class:`~imaplib.IMAP4_SSL` now have an optional *timeout* parameter for their constructors. Also, the :meth:`~imaplib.IMAP4.open` method now has an optional *timeout* parameter with this change. The overridden methods of :class:`~imaplib.IMAP4_SSL` and :class:`~imaplib.IMAP4...
trusted_official_docs
CPython Docs
imaplib ------- :class:`~imaplib.IMAP4` and :class:`~imaplib.IMAP4_SSL` now have an optional *timeout* parameter for their constructors. Also, the :meth:`~imaplib.IMAP4.open` method now has an optional *timeout* parameter with this change. The overridden methods of :class:`~imaplib.IMAP4_SSL` and :class:`~imaplib.IMAP4...
imaplib ------- :class:`~imaplib.IMAP4` and :class:`~imaplib.IMAP4_SSL` now have an optional *timeout* parameter for their constructors. Also, the :meth:`~imaplib.IMAP4.open` method now has an optional *timeout* parameter with this change. The overridden methods of :class:`~imaplib.IMAP4_SSL` and :class:`~imaplib.IMAP4...
python, official-docs, cpython, P0
Local_Trusted_Corpus
48cb6437-10c4-4ea2-ad94-7fb846c3bb16
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,100
supabase-export-v2
7953e44fcc7908fe
Changes in the Python API ------------------------- * :func:`__import__` and :func:`importlib.util.resolve_name` now raise :exc:`ImportError` where it previously raised :exc:`ValueError`. Callers catching the specific exception type and supporting both Python 3.9 and earlier versions will need to catch both using ``...
trusted_official_docs
CPython Docs
Changes in the Python API ------------------------- * :func:`__import__` and :func:`importlib.util.resolve_name` now raise :exc:`ImportError` where it previously raised :exc:`ValueError`. Callers catching the specific exception type and supporting both Python 3.9 and earlier versions will need to catch both using ``...
Changes in the Python API ------------------------- * :func:`__import__` and :func:`importlib.util.resolve_name` now raise :exc:`ImportError` where it previously raised :exc:`ValueError`. Callers catching the specific exception type and supporting both Python 3.9 and earlier versions will need to catch both using ``...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4b0cb93d-c2fa-4f9e-970e-5637a34885dd
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,018
supabase-export-v2
c0da6e9a4e8d68a3
On Fedora and SuSE, it is equal to ``"lib64"`` on 64-bit platforms. (Contributed by Jan Matějek, Matěj Cepl, Charalampos Stratakis and Victor Stinner in :issue:`1294959`.) Previously, :data:`sys.stderr` was block-buffered when non-interactive. Now ``stderr`` defaults to always being line-buffered. (Contributed by Jendr...
trusted_official_docs
CPython Docs
On Fedora and SuSE, it is equal to ``"lib64"`` on 64-bit platforms. (Contributed by Jan Matějek, Matěj Cepl, Charalampos Stratakis and Victor Stinner in :issue:`1294959`.) Previously, :data:`sys.stderr` was block-buffered when non-interactive. Now ``stderr`` defaults to always being line-buffered. (Contributed by Jendr...
On Fedora and SuSE, it is equal to ``"lib64"`` on 64-bit platforms. (Contributed by Jan Matějek, Matěj Cepl, Charalampos Stratakis and Victor Stinner in :issue:`1294959`.) Previously, :data:`sys.stderr` was block-buffered when non-interactive. Now ``stderr`` defaults to always being line-buffered. (Contributed by Jendr...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4b84b302-dab8-4de8-9b5a-d068d9f2d663
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,159
supabase-export-v2
7d5ee8c8b210e96c
the ``-E`` option is used (if :c:member:`PyConfig.use_environment` is set to ``0``). This is significant when embedding Python on Windows. (Contributed by Zackery Spytz in :issue:`8901`.) * The global variable :c:data:`PyStructSequence_UnnamedField` is now a constant and refers to a constant string. (Contributed by Se...
trusted_official_docs
CPython Docs
the ``-E`` option is used (if :c:member:`PyConfig.use_environment` is set to ``0``). This is significant when embedding Python on Windows. (Contributed by Zackery Spytz in :issue:`8901`.) * The global variable :c:data:`PyStructSequence_UnnamedField` is now a constant and refers to a constant string. (Contributed by Se...
the ``-E`` option is used (if :c:member:`PyConfig.use_environment` is set to ``0``). This is significant when embedding Python on Windows. (Contributed by Zackery Spytz in :issue:`8901`.) * The global variable :c:data:`PyStructSequence_UnnamedField` is now a constant and refers to a constant string. (Contributed by Se...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4d972212-6d55-406c-8f09-df8dc173e765
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,145
supabase-export-v2
eab97573319da75f
object without any arguments. It is the most efficient way to call a callable Python object without any argument. (Contributed by Victor Stinner in :issue:`37194`.) * Changes in the limited C API (if ``Py_LIMITED_API`` macro is defined):
trusted_official_docs
CPython Docs
object without any arguments. It is the most efficient way to call a callable Python object without any argument. (Contributed by Victor Stinner in :issue:`37194`.) * Changes in the limited C API (if ``Py_LIMITED_API`` macro is defined):
object without any arguments. It is the most efficient way to call a callable Python object without any argument. (Contributed by Victor Stinner in :issue:`37194`.) * Changes in the limited C API (if ``Py_LIMITED_API`` macro is defined):
python, official-docs, cpython, P0
Local_Trusted_Corpus
4f0cb8ac-98a7-4f9f-b0ff-e4ae6767f17c
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,096
supabase-export-v2
a65c370e0fd836f5
and :meth:`!asyncio.Task.all_tasks` have been removed. They were deprecated since Python 3.7 and you can use :func:`asyncio.current_task` and :func:`asyncio.all_tasks` instead. (Contributed by Rémi Lapeyre in :issue:`40967`) * The ``unescape()`` method in the :class:`html.parser.HTMLParser` class has been removed (it ...
trusted_official_docs
CPython Docs
and :meth:`!asyncio.Task.all_tasks` have been removed. They were deprecated since Python 3.7 and you can use :func:`asyncio.current_task` and :func:`asyncio.all_tasks` instead. (Contributed by Rémi Lapeyre in :issue:`40967`) * The ``unescape()`` method in the :class:`html.parser.HTMLParser` class has been removed (it ...
and :meth:`!asyncio.Task.all_tasks` have been removed. They were deprecated since Python 3.7 and you can use :func:`asyncio.current_task` and :func:`asyncio.all_tasks` instead. (Contributed by Rémi Lapeyre in :issue:`40967`) * The ``unescape()`` method in the :class:`html.parser.HTMLParser` class has been removed (it ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4fcd4660-b40d-459d-9a95-346c6be5fd78
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,937
supabase-export-v2
05ddc322b7a86b7e
Removed daemon threads from :class:`~concurrent.futures.ThreadPoolExecutor` and :class:`~concurrent.futures.ProcessPoolExecutor`. This improves compatibility with subinterpreters and predictability in their shutdown processes. (Contributed by Kyle Stanley in :issue:`39812`.) Workers in :class:`~concurrent.futures.Proce...
trusted_official_docs
CPython Docs
Removed daemon threads from :class:`~concurrent.futures.ThreadPoolExecutor` and :class:`~concurrent.futures.ProcessPoolExecutor`. This improves compatibility with subinterpreters and predictability in their shutdown processes. (Contributed by Kyle Stanley in :issue:`39812`.) Workers in :class:`~concurrent.futures.Proce...
Removed daemon threads from :class:`~concurrent.futures.ThreadPoolExecutor` and :class:`~concurrent.futures.ProcessPoolExecutor`. This improves compatibility with subinterpreters and predictability in their shutdown processes. (Contributed by Kyle Stanley in :issue:`39812`.) Workers in :class:`~concurrent.futures.Proce...
python, official-docs, cpython, P0
Local_Trusted_Corpus
50b1308f-c836-43bf-b89d-064a6bf3150e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,903
supabase-export-v2
22a69d835b49430f
argument is only checked at the first encoding/decoding error and the *encoding* argument is sometimes ignored for empty strings. (Contributed by Victor Stinner in :issue:`37388`.) * ``"".replace("", s, n)`` now returns ``s`` instead of an empty string for all non-zero ``n``. It is now consistent with ``"".replace("",...
trusted_official_docs
CPython Docs
argument is only checked at the first encoding/decoding error and the *encoding* argument is sometimes ignored for empty strings. (Contributed by Victor Stinner in :issue:`37388`.) * ``"".replace("", s, n)`` now returns ``s`` instead of an empty string for all non-zero ``n``. It is now consistent with ``"".replace("",...
argument is only checked at the first encoding/decoding error and the *encoding* argument is sometimes ignored for empty strings. (Contributed by Victor Stinner in :issue:`37388`.) * ``"".replace("", s, n)`` now returns ``s`` instead of an empty string for all non-zero ``n``. It is now consistent with ``"".replace("",...
python, official-docs, cpython, P0
Local_Trusted_Corpus
512bcd17-7134-40f9-9fea-810473441652
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,889
supabase-export-v2
ce4bc4a79c90e41e
Type Hinting Generics in Standard Collections --------------------------------------------- In type annotations you can now use built-in collection types such as ``list`` and ``dict`` as generic types instead of importing the corresponding capitalized types (e.g. ``List`` or ``Dict``) from ``typing``. Some other types ...
trusted_official_docs
CPython Docs
Type Hinting Generics in Standard Collections --------------------------------------------- In type annotations you can now use built-in collection types such as ``list`` and ``dict`` as generic types instead of importing the corresponding capitalized types (e.g. ``List`` or ``Dict``) from ``typing``. Some other types ...
Type Hinting Generics in Standard Collections --------------------------------------------- In type annotations you can now use built-in collection types such as ``list`` and ``dict`` as generic types instead of importing the corresponding capitalized types (e.g. ``List`` or ``Dict``) from ``typing``. Some other types ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
52121cb8-cab3-488a-aacd-3711fa886f65
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,157
supabase-export-v2
1ddb6bc8fabab0ba
Extension modules without module state (``m_size <= 0``) are not affected. * If :c:func:`Py_AddPendingCall` is called in a subinterpreter, the function is now scheduled to be called from the subinterpreter, rather than being called from the main interpreter. Each subinterpreter now has its own list of scheduled call...
trusted_official_docs
CPython Docs
Extension modules without module state (``m_size <= 0``) are not affected. * If :c:func:`Py_AddPendingCall` is called in a subinterpreter, the function is now scheduled to be called from the subinterpreter, rather than being called from the main interpreter. Each subinterpreter now has its own list of scheduled call...
Extension modules without module state (``m_size <= 0``) are not affected. * If :c:func:`Py_AddPendingCall` is called in a subinterpreter, the function is now scheduled to be called from the subinterpreter, rather than being called from the main interpreter. Each subinterpreter now has its own list of scheduled call...
python, official-docs, cpython, P0
Local_Trusted_Corpus
52bddb3d-fff2-4f95-bf2d-fc8ca0abe923
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,066
supabase-export-v2
f6a904c45be6f777
(Contributed by Victor Stinner in :issue:`39353`.) * :mod:`ast` classes ``slice``, ``Index`` and ``ExtSlice`` are considered deprecated and will be removed in future Python versions. ``value`` itself should be used instead of ``Index(value)``. ``Tuple(slices, Load())`` should be used instead of ``ExtSlice(slices)``....
trusted_official_docs
CPython Docs
(Contributed by Victor Stinner in :issue:`39353`.) * :mod:`ast` classes ``slice``, ``Index`` and ``ExtSlice`` are considered deprecated and will be removed in future Python versions. ``value`` itself should be used instead of ``Index(value)``. ``Tuple(slices, Load())`` should be used instead of ``ExtSlice(slices)``....
(Contributed by Victor Stinner in :issue:`39353`.) * :mod:`ast` classes ``slice``, ``Index`` and ``ExtSlice`` are considered deprecated and will be removed in future Python versions. ``value`` itself should be used instead of ``Index(value)``. ``Tuple(slices, Load())`` should be used instead of ``ExtSlice(slices)``....
python, official-docs, cpython, P0
Local_Trusted_Corpus
52edf8c9-5f97-4b5e-806b-e7d2efef2345
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,022
supabase-export-v2
a1b0e5dbcad58d28
typing ------ :pep:`593` introduced an :data:`typing.Annotated` type to decorate existing types with context-specific metadata and new ``include_extras`` parameter to :func:`typing.get_type_hints` to access the metadata at runtime. (Contributed by Till Varoquaux and Konstantin Kashin.)
trusted_official_docs
CPython Docs
typing ------ :pep:`593` introduced an :data:`typing.Annotated` type to decorate existing types with context-specific metadata and new ``include_extras`` parameter to :func:`typing.get_type_hints` to access the metadata at runtime. (Contributed by Till Varoquaux and Konstantin Kashin.)
typing ------ :pep:`593` introduced an :data:`typing.Annotated` type to decorate existing types with context-specific metadata and new ``include_extras`` parameter to :func:`typing.get_type_hints` to access the metadata at runtime. (Contributed by Till Varoquaux and Konstantin Kashin.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
55ad17de-fe3d-4250-9efd-86361a5a1dab
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,113
supabase-export-v2
80823ad8b9fe204c
function :func:`socket.inet_aton` treats leading zeros as octal notatation. glibc implementation of modern :func:`~socket.inet_pton` does not accept any leading zeros. (Contributed by Christian Heimes in :issue:`36384`). * :func:`codecs.lookup` now normalizes the encoding name the same way as :func:`encodings.normaliz...
trusted_official_docs
CPython Docs
function :func:`socket.inet_aton` treats leading zeros as octal notatation. glibc implementation of modern :func:`~socket.inet_pton` does not accept any leading zeros. (Contributed by Christian Heimes in :issue:`36384`). * :func:`codecs.lookup` now normalizes the encoding name the same way as :func:`encodings.normaliz...
function :func:`socket.inet_aton` treats leading zeros as octal notatation. glibc implementation of modern :func:`~socket.inet_pton` does not accept any leading zeros. (Contributed by Christian Heimes in :issue:`36384`). * :func:`codecs.lookup` now normalizes the encoding name the same way as :func:`encodings.normaliz...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5666fece-30d3-418a-8fb7-1568cf9ab44d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,013
supabase-export-v2
6bb65b643806d85e
The socket module now supports the :const:`~socket.CAN_J1939` protocol on platforms that support it. (Contributed by Karl Ding in :issue:`40291`.) The socket module now has the :func:`socket.send_fds` and :func:`socket.recv_fds` functions. (Contributed by Joannah Nanjekye, Shinya Okano and Victor Stinner in :issue:`287...
trusted_official_docs
CPython Docs
The socket module now supports the :const:`~socket.CAN_J1939` protocol on platforms that support it. (Contributed by Karl Ding in :issue:`40291`.) The socket module now has the :func:`socket.send_fds` and :func:`socket.recv_fds` functions. (Contributed by Joannah Nanjekye, Shinya Okano and Victor Stinner in :issue:`287...
The socket module now supports the :const:`~socket.CAN_J1939` protocol on platforms that support it. (Contributed by Karl Ding in :issue:`40291`.) The socket module now has the :func:`socket.send_fds` and :func:`socket.recv_fds` functions. (Contributed by Joannah Nanjekye, Shinya Okano and Victor Stinner in :issue:`287...
python, official-docs, cpython, P0
Local_Trusted_Corpus
566d3206-a3a1-4dca-85ca-0a25f0377ce2
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,103
supabase-export-v2
6882f3c3bd46492b
* The :meth:`select.epoll.unregister` method no longer ignores the :const:`~errno.EBADF` error. (Contributed by Victor Stinner in :issue:`39239`.) * The *compresslevel* parameter of :class:`bz2.BZ2File` became keyword-only, since the *buffering* parameter has been removed. (Contributed by Victor Stinner in :issue:`393...
trusted_official_docs
CPython Docs
* The :meth:`select.epoll.unregister` method no longer ignores the :const:`~errno.EBADF` error. (Contributed by Victor Stinner in :issue:`39239`.) * The *compresslevel* parameter of :class:`bz2.BZ2File` became keyword-only, since the *buffering* parameter has been removed. (Contributed by Victor Stinner in :issue:`393...
* The :meth:`select.epoll.unregister` method no longer ignores the :const:`~errno.EBADF` error. (Contributed by Victor Stinner in :issue:`39239`.) * The *compresslevel* parameter of :class:`bz2.BZ2File` became keyword-only, since the *buffering* parameter has been removed. (Contributed by Victor Stinner in :issue:`393...
python, official-docs, cpython, P0
Local_Trusted_Corpus
57f0ef5f-47c1-4d83-a84b-3dd8c2536775
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,885
supabase-export-v2
082444be99211331
x', 'key2': 'value2 from y', 'key3': 'value3 from y'} >>> y | x {'key2': 'value2 from x', 'key3': 'value3 from y', 'key1': 'value1 from x'} See :pep:`584` for a full description. (Contributed by Brandt Bucher in :issue:`36144`.)
trusted_official_docs
CPython Docs
x', 'key2': 'value2 from y', 'key3': 'value3 from y'} >>> y | x {'key2': 'value2 from x', 'key3': 'value3 from y', 'key1': 'value1 from x'} See :pep:`584` for a full description. (Contributed by Brandt Bucher in :issue:`36144`.)
x', 'key2': 'value2 from y', 'key3': 'value3 from y'} >>> y | x {'key2': 'value2 from x', 'key3': 'value3 from y', 'key1': 'value1 from x'} See :pep:`584` for a full description. (Contributed by Brandt Bucher in :issue:`36144`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
5938074f-3a6c-4ebe-8847-7fc70c18a341
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,194
supabase-export-v2
c6807288102db492
versions (tested to 10.9) while making some newer OS functions and options conditionally available based on the operating system version in use at runtime ("weaklinking"). (Contributed by Ronald Oussoren and Lawrence D'Anna in :issue:`41100`.)
trusted_official_docs
CPython Docs
versions (tested to 10.9) while making some newer OS functions and options conditionally available based on the operating system version in use at runtime ("weaklinking"). (Contributed by Ronald Oussoren and Lawrence D'Anna in :issue:`41100`.)
versions (tested to 10.9) while making some newer OS functions and options conditionally available based on the operating system version in use at runtime ("weaklinking"). (Contributed by Ronald Oussoren and Lawrence D'Anna in :issue:`41100`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
5bda5629-ba84-419f-a129-aaffbcb8cc89
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,083
supabase-export-v2
ea6f2c403e7b6fd5
``aifc.open()``, ``sunau.openfp()`` alias to ``sunau.open()``, and ``wave.openfp()`` alias to :func:`wave.open` have been removed. They were deprecated since Python 3.7. (Contributed by Victor Stinner in :issue:`37320`.) * The :meth:`!isAlive` method of :class:`threading.Thread` has been removed. It was deprecated sin...
trusted_official_docs
CPython Docs
``aifc.open()``, ``sunau.openfp()`` alias to ``sunau.open()``, and ``wave.openfp()`` alias to :func:`wave.open` have been removed. They were deprecated since Python 3.7. (Contributed by Victor Stinner in :issue:`37320`.) * The :meth:`!isAlive` method of :class:`threading.Thread` has been removed. It was deprecated sin...
``aifc.open()``, ``sunau.openfp()`` alias to ``sunau.open()``, and ``wave.openfp()`` alias to :func:`wave.open` have been removed. They were deprecated since Python 3.7. (Contributed by Victor Stinner in :issue:`37320`.) * The :meth:`!isAlive` method of :class:`threading.Thread` has been removed. It was deprecated sin...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5c3152bf-54fd-4d58-b30c-6dc21abb75af
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,012
supabase-export-v2
cd9d581766ee54a2
The :mod:`socket` module now exports the :const:`~socket.CAN_RAW_JOIN_FILTERS` constant on Linux 4.1 and greater. (Contributed by Stefan Tatschner and Zackery Spytz in :issue:`25780`.) The socket module now supports the :const:`~socket.CAN_J1939` protocol on platforms that support it. (Contributed by Karl Ding in :issu...
trusted_official_docs
CPython Docs
The :mod:`socket` module now exports the :const:`~socket.CAN_RAW_JOIN_FILTERS` constant on Linux 4.1 and greater. (Contributed by Stefan Tatschner and Zackery Spytz in :issue:`25780`.) The socket module now supports the :const:`~socket.CAN_J1939` protocol on platforms that support it. (Contributed by Karl Ding in :issu...
The :mod:`socket` module now exports the :const:`~socket.CAN_RAW_JOIN_FILTERS` constant on Linux 4.1 and greater. (Contributed by Stefan Tatschner and Zackery Spytz in :issue:`25780`.) The socket module now supports the :const:`~socket.CAN_J1939` protocol on platforms that support it. (Contributed by Karl Ding in :issu...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5d2f0c73-8cf6-4d9e-8ed6-3c9d3f899ccb
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,110
supabase-export-v2
3fed93adefea3f94
instead of ``Py_UNICODE``. This change doesn't affect to its behavior because ``Py_UNICODE`` is alias of :c:type:`wchar_t` since Python 3.3. (Contributed by Inada Naoki in :issue:`34538`.) * The :func:`logging.getLogger` API now returns the root logger when passed the name ``'root'``, whereas previously it returned a ...
trusted_official_docs
CPython Docs
instead of ``Py_UNICODE``. This change doesn't affect to its behavior because ``Py_UNICODE`` is alias of :c:type:`wchar_t` since Python 3.3. (Contributed by Inada Naoki in :issue:`34538`.) * The :func:`logging.getLogger` API now returns the root logger when passed the name ``'root'``, whereas previously it returned a ...
instead of ``Py_UNICODE``. This change doesn't affect to its behavior because ``Py_UNICODE`` is alias of :c:type:`wchar_t` since Python 3.3. (Contributed by Inada Naoki in :issue:`34538`.) * The :func:`logging.getLogger` API now returns the root logger when passed the name ``'root'``, whereas previously it returned a ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5dc6094e-81e1-428e-b80c-5cbb4b0a2238
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,150
supabase-export-v2
17e04f457a321430
* The :c:func:`PyModule_AddType` function is added to help adding a type to a module. (Contributed by Donghee Na in :issue:`40024`.) * Added the functions :c:func:`PyObject_GC_IsTracked` and :c:func:`PyObject_GC_IsFinalized` to the public API to allow to query if Python objects are being currently tracked or have bee...
trusted_official_docs
CPython Docs
* The :c:func:`PyModule_AddType` function is added to help adding a type to a module. (Contributed by Donghee Na in :issue:`40024`.) * Added the functions :c:func:`PyObject_GC_IsTracked` and :c:func:`PyObject_GC_IsFinalized` to the public API to allow to query if Python objects are being currently tracked or have bee...
* The :c:func:`PyModule_AddType` function is added to help adding a type to a module. (Contributed by Donghee Na in :issue:`40024`.) * Added the functions :c:func:`PyObject_GC_IsTracked` and :c:func:`PyObject_GC_IsFinalized` to the public API to allow to query if Python objects are being currently tracked or have bee...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5de60e90-2793-4abb-9cfc-d5a7af06c243
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,051
supabase-export-v2
5d73fe0bc235d2fa
Stack (or queue) operations: list_append_pop 93.4 112.7 75.4 74.2 50.8 50.6 deque_append_pop 43.5 57.0 49.4 49.2 42.5 44.2 deque_append_popleft 43.7 57.3 49.7 49.7 42.8 46.4 Timing loop: loop_overhead 0.5 0.6 0.4 0.3 0.3 0.3
trusted_official_docs
CPython Docs
Stack (or queue) operations: list_append_pop 93.4 112.7 75.4 74.2 50.8 50.6 deque_append_pop 43.5 57.0 49.4 49.2 42.5 44.2 deque_append_popleft 43.7 57.3 49.7 49.7 42.8 46.4 Timing loop: loop_overhead 0.5 0.6 0.4 0.3 0.3 0.3
Stack (or queue) operations: list_append_pop 93.4 112.7 75.4 74.2 50.8 50.6 deque_append_pop 43.5 57.0 49.4 49.2 42.5 44.2 deque_append_popleft 43.7 57.3 49.7 49.7 42.8 46.4 Timing loop: loop_overhead 0.5 0.6 0.4 0.3 0.3 0.3
python, official-docs, cpython, P0
Local_Trusted_Corpus
646f19f3-2489-4d21-9ded-9b0513b9d88c
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,147
supabase-export-v2
4f9929c05c795841
macros, but these macros didn't compile with the limited C API which cannot access ``PyThreadState.recursion_depth`` field (the structure is opaque in the limited C API). * ``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` become regular "opaque" function to hide implementation details.
trusted_official_docs
CPython Docs
macros, but these macros didn't compile with the limited C API which cannot access ``PyThreadState.recursion_depth`` field (the structure is opaque in the limited C API). * ``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` become regular "opaque" function to hide implementation details.
macros, but these macros didn't compile with the limited C API which cannot access ``PyThreadState.recursion_depth`` field (the structure is opaque in the limited C API). * ``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` become regular "opaque" function to hide implementation details.
python, official-docs, cpython, P0
Local_Trusted_Corpus
647addfa-80f3-4ebe-878a-1229ca38aabd
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,126
supabase-export-v2
cdaa727f9d0904e4
CPython bytecode changes ------------------------ * The :opcode:`!LOAD_ASSERTION_ERROR` opcode was added for handling the :keyword:`assert` statement. Previously, the assert statement would not work correctly if the :exc:`AssertionError` exception was being shadowed. (Contributed by Zackery Spytz in :issue:`34880`.)
trusted_official_docs
CPython Docs
CPython bytecode changes ------------------------ * The :opcode:`!LOAD_ASSERTION_ERROR` opcode was added for handling the :keyword:`assert` statement. Previously, the assert statement would not work correctly if the :exc:`AssertionError` exception was being shadowed. (Contributed by Zackery Spytz in :issue:`34880`.)
CPython bytecode changes ------------------------ * The :opcode:`!LOAD_ASSERTION_ERROR` opcode was added for handling the :keyword:`assert` statement. Previously, the assert statement would not work correctly if the :exc:`AssertionError` exception was being shadowed. (Contributed by Zackery Spytz in :issue:`34880`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
64cd4efb-199c-455a-bd5b-52cd28ae6933
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,055
supabase-export-v2
e74f9f41cc08a110
* The distutils ``bdist_msi`` command is now deprecated, use ``bdist_wheel`` (wheel packages) instead. (Contributed by Hugo van Kemenade in :issue:`39586`.) * Currently :func:`math.factorial` accepts :class:`float` instances with non-negative integer values (like ``5.0``). It raises a :exc:`ValueError` for non-integr...
trusted_official_docs
CPython Docs
* The distutils ``bdist_msi`` command is now deprecated, use ``bdist_wheel`` (wheel packages) instead. (Contributed by Hugo van Kemenade in :issue:`39586`.) * Currently :func:`math.factorial` accepts :class:`float` instances with non-negative integer values (like ``5.0``). It raises a :exc:`ValueError` for non-integr...
* The distutils ``bdist_msi`` command is now deprecated, use ``bdist_wheel`` (wheel packages) instead. (Contributed by Hugo van Kemenade in :issue:`39586`.) * Currently :func:`math.factorial` accepts :class:`float` instances with non-negative integer values (like ``5.0``). It raises a :exc:`ValueError` for non-integr...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6635d3f6-af41-4096-8a73-4b1196baf592
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,868
supabase-export-v2
0819b60de93fd5f3
Interpreter improvements: * :pep:`573`, fast access to module state from methods of C extension types; * :pep:`617`, CPython now uses a new parser based on PEG; * a number of Python builtins (range, tuple, set, frozenset, list, dict) are now sped up using :pep:`590` vectorcall; * garbage collection does not block on ...
trusted_official_docs
CPython Docs
Interpreter improvements: * :pep:`573`, fast access to module state from methods of C extension types; * :pep:`617`, CPython now uses a new parser based on PEG; * a number of Python builtins (range, tuple, set, frozenset, list, dict) are now sped up using :pep:`590` vectorcall; * garbage collection does not block on ...
Interpreter improvements: * :pep:`573`, fast access to module state from methods of C extension types; * :pep:`617`, CPython now uses a new parser based on PEG; * a number of Python builtins (range, tuple, set, frozenset, list, dict) are now sped up using :pep:`590` vectorcall; * garbage collection does not block on ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
667cce33-bc32-457a-b5e4-33890cf69890
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,162
supabase-export-v2
99a9c4fa977f4900
:c:func:`!PyUnicode_AsUnicode`, ``_PyUnicode_AsUnicode``, and :c:func:`!PyUnicode_AsUnicodeAndSize` are marked as deprecated in C. They have been deprecated by :pep:`393` since Python 3.3. (Contributed by Inada Naoki in :issue:`36346`.) * The :c:func:`Py_FatalError` function is replaced with a macro which logs automat...
trusted_official_docs
CPython Docs
:c:func:`!PyUnicode_AsUnicode`, ``_PyUnicode_AsUnicode``, and :c:func:`!PyUnicode_AsUnicodeAndSize` are marked as deprecated in C. They have been deprecated by :pep:`393` since Python 3.3. (Contributed by Inada Naoki in :issue:`36346`.) * The :c:func:`Py_FatalError` function is replaced with a macro which logs automat...
:c:func:`!PyUnicode_AsUnicode`, ``_PyUnicode_AsUnicode``, and :c:func:`!PyUnicode_AsUnicodeAndSize` are marked as deprecated in C. They have been deprecated by :pep:`393` since Python 3.3. (Contributed by Inada Naoki in :issue:`36346`.) * The :c:func:`Py_FatalError` function is replaced with a macro which logs automat...
python, official-docs, cpython, P0
Local_Trusted_Corpus
681ba930-f255-461a-85ba-05bef734ad9d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,061
supabase-export-v2
c48ed6bd067ad221
be opened for reading by default. Specify the *mode* argument for opening it for writing and silencing a warning. (Contributed by Serhiy Storchaka in :issue:`28286`.) * Deprecated the ``split()`` method of :class:`!_tkinter.TkappType` in favour of the ``splitlist()`` method which has more consistent and predictable b...
trusted_official_docs
CPython Docs
be opened for reading by default. Specify the *mode* argument for opening it for writing and silencing a warning. (Contributed by Serhiy Storchaka in :issue:`28286`.) * Deprecated the ``split()`` method of :class:`!_tkinter.TkappType` in favour of the ``splitlist()`` method which has more consistent and predictable b...
be opened for reading by default. Specify the *mode* argument for opening it for writing and silencing a warning. (Contributed by Serhiy Storchaka in :issue:`28286`.) * Deprecated the ``split()`` method of :class:`!_tkinter.TkappType` in favour of the ``splitlist()`` method which has more consistent and predictable b...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6a322320-5a1c-4d21-8797-a6841233af8f
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,067
supabase-export-v2
aff90b40fad89d88
future Python versions. ``value`` itself should be used instead of ``Index(value)``. ``Tuple(slices, Load())`` should be used instead of ``ExtSlice(slices)``. (Contributed by Serhiy Storchaka in :issue:`34822`.) * :mod:`ast` classes ``Suite``, ``Param``, ``AugLoad`` and ``AugStore`` are considered deprecated and will ...
trusted_official_docs
CPython Docs
future Python versions. ``value`` itself should be used instead of ``Index(value)``. ``Tuple(slices, Load())`` should be used instead of ``ExtSlice(slices)``. (Contributed by Serhiy Storchaka in :issue:`34822`.) * :mod:`ast` classes ``Suite``, ``Param``, ``AugLoad`` and ``AugStore`` are considered deprecated and will ...
future Python versions. ``value`` itself should be used instead of ``Index(value)``. ``Tuple(slices, Load())`` should be used instead of ``ExtSlice(slices)``. (Contributed by Serhiy Storchaka in :issue:`34822`.) * :mod:`ast` classes ``Suite``, ``Param``, ``AugLoad`` and ``AugStore`` are considered deprecated and will ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6a32fa78-841e-4e47-9e53-ab474e129585
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,091
supabase-export-v2
62d11c970844a41c
removed. As of Python 3.1, it was deprecated and ignored; using it has emitted a :exc:`DeprecationWarning` since Python 3.8. (Contributed by Inada Naoki in :issue:`39377`) * ``with (await asyncio.lock):`` and ``with (yield from asyncio.lock):`` statements are not longer supported, use ``async with lock`` instead. The ...
trusted_official_docs
CPython Docs
removed. As of Python 3.1, it was deprecated and ignored; using it has emitted a :exc:`DeprecationWarning` since Python 3.8. (Contributed by Inada Naoki in :issue:`39377`) * ``with (await asyncio.lock):`` and ``with (yield from asyncio.lock):`` statements are not longer supported, use ``async with lock`` instead. The ...
removed. As of Python 3.1, it was deprecated and ignored; using it has emitted a :exc:`DeprecationWarning` since Python 3.8. (Contributed by Inada Naoki in :issue:`39377`) * ``with (await asyncio.lock):`` and ``with (yield from asyncio.lock):`` statements are not longer supported, use ``async with lock`` instead. The ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6b36d014-fd06-479c-9c79-fee7f7494c4d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,097
supabase-export-v2
9ff0c9a2c82a256f
the :class:`html.parser.HTMLParser` class has been removed (it was deprecated since Python 3.4). :func:`html.unescape` should be used for converting character references to the corresponding unicode characters. Porting to Python 3.9 =====================
trusted_official_docs
CPython Docs
the :class:`html.parser.HTMLParser` class has been removed (it was deprecated since Python 3.4). :func:`html.unescape` should be used for converting character references to the corresponding unicode characters. Porting to Python 3.9 =====================
the :class:`html.parser.HTMLParser` class has been removed (it was deprecated since Python 3.4). :func:`html.unescape` should be used for converting character references to the corresponding unicode characters. Porting to Python 3.9 =====================
python, official-docs, cpython, P0
Local_Trusted_Corpus
6bf2d1ac-ef7e-4bc4-b927-670fe05235d2
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,189
supabase-export-v2
72ec80f8ed01404a
The behavior of :class:`typing.Literal` was changed to conform with :pep:`586` and to match the behavior of static type checkers specified in the PEP. 1. ``Literal`` now de-duplicates parameters. 2. Equality comparisons between ``Literal`` objects are now order independent. 3. ``Literal`` comparisons now respect types....
trusted_official_docs
CPython Docs
The behavior of :class:`typing.Literal` was changed to conform with :pep:`586` and to match the behavior of static type checkers specified in the PEP. 1. ``Literal`` now de-duplicates parameters. 2. Equality comparisons between ``Literal`` objects are now order independent. 3. ``Literal`` comparisons now respect types....
The behavior of :class:`typing.Literal` was changed to conform with :pep:`586` and to match the behavior of static type checkers specified in the PEP. 1. ``Literal`` now de-duplicates parameters. 2. Equality comparisons between ``Literal`` objects are now order independent. 3. ``Literal`` comparisons now respect types....
python, official-docs, cpython, P0
Local_Trusted_Corpus
6ccd4b63-a8b6-461f-8167-7ceddf2b3b2e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,182
supabase-export-v2
dcbd04eecf6bd11a
functions from the C API. Call :c:func:`PyGC_Collect` explicitly to clear all free lists. (Contributed by Inada Naoki and Victor Stinner in :issue:`37340`, :issue:`38896` and :issue:`40428`.) * ``PyAsyncGen_ClearFreeLists()`` * ``PyContext_ClearFreeList()`` * ``PyDict_ClearFreeList()`` * ``PyFloat_ClearFreeList()`` ...
trusted_official_docs
CPython Docs
functions from the C API. Call :c:func:`PyGC_Collect` explicitly to clear all free lists. (Contributed by Inada Naoki and Victor Stinner in :issue:`37340`, :issue:`38896` and :issue:`40428`.) * ``PyAsyncGen_ClearFreeLists()`` * ``PyContext_ClearFreeList()`` * ``PyDict_ClearFreeList()`` * ``PyFloat_ClearFreeList()`` ...
functions from the C API. Call :c:func:`PyGC_Collect` explicitly to clear all free lists. (Contributed by Inada Naoki and Victor Stinner in :issue:`37340`, :issue:`38896` and :issue:`40428`.) * ``PyAsyncGen_ClearFreeLists()`` * ``PyContext_ClearFreeList()`` * ``PyDict_ClearFreeList()`` * ``PyFloat_ClearFreeList()`` ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6de80d16-ddcd-44c8-9e29-95ab8e78005d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,197
supabase-export-v2
86b617931fc2f05c
collections.abc --------------- :class:`collections.abc.Callable` generic now flattens type parameters, similar to what :data:`typing.Callable` currently does. This means that ``collections.abc.Callable[[int, str], str]`` will have ``__args__`` of ``(int, str, str)``; previously this was ``([int, str], str)``. To allow...
trusted_official_docs
CPython Docs
collections.abc --------------- :class:`collections.abc.Callable` generic now flattens type parameters, similar to what :data:`typing.Callable` currently does. This means that ``collections.abc.Callable[[int, str], str]`` will have ``__args__`` of ``(int, str, str)``; previously this was ``([int, str], str)``. To allow...
collections.abc --------------- :class:`collections.abc.Callable` generic now flattens type parameters, similar to what :data:`typing.Callable` currently does. This means that ``collections.abc.Callable[[int, str], str]`` will have ``__args__`` of ``(int, str, str)``; previously this was ``([int, str], str)``. To allow...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6e4e8197-3710-4d51-a47e-bdbaf1ba0806
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,104
supabase-export-v2
c5521853561606ab
* The *compresslevel* parameter of :class:`bz2.BZ2File` became keyword-only, since the *buffering* parameter has been removed. (Contributed by Victor Stinner in :issue:`39357`.) * Simplified AST for subscription. Simple indices will be represented by their value, extended slices will be represented as tuples. ``Index(...
trusted_official_docs
CPython Docs
* The *compresslevel* parameter of :class:`bz2.BZ2File` became keyword-only, since the *buffering* parameter has been removed. (Contributed by Victor Stinner in :issue:`39357`.) * Simplified AST for subscription. Simple indices will be represented by their value, extended slices will be represented as tuples. ``Index(...
* The *compresslevel* parameter of :class:`bz2.BZ2File` became keyword-only, since the *buffering* parameter has been removed. (Contributed by Victor Stinner in :issue:`39357`.) * Simplified AST for subscription. Simple indices will be represented by their value, extended slices will be represented as tuples. ``Index(...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6ede7bb4-59bf-4e70-a3d2-10aec673b17a
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,170
supabase-export-v2
7a81713474e1d34d
* :c:func:`PyIndex_Check` is now always declared as an opaque function to hide implementation details: removed the ``PyIndex_Check()`` macro. The macro accessed directly the :c:member:`PyTypeObject.tp_as_number` member. (See :issue:`40170` for more details.)
trusted_official_docs
CPython Docs
* :c:func:`PyIndex_Check` is now always declared as an opaque function to hide implementation details: removed the ``PyIndex_Check()`` macro. The macro accessed directly the :c:member:`PyTypeObject.tp_as_number` member. (See :issue:`40170` for more details.)
* :c:func:`PyIndex_Check` is now always declared as an opaque function to hide implementation details: removed the ``PyIndex_Check()`` macro. The macro accessed directly the :c:member:`PyTypeObject.tp_as_number` member. (See :issue:`40170` for more details.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
713b4d45-a600-4b9e-8357-76f154c4ac1c
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,205
supabase-export-v2
cb191bd50076064d
from the URL by the parser in :mod:`urllib.parse` preventing such attacks. The removal characters are controlled by a new module level variable ``urllib.parse._UNSAFE_URL_BYTES_TO_REMOVE``. (See :gh:`88048`) Notable security feature in 3.9.14 ==================================
trusted_official_docs
CPython Docs
from the URL by the parser in :mod:`urllib.parse` preventing such attacks. The removal characters are controlled by a new module level variable ``urllib.parse._UNSAFE_URL_BYTES_TO_REMOVE``. (See :gh:`88048`) Notable security feature in 3.9.14 ==================================
from the URL by the parser in :mod:`urllib.parse` preventing such attacks. The removal characters are controlled by a new module level variable ``urllib.parse._UNSAFE_URL_BYTES_TO_REMOVE``. (See :gh:`88048`) Notable security feature in 3.9.14 ==================================
python, official-docs, cpython, P0
Local_Trusted_Corpus
74ae2b9c-bbab-40a6-9be6-56fa1034b637
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,981
supabase-export-v2
2b2d7f96fc453423
Added :func:`math.lcm`: return the least common multiple of specified arguments. (Contributed by Mark Dickinson, Ananthakrishnan and Serhiy Storchaka in :issue:`39479` and :issue:`39648`.) Added :func:`math.nextafter`: return the next floating-point value after *x* towards *y*. (Contributed by Victor Stinner in :issue:...
trusted_official_docs
CPython Docs
Added :func:`math.lcm`: return the least common multiple of specified arguments. (Contributed by Mark Dickinson, Ananthakrishnan and Serhiy Storchaka in :issue:`39479` and :issue:`39648`.) Added :func:`math.nextafter`: return the next floating-point value after *x* towards *y*. (Contributed by Victor Stinner in :issue:...
Added :func:`math.lcm`: return the least common multiple of specified arguments. (Contributed by Mark Dickinson, Ananthakrishnan and Serhiy Storchaka in :issue:`39479` and :issue:`39648`.) Added :func:`math.nextafter`: return the next floating-point value after *x* towards *y*. (Contributed by Victor Stinner in :issue:...
python, official-docs, cpython, P0
Local_Trusted_Corpus
75f088bf-53d5-4140-808e-10acf42dca32
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,163
supabase-export-v2
f8a34d0612b989fb
replaced with a macro which logs automatically the name of the current function, unless the ``Py_LIMITED_API`` macro is defined. (Contributed by Victor Stinner in :issue:`39882`.) * The vectorcall protocol now requires that the caller passes only strings as keyword names. (See :issue:`37540` for more information.)
trusted_official_docs
CPython Docs
replaced with a macro which logs automatically the name of the current function, unless the ``Py_LIMITED_API`` macro is defined. (Contributed by Victor Stinner in :issue:`39882`.) * The vectorcall protocol now requires that the caller passes only strings as keyword names. (See :issue:`37540` for more information.)
replaced with a macro which logs automatically the name of the current function, unless the ``Py_LIMITED_API`` macro is defined. (Contributed by Victor Stinner in :issue:`39882`.) * The vectorcall protocol now requires that the caller passes only strings as keyword names. (See :issue:`37540` for more information.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
76f3437c-7114-487f-aa30-5c0590adf4e4
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,936
supabase-export-v2
0a855d12ae826923
pending futures which have not started running, instead of waiting for them to complete before shutting down the executor. (Contributed by Kyle Stanley in :issue:`39349`.) Removed daemon threads from :class:`~concurrent.futures.ThreadPoolExecutor` and :class:`~concurrent.futures.ProcessPoolExecutor`. This improves comp...
trusted_official_docs
CPython Docs
pending futures which have not started running, instead of waiting for them to complete before shutting down the executor. (Contributed by Kyle Stanley in :issue:`39349`.) Removed daemon threads from :class:`~concurrent.futures.ThreadPoolExecutor` and :class:`~concurrent.futures.ProcessPoolExecutor`. This improves comp...
pending futures which have not started running, instead of waiting for them to complete before shutting down the executor. (Contributed by Kyle Stanley in :issue:`39349`.) Removed daemon threads from :class:`~concurrent.futures.ThreadPoolExecutor` and :class:`~concurrent.futures.ProcessPoolExecutor`. This improves comp...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7837a3d0-92c4-4b0c-9fca-896b8e56489c
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,141
supabase-export-v2
f3ecd3ce6564224b
and :c:type:`PyCMethod` and :c:macro:`METH_METHOD` to allow a method to access the class it was defined in. (Contributed by Marcel Plch and Petr Viktorin in :issue:`38787`.) * Added :c:func:`PyFrame_GetCode` function: get a frame code. Added :c:func:`PyFrame_GetBack` function: get the frame next outer frame. (Contribut...
trusted_official_docs
CPython Docs
and :c:type:`PyCMethod` and :c:macro:`METH_METHOD` to allow a method to access the class it was defined in. (Contributed by Marcel Plch and Petr Viktorin in :issue:`38787`.) * Added :c:func:`PyFrame_GetCode` function: get a frame code. Added :c:func:`PyFrame_GetBack` function: get the frame next outer frame. (Contribut...
and :c:type:`PyCMethod` and :c:macro:`METH_METHOD` to allow a method to access the class it was defined in. (Contributed by Marcel Plch and Petr Viktorin in :issue:`38787`.) * Added :c:func:`PyFrame_GetCode` function: get a frame code. Added :c:func:`PyFrame_GetBack` function: get the frame next outer frame. (Contribut...
python, official-docs, cpython, P0
Local_Trusted_Corpus
793a2f23-fcdc-4627-9227-64a0f39cdd21
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,887
supabase-export-v2
62a88f9b14ba0318
New String Methods to Remove Prefixes and Suffixes -------------------------------------------------- :meth:`str.removeprefix(prefix)<str.removeprefix>` and :meth:`str.removesuffix(suffix)<str.removesuffix>` have been added to easily remove an unneeded prefix or a suffix from a string. Corresponding ``bytes``, ``bytear...
trusted_official_docs
CPython Docs
New String Methods to Remove Prefixes and Suffixes -------------------------------------------------- :meth:`str.removeprefix(prefix)<str.removeprefix>` and :meth:`str.removesuffix(suffix)<str.removesuffix>` have been added to easily remove an unneeded prefix or a suffix from a string. Corresponding ``bytes``, ``bytear...
New String Methods to Remove Prefixes and Suffixes -------------------------------------------------- :meth:`str.removeprefix(prefix)<str.removeprefix>` and :meth:`str.removesuffix(suffix)<str.removesuffix>` have been added to easily remove an unneeded prefix or a suffix from a string. Corresponding ``bytes``, ``bytear...
python, official-docs, cpython, P0
Local_Trusted_Corpus
796bf544-e80a-46d4-852a-9226268f6b79
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,082
supabase-export-v2
dafb5104a5ba9d4d
* ``_dummy_thread`` and ``dummy_threading`` modules have been removed. These modules were deprecated since Python 3.7 which requires threading support. (Contributed by Victor Stinner in :issue:`37312`.) * ``aifc.openfp()`` alias to ``aifc.open()``, ``sunau.openfp()`` alias to ``sunau.open()``, and ``wave.openfp()`` al...
trusted_official_docs
CPython Docs
* ``_dummy_thread`` and ``dummy_threading`` modules have been removed. These modules were deprecated since Python 3.7 which requires threading support. (Contributed by Victor Stinner in :issue:`37312`.) * ``aifc.openfp()`` alias to ``aifc.open()``, ``sunau.openfp()`` alias to ``sunau.open()``, and ``wave.openfp()`` al...
* ``_dummy_thread`` and ``dummy_threading`` modules have been removed. These modules were deprecated since Python 3.7 which requires threading support. (Contributed by Victor Stinner in :issue:`37312`.) * ``aifc.openfp()`` alias to ``aifc.open()``, ``sunau.openfp()`` alias to ``sunau.open()``, and ``wave.openfp()`` al...
python, official-docs, cpython, P0
Local_Trusted_Corpus
79c85eb0-a74a-479c-8410-51307bbdcdcf
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,101
supabase-export-v2
313f0c82ed7a3020
raised :exc:`ValueError`. Callers catching the specific exception type and supporting both Python 3.9 and earlier versions will need to catch both using ``except (ImportError, ValueError):``. * The :mod:`venv` activation scripts no longer special-case when ``__VENV_PROMPT__`` is set to ``""``.
trusted_official_docs
CPython Docs
raised :exc:`ValueError`. Callers catching the specific exception type and supporting both Python 3.9 and earlier versions will need to catch both using ``except (ImportError, ValueError):``. * The :mod:`venv` activation scripts no longer special-case when ``__VENV_PROMPT__`` is set to ``""``.
raised :exc:`ValueError`. Callers catching the specific exception type and supporting both Python 3.9 and earlier versions will need to catch both using ``except (ImportError, ValueError):``. * The :mod:`venv` activation scripts no longer special-case when ``__VENV_PROMPT__`` is set to ``""``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
7a1b872e-e9d6-4df5-89c6-006b59c14032
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,031
supabase-export-v2
caf51465d2c8f93c
assignment a temporary variable in comprehensions. Now ``for y in [expr]`` in comprehensions is as fast as a simple assignment ``y = expr``. For example: sums = [s for s in [0] for x in data for s in [s + x]]
trusted_official_docs
CPython Docs
assignment a temporary variable in comprehensions. Now ``for y in [expr]`` in comprehensions is as fast as a simple assignment ``y = expr``. For example: sums = [s for s in [0] for x in data for s in [s + x]]
assignment a temporary variable in comprehensions. Now ``for y in [expr]`` in comprehensions is as fast as a simple assignment ``y = expr``. For example: sums = [s for s in [0] for x in data for s in [s + x]]
python, official-docs, cpython, P0
Local_Trusted_Corpus
7be7d726-5c7a-487a-b00f-7236c04ce3e1
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,177
supabase-export-v2
19e92dece92aee06
``_Py_GetRefTotal()`` * The trashcan mechanism which never worked in the limited C API. * ``PyTrash_UNWIND_LEVEL`` * ``Py_TRASHCAN_BEGIN_CONDITION`` * ``Py_TRASHCAN_BEGIN`` * ``Py_TRASHCAN_END`` * ``Py_TRASHCAN_SAFE_BEGIN`` * ``Py_TRASHCAN_SAFE_END`` * Moved following functions and definitions to the internal C API:
trusted_official_docs
CPython Docs
``_Py_GetRefTotal()`` * The trashcan mechanism which never worked in the limited C API. * ``PyTrash_UNWIND_LEVEL`` * ``Py_TRASHCAN_BEGIN_CONDITION`` * ``Py_TRASHCAN_BEGIN`` * ``Py_TRASHCAN_END`` * ``Py_TRASHCAN_SAFE_BEGIN`` * ``Py_TRASHCAN_SAFE_END`` * Moved following functions and definitions to the internal C API:
``_Py_GetRefTotal()`` * The trashcan mechanism which never worked in the limited C API. * ``PyTrash_UNWIND_LEVEL`` * ``Py_TRASHCAN_BEGIN_CONDITION`` * ``Py_TRASHCAN_BEGIN`` * ``Py_TRASHCAN_END`` * ``Py_TRASHCAN_SAFE_BEGIN`` * ``Py_TRASHCAN_SAFE_END`` * Moved following functions and definitions to the internal C API:
python, official-docs, cpython, P0
Local_Trusted_Corpus
7c97718a-0407-404e-92f0-cf1c82dc75d3
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,910
supabase-export-v2
39ada43b09654c31
zoneinfo -------- The :mod:`zoneinfo` module brings support for the IANA time zone database to the standard library. It adds :class:`zoneinfo.ZoneInfo`, a concrete :class:`datetime.tzinfo` implementation backed by the system's time zone data.
trusted_official_docs
CPython Docs
zoneinfo -------- The :mod:`zoneinfo` module brings support for the IANA time zone database to the standard library. It adds :class:`zoneinfo.ZoneInfo`, a concrete :class:`datetime.tzinfo` implementation backed by the system's time zone data.
zoneinfo -------- The :mod:`zoneinfo` module brings support for the IANA time zone database to the standard library. It adds :class:`zoneinfo.ZoneInfo`, a concrete :class:`datetime.tzinfo` implementation backed by the system's time zone data.
python, official-docs, cpython, P0
Local_Trusted_Corpus
7c9ce0b7-45a2-458f-90ba-93ab119d3e41
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,870
supabase-export-v2
ba8beab78b2d6dec
New library modules: * :pep:`615`, the IANA Time Zone Database is now present in the standard library in the :mod:`zoneinfo` module; * an implementation of a topological sort of a graph is now provided in the new :mod:`graphlib` module.
trusted_official_docs
CPython Docs
New library modules: * :pep:`615`, the IANA Time Zone Database is now present in the standard library in the :mod:`zoneinfo` module; * an implementation of a topological sort of a graph is now provided in the new :mod:`graphlib` module.
New library modules: * :pep:`615`, the IANA Time Zone Database is now present in the standard library in the :mod:`zoneinfo` module; * an implementation of a topological sort of a graph is now provided in the new :mod:`graphlib` module.
python, official-docs, cpython, P0
Local_Trusted_Corpus
7cc6b840-8bb3-4712-98dd-1c5d3865c8ee
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,199
supabase-export-v2
1073f1d6b78dbbbd
urllib.parse ------------ Earlier Python versions allowed using both ``;`` and ``&`` as query parameter separators in :func:`urllib.parse.parse_qs` and :func:`urllib.parse.parse_qsl`. Due to security concerns, and to conform with newer W3C recommendations, this has been changed to allow only a single separator key, wit...
trusted_official_docs
CPython Docs
urllib.parse ------------ Earlier Python versions allowed using both ``;`` and ``&`` as query parameter separators in :func:`urllib.parse.parse_qs` and :func:`urllib.parse.parse_qsl`. Due to security concerns, and to conform with newer W3C recommendations, this has been changed to allow only a single separator key, wit...
urllib.parse ------------ Earlier Python versions allowed using both ``;`` and ``&`` as query parameter separators in :func:`urllib.parse.parse_qs` and :func:`urllib.parse.parse_qsl`. Due to security concerns, and to conform with newer W3C recommendations, this has been changed to allow only a single separator key, wit...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7da52aaa-6c30-4bbc-8e76-6bbac71e9208
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,129
supabase-export-v2
39ab93a163840b3d
comparisons * ``IS_OP`` for 'is' and 'is not' tests * ``CONTAINS_OP`` for 'in' and 'not in' tests * ``JUMP_IF_NOT_EXC_MATCH`` for checking exceptions in 'try-except' statements. (Contributed by Mark Shannon in :issue:`39156`.)
trusted_official_docs
CPython Docs
comparisons * ``IS_OP`` for 'is' and 'is not' tests * ``CONTAINS_OP`` for 'in' and 'not in' tests * ``JUMP_IF_NOT_EXC_MATCH`` for checking exceptions in 'try-except' statements. (Contributed by Mark Shannon in :issue:`39156`.)
comparisons * ``IS_OP`` for 'is' and 'is not' tests * ``CONTAINS_OP`` for 'in' and 'not in' tests * ``JUMP_IF_NOT_EXC_MATCH`` for checking exceptions in 'try-except' statements. (Contributed by Mark Shannon in :issue:`39156`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
7ed7f4d5-4df5-4599-b525-cdf6e1aa86b6
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,922
supabase-export-v2
61d424802f18ee3f
Added the *indent* option to :func:`~ast.dump` which allows it to produce a multiline indented output. (Contributed by Serhiy Storchaka in :issue:`37995`.) Added :func:`ast.unparse` as a function in the :mod:`ast` module that can be used to unparse an :class:`ast.AST` object and produce a string with code that would pr...
trusted_official_docs
CPython Docs
Added the *indent* option to :func:`~ast.dump` which allows it to produce a multiline indented output. (Contributed by Serhiy Storchaka in :issue:`37995`.) Added :func:`ast.unparse` as a function in the :mod:`ast` module that can be used to unparse an :class:`ast.AST` object and produce a string with code that would pr...
Added the *indent* option to :func:`~ast.dump` which allows it to produce a multiline indented output. (Contributed by Serhiy Storchaka in :issue:`37995`.) Added :func:`ast.unparse` as a function in the :mod:`ast` module that can be used to unparse an :class:`ast.AST` object and produce a string with code that would pr...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7fd994f1-325a-40d5-a628-80b9f977ca8b
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,855
supabase-export-v2
7582ac3a0740b20b
XXX Describe the transmogrify() function added to the socket module. (Contributed by P.Y. Developer in :issue:`12345`.) This saves the maintainer the effort of going through the Mercurial log when researching a change.
trusted_official_docs
CPython Docs
XXX Describe the transmogrify() function added to the socket module. (Contributed by P.Y. Developer in :issue:`12345`.) This saves the maintainer the effort of going through the Mercurial log when researching a change.
XXX Describe the transmogrify() function added to the socket module. (Contributed by P.Y. Developer in :issue:`12345`.) This saves the maintainer the effort of going through the Mercurial log when researching a change.
python, official-docs, cpython, P0
Local_Trusted_Corpus
83b90652-0be5-4b5a-9bc0-d3a1f8a1dc19
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,191
supabase-export-v2
ab9fb9060e66ff56
from typing import Literal >>> Literal[{0}] >>> Literal[{0}] == Literal[{False}] Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: unhashable type: 'set' (Contributed by Yurii Karabas in :issue:`42345`.)
trusted_official_docs
CPython Docs
from typing import Literal >>> Literal[{0}] >>> Literal[{0}] == Literal[{False}] Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: unhashable type: 'set' (Contributed by Yurii Karabas in :issue:`42345`.)
from typing import Literal >>> Literal[{0}] >>> Literal[{0}] == Literal[{False}] Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: unhashable type: 'set' (Contributed by Yurii Karabas in :issue:`42345`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
83ca856b-8d2e-45a1-a32a-d0005adb3407
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,058
supabase-export-v2
518e67c44fd973f7
* The Public C API functions :c:func:`!PyParser_SimpleParseStringFlags`, :c:func:`!PyParser_SimpleParseStringFlagsFilename`, :c:func:`!PyParser_SimpleParseFileFlags` and :c:func:`!PyNode_Compile` are deprecated and will be removed in Python 3.10 together with the old parser. * Using :data:`NotImplemented` in a boolean ...
trusted_official_docs
CPython Docs
* The Public C API functions :c:func:`!PyParser_SimpleParseStringFlags`, :c:func:`!PyParser_SimpleParseStringFlagsFilename`, :c:func:`!PyParser_SimpleParseFileFlags` and :c:func:`!PyNode_Compile` are deprecated and will be removed in Python 3.10 together with the old parser. * Using :data:`NotImplemented` in a boolean ...
* The Public C API functions :c:func:`!PyParser_SimpleParseStringFlags`, :c:func:`!PyParser_SimpleParseStringFlagsFilename`, :c:func:`!PyParser_SimpleParseFileFlags` and :c:func:`!PyNode_Compile` are deprecated and will be removed in Python 3.10 together with the old parser. * Using :data:`NotImplemented` in a boolean ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
83d05ec0-9db0-443d-bad2-ed6933ee6d1b
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,200
supabase-export-v2
586ac7a2b2bdded4
they use the affected functions internally. For more details, please see their respective documentation. (Contributed by Adam Goldschmidt, Senthil Kumaran and Ken Jin in :issue:`42967`.) Notable changes in Python 3.9.3 ===============================
trusted_official_docs
CPython Docs
they use the affected functions internally. For more details, please see their respective documentation. (Contributed by Adam Goldschmidt, Senthil Kumaran and Ken Jin in :issue:`42967`.) Notable changes in Python 3.9.3 ===============================
they use the affected functions internally. For more details, please see their respective documentation. (Contributed by Adam Goldschmidt, Senthil Kumaran and Ken Jin in :issue:`42967`.) Notable changes in Python 3.9.3 ===============================
python, official-docs, cpython, P0
Local_Trusted_Corpus
865cae8d-056b-42ad-83d7-5ea607fa1355
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,901
supabase-export-v2
019e9aae2ac7028f
:func:`os.chdir`. As a side effect, the traceback also displays the absolute path for :mod:`__main__` module frames in this case. (Contributed by Victor Stinner in :issue:`20443`.) * In the :ref:`Python Development Mode <devmode>` and in :ref:`debug build <debug-build>`, the *encoding* and *errors* arguments are now c...
trusted_official_docs
CPython Docs
:func:`os.chdir`. As a side effect, the traceback also displays the absolute path for :mod:`__main__` module frames in this case. (Contributed by Victor Stinner in :issue:`20443`.) * In the :ref:`Python Development Mode <devmode>` and in :ref:`debug build <debug-build>`, the *encoding* and *errors* arguments are now c...
:func:`os.chdir`. As a side effect, the traceback also displays the absolute path for :mod:`__main__` module frames in this case. (Contributed by Victor Stinner in :issue:`20443`.) * In the :ref:`Python Development Mode <devmode>` and in :ref:`debug build <debug-build>`, the *encoding* and *errors* arguments are now c...
python, official-docs, cpython, P0
Local_Trusted_Corpus
8762d2c5-b8db-4c90-bdc0-f49b923f4875
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,086
supabase-export-v2
89d21beb1d278fe6
:func:`~plistlib.load`, :func:`~plistlib.loads`, :func:`~plistlib.dump`, and :func:`~plistlib.dumps` functions. Additionally, the *use_builtin_types* parameter was removed, standard :class:`bytes` objects are always used instead. (Contributed by Jon Janzen in :issue:`36409`.) * The C function ``PyGen_NeedsFinalizing`` ...
trusted_official_docs
CPython Docs
:func:`~plistlib.load`, :func:`~plistlib.loads`, :func:`~plistlib.dump`, and :func:`~plistlib.dumps` functions. Additionally, the *use_builtin_types* parameter was removed, standard :class:`bytes` objects are always used instead. (Contributed by Jon Janzen in :issue:`36409`.) * The C function ``PyGen_NeedsFinalizing`` ...
:func:`~plistlib.load`, :func:`~plistlib.loads`, :func:`~plistlib.dump`, and :func:`~plistlib.dumps` functions. Additionally, the *use_builtin_types* parameter was removed, standard :class:`bytes` objects are always used instead. (Contributed by Jon Janzen in :issue:`36409`.) * The C function ``PyGen_NeedsFinalizing`` ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
8a1f82b2-df2a-4fe3-b17f-e19e2d6ff44c
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,093
supabase-export-v2
87c3f76da7a9ff37
field of the C structure :c:type:`PyConfig` have been removed. They required a special Python build by defining ``COUNT_ALLOCS`` macro. (Contributed by Victor Stinner in :issue:`39489`.) * The ``_field_types`` attribute of the :class:`typing.NamedTuple` class has been removed. It was deprecated since Python 3.8. Use ...
trusted_official_docs
CPython Docs
field of the C structure :c:type:`PyConfig` have been removed. They required a special Python build by defining ``COUNT_ALLOCS`` macro. (Contributed by Victor Stinner in :issue:`39489`.) * The ``_field_types`` attribute of the :class:`typing.NamedTuple` class has been removed. It was deprecated since Python 3.8. Use ...
field of the C structure :c:type:`PyConfig` have been removed. They required a special Python build by defining ``COUNT_ALLOCS`` macro. (Contributed by Victor Stinner in :issue:`39489`.) * The ``_field_types`` attribute of the :class:`typing.NamedTuple` class has been removed. It was deprecated since Python 3.8. Use ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
8c76451d-86a1-4d3b-9092-97b43797fde2
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,202
supabase-export-v2
2c93f17e6c0007bf
the ftp server IP address instead. For unusual code requiring the old behavior, set a ``trust_server_pasv_ipv4_address`` attribute on your FTP instance to ``True``. (See :gh:`87451`) Notable changes in Python 3.9.5 ===============================
trusted_official_docs
CPython Docs
the ftp server IP address instead. For unusual code requiring the old behavior, set a ``trust_server_pasv_ipv4_address`` attribute on your FTP instance to ``True``. (See :gh:`87451`) Notable changes in Python 3.9.5 ===============================
the ftp server IP address instead. For unusual code requiring the old behavior, set a ``trust_server_pasv_ipv4_address`` attribute on your FTP instance to ``True``. (See :gh:`87451`) Notable changes in Python 3.9.5 ===============================
python, official-docs, cpython, P0
Local_Trusted_Corpus
8d9496bb-ab7e-44f0-a8e6-a1df59cefafe
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,009
supabase-export-v2
854afc12f2b1cf80
a :class:`ValueError` if the given timeout for their constructor is zero to prevent the creation of a non-blocking socket. (Contributed by Donghee Na in :issue:`39259`.) :class:`~smtplib.LMTP` constructor now has an optional *timeout* parameter. (Contributed by Donghee Na in :issue:`39329`.)
trusted_official_docs
CPython Docs
a :class:`ValueError` if the given timeout for their constructor is zero to prevent the creation of a non-blocking socket. (Contributed by Donghee Na in :issue:`39259`.) :class:`~smtplib.LMTP` constructor now has an optional *timeout* parameter. (Contributed by Donghee Na in :issue:`39329`.)
a :class:`ValueError` if the given timeout for their constructor is zero to prevent the creation of a non-blocking socket. (Contributed by Donghee Na in :issue:`39259`.) :class:`~smtplib.LMTP` constructor now has an optional *timeout* parameter. (Contributed by Donghee Na in :issue:`39329`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
8de9db06-635c-4971-898b-1baf08c3a045
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,204
supabase-export-v2
49bf0fb51638b7d2
urllib.parse ------------ The presence of newline or tab characters in parts of a URL allows for some forms of attacks. Following the WHATWG specification that updates :rfc:`3986`, ASCII newline ``\n``, ``\r`` and tab ``\t`` characters are stripped from the URL by the parser in :mod:`urllib.parse` preventing such attac...
trusted_official_docs
CPython Docs
urllib.parse ------------ The presence of newline or tab characters in parts of a URL allows for some forms of attacks. Following the WHATWG specification that updates :rfc:`3986`, ASCII newline ``\n``, ``\r`` and tab ``\t`` characters are stripped from the URL by the parser in :mod:`urllib.parse` preventing such attac...
urllib.parse ------------ The presence of newline or tab characters in parts of a URL allows for some forms of attacks. Following the WHATWG specification that updates :rfc:`3986`, ASCII newline ``\n``, ``\r`` and tab ``\t`` characters are stripped from the URL by the parser in :mod:`urllib.parse` preventing such attac...
python, official-docs, cpython, P0
Local_Trusted_Corpus
8edb7e94-ceb3-4b5b-b60f-659b9d1c9db5
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,884
supabase-export-v2
ba03491d30afc5ce
Example:: >>> x = {"key1": "value1 from x", "key2": "value2 from x"} >>> y = {"key2": "value2 from y", "key3": "value3 from y"} >>> x | y {'key1': 'value1 from x', 'key2': 'value2 from y', 'key3': 'value3 from y'} >>> y | x {'key2': 'value2 from x', 'key3': 'value3 from y', 'key1': 'value1 from x'}
trusted_official_docs
CPython Docs
Example:: >>> x = {"key1": "value1 from x", "key2": "value2 from x"} >>> y = {"key2": "value2 from y", "key3": "value3 from y"} >>> x | y {'key1': 'value1 from x', 'key2': 'value2 from y', 'key3': 'value3 from y'} >>> y | x {'key2': 'value2 from x', 'key3': 'value3 from y', 'key1': 'value1 from x'}
Example:: >>> x = {"key1": "value1 from x", "key2": "value2 from x"} >>> y = {"key2": "value2 from y", "key3": "value3 from y"} >>> x | y {'key1': 'value1 from x', 'key2': 'value2 from y', 'key3': 'value3 from y'} >>> y | x {'key2': 'value2 from x', 'key3': 'value3 from y', 'key1': 'value1 from x'}
python, official-docs, cpython, P0
Local_Trusted_Corpus
8f50db7e-1420-47b1-900e-33a5337d4b45
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,109
supabase-export-v2
635f3fc3c7b9f4df
the :mod:`__future__` module is updated in order to prevent collision with compiler flags. Previously ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` was clashing with ``CO_FUTURE_DIVISION``. (Contributed by Batuhan Taskaya in :issue:`39562`) * ``array('u')`` now uses :c:type:`wchar_t` as C type instead of ``Py_UNICODE``. This change d...
trusted_official_docs
CPython Docs
the :mod:`__future__` module is updated in order to prevent collision with compiler flags. Previously ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` was clashing with ``CO_FUTURE_DIVISION``. (Contributed by Batuhan Taskaya in :issue:`39562`) * ``array('u')`` now uses :c:type:`wchar_t` as C type instead of ``Py_UNICODE``. This change d...
the :mod:`__future__` module is updated in order to prevent collision with compiler flags. Previously ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` was clashing with ``CO_FUTURE_DIVISION``. (Contributed by Batuhan Taskaya in :issue:`39562`) * ``array('u')`` now uses :c:type:`wchar_t` as C type instead of ``Py_UNICODE``. This change d...
python, official-docs, cpython, P0
Local_Trusted_Corpus
90fb75d4-4e3c-4c3b-bd2c-a835cfadd942
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,940
supabase-export-v2
fb9f9f6d27d23939
Added :func:`curses.get_escdelay`, :func:`curses.set_escdelay`, :func:`curses.get_tabsize`, and :func:`curses.set_tabsize` functions. (Contributed by Anthony Sottile in :issue:`38312`.) datetime -------- The :meth:`~datetime.date.isocalendar` of :class:`datetime.date` and :meth:`~datetime.datetime.isocalendar` of :clas...
trusted_official_docs
CPython Docs
Added :func:`curses.get_escdelay`, :func:`curses.set_escdelay`, :func:`curses.get_tabsize`, and :func:`curses.set_tabsize` functions. (Contributed by Anthony Sottile in :issue:`38312`.) datetime -------- The :meth:`~datetime.date.isocalendar` of :class:`datetime.date` and :meth:`~datetime.datetime.isocalendar` of :clas...
Added :func:`curses.get_escdelay`, :func:`curses.set_escdelay`, :func:`curses.get_tabsize`, and :func:`curses.set_tabsize` functions. (Contributed by Anthony Sottile in :issue:`38312`.) datetime -------- The :meth:`~datetime.date.isocalendar` of :class:`datetime.date` and :meth:`~datetime.datetime.isocalendar` of :clas...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9556bd01-7134-4f39-99f7-3ab17f30ea39
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,039
supabase-export-v2
7f1968c7d1b9b126
:class:`frozenset`, :class:`list`, :class:`dict`) are now sped up by using :pep:`590` vectorcall protocol. (Contributed by Donghee Na, Mark Shannon, Jeroen Demeyer and Petr Viktorin in :issue:`37207`.) * Optimized :meth:`!set.difference_update` for the case when the other set is much larger than the base set. (Suggest...
trusted_official_docs
CPython Docs
:class:`frozenset`, :class:`list`, :class:`dict`) are now sped up by using :pep:`590` vectorcall protocol. (Contributed by Donghee Na, Mark Shannon, Jeroen Demeyer and Petr Viktorin in :issue:`37207`.) * Optimized :meth:`!set.difference_update` for the case when the other set is much larger than the base set. (Suggest...
:class:`frozenset`, :class:`list`, :class:`dict`) are now sped up by using :pep:`590` vectorcall protocol. (Contributed by Donghee Na, Mark Shannon, Jeroen Demeyer and Petr Viktorin in :issue:`37207`.) * Optimized :meth:`!set.difference_update` for the case when the other set is much larger than the base set. (Suggest...
python, official-docs, cpython, P0
Local_Trusted_Corpus
96e9b092-d9b1-46c7-ab4d-c8fdf57ca28d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,849
supabase-export-v2
02543da80a66e540
changes will be too small or esoteric to include. If such a change is added to the text, it might get removed during final editing. * If you want to draw your new text to the attention of the maintainer, add 'XXX' to the beginning of the paragraph or section.
trusted_official_docs
CPython Docs
changes will be too small or esoteric to include. If such a change is added to the text, it might get removed during final editing. * If you want to draw your new text to the attention of the maintainer, add 'XXX' to the beginning of the paragraph or section.
changes will be too small or esoteric to include. If such a change is added to the text, it might get removed during final editing. * If you want to draw your new text to the attention of the maintainer, add 'XXX' to the beginning of the paragraph or section.
python, official-docs, cpython, P0
Local_Trusted_Corpus
97f81c69-21b1-4c44-82d5-04ef2c9af7ae
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,164
supabase-export-v2
3a6db8fb9326cf20
* The vectorcall protocol now requires that the caller passes only strings as keyword names. (See :issue:`37540` for more information.) * Implementation details of a number of macros and functions are now hidden:
trusted_official_docs
CPython Docs
* The vectorcall protocol now requires that the caller passes only strings as keyword names. (See :issue:`37540` for more information.) * Implementation details of a number of macros and functions are now hidden:
* The vectorcall protocol now requires that the caller passes only strings as keyword names. (See :issue:`37540` for more information.) * Implementation details of a number of macros and functions are now hidden:
python, official-docs, cpython, P0
Local_Trusted_Corpus
97f9d3fb-7915-4cd1-b17f-3f299b944ced
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,183
supabase-export-v2
88f5c05f2bb88905
``PySet_ClearFreeList()``: the set free list has been removed in Python 3.4. * ``PyTuple_ClearFreeList()`` * ``PyUnicode_ClearFreeList()``: the Unicode free list has been removed in Python 3.3. * Removed ``_PyUnicode_ClearStaticStrings()`` function. (Contributed by Victor Stinner in :issue:`39465`.)
trusted_official_docs
CPython Docs
``PySet_ClearFreeList()``: the set free list has been removed in Python 3.4. * ``PyTuple_ClearFreeList()`` * ``PyUnicode_ClearFreeList()``: the Unicode free list has been removed in Python 3.3. * Removed ``_PyUnicode_ClearStaticStrings()`` function. (Contributed by Victor Stinner in :issue:`39465`.)
``PySet_ClearFreeList()``: the set free list has been removed in Python 3.4. * ``PyTuple_ClearFreeList()`` * ``PyUnicode_ClearFreeList()``: the Unicode free list has been removed in Python 3.3. * Removed ``_PyUnicode_ClearStaticStrings()`` function. (Contributed by Victor Stinner in :issue:`39465`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
982f93c1-d1b3-450e-86a6-f65ba087f5e0
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,952
supabase-export-v2
aa04dae412eef321
The :mod:`hashlib` module can now use SHA3 hashes and SHAKE XOF from OpenSSL when available. (Contributed by Christian Heimes in :issue:`37630`.) Builtin hash modules can now be disabled with ``./configure --without-builtin-hashlib-hashes`` or selectively enabled with e.g. ``./configure --with-builtin-hashlib-hashes=sh...
trusted_official_docs
CPython Docs
The :mod:`hashlib` module can now use SHA3 hashes and SHAKE XOF from OpenSSL when available. (Contributed by Christian Heimes in :issue:`37630`.) Builtin hash modules can now be disabled with ``./configure --without-builtin-hashlib-hashes`` or selectively enabled with e.g. ``./configure --with-builtin-hashlib-hashes=sh...
The :mod:`hashlib` module can now use SHA3 hashes and SHAKE XOF from OpenSSL when available. (Contributed by Christian Heimes in :issue:`37630`.) Builtin hash modules can now be disabled with ``./configure --without-builtin-hashlib-hashes`` or selectively enabled with e.g. ``./configure --with-builtin-hashlib-hashes=sh...
python, official-docs, cpython, P0
Local_Trusted_Corpus
98be2c1c-99af-4b7d-8a76-f45665e15928
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,030
supabase-export-v2
1df4b38016dda729
Optimizations ============= * Optimized the idiom for assignment a temporary variable in comprehensions. Now ``for y in [expr]`` in comprehensions is as fast as a simple assignment ``y = expr``. For example:
trusted_official_docs
CPython Docs
Optimizations ============= * Optimized the idiom for assignment a temporary variable in comprehensions. Now ``for y in [expr]`` in comprehensions is as fast as a simple assignment ``y = expr``. For example:
Optimizations ============= * Optimized the idiom for assignment a temporary variable in comprehensions. Now ``for y in [expr]`` in comprehensions is as fast as a simple assignment ``y = expr``. For example:
python, official-docs, cpython, P0
Local_Trusted_Corpus
99669731-6453-4223-8a93-43897f255bcf
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,081
supabase-export-v2
30d5798fa45fa93b
The C function ``PyImport_Cleanup()`` has been removed. It was documented as: "Empty the module table. For internal use only." (Contributed by Victor Stinner in :issue:`36710`.) * ``_dummy_thread`` and ``dummy_threading`` modules have been removed. These modules were deprecated since Python 3.7 which requires threadin...
trusted_official_docs
CPython Docs
The C function ``PyImport_Cleanup()`` has been removed. It was documented as: "Empty the module table. For internal use only." (Contributed by Victor Stinner in :issue:`36710`.) * ``_dummy_thread`` and ``dummy_threading`` modules have been removed. These modules were deprecated since Python 3.7 which requires threadin...
The C function ``PyImport_Cleanup()`` has been removed. It was documented as: "Empty the module table. For internal use only." (Contributed by Victor Stinner in :issue:`36710`.) * ``_dummy_thread`` and ``dummy_threading`` modules have been removed. These modules were deprecated since Python 3.7 which requires threadin...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9979db46-3d11-4e2a-8f2d-87ffd350775b
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,847
supabase-export-v2
501e3a1539307c9f
* Anyone can add text to this document. Your text might get rewritten to some degree. * The maintainer will go through Misc/NEWS periodically and add changes; it's therefore more important to add your changes to Misc/NEWS than to this file.
trusted_official_docs
CPython Docs
* Anyone can add text to this document. Your text might get rewritten to some degree. * The maintainer will go through Misc/NEWS periodically and add changes; it's therefore more important to add your changes to Misc/NEWS than to this file.
* Anyone can add text to this document. Your text might get rewritten to some degree. * The maintainer will go through Misc/NEWS periodically and add changes; it's therefore more important to add your changes to Misc/NEWS than to this file.
python, official-docs, cpython, P0
Local_Trusted_Corpus
99e770c4-9189-4692-9b88-1f3d94a313d5
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,094
supabase-export-v2
fce91a2c889ed1e1
attribute of the :class:`typing.NamedTuple` class has been removed. It was deprecated since Python 3.8. Use the ``__annotations__`` attribute instead. (Contributed by Serhiy Storchaka in :issue:`40182`.) * The :meth:`!symtable.SymbolTable.has_exec` method has been removed. It was deprecated since 2006, and only return...
trusted_official_docs
CPython Docs
attribute of the :class:`typing.NamedTuple` class has been removed. It was deprecated since Python 3.8. Use the ``__annotations__`` attribute instead. (Contributed by Serhiy Storchaka in :issue:`40182`.) * The :meth:`!symtable.SymbolTable.has_exec` method has been removed. It was deprecated since 2006, and only return...
attribute of the :class:`typing.NamedTuple` class has been removed. It was deprecated since Python 3.8. Use the ``__annotations__`` attribute instead. (Contributed by Serhiy Storchaka in :issue:`40182`.) * The :meth:`!symtable.SymbolTable.has_exec` method has been removed. It was deprecated since 2006, and only return...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9a159d6e-bc3f-4e2d-9a50-4f3b8003c043
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,015
supabase-export-v2
b7ec0a717026aa29
time ---- On AIX, :func:`~time.thread_time` is now implemented with ``thread_cputime()`` which has nanosecond resolution, rather than ``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` which has a resolution of 10 milliseconds. (Contributed by Batuhan Taskaya in :issue:`40192`)
trusted_official_docs
CPython Docs
time ---- On AIX, :func:`~time.thread_time` is now implemented with ``thread_cputime()`` which has nanosecond resolution, rather than ``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` which has a resolution of 10 milliseconds. (Contributed by Batuhan Taskaya in :issue:`40192`)
time ---- On AIX, :func:`~time.thread_time` is now implemented with ``thread_cputime()`` which has nanosecond resolution, rather than ``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` which has a resolution of 10 milliseconds. (Contributed by Batuhan Taskaya in :issue:`40192`)
python, official-docs, cpython, P0
Local_Trusted_Corpus
9a29e79a-0383-43b3-aa64-f69aa767a001
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,142
supabase-export-v2
8e87f55072ea5d7d
* Added :c:func:`PyFrame_GetCode` function: get a frame code. Added :c:func:`PyFrame_GetBack` function: get the frame next outer frame. (Contributed by Victor Stinner in :issue:`40421`.) * Added :c:func:`PyFrame_GetLineNumber` to the limited C API. (Contributed by Victor Stinner in :issue:`40421`.)
trusted_official_docs
CPython Docs
* Added :c:func:`PyFrame_GetCode` function: get a frame code. Added :c:func:`PyFrame_GetBack` function: get the frame next outer frame. (Contributed by Victor Stinner in :issue:`40421`.) * Added :c:func:`PyFrame_GetLineNumber` to the limited C API. (Contributed by Victor Stinner in :issue:`40421`.)
* Added :c:func:`PyFrame_GetCode` function: get a frame code. Added :c:func:`PyFrame_GetBack` function: get the frame next outer frame. (Contributed by Victor Stinner in :issue:`40421`.) * Added :c:func:`PyFrame_GetLineNumber` to the limited C API. (Contributed by Victor Stinner in :issue:`40421`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
9a8fc4db-10da-40ed-a80d-a2a2a0fd9ecf
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,115
supabase-export-v2
3d8cc0cbc2dd6dc3
Changes in the C API -------------------- * Instances of :ref:`heap-allocated types <heap-types>` (such as those created with :c:func:`PyType_FromSpec` and similar APIs) hold a reference to their type object since Python 3.8. As indicated in the "Changes in the C API" of Python 3.8, for the vast majority of cases, t...
trusted_official_docs
CPython Docs
Changes in the C API -------------------- * Instances of :ref:`heap-allocated types <heap-types>` (such as those created with :c:func:`PyType_FromSpec` and similar APIs) hold a reference to their type object since Python 3.8. As indicated in the "Changes in the C API" of Python 3.8, for the vast majority of cases, t...
Changes in the C API -------------------- * Instances of :ref:`heap-allocated types <heap-types>` (such as those created with :c:func:`PyType_FromSpec` and similar APIs) hold a reference to their type object since Python 3.8. As indicated in the "Changes in the C API" of Python 3.8, for the vast majority of cases, t...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9aea890f-ad1f-4794-9944-bfcbe761691d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,998
supabase-export-v2
7b2ff7095da6a969
poplib ------ :class:`~poplib.POP3` and :class:`~poplib.POP3_SSL` now raise a :class:`ValueError` if the given timeout for their constructor is zero to prevent the creation of a non-blocking socket. (Contributed by Donghee Na in :issue:`39259`.)
trusted_official_docs
CPython Docs
poplib ------ :class:`~poplib.POP3` and :class:`~poplib.POP3_SSL` now raise a :class:`ValueError` if the given timeout for their constructor is zero to prevent the creation of a non-blocking socket. (Contributed by Donghee Na in :issue:`39259`.)
poplib ------ :class:`~poplib.POP3` and :class:`~poplib.POP3_SSL` now raise a :class:`ValueError` if the given timeout for their constructor is zero to prevent the creation of a non-blocking socket. (Contributed by Donghee Na in :issue:`39259`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
9b849b75-612e-4db1-9aee-691e65688cb8
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
60,895
supabase-export-v2
827aa55923e6226c
PEG formalism is more flexible than LL(1) when it comes to designing new language features. We'll start using this flexibility in Python 3.10 and later. The :mod:`ast` module uses the new parser and produces the same AST as the old parser.
trusted_official_docs
CPython Docs
PEG formalism is more flexible than LL(1) when it comes to designing new language features. We'll start using this flexibility in Python 3.10 and later. The :mod:`ast` module uses the new parser and produces the same AST as the old parser.
PEG formalism is more flexible than LL(1) when it comes to designing new language features. We'll start using this flexibility in Python 3.10 and later. The :mod:`ast` module uses the new parser and produces the same AST as the old parser.
python, official-docs, cpython, P0
Local_Trusted_Corpus
9c68e55b-161c-4e43-8ab1-3640c9e6bde6
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,161
supabase-export-v2
a758863b4351b109
* The :c:type:`!PyGC_Head` structure is now opaque. It is only defined in the internal C API (``pycore_gc.h``). (Contributed by Victor Stinner in :issue:`40241`.) * The ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, ``PyUnicode_WSTR_LENGTH``, :c:func:`!PyUnicode_FromUnicode`, :c:func:`!PyUnicode_AsUnicode`, ``_PyUnicode_A...
trusted_official_docs
CPython Docs
* The :c:type:`!PyGC_Head` structure is now opaque. It is only defined in the internal C API (``pycore_gc.h``). (Contributed by Victor Stinner in :issue:`40241`.) * The ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, ``PyUnicode_WSTR_LENGTH``, :c:func:`!PyUnicode_FromUnicode`, :c:func:`!PyUnicode_AsUnicode`, ``_PyUnicode_A...
* The :c:type:`!PyGC_Head` structure is now opaque. It is only defined in the internal C API (``pycore_gc.h``). (Contributed by Victor Stinner in :issue:`40241`.) * The ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, ``PyUnicode_WSTR_LENGTH``, :c:func:`!PyUnicode_FromUnicode`, :c:func:`!PyUnicode_AsUnicode`, ``_PyUnicode_A...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9d051bf4-f019-4cba-be98-e017e79d2753
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.9.rst
unknown
ccb1d8dc-1c4d-4779-a109-4f618f1b04a2
61,106
supabase-export-v2
f66888724160e8d8
* The :mod:`importlib` module now ignores the :envvar:`PYTHONCASEOK` environment variable when the :option:`-E` or :option:`-I` command line options are being used. * The *encoding* parameter has been added to the classes :class:`ftplib.FTP` and :class:`ftplib.FTP_TLS` as a keyword-only parameter, and the default enco...
trusted_official_docs
CPython Docs
* The :mod:`importlib` module now ignores the :envvar:`PYTHONCASEOK` environment variable when the :option:`-E` or :option:`-I` command line options are being used. * The *encoding* parameter has been added to the classes :class:`ftplib.FTP` and :class:`ftplib.FTP_TLS` as a keyword-only parameter, and the default enco...
* The :mod:`importlib` module now ignores the :envvar:`PYTHONCASEOK` environment variable when the :option:`-E` or :option:`-I` command line options are being used. * The *encoding* parameter has been added to the classes :class:`ftplib.FTP` and :class:`ftplib.FTP_TLS` as a keyword-only parameter, and the default enco...
python, official-docs, cpython, P0
Local_Trusted_Corpus