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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6018e2da-cd07-4be7-82d2-77de91a29a8d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,798 | supabase-export-v2 | 985bdb414b04f0c9 | :c:func:`!PyWeakref_GetObject` and :c:macro:`!PyWeakref_GET_OBJECT`: use :c:func:`PyWeakref_GetRef` instead. The |pythoncapi_compat_project| can be used to get :c:func:`!PyWeakref_GetRef` on Python 3.12 and older. (Contributed by Bénédikt Tran in :gh:`133644`.)
* Remove deprecated :c:func:`!PySys_ResetWarnOptions`. Cle... | trusted_official_docs | CPython Docs | :c:func:`!PyWeakref_GetObject` and :c:macro:`!PyWeakref_GET_OBJECT`: use :c:func:`PyWeakref_GetRef` instead. The |pythoncapi_compat_project| can be used to get :c:func:`!PyWeakref_GetRef` on Python 3.12 and older. (Contributed by Bénédikt Tran in :gh:`133644`.)
* Remove deprecated :c:func:`!PySys_ResetWarnOptions`. Cle... | :c:func:`!PyWeakref_GetObject` and :c:macro:`!PyWeakref_GET_OBJECT`: use :c:func:`PyWeakref_GetRef` instead. The |pythoncapi_compat_project| can be used to get :c:func:`!PyWeakref_GetRef` on Python 3.12 and older. (Contributed by Bénédikt Tran in :gh:`133644`.)
* Remove deprecated :c:func:`!PySys_ResetWarnOptions`. Cle... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
60d347ff-2018-4abe-b234-5a58ecf8c829 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,673 | supabase-export-v2 | 71fb370516ef6a6d | The major upgrades to the JIT are:
* LLVM 21 build-time dependency
* New tracing frontend
* Basic register allocation in the JIT
* More JIT optimizations
* Better machine code generation | trusted_official_docs | CPython Docs | The major upgrades to the JIT are:
* LLVM 21 build-time dependency
* New tracing frontend
* Basic register allocation in the JIT
* More JIT optimizations
* Better machine code generation | The major upgrades to the JIT are:
* LLVM 21 build-time dependency
* New tracing frontend
* Basic register allocation in the JIT
* More JIT optimizations
* Better machine code generation | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
60e3daf7-cab8-4e20-b1b7-39dde7019b94 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,346 | supabase-export-v2 | c566174781c995e6 | :pep:`814`: Add frozendict built-in type ----------------------------------------
A new :term:`immutable` type, :class:`frozendict`, is added to the :mod:`builtins` module. It does not allow modification after creation. A :class:`!frozendict` is not a subclass of ``dict``;
it inherits directly from ``object``. A :class... | trusted_official_docs | CPython Docs | :pep:`814`: Add frozendict built-in type ----------------------------------------
A new :term:`immutable` type, :class:`frozendict`, is added to the :mod:`builtins` module. It does not allow modification after creation. A :class:`!frozendict` is not a subclass of ``dict``;
it inherits directly from ``object``. A :class... | :pep:`814`: Add frozendict built-in type ----------------------------------------
A new :term:`immutable` type, :class:`frozendict`, is added to the :mod:`builtins` module. It does not allow modification after creation. A :class:`!frozendict` is not a subclass of ``dict``;
it inherits directly from ``object``. A :class... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
62416f6d-4e28-4dd8-a114-e241569091e7 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,661 | supabase-export-v2 | e94ecb78befaf317 | Optimizations =============
* ``mimalloc`` is now used as the default allocator for
raw memory allocations such as via :c:func:`PyMem_RawMalloc`
for better performance on :term:`free-threaded builds <free-threaded build>`. (Contributed by Kumar Aditya in :gh:`144914`.) | trusted_official_docs | CPython Docs | Optimizations =============
* ``mimalloc`` is now used as the default allocator for
raw memory allocations such as via :c:func:`PyMem_RawMalloc`
for better performance on :term:`free-threaded builds <free-threaded build>`. (Contributed by Kumar Aditya in :gh:`144914`.) | Optimizations =============
* ``mimalloc`` is now used as the default allocator for
raw memory allocations such as via :c:func:`PyMem_RawMalloc`
for better performance on :term:`free-threaded builds <free-threaded build>`. (Contributed by Kumar Aditya in :gh:`144914`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
62694027-7337-4449-afca-f9cf2727a680 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,581 | supabase-export-v2 | a001ab54df89a070 | * :meth:`subprocess.Popen.wait`: when ``timeout`` is not ``None`` and the platform supports it, an efficient event-driven mechanism is used to wait for process termination:
- Linux >= 5.3 uses :func:`os.pidfd_open` + :func:`select.poll`. - macOS and other BSD variants use :func:`select.kqueue` + ``KQ_FILTER_PROC`` + ``... | trusted_official_docs | CPython Docs | * :meth:`subprocess.Popen.wait`: when ``timeout`` is not ``None`` and the platform supports it, an efficient event-driven mechanism is used to wait for process termination:
- Linux >= 5.3 uses :func:`os.pidfd_open` + :func:`select.poll`. - macOS and other BSD variants use :func:`select.kqueue` + ``KQ_FILTER_PROC`` + ``... | * :meth:`subprocess.Popen.wait`: when ``timeout`` is not ``None`` and the platform supports it, an efficient event-driven mechanism is used to wait for process termination:
- Linux >= 5.3 uses :func:`os.pidfd_open` + :func:`select.poll`. - macOS and other BSD variants use :func:`select.kqueue` + ``KQ_FILTER_PROC`` + ``... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
65203d9c-fbf0-41d5-ab03-5ca95b6ad376 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,461 | supabase-export-v2 | 42e710c934975345 | * Unary plus is now accepted in :keyword:`match` literal patterns, mirroring the existing support for unary minus. (Contributed by Bartosz Sławecki in :gh:`145239`.)
* The import system now acquires per-module locks in hierarchical order
(parent packages before their submodules). This fixes a long-standing
deadlock w... | trusted_official_docs | CPython Docs | * Unary plus is now accepted in :keyword:`match` literal patterns, mirroring the existing support for unary minus. (Contributed by Bartosz Sławecki in :gh:`145239`.)
* The import system now acquires per-module locks in hierarchical order
(parent packages before their submodules). This fixes a long-standing
deadlock w... | * Unary plus is now accepted in :keyword:`match` literal patterns, mirroring the existing support for unary minus. (Contributed by Bartosz Sławecki in :gh:`145239`.)
* The import system now acquires per-module locks in hierarchical order
(parent packages before their submodules). This fixes a long-standing
deadlock w... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
66e76c3b-503b-44c3-8647-bef02c8f4eba | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,645 | supabase-export-v2 | ac4dfd172881e51d | warnings --------
* Improve filtering by module in :func:`warnings.warn_explicit` if no *module*
argument is passed. It now tests the module regular expression in the warnings filter not only
against the filename with ``.py`` stripped, but also against module names
constructed starting from different parent director... | trusted_official_docs | CPython Docs | warnings --------
* Improve filtering by module in :func:`warnings.warn_explicit` if no *module*
argument is passed. It now tests the module regular expression in the warnings filter not only
against the filename with ``.py`` stripped, but also against module names
constructed starting from different parent director... | warnings --------
* Improve filtering by module in :func:`warnings.warn_explicit` if no *module*
argument is passed. It now tests the module regular expression in the warnings filter not only
against the filename with ``.py`` stripped, but also against module names
constructed starting from different parent director... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6818059e-8243-492c-9ccb-76c1dbd8bca9 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,608 | supabase-export-v2 | c755ea56a46f7642 | - Allow newlines and trailing commas in inline tables.
Previously an inline table had to be on a single line and couldn't end
with a trailing comma. This is now relaxed so that the following is valid: | trusted_official_docs | CPython Docs | - Allow newlines and trailing commas in inline tables.
Previously an inline table had to be on a single line and couldn't end
with a trailing comma. This is now relaxed so that the following is valid: | - Allow newlines and trailing commas in inline tables.
Previously an inline table had to be on a single line and couldn't end
with a trailing comma. This is now relaxed so that the following is valid: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6b3d9880-2d1e-47a2-ac89-b966aa1e2772 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,784 | supabase-export-v2 | 29a7a273134c0a3d | and :c:func:`PyUnstable_ThreadState_ResetStackProtection` functions to set the stack protection base address and stack protection size of a Python thread state. (Contributed by Victor Stinner in :gh:`139653`.)
* Add :c:func:`PyUnstable_SetImmortal` C-API function to mark objects as :term:`immortal`. (Contributed by Kum... | trusted_official_docs | CPython Docs | and :c:func:`PyUnstable_ThreadState_ResetStackProtection` functions to set the stack protection base address and stack protection size of a Python thread state. (Contributed by Victor Stinner in :gh:`139653`.)
* Add :c:func:`PyUnstable_SetImmortal` C-API function to mark objects as :term:`immortal`. (Contributed by Kum... | and :c:func:`PyUnstable_ThreadState_ResetStackProtection` functions to set the stack protection base address and stack protection size of a Python thread state. (Contributed by Victor Stinner in :gh:`139653`.)
* Add :c:func:`PyUnstable_SetImmortal` C-API function to mark objects as :term:`immortal`. (Contributed by Kum... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6b844656-576c-4a57-925e-6120422fd868 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,573 | supabase-export-v2 | 7b1b7c6018a6fdcc | * Added new methods for managing groups used for SSL key agreement
* :meth:`ssl.SSLContext.set_groups` sets the groups allowed for doing
key agreement, extending the previous
:meth:`ssl.SSLContext.set_ecdh_curve` method. This new API provides the ability to list multiple groups and
supports fixed-field and post-quan... | trusted_official_docs | CPython Docs | * Added new methods for managing groups used for SSL key agreement
* :meth:`ssl.SSLContext.set_groups` sets the groups allowed for doing
key agreement, extending the previous
:meth:`ssl.SSLContext.set_ecdh_curve` method. This new API provides the ability to list multiple groups and
supports fixed-field and post-quan... | * Added new methods for managing groups used for SSL key agreement
* :meth:`ssl.SSLContext.set_groups` sets the groups allowed for doing
key agreement, extending the previous
:meth:`ssl.SSLContext.set_ecdh_curve` method. This new API provides the ability to list multiple groups and
supports fixed-field and post-quan... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6c790bca-ac86-4735-aaa9-1a94d2501d75 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,690 | supabase-export-v2 | 8555c3aaeb4d06d4 | ast ---
* The constructors of :ref:`AST nodes <ast_nodes>` now raise a :exc:`TypeError`
when a required argument is omitted or when a keyword argument that does not
map to a field on the AST node is passed. These cases had previously raised a
:exc:`DeprecationWarning` since Python 3.13. (Contributed by Brian Schuber... | trusted_official_docs | CPython Docs | ast ---
* The constructors of :ref:`AST nodes <ast_nodes>` now raise a :exc:`TypeError`
when a required argument is omitted or when a keyword argument that does not
map to a field on the AST node is passed. These cases had previously raised a
:exc:`DeprecationWarning` since Python 3.13. (Contributed by Brian Schuber... | ast ---
* The constructors of :ref:`AST nodes <ast_nodes>` now raise a :exc:`TypeError`
when a required argument is omitted or when a keyword argument that does not
map to a field on the AST node is passed. These cases had previously raised a
:exc:`DeprecationWarning` since Python 3.13. (Contributed by Brian Schuber... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6e9d0df0-90ed-4643-86fe-22f3e5aea0fe | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,795 | supabase-export-v2 | 9acca23008700511 | Use :c:func:`PyCodec_Encode` instead. * :c:func:`!PyUnicode_AsEncodedUnicode`: Use :c:func:`PyCodec_Encode` instead; Note that some codecs (for example, "base64") may return a type other than :class:`bytes`, such as :class:`str`.
(Contributed by Stan Ulbrych in :gh:`133612`.) | trusted_official_docs | CPython Docs | Use :c:func:`PyCodec_Encode` instead. * :c:func:`!PyUnicode_AsEncodedUnicode`: Use :c:func:`PyCodec_Encode` instead; Note that some codecs (for example, "base64") may return a type other than :class:`bytes`, such as :class:`str`.
(Contributed by Stan Ulbrych in :gh:`133612`.) | Use :c:func:`PyCodec_Encode` instead. * :c:func:`!PyUnicode_AsEncodedUnicode`: Use :c:func:`PyCodec_Encode` instead; Note that some codecs (for example, "base64") may return a type other than :class:`bytes`, such as :class:`str`.
(Contributed by Stan Ulbrych in :gh:`133612`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6f3eceda-9e11-43aa-bd40-a59e9cd6f482 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,628 | supabase-export-v2 | b2d470ab7faa24a1 | (Contributed by Jelle Zijlstra in :gh:`145033`.)
* Code like ``class ExtraTypeVars(P1[S], Protocol[T, T2]): ...`` now raises
a :exc:`TypeError`, because ``S`` is not listed in ``Protocol`` parameters. (Contributed by Nikita Sobolev in :gh:`137191`.) | trusted_official_docs | CPython Docs | (Contributed by Jelle Zijlstra in :gh:`145033`.)
* Code like ``class ExtraTypeVars(P1[S], Protocol[T, T2]): ...`` now raises
a :exc:`TypeError`, because ``S`` is not listed in ``Protocol`` parameters. (Contributed by Nikita Sobolev in :gh:`137191`.) | (Contributed by Jelle Zijlstra in :gh:`145033`.)
* Code like ``class ExtraTypeVars(P1[S], Protocol[T, T2]): ...`` now raises
a :exc:`TypeError`, because ``S`` is not listed in ``Protocol`` parameters. (Contributed by Nikita Sobolev in :gh:`137191`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6f7bebe9-4140-4f2d-a9a5-ee67fc59b992 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,368 | supabase-export-v2 | f0117e6d96941b6a | .. image:: ../../Lib/profiling/sampling/_assets/tachyon-logo.png :alt: Tachyon profiler logo :align: center :width: 200px
A new statistical sampling profiler (Tachyon) has been added as
:mod:`profiling.sampling`. This profiler enables low-overhead performance analysis of
running Python processes without requiring code ... | trusted_official_docs | CPython Docs | .. image:: ../../Lib/profiling/sampling/_assets/tachyon-logo.png :alt: Tachyon profiler logo :align: center :width: 200px
A new statistical sampling profiler (Tachyon) has been added as
:mod:`profiling.sampling`. This profiler enables low-overhead performance analysis of
running Python processes without requiring code ... | .. image:: ../../Lib/profiling/sampling/_assets/tachyon-logo.png :alt: Tachyon profiler logo :align: center :width: 200px
A new statistical sampling profiler (Tachyon) has been added as
:mod:`profiling.sampling`. This profiler enables low-overhead performance analysis of
running Python processes without requiring code ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
700ae9eb-bc72-4c8f-ab15-20404a70eb0e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,371 | supabase-export-v2 | 4d4d104263d4e714 | Key features include:
* **Zero-overhead profiling**: Attach to any running Python process without
affecting its performance. Ideal for production debugging where you can't afford
to restart or slow down your application. | trusted_official_docs | CPython Docs | Key features include:
* **Zero-overhead profiling**: Attach to any running Python process without
affecting its performance. Ideal for production debugging where you can't afford
to restart or slow down your application. | Key features include:
* **Zero-overhead profiling**: Attach to any running Python process without
affecting its performance. Ideal for production debugging where you can't afford
to restart or slow down your application. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
72870bb4-002a-4dac-8c3d-11ab59e4b62c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,650 | supabase-export-v2 | d54686ae5c6a6f5d | * :meth:`wave.Wave_write.setparams` accepts both 7-item tuples including ``format`` and 6-item tuples for backwards compatibility (defaulting to ``WAVE_FORMAT_PCM``).
* ``WAVE_FORMAT_IEEE_FLOAT`` output now includes a ``fact`` chunk,
as required for non-PCM WAVE formats. | trusted_official_docs | CPython Docs | * :meth:`wave.Wave_write.setparams` accepts both 7-item tuples including ``format`` and 6-item tuples for backwards compatibility (defaulting to ``WAVE_FORMAT_PCM``).
* ``WAVE_FORMAT_IEEE_FLOAT`` output now includes a ``fact`` chunk,
as required for non-PCM WAVE formats. | * :meth:`wave.Wave_write.setparams` accepts both 7-item tuples including ``format`` and 6-item tuples for backwards compatibility (defaulting to ``WAVE_FORMAT_PCM``).
* ``WAVE_FORMAT_IEEE_FLOAT`` output now includes a ``fact`` chunk,
as required for non-PCM WAVE formats. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
736a37d4-0d44-4a39-9d83-2cd2e5cd7135 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,460 | supabase-export-v2 | 0cf9412e4d914109 | * Allow the *count* argument of :meth:`bytes.replace` to be a keyword. (Contributed by Stan Ulbrych in :gh:`147856`.)
* Unary plus is now accepted in :keyword:`match` literal patterns, mirroring
the existing support for unary minus. (Contributed by Bartosz Sławecki in :gh:`145239`.) | trusted_official_docs | CPython Docs | * Allow the *count* argument of :meth:`bytes.replace` to be a keyword. (Contributed by Stan Ulbrych in :gh:`147856`.)
* Unary plus is now accepted in :keyword:`match` literal patterns, mirroring
the existing support for unary minus. (Contributed by Bartosz Sławecki in :gh:`145239`.) | * Allow the *count* argument of :meth:`bytes.replace` to be a keyword. (Contributed by Stan Ulbrych in :gh:`147856`.)
* Unary plus is now accepted in :keyword:`match` literal patterns, mirroring
the existing support for unary minus. (Contributed by Bartosz Sławecki in :gh:`145239`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
73d3ca32-a149-4308-8261-6e4c59b80d22 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,325 | supabase-export-v2 | a1034f0b6b18a8d3 | you the organizational benefits of declaring all imports at the top of the file while only paying the loading cost for modules you actually use.
The ``lazy`` keyword works with both ``import`` and ``from ... import``
statements. When you write ``lazy import heavy_module``, Python does not
immediately load the module. I... | trusted_official_docs | CPython Docs | you the organizational benefits of declaring all imports at the top of the file while only paying the loading cost for modules you actually use.
The ``lazy`` keyword works with both ``import`` and ``from ... import``
statements. When you write ``lazy import heavy_module``, Python does not
immediately load the module. I... | you the organizational benefits of declaring all imports at the top of the file while only paying the loading cost for modules you actually use.
The ``lazy`` keyword works with both ``import`` and ``from ... import``
statements. When you write ``lazy import heavy_module``, Python does not
immediately load the module. I... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
74f541cc-049e-445f-abab-d749814d1d76 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,474 | supabase-export-v2 | 4bcebb0c97bdfb2d | the returned string is syntax highlighted using ANSI escape sequences. If ``False`` (the default), colored output is always disabled. (Contributed by Stan Ulbrych in :gh:`148981`.)
* The :ref:`command-line <ast-cli>` output is now syntax highlighted by default. This can be :ref:`controlled using environment variables <... | trusted_official_docs | CPython Docs | the returned string is syntax highlighted using ANSI escape sequences. If ``False`` (the default), colored output is always disabled. (Contributed by Stan Ulbrych in :gh:`148981`.)
* The :ref:`command-line <ast-cli>` output is now syntax highlighted by default. This can be :ref:`controlled using environment variables <... | the returned string is syntax highlighted using ANSI escape sequences. If ``False`` (the default), colored output is always disabled. (Contributed by Stan Ulbrych in :gh:`148981`.)
* The :ref:`command-line <ast-cli>` output is now syntax highlighted by default. This can be :ref:`controlled using environment variables <... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
75253bca-8ad8-4abb-9dc5-f8ded1e7538f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,429 | supabase-export-v2 | 9e57a47498bee536 | * Unraisable exceptions are now highlighted with color by default. This can be controlled by :ref:`environment variables <using-on-controlling-color>`. (Contributed by Peter Bierma in :gh:`134170`.)
* The :meth:`~object.__repr__` of :class:`ImportError` and :class:`ModuleNotFoundError`
now shows "name" and "path" as `... | trusted_official_docs | CPython Docs | * Unraisable exceptions are now highlighted with color by default. This can be controlled by :ref:`environment variables <using-on-controlling-color>`. (Contributed by Peter Bierma in :gh:`134170`.)
* The :meth:`~object.__repr__` of :class:`ImportError` and :class:`ModuleNotFoundError`
now shows "name" and "path" as `... | * Unraisable exceptions are now highlighted with color by default. This can be controlled by :ref:`environment variables <using-on-controlling-color>`. (Contributed by Peter Bierma in :gh:`134170`.)
* The :meth:`~object.__repr__` of :class:`ImportError` and :class:`ModuleNotFoundError`
now shows "name" and "path" as `... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
755dcc25-e97c-4b63-80a4-202f3ddf5e35 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,675 | supabase-export-v2 | ed4dd0a7f9ca6b57 | .. rubric:: LLVM 21 build-time dependency
The JIT compiler now uses LLVM 21 for build-time stencil generation. As
always, LLVM is only needed when building CPython with the JIT enabled;
end users running Python do not need LLVM installed. Instructions for
installing LLVM can be found in the `JIT compiler documentation
... | trusted_official_docs | CPython Docs | .. rubric:: LLVM 21 build-time dependency
The JIT compiler now uses LLVM 21 for build-time stencil generation. As
always, LLVM is only needed when building CPython with the JIT enabled;
end users running Python do not need LLVM installed. Instructions for
installing LLVM can be found in the `JIT compiler documentation
... | .. rubric:: LLVM 21 build-time dependency
The JIT compiler now uses LLVM 21 for build-time stencil generation. As
always, LLVM is only needed when building CPython with the JIT enabled;
end users running Python do not need LLVM installed. Instructions for
installing LLVM can be found in the `JIT compiler documentation
... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7679ced4-1604-4238-bc1e-4b458c66dc65 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,337 | supabase-export-v2 | 783acc446dde41d8 | import myapp.slow_module # lazy (matches filter) import json # eager (does not match filter)
The proxy type itself is available as :data:`types.LazyImportType` for code
that needs to detect lazy imports programmatically. | trusted_official_docs | CPython Docs | import myapp.slow_module # lazy (matches filter) import json # eager (does not match filter)
The proxy type itself is available as :data:`types.LazyImportType` for code
that needs to detect lazy imports programmatically. | import myapp.slow_module # lazy (matches filter) import json # eager (does not match filter)
The proxy type itself is available as :data:`types.LazyImportType` for code
that needs to detect lazy imports programmatically. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
77051764-5b88-4b63-85a9-991ce2ed6cf9 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,623 | supabase-export-v2 | 8d054d405c9998a4 | object describing ``T`` (or a type assignable to ``T``)". At runtime, ``TypeForm(x)`` simply returns ``x``, which allows explicit annotation of type-form values without changing behavior.
This helps libraries that accept user-provided type expressions
(for example ``int``, ``str | None``, :class:`~typing.TypedDict`
c... | trusted_official_docs | CPython Docs | object describing ``T`` (or a type assignable to ``T``)". At runtime, ``TypeForm(x)`` simply returns ``x``, which allows explicit annotation of type-form values without changing behavior.
This helps libraries that accept user-provided type expressions
(for example ``int``, ``str | None``, :class:`~typing.TypedDict`
c... | object describing ``T`` (or a type assignable to ``T``)". At runtime, ``TypeForm(x)`` simply returns ``x``, which allows explicit annotation of type-form values without changing behavior.
This helps libraries that accept user-provided type expressions
(for example ``int``, ``str | None``, :class:`~typing.TypedDict`
c... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
779359d1-5c0d-4e37-aa66-3a95155f2f63 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,362 | supabase-export-v2 | aa20b668f2b5f944 | * :mod:`profiling.tracing`: deterministic function-call tracing (relocated from ``cProfile``). * :mod:`profiling.sampling`: a new statistical sampling profiler (named Tachyon).
The ``cProfile`` module remains as an alias for backwards compatibility. The :mod:`profile` module is deprecated and will be removed in Python ... | trusted_official_docs | CPython Docs | * :mod:`profiling.tracing`: deterministic function-call tracing (relocated from ``cProfile``). * :mod:`profiling.sampling`: a new statistical sampling profiler (named Tachyon).
The ``cProfile`` module remains as an alias for backwards compatibility. The :mod:`profile` module is deprecated and will be removed in Python ... | * :mod:`profiling.tracing`: deterministic function-call tracing (relocated from ``cProfile``). * :mod:`profiling.sampling`: a new statistical sampling profiler (named Tachyon).
The ``cProfile`` module remains as an alias for backwards compatibility. The :mod:`profile` module is deprecated and will be removed in Python ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
77a3c607-bafb-47df-87ac-511f41d011d9 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,577 | supabase-export-v2 | 464118d193f67041 | * Added new methods for managing signature algorithms:
* :func:`ssl.get_sigalgs` returns a list of all available TLS signature
algorithms. This call requires OpenSSL 3.4 or later. * :meth:`ssl.SSLContext.set_client_sigalgs` sets the signature algorithms
allowed for certificate-based client authentication. * :meth:`ss... | trusted_official_docs | CPython Docs | * Added new methods for managing signature algorithms:
* :func:`ssl.get_sigalgs` returns a list of all available TLS signature
algorithms. This call requires OpenSSL 3.4 or later. * :meth:`ssl.SSLContext.set_client_sigalgs` sets the signature algorithms
allowed for certificate-based client authentication. * :meth:`ss... | * Added new methods for managing signature algorithms:
* :func:`ssl.get_sigalgs` returns a list of all available TLS signature
algorithms. This call requires OpenSSL 3.4 or later. * :meth:`ssl.SSLContext.set_client_sigalgs` sets the signature algorithms
allowed for certificate-based client authentication. * :meth:`ss... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7956b580-3f41-4e46-b6d9-ebfc3305589d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,302 | supabase-export-v2 | 5be79caac65fe197 | to this document. Do not spend very much time on the wording of your changes, because your text will probably 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 | to this document. Do not spend very much time on the wording of your changes, because your text will probably 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. | to this document. Do not spend very much time on the wording of your changes, because your text will probably 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 | |
7b543cc7-b307-4819-bde5-b3d3499f62d4 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,794 | supabase-export-v2 | c6e81bbff386ef85 | * Remove deprecated ``PyUnicode`` functions:
* :c:func:`!PyUnicode_AsDecodedObject`:
Use :c:func:`PyCodec_Decode` instead. * :c:func:`!PyUnicode_AsDecodedUnicode`:
Use :c:func:`PyCodec_Decode` instead; Note that some codecs (for example, "base64")
may return a type other than :class:`str`, such as :class:`bytes`. * ... | trusted_official_docs | CPython Docs | * Remove deprecated ``PyUnicode`` functions:
* :c:func:`!PyUnicode_AsDecodedObject`:
Use :c:func:`PyCodec_Decode` instead. * :c:func:`!PyUnicode_AsDecodedUnicode`:
Use :c:func:`PyCodec_Decode` instead; Note that some codecs (for example, "base64")
may return a type other than :class:`str`, such as :class:`bytes`. * ... | * Remove deprecated ``PyUnicode`` functions:
* :c:func:`!PyUnicode_AsDecodedObject`:
Use :c:func:`PyCodec_Decode` instead. * :c:func:`!PyUnicode_AsDecodedUnicode`:
Use :c:func:`PyCodec_Decode` instead; Note that some codecs (for example, "base64")
may return a type other than :class:`str`, such as :class:`bytes`. * ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7b9a0e86-46ae-43f0-9c17-e3626c2dad43 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,558 | supabase-export-v2 | 6dd9def5421a7b71 | re --
* :func:`re.prefixmatch` and a corresponding :meth:`re.Pattern.prefixmatch`
have been added as alternate, more explicit names for the existing
and now :term:`soft deprecated`
:func:`re.match` and :meth:`re.Pattern.match` APIs. These are intended
to be used to alleviate confusion around what *match* means by f... | trusted_official_docs | CPython Docs | re --
* :func:`re.prefixmatch` and a corresponding :meth:`re.Pattern.prefixmatch`
have been added as alternate, more explicit names for the existing
and now :term:`soft deprecated`
:func:`re.match` and :meth:`re.Pattern.match` APIs. These are intended
to be used to alleviate confusion around what *match* means by f... | re --
* :func:`re.prefixmatch` and a corresponding :meth:`re.Pattern.prefixmatch`
have been added as alternate, more explicit names for the existing
and now :term:`soft deprecated`
:func:`re.match` and :meth:`re.Pattern.match` APIs. These are intended
to be used to alleviate confusion around what *match* means by f... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
800a731f-6611-4f18-be09-6d8fe0ba8db4 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,680 | supabase-export-v2 | 331a8486bba5a97c | operate on registers. This allows the JIT to produce more efficient traces by avoiding reads and writes to memory. (Contributed by Mark Shannon in :gh:`135379`.)
.. rubric:: More JIT optimizations | trusted_official_docs | CPython Docs | operate on registers. This allows the JIT to produce more efficient traces by avoiding reads and writes to memory. (Contributed by Mark Shannon in :gh:`135379`.)
.. rubric:: More JIT optimizations | operate on registers. This allows the JIT to produce more efficient traces by avoiding reads and writes to memory. (Contributed by Mark Shannon in :gh:`135379`.)
.. rubric:: More JIT optimizations | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
80bedd4c-8d39-4230-b7a2-6e7ab51b9a45 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,391 | supabase-export-v2 | bc503de886271ab1 | 3}, {3, 4}] >>> {*s for s in sets} # equivalent to {x for s in sets for x in s} {1, 2, 3, 4}
>>> dicts = [{'a': 1}, {'b': 2}, {'a': 3}]
>>> {**d for d in dicts} # equivalent to {k: v for d in dicts for k,v in d.items()}
{'a': 3, 'b': 2} | trusted_official_docs | CPython Docs | 3}, {3, 4}] >>> {*s for s in sets} # equivalent to {x for s in sets for x in s} {1, 2, 3, 4}
>>> dicts = [{'a': 1}, {'b': 2}, {'a': 3}]
>>> {**d for d in dicts} # equivalent to {k: v for d in dicts for k,v in d.items()}
{'a': 3, 'b': 2} | 3}, {3, 4}] >>> {*s for s in sets} # equivalent to {x for s in sets for x in s} {1, 2, 3, 4}
>>> dicts = [{'a': 1}, {'b': 2}, {'a': 3}]
>>> {**d for d in dicts} # equivalent to {k: v for d in dicts for k,v in d.items()}
{'a': 3, 'b': 2} | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
818180a0-766b-40b1-a3fd-4015348c3e3b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,493 | supabase-export-v2 | dc2da6e8988c9a85 | * Added the *alphabet* parameter in :func:`~binascii.b2a_base64` and :func:`~binascii.a2b_base64`. (Contributed by Serhiy Storchaka in :gh:`145980`.)
* Added the *ignorechars* parameter in :func:`~binascii.a2b_hex`,
:func:`~binascii.unhexlify`, and :func:`~binascii.a2b_base64`. (Contributed by Serhiy Storchaka in :gh:... | trusted_official_docs | CPython Docs | * Added the *alphabet* parameter in :func:`~binascii.b2a_base64` and :func:`~binascii.a2b_base64`. (Contributed by Serhiy Storchaka in :gh:`145980`.)
* Added the *ignorechars* parameter in :func:`~binascii.a2b_hex`,
:func:`~binascii.unhexlify`, and :func:`~binascii.a2b_base64`. (Contributed by Serhiy Storchaka in :gh:... | * Added the *alphabet* parameter in :func:`~binascii.b2a_base64` and :func:`~binascii.a2b_base64`. (Contributed by Serhiy Storchaka in :gh:`145980`.)
* Added the *ignorechars* parameter in :func:`~binascii.a2b_hex`,
:func:`~binascii.unhexlify`, and :func:`~binascii.a2b_base64`. (Contributed by Serhiy Storchaka in :gh:... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
832e0b87-6943-419e-b3fd-a549400afcad | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,591 | supabase-export-v2 | 328ed733bfa9123b | a link (hard or symbolic) with a copy of another archive member, and when fixing up directory attributes. The former raises a new exception, :exc:`~tarfile.LinkFallbackError`.
(Contributed by Petr Viktorin for :cve:`2025-4330` and :cve:`2024-12718`.)
* :func:`~tarfile.TarFile.extract` and :func:`~tarfile.TarFile.extrac... | trusted_official_docs | CPython Docs | a link (hard or symbolic) with a copy of another archive member, and when fixing up directory attributes. The former raises a new exception, :exc:`~tarfile.LinkFallbackError`.
(Contributed by Petr Viktorin for :cve:`2025-4330` and :cve:`2024-12718`.)
* :func:`~tarfile.TarFile.extract` and :func:`~tarfile.TarFile.extrac... | a link (hard or symbolic) with a copy of another archive member, and when fixing up directory attributes. The former raises a new exception, :exc:`~tarfile.LinkFallbackError`.
(Contributed by Petr Viktorin for :cve:`2025-4330` and :cve:`2024-12718`.)
* :func:`~tarfile.TarFile.extract` and :func:`~tarfile.TarFile.extrac... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
864725ec-b0a7-419d-8cdd-9d932a1e4d7a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,525 | supabase-export-v2 | e71ae51ac7c80ec4 | used by the :ref:`command-line interface <http-server-cli>`, is colored by default. This can be controlled with :ref:`environment variables <using-on-controlling-color>`. (Contributed by Hugo van Kemenade in :gh:`146292`.)
* Added :attr:`~http.server.SimpleHTTPRequestHandler.default_content_type`
and the :option:`--co... | trusted_official_docs | CPython Docs | used by the :ref:`command-line interface <http-server-cli>`, is colored by default. This can be controlled with :ref:`environment variables <using-on-controlling-color>`. (Contributed by Hugo van Kemenade in :gh:`146292`.)
* Added :attr:`~http.server.SimpleHTTPRequestHandler.default_content_type`
and the :option:`--co... | used by the :ref:`command-line interface <http-server-cli>`, is colored by default. This can be controlled with :ref:`environment variables <using-on-controlling-color>`. (Contributed by Hugo van Kemenade in :gh:`146292`.)
* Added :attr:`~http.server.SimpleHTTPRequestHandler.default_content_type`
and the :option:`--co... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
87bdb56b-ffda-402f-9117-d158cefe15df | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,842 | supabase-export-v2 | c71375a52d08f524 | ``add_argument('-f', '-foo')``, *dest* is now ``'foo'`` instead of ``'f'``. Pass an explicit *dest* argument to preserve the old behavior. (Contributed by Serhiy Storchaka in :gh:`138697`.)
* Padding of input no longer required in :func:`base64.urlsafe_b64decode`. Pass a new argument ``padded=True`` or use :func:`base6... | trusted_official_docs | CPython Docs | ``add_argument('-f', '-foo')``, *dest* is now ``'foo'`` instead of ``'f'``. Pass an explicit *dest* argument to preserve the old behavior. (Contributed by Serhiy Storchaka in :gh:`138697`.)
* Padding of input no longer required in :func:`base64.urlsafe_b64decode`. Pass a new argument ``padded=True`` or use :func:`base6... | ``add_argument('-f', '-foo')``, *dest* is now ``'foo'`` instead of ``'f'``. Pass an explicit *dest* argument to preserve the old behavior. (Contributed by Serhiy Storchaka in :gh:`138697`.)
* Padding of input no longer required in :func:`base64.urlsafe_b64decode`. Pass a new argument ``padded=True`` or use :func:`base6... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
890b0077-e435-4e5a-a408-8345608a484e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,395 | supabase-export-v2 | 3e46e24f654a020d | generator expressions, such that, for example, ``(*a async for a in agen())`` is equivalent to ``(x async for a in agen() for x in a)``.
.. seealso:: :pep:`798` for further details. | trusted_official_docs | CPython Docs | generator expressions, such that, for example, ``(*a async for a in agen())`` is equivalent to ``(x async for a in agen() for x in a)``.
.. seealso:: :pep:`798` for further details. | generator expressions, such that, for example, ``(*a async for a in agen())`` is equivalent to ``(x async for a in agen() for x in a)``.
.. seealso:: :pep:`798` for further details. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8c0bb8f7-6513-4977-9ca1-dd532780fad3 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,674 | supabase-export-v2 | ab3e18db5e295f23 | * LLVM 21 build-time dependency * New tracing frontend * Basic register allocation in the JIT * More JIT optimizations * Better machine code generation
.. rubric:: LLVM 21 build-time dependency | trusted_official_docs | CPython Docs | * LLVM 21 build-time dependency * New tracing frontend * Basic register allocation in the JIT * More JIT optimizations * Better machine code generation
.. rubric:: LLVM 21 build-time dependency | * LLVM 21 build-time dependency * New tracing frontend * Basic register allocation in the JIT * More JIT optimizations * Better machine code generation
.. rubric:: LLVM 21 build-time dependency | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8ef0131c-c34f-45f3-9b29-bebd45572fee | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,630 | supabase-export-v2 | 8a7f2f3398812104 | handles type parameters order: it is ``(T1, T2)``, not ``(T2, T1)`` as it was incorrectly inferred in runtime before. (Contributed by Nikita Sobolev in :gh:`137191`.)
* :pep:`800`: Add :deco:`typing.disjoint_base`, a new decorator marking a class
as a disjoint base. This is an advanced feature primarily intended to al... | trusted_official_docs | CPython Docs | handles type parameters order: it is ``(T1, T2)``, not ``(T2, T1)`` as it was incorrectly inferred in runtime before. (Contributed by Nikita Sobolev in :gh:`137191`.)
* :pep:`800`: Add :deco:`typing.disjoint_base`, a new decorator marking a class
as a disjoint base. This is an advanced feature primarily intended to al... | handles type parameters order: it is ``(T1, T2)``, not ``(T2, T1)`` as it was incorrectly inferred in runtime before. (Contributed by Nikita Sobolev in :gh:`137191`.)
* :pep:`800`: Add :deco:`typing.disjoint_base`, a new decorator marking a class
as a disjoint base. This is an advanced feature primarily intended to al... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8f3449cf-ccfb-4586-899b-5d145483e049 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,356 | supabase-export-v2 | b9919cd96384039b | :pep:`661`: Add sentinel built-in type --------------------------------------
A new :class:`sentinel` type is added to the :mod:`builtins` module for
creating unique sentinel values with a concise representation. Sentinel
objects preserve identity when copied, support use in type expressions with
the ``|`` operator, an... | trusted_official_docs | CPython Docs | :pep:`661`: Add sentinel built-in type --------------------------------------
A new :class:`sentinel` type is added to the :mod:`builtins` module for
creating unique sentinel values with a concise representation. Sentinel
objects preserve identity when copied, support use in type expressions with
the ``|`` operator, an... | :pep:`661`: Add sentinel built-in type --------------------------------------
A new :class:`sentinel` type is added to the :mod:`builtins` module for
creating unique sentinel values with a concise representation. Sentinel
objects preserve identity when copied, support use in type expressions with
the ``|`` operator, an... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8f3deff3-79e1-4613-bae9-9f425bd20cdc | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,458 | supabase-export-v2 | 710f5efcb4a779f2 | * The :class:`slice` type now supports subscription, making it a :term:`generic type`. (Contributed by James Hilton-Balfe in :gh:`128335`.)
* The class :class:`memoryview` now supports the :c:expr:`float complex` and
:c:expr:`double complex` C types: formatting characters ``'F'`` and ``'D'``
respectively. (Contribute... | trusted_official_docs | CPython Docs | * The :class:`slice` type now supports subscription, making it a :term:`generic type`. (Contributed by James Hilton-Balfe in :gh:`128335`.)
* The class :class:`memoryview` now supports the :c:expr:`float complex` and
:c:expr:`double complex` C types: formatting characters ``'F'`` and ``'D'``
respectively. (Contribute... | * The :class:`slice` type now supports subscription, making it a :term:`generic type`. (Contributed by James Hilton-Balfe in :gh:`128335`.)
* The class :class:`memoryview` now supports the :c:expr:`float complex` and
:c:expr:`double complex` C types: formatting characters ``'F'`` and ``'D'``
respectively. (Contribute... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
906712e7-c486-4a53-bb9d-bdf1038247ca | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,496 | supabase-export-v2 | e1eabacda32a0bde | calendar --------
* Calendar pages generated by the :class:`calendar.HTMLCalendar` class now support
dark mode and have been migrated to the HTML5 standard for improved accessibility. (Contributed by Jiahao Li and Hugo van Kemenade in :gh:`137634`.) | trusted_official_docs | CPython Docs | calendar --------
* Calendar pages generated by the :class:`calendar.HTMLCalendar` class now support
dark mode and have been migrated to the HTML5 standard for improved accessibility. (Contributed by Jiahao Li and Hugo van Kemenade in :gh:`137634`.) | calendar --------
* Calendar pages generated by the :class:`calendar.HTMLCalendar` class now support
dark mode and have been migrated to the HTML5 standard for improved accessibility. (Contributed by Jiahao Li and Hugo van Kemenade in :gh:`137634`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
908989fc-6f55-4272-af04-5f31aba32d3a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,482 | supabase-export-v2 | 660c885173bcacf5 | * Added the *ignorechars* parameter in :func:`~base64.b16decode`, :func:`~base64.b32decode`, :func:`~base64.b32hexdecode`, :func:`~base64.b64decode`, :func:`~base64.b85decode`, and :func:`~base64.z85decode`. (Contributed by Serhiy Storchaka in :gh:`144001` and :gh:`146431`.)
* Added the *canonical* parameter in
:func:... | trusted_official_docs | CPython Docs | * Added the *ignorechars* parameter in :func:`~base64.b16decode`, :func:`~base64.b32decode`, :func:`~base64.b32hexdecode`, :func:`~base64.b64decode`, :func:`~base64.b85decode`, and :func:`~base64.z85decode`. (Contributed by Serhiy Storchaka in :gh:`144001` and :gh:`146431`.)
* Added the *canonical* parameter in
:func:... | * Added the *ignorechars* parameter in :func:`~base64.b16decode`, :func:`~base64.b32decode`, :func:`~base64.b32hexdecode`, :func:`~base64.b64decode`, :func:`~base64.b85decode`, and :func:`~base64.z85decode`. (Contributed by Serhiy Storchaka in :gh:`144001` and :gh:`146431`.)
* Added the *canonical* parameter in
:func:... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
90f0eda4-c1d7-449a-96d2-8dbb5d05f75a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,576 | supabase-export-v2 | 01aa1082aea50663 | same context and the selected cipher suite will depend on the TLS version negotiated when a connection is made. (Contributed by Ron Frederick in :gh:`137197`.)
* Added new methods for managing signature algorithms: | trusted_official_docs | CPython Docs | same context and the selected cipher suite will depend on the TLS version negotiated when a connection is made. (Contributed by Ron Frederick in :gh:`137197`.)
* Added new methods for managing signature algorithms: | same context and the selected cipher suite will depend on the TLS version negotiated when a connection is made. (Contributed by Ron Frederick in :gh:`137197`.)
* Added new methods for managing signature algorithms: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9143f7ec-e62a-443e-ad1e-dc1a5bdef6ad | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,459 | supabase-export-v2 | bb7291b276f2f5b8 | class :class:`memoryview` now supports the :c:expr:`float complex` and :c:expr:`double complex` C types: formatting characters ``'F'`` and ``'D'`` respectively. (Contributed by Sergey B Kirpichev in :gh:`146151`.)
* Allow the *count* argument of :meth:`bytes.replace` to be a keyword. (Contributed by Stan Ulbrych in :gh... | trusted_official_docs | CPython Docs | class :class:`memoryview` now supports the :c:expr:`float complex` and :c:expr:`double complex` C types: formatting characters ``'F'`` and ``'D'`` respectively. (Contributed by Sergey B Kirpichev in :gh:`146151`.)
* Allow the *count* argument of :meth:`bytes.replace` to be a keyword. (Contributed by Stan Ulbrych in :gh... | class :class:`memoryview` now supports the :c:expr:`float complex` and :c:expr:`double complex` C types: formatting characters ``'F'`` and ``'D'`` respectively. (Contributed by Sergey B Kirpichev in :gh:`146151`.)
* Allow the *count* argument of :meth:`bytes.replace` to be a keyword. (Contributed by Stan Ulbrych in :gh... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
923115c5-1384-4837-8d26-dc4cbb64e72c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,606 | supabase-export-v2 | 8271123cb28604fc | The :mod:`tomllib` module now supports TOML 1.1.0. This is a backwards compatible update, meaning that all valid TOML 1.0.0 documents are parsed the same way.
The changes, according to the `official TOML changelog`_, are: | trusted_official_docs | CPython Docs | The :mod:`tomllib` module now supports TOML 1.1.0. This is a backwards compatible update, meaning that all valid TOML 1.0.0 documents are parsed the same way.
The changes, according to the `official TOML changelog`_, are: | The :mod:`tomllib` module now supports TOML 1.1.0. This is a backwards compatible update, meaning that all valid TOML 1.0.0 documents are parsed the same way.
The changes, according to the `official TOML changelog`_, are: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9237faff-9652-49a2-867c-86b26e37eda2 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,520 | supabase-export-v2 | 6e6a17de27a2849e | hashlib -------
* Ensure that hash functions guaranteed to be always *available* exist as
attributes of :mod:`hashlib` even if they will not work at runtime due to
missing backend implementations. For instance, ``hashlib.md5`` will no
longer raise :exc:`AttributeError` if OpenSSL is not available and Python
has bee... | trusted_official_docs | CPython Docs | hashlib -------
* Ensure that hash functions guaranteed to be always *available* exist as
attributes of :mod:`hashlib` even if they will not work at runtime due to
missing backend implementations. For instance, ``hashlib.md5`` will no
longer raise :exc:`AttributeError` if OpenSSL is not available and Python
has bee... | hashlib -------
* Ensure that hash functions guaranteed to be always *available* exist as
attributes of :mod:`hashlib` even if they will not work at runtime due to
missing backend implementations. For instance, ``hashlib.md5`` will no
longer raise :exc:`AttributeError` if OpenSSL is not available and Python
has bee... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
934d6f24-2400-46a4-918f-a5c8ab682591 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,481 | supabase-export-v2 | eae17537774a519a | * Added the *wrapcol* parameter in :func:`~base64.b16encode`, :func:`~base64.b32encode`, :func:`~base64.b32hexencode`, :func:`~base64.b64encode`, :func:`~base64.b85encode`, and :func:`~base64.z85encode`. (Contributed by Serhiy Storchaka in :gh:`143214` and :gh:`146431`.)
* Added the *ignorechars* parameter in :func:`~b... | trusted_official_docs | CPython Docs | * Added the *wrapcol* parameter in :func:`~base64.b16encode`, :func:`~base64.b32encode`, :func:`~base64.b32hexencode`, :func:`~base64.b64encode`, :func:`~base64.b85encode`, and :func:`~base64.z85encode`. (Contributed by Serhiy Storchaka in :gh:`143214` and :gh:`146431`.)
* Added the *ignorechars* parameter in :func:`~b... | * Added the *wrapcol* parameter in :func:`~base64.b16encode`, :func:`~base64.b32encode`, :func:`~base64.b32hexencode`, :func:`~base64.b64encode`, :func:`~base64.b85encode`, and :func:`~base64.z85encode`. (Contributed by Serhiy Storchaka in :gh:`143214` and :gh:`146431`.)
* Added the *ignorechars* parameter in :func:`~b... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
95cb41dd-758d-4ebc-bf59-92ebc65dca59 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,683 | supabase-export-v2 | 6791691470df68c8 | (Contributed by Ken Jin, Donghee Na, Zheao Li, Hai Zhu, Savannah Ostrowski, Reiden Ong, Noam Cohen, Tomas Roun, PuQing, Cajetan Rodrigues, and Sacul in :gh:`134584`.)
By tracking unique references to objects, the JIT optimizer can now eliminate
reference count updates and perform inplace operations on ints and floats. ... | trusted_official_docs | CPython Docs | (Contributed by Ken Jin, Donghee Na, Zheao Li, Hai Zhu, Savannah Ostrowski, Reiden Ong, Noam Cohen, Tomas Roun, PuQing, Cajetan Rodrigues, and Sacul in :gh:`134584`.)
By tracking unique references to objects, the JIT optimizer can now eliminate
reference count updates and perform inplace operations on ints and floats. ... | (Contributed by Ken Jin, Donghee Na, Zheao Li, Hai Zhu, Savannah Ostrowski, Reiden Ong, Noam Cohen, Tomas Roun, PuQing, Cajetan Rodrigues, and Sacul in :gh:`134584`.)
By tracking unique references to objects, the JIT optimizer can now eliminate
reference count updates and perform inplace operations on ints and floats. ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
966aaf3d-3219-4062-a120-b39b03be61f6 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,671 | supabase-export-v2 | 0904e766b1a9a983 | builds versus no JIT builds range from roughly 15% slowdown to over 100% speedup (ignoring the ``unpack_sequence`` microbenchmark) on x86-64 Linux and AArch64 macOS systems.
.. attention::
These results are not yet final. | trusted_official_docs | CPython Docs | builds versus no JIT builds range from roughly 15% slowdown to over 100% speedup (ignoring the ``unpack_sequence`` microbenchmark) on x86-64 Linux and AArch64 macOS systems.
.. attention::
These results are not yet final. | builds versus no JIT builds range from roughly 15% slowdown to over 100% speedup (ignoring the ``unpack_sequence`` microbenchmark) on x86-64 Linux and AArch64 macOS systems.
.. attention::
These results are not yet final. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
98c5160b-8ba3-44b6-8a34-14fda386c38e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,539 | supabase-export-v2 | c0fe57febcdf6b86 | mimetypes ---------
* Add more MIME types. (Contributed by Benedikt Johannes, Charlie Lin, Foolbar, Gil Forcada and
John Franey
in :gh:`144217`, :gh:`145720`, :gh:`140937`, :gh:`139959`, :gh:`145698`,
:gh:`145718` and :gh:`144213`.)
* Rename ``application/x-texinfo`` to ``application/texinfo``. (Contributed by Charl... | trusted_official_docs | CPython Docs | mimetypes ---------
* Add more MIME types. (Contributed by Benedikt Johannes, Charlie Lin, Foolbar, Gil Forcada and
John Franey
in :gh:`144217`, :gh:`145720`, :gh:`140937`, :gh:`139959`, :gh:`145698`,
:gh:`145718` and :gh:`144213`.)
* Rename ``application/x-texinfo`` to ``application/texinfo``. (Contributed by Charl... | mimetypes ---------
* Add more MIME types. (Contributed by Benedikt Johannes, Charlie Lin, Foolbar, Gil Forcada and
John Franey
in :gh:`144217`, :gh:`145720`, :gh:`140937`, :gh:`139959`, :gh:`145698`,
:gh:`145718` and :gh:`144213`.)
* Rename ``application/x-texinfo`` to ``application/texinfo``. (Contributed by Charl... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
996a776c-63d8-4fef-86ef-3ecbf1befb93 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,376 | supabase-export-v2 | 1d7089d3d58c262a | * **Multiple profiling modes**: Choose what to measure based on your performance investigation:
* **Wall-clock time** (``--mode wall``, default): Measures real elapsed time including I/O,
network waits, and blocking operations. Use this to understand where your program spends
calendar time, including when waiting for... | trusted_official_docs | CPython Docs | * **Multiple profiling modes**: Choose what to measure based on your performance investigation:
* **Wall-clock time** (``--mode wall``, default): Measures real elapsed time including I/O,
network waits, and blocking operations. Use this to understand where your program spends
calendar time, including when waiting for... | * **Multiple profiling modes**: Choose what to measure based on your performance investigation:
* **Wall-clock time** (``--mode wall``, default): Measures real elapsed time including I/O,
network waits, and blocking operations. Use this to understand where your program spends
calendar time, including when waiting for... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9aad2256-5f70-46ae-b04a-8fe3e082219b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,402 | supabase-export-v2 | 83d88b31ecf5f147 | offer. Extensions that cannot switch to ``abi3t`` should continue to build for the existing Stable ABI (``abi3``) and the version-specific ABI for free-threading (``cp315t``) separately.
Stable ABI for Free-Threaded Builds should typically
be selected in a build tool (such as, for example, Setuptools, meson-python,
sci... | trusted_official_docs | CPython Docs | offer. Extensions that cannot switch to ``abi3t`` should continue to build for the existing Stable ABI (``abi3``) and the version-specific ABI for free-threading (``cp315t``) separately.
Stable ABI for Free-Threaded Builds should typically
be selected in a build tool (such as, for example, Setuptools, meson-python,
sci... | offer. Extensions that cannot switch to ``abi3t`` should continue to build for the existing Stable ABI (``abi3``) and the version-specific ABI for free-threading (``cp315t``) separately.
Stable ABI for Free-Threaded Builds should typically
be selected in a build tool (such as, for example, Setuptools, meson-python,
sci... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9ad95f47-8d8f-40c3-abba-215761603b33 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,555 | supabase-export-v2 | c9374968f78aab0b | pprint ------
* Add an *expand* keyword argument for :func:`pprint.pprint`,
:func:`pprint.pformat`, :func:`pprint.pp`. If true, the output will be
formatted similar to pretty-printed :func:`json.dumps` when
*indent* is supplied. (Contributed by Stefan Todoran, Semyon Moroz and Hugo van Kemenade in
:gh:`112632`.) | trusted_official_docs | CPython Docs | pprint ------
* Add an *expand* keyword argument for :func:`pprint.pprint`,
:func:`pprint.pformat`, :func:`pprint.pp`. If true, the output will be
formatted similar to pretty-printed :func:`json.dumps` when
*indent* is supplied. (Contributed by Stefan Todoran, Semyon Moroz and Hugo van Kemenade in
:gh:`112632`.) | pprint ------
* Add an *expand* keyword argument for :func:`pprint.pprint`,
:func:`pprint.pformat`, :func:`pprint.pp`. If true, the output will be
formatted similar to pretty-printed :func:`json.dumps` when
*indent* is supplied. (Contributed by Stefan Todoran, Semyon Moroz and Hugo van Kemenade in
:gh:`112632`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9cda6cf9-22dc-408a-a549-953850a6bd25 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,596 | supabase-export-v2 | 4a1c575d4beac092 | :gh:`146609`.) * The command-line interface now colorizes error tracebacks by default. This can be controlled with :ref:`environment variables <using-on-controlling-color>`. (Contributed by Yi Hong in :gh:`139374`.)
* Make the target time of :meth:`timeit.Timer.autorange` configurable
and add ``--target-time`` option ... | trusted_official_docs | CPython Docs | :gh:`146609`.) * The command-line interface now colorizes error tracebacks by default. This can be controlled with :ref:`environment variables <using-on-controlling-color>`. (Contributed by Yi Hong in :gh:`139374`.)
* Make the target time of :meth:`timeit.Timer.autorange` configurable
and add ``--target-time`` option ... | :gh:`146609`.) * The command-line interface now colorizes error tracebacks by default. This can be controlled with :ref:`environment variables <using-on-controlling-color>`. (Contributed by Yi Hong in :gh:`139374`.)
* Make the target time of :meth:`timeit.Timer.autorange` configurable
and add ``--target-time`` option ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9e85fc7c-92bf-47e1-91b4-3d4edd7a77ac | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,308 | supabase-export-v2 | 446912e76c84813b | * 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 issue 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 issue 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 issue number as a comment: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9ef323b2-befd-460f-9e0e-bfadfb6734ea | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,574 | supabase-export-v2 | 57de1611f024e428 | all available key agreement groups compatible with the minimum and maximum TLS versions currently set in the context. This call requires OpenSSL 3.5 or later.
(Contributed by Ron Frederick in :gh:`136306`.) | trusted_official_docs | CPython Docs | all available key agreement groups compatible with the minimum and maximum TLS versions currently set in the context. This call requires OpenSSL 3.5 or later.
(Contributed by Ron Frederick in :gh:`136306`.) | all available key agreement groups compatible with the minimum and maximum TLS versions currently set in the context. This call requires OpenSSL 3.5 or later.
(Contributed by Ron Frederick in :gh:`136306`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9f5cea08-0a2b-4205-91de-9036f6fc65d4 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,658 | supabase-export-v2 | 34cac66f8a9bc834 | * Allow combining two Adler-32 checksums via :func:`~zlib.adler32_combine`. (Contributed by Callum Attryde and Bénédikt Tran in :gh:`134635`.)
* Allow combining two CRC-32 checksums via :func:`~zlib.crc32_combine`. (Contributed by Bénédikt Tran in :gh:`134635`.) | trusted_official_docs | CPython Docs | * Allow combining two Adler-32 checksums via :func:`~zlib.adler32_combine`. (Contributed by Callum Attryde and Bénédikt Tran in :gh:`134635`.)
* Allow combining two CRC-32 checksums via :func:`~zlib.crc32_combine`. (Contributed by Bénédikt Tran in :gh:`134635`.) | * Allow combining two Adler-32 checksums via :func:`~zlib.adler32_combine`. (Contributed by Callum Attryde and Bénédikt Tran in :gh:`134635`.)
* Allow combining two CRC-32 checksums via :func:`~zlib.crc32_combine`. (Contributed by Bénédikt Tran in :gh:`134635`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a05fea89-ee71-452c-8a04-fd7f4e6f70ce | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,611 | supabase-export-v2 | 6bee4200f1907008 | tbl = { key = "a string", moar-tbl = { key = 1, }, }
- Add ``\xHH`` notation to basic strings for codepoints under 255,
and the ``\e`` escape for the escape character: | trusted_official_docs | CPython Docs | tbl = { key = "a string", moar-tbl = { key = 1, }, }
- Add ``\xHH`` notation to basic strings for codepoints under 255,
and the ``\e`` escape for the escape character: | tbl = { key = "a string", moar-tbl = { key = 1, }, }
- Add ``\xHH`` notation to basic strings for codepoints under 255,
and the ``\e`` escape for the escape character: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a19823f4-7207-4194-8dd7-06c4143318f2 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,688 | supabase-export-v2 | 5cace76a56963b8d | .. rubric:: Maintainability
The JIT optimizer's operations have been simplified. This was made possible by a refactoring of JIT data structures. (Contributed by Zhongtian Zheng in :gh:`148211` and Hai Zhu in :gh:`143421`.) | trusted_official_docs | CPython Docs | .. rubric:: Maintainability
The JIT optimizer's operations have been simplified. This was made possible by a refactoring of JIT data structures. (Contributed by Zhongtian Zheng in :gh:`148211` and Hai Zhu in :gh:`143421`.) | .. rubric:: Maintainability
The JIT optimizer's operations have been simplified. This was made possible by a refactoring of JIT data structures. (Contributed by Zhongtian Zheng in :gh:`148211` and Hai Zhu in :gh:`143421`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a213606e-fab4-4533-a102-28bcc6756dcf | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,388 | supabase-export-v2 | 5cb7c3a6e6d38957 | :pep:`798`: Unpacking in Comprehensions ---------------------------------------
List, set, and dictionary comprehensions, as well as generator expressions, now
support unpacking with ``*`` and ``**``. This extends the unpacking syntax
from :pep:`448` to comprehensions, providing a new syntax for combining an
arbitrary ... | trusted_official_docs | CPython Docs | :pep:`798`: Unpacking in Comprehensions ---------------------------------------
List, set, and dictionary comprehensions, as well as generator expressions, now
support unpacking with ``*`` and ``**``. This extends the unpacking syntax
from :pep:`448` to comprehensions, providing a new syntax for combining an
arbitrary ... | :pep:`798`: Unpacking in Comprehensions ---------------------------------------
List, set, and dictionary comprehensions, as well as generator expressions, now
support unpacking with ``*`` and ``**``. This extends the unpacking syntax
from :pep:`448` to comprehensions, providing a new syntax for combining an
arbitrary ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a34f8309-ca6b-4cd6-bc6d-b3ad6b2a269d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,634 | supabase-export-v2 | 9af2eb8e26980498 | * The Unicode database has been updated to Unicode 17.0.0.
* Add :func:`unicodedata.isxidstart` and :func:`unicodedata.isxidcontinue`
functions to check whether a character can start or continue a
`Unicode Standard Annex #31 <https://www.unicode.org/reports/tr31/>`_ identifier. (Contributed by Stan Ulbrych in :gh:`12... | trusted_official_docs | CPython Docs | * The Unicode database has been updated to Unicode 17.0.0.
* Add :func:`unicodedata.isxidstart` and :func:`unicodedata.isxidcontinue`
functions to check whether a character can start or continue a
`Unicode Standard Annex #31 <https://www.unicode.org/reports/tr31/>`_ identifier. (Contributed by Stan Ulbrych in :gh:`12... | * The Unicode database has been updated to Unicode 17.0.0.
* Add :func:`unicodedata.isxidstart` and :func:`unicodedata.isxidcontinue`
functions to check whether a character can start or continue a
`Unicode Standard Annex #31 <https://www.unicode.org/reports/tr31/>`_ identifier. (Contributed by Stan Ulbrych in :gh:`12... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a4219ded-ec6f-46ff-bff2-c2d256ca6147 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,572 | supabase-export-v2 | 4009b7fb901e4392 | * Indicate through :data:`ssl.HAS_PSK_TLS13` whether the :mod:`ssl` module supports "External PSKs" in TLSv1.3, as described in :rfc:`9258`. (Contributed by Will Childs-Klein in :gh:`133624`.)
* Added new methods for managing groups used for SSL key agreement | trusted_official_docs | CPython Docs | * Indicate through :data:`ssl.HAS_PSK_TLS13` whether the :mod:`ssl` module supports "External PSKs" in TLSv1.3, as described in :rfc:`9258`. (Contributed by Will Childs-Klein in :gh:`133624`.)
* Added new methods for managing groups used for SSL key agreement | * Indicate through :data:`ssl.HAS_PSK_TLS13` whether the :mod:`ssl` module supports "External PSKs" in TLSv1.3, as described in :rfc:`9258`. (Contributed by Will Childs-Klein in :gh:`133624`.)
* Added new methods for managing groups used for SSL key agreement | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a4c87d5c-0cee-47e8-bd75-3f05ce107013 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,729 | supabase-export-v2 | a6c8ef64f3f76bee | * :mod:`base64`:
* Accepting the ``+`` and ``/`` characters with an alternative alphabet in
:func:`~base64.b64decode` and :func:`~base64.urlsafe_b64decode` is now
deprecated. In future Python versions they will be errors in the strict mode and
discarded in the non-strict mode. (Contributed by Serhiy Storchaka in :gh... | trusted_official_docs | CPython Docs | * :mod:`base64`:
* Accepting the ``+`` and ``/`` characters with an alternative alphabet in
:func:`~base64.b64decode` and :func:`~base64.urlsafe_b64decode` is now
deprecated. In future Python versions they will be errors in the strict mode and
discarded in the non-strict mode. (Contributed by Serhiy Storchaka in :gh... | * :mod:`base64`:
* Accepting the ``+`` and ``/`` characters with an alternative alphabet in
:func:`~base64.b64decode` and :func:`~base64.urlsafe_b64decode` is now
deprecated. In future Python versions they will be errors in the strict mode and
discarded in the non-strict mode. (Contributed by Serhiy Storchaka in :gh... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a6ab5ad9-d870-49bf-801c-0d613fe28f7d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,332 | supabase-export-v2 | a69d9ac719258dc3 | associated traceback includes both the location where the name was accessed and the original import statement, making it straightforward to diagnose and debug the failure.
For cases where you want to enable lazy loading globally without modifying
source code, Python provides the :option:`-X lazy_imports <-X>` command-l... | trusted_official_docs | CPython Docs | associated traceback includes both the location where the name was accessed and the original import statement, making it straightforward to diagnose and debug the failure.
For cases where you want to enable lazy loading globally without modifying
source code, Python provides the :option:`-X lazy_imports <-X>` command-l... | associated traceback includes both the location where the name was accessed and the original import statement, making it straightforward to diagnose and debug the failure.
For cases where you want to enable lazy loading globally without modifying
source code, Python provides the :option:`-X lazy_imports <-X>` command-l... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a6e4c408-ac2e-4e6d-81f7-bc285ed8914e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,307 | supabase-export-v2 | e99ac217fcfc6b86 | * You can comment out your additions if you like, but it's not necessary (especially when a final release is some months away).
* Credit the author of a patch or bugfix. Just the name is
sufficient; the e-mail address isn't necessary. | trusted_official_docs | CPython Docs | * You can comment out your additions if you like, but it's not necessary (especially when a final release is some months away).
* Credit the author of a patch or bugfix. Just the name is
sufficient; the e-mail address isn't necessary. | * You can comment out your additions if you like, but it's not necessary (especially when a final release is some months away).
* Credit the author of a patch or bugfix. Just the name is
sufficient; the e-mail address isn't necessary. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a73decad-f692-4a2d-842c-460521fd6747 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,480 | supabase-export-v2 | 2bf1ab0023f09038 | * Added the *padded* parameter in :func:`~base64.b32encode`, :func:`~base64.b32decode`, :func:`~base64.b32hexencode`, :func:`~base64.b32hexdecode`, :func:`~base64.b64encode`, :func:`~base64.b64decode`, :func:`~base64.urlsafe_b64encode`, and :func:`~base64.urlsafe_b64decode`. (Contributed by Serhiy Storchaka in :gh:`736... | trusted_official_docs | CPython Docs | * Added the *padded* parameter in :func:`~base64.b32encode`, :func:`~base64.b32decode`, :func:`~base64.b32hexencode`, :func:`~base64.b32hexdecode`, :func:`~base64.b64encode`, :func:`~base64.b64decode`, :func:`~base64.urlsafe_b64encode`, and :func:`~base64.urlsafe_b64decode`. (Contributed by Serhiy Storchaka in :gh:`736... | * Added the *padded* parameter in :func:`~base64.b32encode`, :func:`~base64.b32decode`, :func:`~base64.b32hexencode`, :func:`~base64.b32hexdecode`, :func:`~base64.b64encode`, :func:`~base64.b64decode`, :func:`~base64.urlsafe_b64encode`, and :func:`~base64.urlsafe_b64decode`. (Contributed by Serhiy Storchaka in :gh:`736... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a76578f0-1278-4f9e-991b-f4b20531693b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,511 | supabase-export-v2 | 82efb0926ff905ba | *color* parameter to :func:`difflib.unified_diff`, enabling color output similar to :program:`git diff`. This can be controlled by :ref:`environment variables <using-on-controlling-color>`. (Contributed by Douglas Thor in :gh:`133725`.)
* Improved the styling of HTML diff pages generated by the :class:`difflib.HtmlDiff... | trusted_official_docs | CPython Docs | *color* parameter to :func:`difflib.unified_diff`, enabling color output similar to :program:`git diff`. This can be controlled by :ref:`environment variables <using-on-controlling-color>`. (Contributed by Douglas Thor in :gh:`133725`.)
* Improved the styling of HTML diff pages generated by the :class:`difflib.HtmlDiff... | *color* parameter to :func:`difflib.unified_diff`, enabling color output similar to :program:`git diff`. This can be controlled by :ref:`environment variables <using-on-controlling-color>`. (Contributed by Douglas Thor in :gh:`133725`.)
* Improved the styling of HTML diff pages generated by the :class:`difflib.HtmlDiff... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a8886168-6e51-4c9f-9643-aa0d3caada13 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,840 | supabase-export-v2 | c25ff9894c8a9bb2 | * :meth:`mmap.mmap.resize` has been removed on platforms that don't support the underlying syscall, instead of raising a :exc:`SystemError`.
* A resource warning is now emitted for an unclosed
:func:`xml.etree.ElementTree.iterparse` iterator if it opened a file. Use its :meth:`!close` method or the :func:`contextlib.c... | trusted_official_docs | CPython Docs | * :meth:`mmap.mmap.resize` has been removed on platforms that don't support the underlying syscall, instead of raising a :exc:`SystemError`.
* A resource warning is now emitted for an unclosed
:func:`xml.etree.ElementTree.iterparse` iterator if it opened a file. Use its :meth:`!close` method or the :func:`contextlib.c... | * :meth:`mmap.mmap.resize` has been removed on platforms that don't support the underlying syscall, instead of raising a :exc:`SystemError`.
* A resource warning is now emitted for an unclosed
:func:`xml.etree.ElementTree.iterparse` iterator if it opened a file. Use its :meth:`!close` method or the :func:`contextlib.c... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a94a332e-e953-47bd-99b0-3095c139b792 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,603 | supabase-export-v2 | 4fecb54b8e8d5268 | tokenize --------
* The output of the :mod:`tokenize` :ref:`command-line interface
<tokenize-cli>` is colored by default. This can be controlled with
:ref:`environment variables <using-on-controlling-color>`. (Contributed by Hugo van Kemenade in :gh:`148991`.) | trusted_official_docs | CPython Docs | tokenize --------
* The output of the :mod:`tokenize` :ref:`command-line interface
<tokenize-cli>` is colored by default. This can be controlled with
:ref:`environment variables <using-on-controlling-color>`. (Contributed by Hugo van Kemenade in :gh:`148991`.) | tokenize --------
* The output of the :mod:`tokenize` :ref:`command-line interface
<tokenize-cli>` is colored by default. This can be controlled with
:ref:`environment variables <using-on-controlling-color>`. (Contributed by Hugo van Kemenade in :gh:`148991`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a9fb41a7-3b1f-4148-bdc4-b318dc874e34 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,510 | supabase-export-v2 | 5bb87f65dd154350 | .. _whatsnew315-color-difflib:
* Introduced the optional *color* parameter to :func:`difflib.unified_diff`,
enabling color output similar to :program:`git diff`. This can be controlled by :ref:`environment variables
<using-on-controlling-color>`. (Contributed by Douglas Thor in :gh:`133725`.) | trusted_official_docs | CPython Docs | .. _whatsnew315-color-difflib:
* Introduced the optional *color* parameter to :func:`difflib.unified_diff`,
enabling color output similar to :program:`git diff`. This can be controlled by :ref:`environment variables
<using-on-controlling-color>`. (Contributed by Douglas Thor in :gh:`133725`.) | .. _whatsnew315-color-difflib:
* Introduced the optional *color* parameter to :func:`difflib.unified_diff`,
enabling color output similar to :program:`git diff`. This can be controlled by :ref:`environment variables
<using-on-controlling-color>`. (Contributed by Douglas Thor in :gh:`133725`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
aaf63316-e7da-4d88-9e9f-9cda8cb80e2d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,533 | supabase-export-v2 | 157798ef6fc8ccdd | locale ------
* :func:`~locale.setlocale` now supports language codes with ``@``-modifiers. ``@``-modifiers are no longer silently removed in :func:`~locale.getlocale`,
but included in the language code. (Contributed by Serhiy Storchaka in :gh:`137729`.) | trusted_official_docs | CPython Docs | locale ------
* :func:`~locale.setlocale` now supports language codes with ``@``-modifiers. ``@``-modifiers are no longer silently removed in :func:`~locale.getlocale`,
but included in the language code. (Contributed by Serhiy Storchaka in :gh:`137729`.) | locale ------
* :func:`~locale.setlocale` now supports language codes with ``@``-modifiers. ``@``-modifiers are no longer silently removed in :func:`~locale.getlocale`,
but included in the language code. (Contributed by Serhiy Storchaka in :gh:`137729`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ac76e178-b1fb-4bcc-86b1-a928a6004355 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,350 | supabase-export-v2 | cdd4c82a4c1b305e | The following standard library modules have been updated to accept :class:`!frozendict`: :mod:`copy`, :mod:`decimal`, :mod:`json`, :mod:`marshal`, :mod:`plistlib` (only for serialization), :mod:`pickle`, :mod:`pprint` and :mod:`xml.etree.ElementTree`.
:func:`eval` and :func:`exec` accept :class:`!frozendict` for *globa... | trusted_official_docs | CPython Docs | The following standard library modules have been updated to accept :class:`!frozendict`: :mod:`copy`, :mod:`decimal`, :mod:`json`, :mod:`marshal`, :mod:`plistlib` (only for serialization), :mod:`pickle`, :mod:`pprint` and :mod:`xml.etree.ElementTree`.
:func:`eval` and :func:`exec` accept :class:`!frozendict` for *globa... | The following standard library modules have been updated to accept :class:`!frozendict`: :mod:`copy`, :mod:`decimal`, :mod:`json`, :mod:`marshal`, :mod:`plistlib` (only for serialization), :mod:`pickle`, :mod:`pprint` and :mod:`xml.etree.ElementTree`.
:func:`eval` and :func:`exec` accept :class:`!frozendict` for *globa... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
add8e0c2-92cc-40ca-811c-0f71ed163855 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,582 | supabase-export-v2 | eb8ba7edf561c2fe | Linux >= 5.3 uses :func:`os.pidfd_open` + :func:`select.poll`. - macOS and other BSD variants use :func:`select.kqueue` + ``KQ_FILTER_PROC`` + ``KQ_NOTE_EXIT``. - Windows keeps using ``WaitForSingleObject`` (unchanged).
If none of these mechanisms are available, the function falls back to the
traditional busy loop (no... | trusted_official_docs | CPython Docs | Linux >= 5.3 uses :func:`os.pidfd_open` + :func:`select.poll`. - macOS and other BSD variants use :func:`select.kqueue` + ``KQ_FILTER_PROC`` + ``KQ_NOTE_EXIT``. - Windows keeps using ``WaitForSingleObject`` (unchanged).
If none of these mechanisms are available, the function falls back to the
traditional busy loop (no... | Linux >= 5.3 uses :func:`os.pidfd_open` + :func:`select.poll`. - macOS and other BSD variants use :func:`select.kqueue` + ``KQ_FILTER_PROC`` + ``KQ_NOTE_EXIT``. - Windows keeps using ``WaitForSingleObject`` (unchanged).
If none of these mechanisms are available, the function falls back to the
traditional busy loop (no... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
af01ca2c-08ea-4e2c-ac52-ba42fb4999e4 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,318 | supabase-export-v2 | 7a9693f8c6541c60 | .. PEP-sized items next.
* :pep:`810`: :ref:`Explicit lazy imports for faster startup times
<whatsnew315-lazy-imports>`
* :pep:`814`: :ref:`Add frozendict built-in type
<whatsnew315-frozendict>`
* :pep:`661`: :ref:`Add sentinel built-in type
<whatsnew315-sentinel>`
* :pep:`799`: :ref:`A dedicated profiling package f... | trusted_official_docs | CPython Docs | .. PEP-sized items next.
* :pep:`810`: :ref:`Explicit lazy imports for faster startup times
<whatsnew315-lazy-imports>`
* :pep:`814`: :ref:`Add frozendict built-in type
<whatsnew315-frozendict>`
* :pep:`661`: :ref:`Add sentinel built-in type
<whatsnew315-sentinel>`
* :pep:`799`: :ref:`A dedicated profiling package f... | .. PEP-sized items next.
* :pep:`810`: :ref:`Explicit lazy imports for faster startup times
<whatsnew315-lazy-imports>`
* :pep:`814`: :ref:`Add frozendict built-in type
<whatsnew315-frozendict>`
* :pep:`661`: :ref:`Add sentinel built-in type
<whatsnew315-sentinel>`
* :pep:`799`: :ref:`A dedicated profiling package f... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
af83325a-ac7d-458f-8406-ce3e6a5b380f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,349 | supabase-export-v2 | 6c586d1c9186db25 | 3 ~^^^^^ TypeError: 'frozendict' object does not support item assignment >>> b = frozendict(y=2, x=1) >>> hash(a) == hash(b) True >>> a == b True
The following standard library modules have been updated to accept
:class:`!frozendict`: :mod:`copy`, :mod:`decimal`, :mod:`json`, :mod:`marshal`,
:mod:`plistlib` (only for s... | trusted_official_docs | CPython Docs | 3 ~^^^^^ TypeError: 'frozendict' object does not support item assignment >>> b = frozendict(y=2, x=1) >>> hash(a) == hash(b) True >>> a == b True
The following standard library modules have been updated to accept
:class:`!frozendict`: :mod:`copy`, :mod:`decimal`, :mod:`json`, :mod:`marshal`,
:mod:`plistlib` (only for s... | 3 ~^^^^^ TypeError: 'frozendict' object does not support item assignment >>> b = frozendict(y=2, x=1) >>> hash(a) == hash(b) True >>> a == b True
The following standard library modules have been updated to accept
:class:`!frozendict`: :mod:`copy`, :mod:`decimal`, :mod:`json`, :mod:`marshal`,
:mod:`plistlib` (only for s... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
afb2d42a-b601-4576-882b-515a3a9b9111 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,700 | supabase-export-v2 | 6781fab4201151f7 | http.server -----------
* Removed the :class:`!CGIHTTPRequestHandler` class
and the ``--cgi`` flag from the :program:`python -m http.server`
command-line interface. They were deprecated in Python 3.13. (Contributed by Bénédikt Tran in :gh:`133810`.) | trusted_official_docs | CPython Docs | http.server -----------
* Removed the :class:`!CGIHTTPRequestHandler` class
and the ``--cgi`` flag from the :program:`python -m http.server`
command-line interface. They were deprecated in Python 3.13. (Contributed by Bénédikt Tran in :gh:`133810`.) | http.server -----------
* Removed the :class:`!CGIHTTPRequestHandler` class
and the ``--cgi`` flag from the :program:`python -m http.server`
command-line interface. They were deprecated in Python 3.13. (Contributed by Bénédikt Tran in :gh:`133810`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
afd4a0f4-ca6f-4257-9d45-046482012588 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,841 | supabase-export-v2 | 11c5ed3539e1af4a | it opened a file. Use its :meth:`!close` method or the :func:`contextlib.closing` context manager to close it. (Contributed by Osama Abdelkader and Serhiy Storchaka in :gh:`140601`.)
* If a short option and a single-dash long option are passed to
:meth:`argparse.ArgumentParser.add_argument`, *dest* is now inferred fro... | trusted_official_docs | CPython Docs | it opened a file. Use its :meth:`!close` method or the :func:`contextlib.closing` context manager to close it. (Contributed by Osama Abdelkader and Serhiy Storchaka in :gh:`140601`.)
* If a short option and a single-dash long option are passed to
:meth:`argparse.ArgumentParser.add_argument`, *dest* is now inferred fro... | it opened a file. Use its :meth:`!close` method or the :func:`contextlib.closing` context manager to close it. (Contributed by Osama Abdelkader and Serhiy Storchaka in :gh:`140601`.)
* If a short option and a single-dash long option are passed to
:meth:`argparse.ArgumentParser.add_argument`, *dest* is now inferred fro... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b08b9030-5e4e-4b33-a967-048a4785dafa | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,467 | supabase-export-v2 | 411d6bb4dc10b374 | * The :class:`~argparse.BooleanOptionalAction` action supports now single-dash long options and alternate prefix characters. (Contributed by Serhiy Storchaka in :gh:`138525`.)
* Changed the *suggest_on_error* parameter of :class:`argparse.ArgumentParser` to
default to ``True``. This enables suggestions for mistyped ar... | trusted_official_docs | CPython Docs | * The :class:`~argparse.BooleanOptionalAction` action supports now single-dash long options and alternate prefix characters. (Contributed by Serhiy Storchaka in :gh:`138525`.)
* Changed the *suggest_on_error* parameter of :class:`argparse.ArgumentParser` to
default to ``True``. This enables suggestions for mistyped ar... | * The :class:`~argparse.BooleanOptionalAction` action supports now single-dash long options and alternate prefix characters. (Contributed by Serhiy Storchaka in :gh:`138525`.)
* Changed the *suggest_on_error* parameter of :class:`argparse.ArgumentParser` to
default to ``True``. This enables suggestions for mistyped ar... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b0aecd4b-9c24-459c-bd5d-841bf85b7958 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,418 | supabase-export-v2 | 27875db6cb0ff98f | = 1 >>> del a.abcdf # doctest: +ELLIPSIS Traceback (most recent call last): ... AttributeError: 'A' object has no attribute 'abcdf'. Did you mean: 'abcde'?
(Contributed by Nikita Sobolev and Pranjal Prajapati in :gh:`136588`.) | trusted_official_docs | CPython Docs | = 1 >>> del a.abcdf # doctest: +ELLIPSIS Traceback (most recent call last): ... AttributeError: 'A' object has no attribute 'abcdf'. Did you mean: 'abcde'?
(Contributed by Nikita Sobolev and Pranjal Prajapati in :gh:`136588`.) | = 1 >>> del a.abcdf # doctest: +ELLIPSIS Traceback (most recent call last): ... AttributeError: 'A' object has no attribute 'abcdf'. Did you mean: 'abcde'?
(Contributed by Nikita Sobolev and Pranjal Prajapati in :gh:`136588`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b255a6bc-d1d0-4ef5-b899-770f62d8be9d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,389 | supabase-export-v2 | 18b0f0e526392d40 | number of iterables or dictionaries into a single flat structure. This new syntax is a direct alternative to nested comprehensions, :func:`itertools.chain`, and :meth:`itertools.chain.from_iterable`. For example::
>>> lists = [[1, 2], [3, 4], [5]]
>>> [*L for L in lists] # equivalent to [x for L in lists for x in L]
... | trusted_official_docs | CPython Docs | number of iterables or dictionaries into a single flat structure. This new syntax is a direct alternative to nested comprehensions, :func:`itertools.chain`, and :meth:`itertools.chain.from_iterable`. For example::
>>> lists = [[1, 2], [3, 4], [5]]
>>> [*L for L in lists] # equivalent to [x for L in lists for x in L]
... | number of iterables or dictionaries into a single flat structure. This new syntax is a direct alternative to nested comprehensions, :func:`itertools.chain`, and :meth:`itertools.chain.from_iterable`. For example::
>>> lists = [[1, 2], [3, 4], [5]]
>>> [*L for L in lists] # equivalent to [x for L in lists for x in L]
... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b4dc0f08-0caf-44b2-bbca-52350f7fe5f7 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,601 | supabase-export-v2 | 76055c19327e8fb9 | commands with new names (introduced in Tk 8.6) instead of :meth:`!*_slaves` methods which use Tk commands with outdated names. (Contributed by Serhiy Storchaka in :gh:`143754`.)
* Added :class:`!Event` attributes :attr:`!user_data` for Tk virtual events
and :attr:`!detail` for ``Enter``, ``Leave``, ``FocusIn``, ``Focu... | trusted_official_docs | CPython Docs | commands with new names (introduced in Tk 8.6) instead of :meth:`!*_slaves` methods which use Tk commands with outdated names. (Contributed by Serhiy Storchaka in :gh:`143754`.)
* Added :class:`!Event` attributes :attr:`!user_data` for Tk virtual events
and :attr:`!detail` for ``Enter``, ``Leave``, ``FocusIn``, ``Focu... | commands with new names (introduced in Tk 8.6) instead of :meth:`!*_slaves` methods which use Tk commands with outdated names. (Contributed by Serhiy Storchaka in :gh:`143754`.)
* Added :class:`!Event` attributes :attr:`!user_data` for Tk virtual events
and :attr:`!detail` for ``Enter``, ``Leave``, ``FocusIn``, ``Focu... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b5f5c272-2342-4ba1-adb1-cb2fb28d6849 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,322 | supabase-export-v2 | 032f362a127ae569 | :pep:`810`: Explicit lazy imports ---------------------------------
Large Python applications often suffer from slow startup times. A
significant contributor to this problem is the import system: when a module
is imported, Python must locate the file, read it from disk, compile it to
bytecode, and execute all top-level... | trusted_official_docs | CPython Docs | :pep:`810`: Explicit lazy imports ---------------------------------
Large Python applications often suffer from slow startup times. A
significant contributor to this problem is the import system: when a module
is imported, Python must locate the file, read it from disk, compile it to
bytecode, and execute all top-level... | :pep:`810`: Explicit lazy imports ---------------------------------
Large Python applications often suffer from slow startup times. A
significant contributor to this problem is the import system: when a module
is imported, Python must locate the file, read it from disk, compile it to
bytecode, and execute all top-level... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b7512040-2e3b-4395-b3f2-c4eff66b64a4 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,501 | supabase-export-v2 | 6a3a037e1e5f4990 | concurrent.futures ------------------
* Improved error reporting when a child process in a
:class:`concurrent.futures.ProcessPoolExecutor` terminates abruptly. The resulting traceback will now tell you the PID and exit code of the
terminated process. (Contributed by Jonathan Berg in :gh:`139486`.) | trusted_official_docs | CPython Docs | concurrent.futures ------------------
* Improved error reporting when a child process in a
:class:`concurrent.futures.ProcessPoolExecutor` terminates abruptly. The resulting traceback will now tell you the PID and exit code of the
terminated process. (Contributed by Jonathan Berg in :gh:`139486`.) | concurrent.futures ------------------
* Improved error reporting when a child process in a
:class:`concurrent.futures.ProcessPoolExecutor` terminates abruptly. The resulting traceback will now tell you the PID and exit code of the
terminated process. (Contributed by Jonathan Berg in :gh:`139486`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b79455ce-fa98-4525-8c39-58a43b3e9209 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,575 | supabase-export-v2 | f143b9c14dc6f744 | (Contributed by Ron Frederick in :gh:`136306`.)
* Added a new method :meth:`ssl.SSLContext.set_ciphersuites` for setting TLS 1.3
ciphers. For TLS 1.2 or earlier, :meth:`ssl.SSLContext.set_ciphers` should
continue to be used. Both calls can be made on the same context and the
selected cipher suite will depend on the ... | trusted_official_docs | CPython Docs | (Contributed by Ron Frederick in :gh:`136306`.)
* Added a new method :meth:`ssl.SSLContext.set_ciphersuites` for setting TLS 1.3
ciphers. For TLS 1.2 or earlier, :meth:`ssl.SSLContext.set_ciphers` should
continue to be used. Both calls can be made on the same context and the
selected cipher suite will depend on the ... | (Contributed by Ron Frederick in :gh:`136306`.)
* Added a new method :meth:`ssl.SSLContext.set_ciphersuites` for setting TLS 1.3
ciphers. For TLS 1.2 or earlier, :meth:`ssl.SSLContext.set_ciphers` should
continue to be used. Both calls can be made on the same context and the
selected cipher suite will depend on the ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b8c10541-f43e-46c0-bf59-2f69dda4246a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,399 | supabase-export-v2 | 879f898b33fcb8e6 | :pep:`803`: ``abi3t`` -- Stable ABI for Free-Threaded Builds ------------------------------------------------------------
C extensions that target the :ref:`Stable ABI <stable-abi>` can now be
compiled for the new *Stable ABI for Free-Threaded Builds* (also known
as ``abi3t``), which makes them compatible with
:term:`f... | trusted_official_docs | CPython Docs | :pep:`803`: ``abi3t`` -- Stable ABI for Free-Threaded Builds ------------------------------------------------------------
C extensions that target the :ref:`Stable ABI <stable-abi>` can now be
compiled for the new *Stable ABI for Free-Threaded Builds* (also known
as ``abi3t``), which makes them compatible with
:term:`f... | :pep:`803`: ``abi3t`` -- Stable ABI for Free-Threaded Builds ------------------------------------------------------------
C extensions that target the :ref:`Stable ABI <stable-abi>` can now be
compiled for the new *Stable ABI for Free-Threaded Builds* (also known
as ``abi3t``), which makes them compatible with
:term:`f... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bb401fde-6242-41b5-9227-704deef70569 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,719 | supabase-export-v2 | c78c37c7489dc36c | :class:`~typing.TypedDict` type with zero fields is no longer supported. Use ``class TD(TypedDict): pass`` or ``TD = TypedDict("TD", {})`` instead. (Contributed by Bénédikt Tran in :gh:`133823`.)
* Deprecated :func:`!typing.no_type_check_decorator` has been removed. (Contributed by Nikita Sobolev in :gh:`133601`.) | trusted_official_docs | CPython Docs | :class:`~typing.TypedDict` type with zero fields is no longer supported. Use ``class TD(TypedDict): pass`` or ``TD = TypedDict("TD", {})`` instead. (Contributed by Bénédikt Tran in :gh:`133823`.)
* Deprecated :func:`!typing.no_type_check_decorator` has been removed. (Contributed by Nikita Sobolev in :gh:`133601`.) | :class:`~typing.TypedDict` type with zero fields is no longer supported. Use ``class TD(TypedDict): pass`` or ``TD = TypedDict("TD", {})`` instead. (Contributed by Bénédikt Tran in :gh:`133823`.)
* Deprecated :func:`!typing.no_type_check_decorator` has been removed. (Contributed by Nikita Sobolev in :gh:`133601`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bc554307-36da-438d-a651-f742f6a66ab7 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,424 | supabase-export-v2 | dfca0e37919211ce | identify code that may be affected by this change. The special ``encoding='locale'`` argument uses the current locale encoding, and has been supported since Python 3.10.
To retain the previous behaviour, Python's UTF-8 mode may be disabled with
the :envvar:`PYTHONUTF8=0 <PYTHONUTF8>` environment variable or the
:opti... | trusted_official_docs | CPython Docs | identify code that may be affected by this change. The special ``encoding='locale'`` argument uses the current locale encoding, and has been supported since Python 3.10.
To retain the previous behaviour, Python's UTF-8 mode may be disabled with
the :envvar:`PYTHONUTF8=0 <PYTHONUTF8>` environment variable or the
:opti... | identify code that may be affected by this change. The special ``encoding='locale'`` argument uses the current locale encoding, and has been supported since Python 3.10.
To retain the previous behaviour, Python's UTF-8 mode may be disabled with
the :envvar:`PYTHONUTF8=0 <PYTHONUTF8>` environment variable or the
:opti... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bcb98401-353b-4358-a78c-30566760e322 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,306 | supabase-export-v2 | 22a01923a3257b68 | a change. For example: "XXX Describe the transmogrify() function added to the socket module." The maintainer will research the change and write the necessary text.
* You can comment out your additions if you like, but it's not
necessary (especially when a final release is some months away). | trusted_official_docs | CPython Docs | a change. For example: "XXX Describe the transmogrify() function added to the socket module." The maintainer will research the change and write the necessary text.
* You can comment out your additions if you like, but it's not
necessary (especially when a final release is some months away). | a change. For example: "XXX Describe the transmogrify() function added to the socket module." The maintainer will research the change and write the necessary text.
* You can comment out your additions if you like, but it's not
necessary (especially when a final release is some months away). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bddf249d-d810-4719-8c71-cf84eb38bd4d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,736 | supabase-export-v2 | a73a452a6befdb6e | * ``from collections.abc import ByteString`` * ``import collections.abc; collections.abc.ByteString``.
``DeprecationWarning``\ s were already emitted if
:class:`collections.abc.ByteString` was subclassed or used as the second
argument to :func:`isinstance` or :func:`issubclass`, but warnings were not
previously emit... | trusted_official_docs | CPython Docs | * ``from collections.abc import ByteString`` * ``import collections.abc; collections.abc.ByteString``.
``DeprecationWarning``\ s were already emitted if
:class:`collections.abc.ByteString` was subclassed or used as the second
argument to :func:`isinstance` or :func:`issubclass`, but warnings were not
previously emit... | * ``from collections.abc import ByteString`` * ``import collections.abc; collections.abc.ByteString``.
``DeprecationWarning``\ s were already emitted if
:class:`collections.abc.ByteString` was subclassed or used as the second
argument to :func:`isinstance` or :func:`issubclass`, but warnings were not
previously emit... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c1eb6735-4e1b-4edd-8357-28589da5479a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,568 | supabase-export-v2 | 9b907218cb788ba7 | * SQL keyword completion on <tab>. (Contributed by Long Tan in :gh:`133393`.)
* Prompts, error messages, and help text are now colored. This is enabled by default, see :ref:`using-on-controlling-color` for
details. (Contributed by Stan Ulbrych and Łukasz Langa in :gh:`133461`.) | trusted_official_docs | CPython Docs | * SQL keyword completion on <tab>. (Contributed by Long Tan in :gh:`133393`.)
* Prompts, error messages, and help text are now colored. This is enabled by default, see :ref:`using-on-controlling-color` for
details. (Contributed by Stan Ulbrych and Łukasz Langa in :gh:`133461`.) | * SQL keyword completion on <tab>. (Contributed by Long Tan in :gh:`133393`.)
* Prompts, error messages, and help text are now colored. This is enabled by default, see :ref:`using-on-controlling-color` for
details. (Contributed by Stan Ulbrych and Łukasz Langa in :gh:`133461`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c267e9ec-b6f1-40b4-a3b2-ef806eeaee50 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,471 | supabase-export-v2 | 086a32d123ce4e4b | * Support the :c:expr:`float complex` and :c:expr:`double complex` C types: formatting characters ``'F'`` and ``'D'`` respectively. (Contributed by Sergey B Kirpichev in :gh:`146151`.)
* Support half-floats (16-bit IEEE 754 binary interchange format): formatting
character ``'e'``. (Contributed by Sergey B Kirpichev in... | trusted_official_docs | CPython Docs | * Support the :c:expr:`float complex` and :c:expr:`double complex` C types: formatting characters ``'F'`` and ``'D'`` respectively. (Contributed by Sergey B Kirpichev in :gh:`146151`.)
* Support half-floats (16-bit IEEE 754 binary interchange format): formatting
character ``'e'``. (Contributed by Sergey B Kirpichev in... | * Support the :c:expr:`float complex` and :c:expr:`double complex` C types: formatting characters ``'F'`` and ``'D'`` respectively. (Contributed by Sergey B Kirpichev in :gh:`146151`.)
* Support half-floats (16-bit IEEE 754 binary interchange format): formatting
character ``'e'``. (Contributed by Sergey B Kirpichev in... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c47235c0-86ad-440e-8c8b-8bd7cd8becec | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,670 | supabase-export-v2 | 2b830da7fdb9df8e | Upgraded JIT compiler ---------------------
Results from the `pyperformance <https://github.com/python/pyperformance>`__
benchmark suite report
`8-9% <https://www.doesjitgobrrr.com/run/2026-04-29>`__
geometric mean performance improvement for the JIT over the standard CPython
interpreter built with all optimizations en... | trusted_official_docs | CPython Docs | Upgraded JIT compiler ---------------------
Results from the `pyperformance <https://github.com/python/pyperformance>`__
benchmark suite report
`8-9% <https://www.doesjitgobrrr.com/run/2026-04-29>`__
geometric mean performance improvement for the JIT over the standard CPython
interpreter built with all optimizations en... | Upgraded JIT compiler ---------------------
Results from the `pyperformance <https://github.com/python/pyperformance>`__
benchmark suite report
`8-9% <https://www.doesjitgobrrr.com/run/2026-04-29>`__
geometric mean performance improvement for the JIT over the standard CPython
interpreter built with all optimizations en... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c4c98a1e-d2ac-4413-8dc6-1b5c2ef648fa | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,494 | supabase-export-v2 | 8ad3010809f7ccad | * Added the *ignorechars* parameter in :func:`~binascii.a2b_hex`, :func:`~binascii.unhexlify`, and :func:`~binascii.a2b_base64`. (Contributed by Serhiy Storchaka in :gh:`144001` and :gh:`146431`.)
* Added the *canonical* parameter in :func:`~binascii.a2b_base64`,
to reject encodings with non-zero padding bits. (Contri... | trusted_official_docs | CPython Docs | * Added the *ignorechars* parameter in :func:`~binascii.a2b_hex`, :func:`~binascii.unhexlify`, and :func:`~binascii.a2b_base64`. (Contributed by Serhiy Storchaka in :gh:`144001` and :gh:`146431`.)
* Added the *canonical* parameter in :func:`~binascii.a2b_base64`,
to reject encodings with non-zero padding bits. (Contri... | * Added the *ignorechars* parameter in :func:`~binascii.a2b_hex`, :func:`~binascii.unhexlify`, and :func:`~binascii.a2b_base64`. (Contributed by Serhiy Storchaka in :gh:`144001` and :gh:`146431`.)
* Added the *canonical* parameter in :func:`~binascii.a2b_base64`,
to reject encodings with non-zero padding bits. (Contri... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c4d3cfdb-1bf6-421a-8db5-5b33048bf32a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,732 | supabase-export-v2 | 6fec550777ed6fad | helpers for the Python 2 -> 3 transition. Starting with Python 3.17, no :exc:`BytesWarning` will be raised for these cases; use a type checker instead.
(Contributed by Nikita Sobolev in :gh:`136355`.) | trusted_official_docs | CPython Docs | helpers for the Python 2 -> 3 transition. Starting with Python 3.17, no :exc:`BytesWarning` will be raised for these cases; use a type checker instead.
(Contributed by Nikita Sobolev in :gh:`136355`.) | helpers for the Python 2 -> 3 transition. Starting with Python 3.17, no :exc:`BytesWarning` will be raised for these cases; use a type checker instead.
(Contributed by Nikita Sobolev in :gh:`136355`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c85a9164-2337-4aab-888d-4be1816b8d3e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,431 | supabase-export-v2 | d0323a8aebfde3a3 | per interpreter, shared across all types that need them. This speeds up class creation, and helps avoid reference cycles. (Contributed by Petr Viktorin in :gh:`135228`.)
* The :option:`-W` option and the :envvar:`PYTHONWARNINGS` environment variable
can now specify regular expressions instead of literal strings to mat... | trusted_official_docs | CPython Docs | per interpreter, shared across all types that need them. This speeds up class creation, and helps avoid reference cycles. (Contributed by Petr Viktorin in :gh:`135228`.)
* The :option:`-W` option and the :envvar:`PYTHONWARNINGS` environment variable
can now specify regular expressions instead of literal strings to mat... | per interpreter, shared across all types that need them. This speeds up class creation, and helps avoid reference cycles. (Contributed by Petr Viktorin in :gh:`135228`.)
* The :option:`-W` option and the :envvar:`PYTHONWARNINGS` environment variable
can now specify regular expressions instead of literal strings to mat... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c94fc12a-8d7c-43c5-8d6c-835f1847d4f7 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,524 | supabase-export-v2 | 4f63c1abd634b2a5 | http.server -----------
* The logging of :mod:`~http.server.BaseHTTPRequestHandler`,
as used by the :ref:`command-line interface <http-server-cli>`,
is colored by default. This can be controlled with :ref:`environment variables
<using-on-controlling-color>`. (Contributed by Hugo van Kemenade in :gh:`146292`.) | trusted_official_docs | CPython Docs | http.server -----------
* The logging of :mod:`~http.server.BaseHTTPRequestHandler`,
as used by the :ref:`command-line interface <http-server-cli>`,
is colored by default. This can be controlled with :ref:`environment variables
<using-on-controlling-color>`. (Contributed by Hugo van Kemenade in :gh:`146292`.) | http.server -----------
* The logging of :mod:`~http.server.BaseHTTPRequestHandler`,
as used by the :ref:`command-line interface <http-server-cli>`,
is colored by default. This can be controlled with :ref:`environment variables
<using-on-controlling-color>`. (Contributed by Hugo van Kemenade in :gh:`146292`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c962122a-b489-4a14-a6ed-478dae4c01f6 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,383 | supabase-export-v2 | 6cb559ed563e3858 | code with task-based stack reconstruction (``--async-aware``). See which coroutines are consuming time, with options to show only running tasks or all tasks including those waiting.
* **Opcode-level profiling**: Gather bytecode opcode information for instruction-level
profiling (``--opcodes``). Shows which bytecode in... | trusted_official_docs | CPython Docs | code with task-based stack reconstruction (``--async-aware``). See which coroutines are consuming time, with options to show only running tasks or all tasks including those waiting.
* **Opcode-level profiling**: Gather bytecode opcode information for instruction-level
profiling (``--opcodes``). Shows which bytecode in... | code with task-based stack reconstruction (``--async-aware``). See which coroutines are consuming time, with options to show only running tasks or all tasks including those waiting.
* **Opcode-level profiling**: Gather bytecode opcode information for instruction-level
profiling (``--opcodes``). Shows which bytecode in... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cc7efcdc-c37d-4939-be40-ca286d21e842 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,434 | supabase-export-v2 | 02fd1ac11bd4e7b1 | .. _whatsnew315-bytearray-take-bytes:
* Added :meth:`bytearray.take_bytes(n=None, /) <bytearray.take_bytes>` to take
bytes out of a :class:`bytearray` without copying. This enables optimizing code
which must return :class:`bytes` after working with a mutable buffer of bytes
such as data buffering, network protocol p... | trusted_official_docs | CPython Docs | .. _whatsnew315-bytearray-take-bytes:
* Added :meth:`bytearray.take_bytes(n=None, /) <bytearray.take_bytes>` to take
bytes out of a :class:`bytearray` without copying. This enables optimizing code
which must return :class:`bytes` after working with a mutable buffer of bytes
such as data buffering, network protocol p... | .. _whatsnew315-bytearray-take-bytes:
* Added :meth:`bytearray.take_bytes(n=None, /) <bytearray.take_bytes>` to take
bytes out of a :class:`bytearray` without copying. This enables optimizing code
which must return :class:`bytes` after working with a mutable buffer of bytes
such as data buffering, network protocol p... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cd2aae94-ddb0-4398-97d4-1eb3510ea876 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,542 | supabase-export-v2 | 4ae60afff2c79016 | a *trackfd* parameter on Windows; if it is ``False``, the file handle corresponding to *fileno* will not be duplicated. (Contributed by Serhiy Storchaka in :gh:`78502`.)
* Added the :meth:`mmap.mmap.set_name` method
to annotate an anonymous memory mapping
if Linux kernel supports :manpage:`PR_SET_VMA_ANON_NAME <PR_SE... | trusted_official_docs | CPython Docs | a *trackfd* parameter on Windows; if it is ``False``, the file handle corresponding to *fileno* will not be duplicated. (Contributed by Serhiy Storchaka in :gh:`78502`.)
* Added the :meth:`mmap.mmap.set_name` method
to annotate an anonymous memory mapping
if Linux kernel supports :manpage:`PR_SET_VMA_ANON_NAME <PR_SE... | a *trackfd* parameter on Windows; if it is ``False``, the file handle corresponding to *fileno* will not be duplicated. (Contributed by Serhiy Storchaka in :gh:`78502`.)
* Added the :meth:`mmap.mmap.set_name` method
to annotate an anonymous memory mapping
if Linux kernel supports :manpage:`PR_SET_VMA_ANON_NAME <PR_SE... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cd9fac53-e259-4486-b394-b81551ad3534 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,414 | supabase-export-v2 | ce64091ae8178a40 | .. code-block:: pytb
Traceback (most recent call last):
File "/home/pablogsal/github/python/main/lel.py", line 42, in <module>
print(container.area)
^^^^^^^^^^^^^^
AttributeError: 'Container' object has no attribute 'area'. Did you mean '.inner.area' instead of '.area'? | trusted_official_docs | CPython Docs | .. code-block:: pytb
Traceback (most recent call last):
File "/home/pablogsal/github/python/main/lel.py", line 42, in <module>
print(container.area)
^^^^^^^^^^^^^^
AttributeError: 'Container' object has no attribute 'area'. Did you mean '.inner.area' instead of '.area'? | .. code-block:: pytb
Traceback (most recent call last):
File "/home/pablogsal/github/python/main/lel.py", line 42, in <module>
print(container.area)
^^^^^^^^^^^^^^
AttributeError: 'Container' object has no attribute 'area'. Did you mean '.inner.area' instead of '.area'? | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cdaabab1-765d-4fc1-89a5-f5961b8a6db1 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.15.rst | unknown | 11249cc2-3748-4975-88af-2c38ed5f13b4 | 60,406 | supabase-export-v2 | 2d7ad56c387ac2c7 | in :exc:`AttributeError` exceptions when accessing an attribute on an object that does not exist, but a similar attribute is available through one of its members.
For example, if the object has an attribute that itself exposes the requested
name, the error message will suggest accessing it via that inner attribute: | trusted_official_docs | CPython Docs | in :exc:`AttributeError` exceptions when accessing an attribute on an object that does not exist, but a similar attribute is available through one of its members.
For example, if the object has an attribute that itself exposes the requested
name, the error message will suggest accessing it via that inner attribute: | in :exc:`AttributeError` exceptions when accessing an attribute on an object that does not exist, but a similar attribute is available through one of its members.
For example, if the object has an attribute that itself exposes the requested
name, the error message will suggest accessing it via that inner attribute: | python, official-docs, cpython, P0 | Local_Trusted_Corpus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.