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
e1e3e511-eae2-495e-93d8-98313aa14399
CPython Docs
file://datasets/cpython/Doc/howto/instrumentation.rst
unknown
e5955c1e-3252-479b-a3cd-147ab507d1ef
60,237
supabase-export-v2
1f6c52832b914e56
and the remainder indicates the call/return hierarchy as the script executes. For a :option:`--enable-shared` build of CPython, the markers are contained within the libpython shared library, and the probe's dotted path needs to reflect this. For example, this line from the above example:
trusted_official_docs
CPython Docs
and the remainder indicates the call/return hierarchy as the script executes. For a :option:`--enable-shared` build of CPython, the markers are contained within the libpython shared library, and the probe's dotted path needs to reflect this. For example, this line from the above example:
and the remainder indicates the call/return hierarchy as the script executes. For a :option:`--enable-shared` build of CPython, the markers are contained within the libpython shared library, and the probe's dotted path needs to reflect this. For example, this line from the above example:
python, official-docs, cpython, P0
Local_Trusted_Corpus
e3a13cd9-87e6-43d3-b927-adc46c9396ae
CPython Docs
file://datasets/cpython/Doc/howto/instrumentation.rst
unknown
e5955c1e-3252-479b-a3cd-147ab507d1ef
60,284
supabase-export-v2
36e0be65a7bb4226
.. code-block:: none /* Provide a higher-level wrapping around the function__entry and function__return markers: \*/ probe python.function.entry = process("python").mark("function__entry") { filename = user_string($arg1); funcname = user_string($arg2); lineno = $arg3; frameptr = $arg4 } probe python.function...
trusted_official_docs
CPython Docs
.. code-block:: none /* Provide a higher-level wrapping around the function__entry and function__return markers: \*/ probe python.function.entry = process("python").mark("function__entry") { filename = user_string($arg1); funcname = user_string($arg2); lineno = $arg3; frameptr = $arg4 } probe python.function...
.. code-block:: none /* Provide a higher-level wrapping around the function__entry and function__return markers: \*/ probe python.function.entry = process("python").mark("function__entry") { filename = user_string($arg1); funcname = user_string($arg2); lineno = $arg3; frameptr = $arg4 } probe python.function...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ea40fbb5-0706-42d8-b7f5-1ea1f9cde444
CPython Docs
file://datasets/cpython/Doc/howto/instrumentation.rst
unknown
e5955c1e-3252-479b-a3cd-147ab507d1ef
60,285
supabase-export-v2
4b88414ac56ed5dd
lineno = $arg3; frameptr = $arg4 } probe python.function.return = process("python").mark("function__return") { filename = user_string($arg1); funcname = user_string($arg2); lineno = $arg3; frameptr = $arg4 } If this file is installed in SystemTap's tapset directory (e.g. ``/usr/share/systemtap/tapset``), then these add...
trusted_official_docs
CPython Docs
lineno = $arg3; frameptr = $arg4 } probe python.function.return = process("python").mark("function__return") { filename = user_string($arg1); funcname = user_string($arg2); lineno = $arg3; frameptr = $arg4 } If this file is installed in SystemTap's tapset directory (e.g. ``/usr/share/systemtap/tapset``), then these add...
lineno = $arg3; frameptr = $arg4 } probe python.function.return = process("python").mark("function__return") { filename = user_string($arg1); funcname = user_string($arg2); lineno = $arg3; frameptr = $arg4 } If this file is installed in SystemTap's tapset directory (e.g. ``/usr/share/systemtap/tapset``), then these add...
python, official-docs, cpython, P0
Local_Trusted_Corpus
eb0a3782-d0ff-417f-a034-e3b63c853ffd
CPython Docs
file://datasets/cpython/Doc/howto/instrumentation.rst
unknown
e5955c1e-3252-479b-a3cd-147ab507d1ef
60,187
supabase-export-v2
f488cf1a6b994393
- filter which processes are to be observed - gather data from the processes of interest - generate reports on the data As of Python 3.6, CPython can be built with embedded "markers", also known as "probes", that can be observed by a DTrace or SystemTap script, making it easier to monitor what the CPython processes on ...
trusted_official_docs
CPython Docs
- filter which processes are to be observed - gather data from the processes of interest - generate reports on the data As of Python 3.6, CPython can be built with embedded "markers", also known as "probes", that can be observed by a DTrace or SystemTap script, making it easier to monitor what the CPython processes on ...
- filter which processes are to be observed - gather data from the processes of interest - generate reports on the data As of Python 3.6, CPython can be built with embedded "markers", also known as "probes", that can be observed by a DTrace or SystemTap script, making it easier to monitor what the CPython processes on ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ed1423db-967d-462a-8712-8361d8ba1611
CPython Docs
file://datasets/cpython/Doc/howto/instrumentation.rst
unknown
e5955c1e-3252-479b-a3cd-147ab507d1ef
60,185
supabase-export-v2
2b6912d1f1f9c176
:author: David Malcolm :author: Łukasz Langa DTrace and SystemTap are monitoring tools, each providing a way to inspect what the processes on a computer system are doing. They both use domain-specific languages allowing a user to write scripts which:
trusted_official_docs
CPython Docs
:author: David Malcolm :author: Łukasz Langa DTrace and SystemTap are monitoring tools, each providing a way to inspect what the processes on a computer system are doing. They both use domain-specific languages allowing a user to write scripts which:
:author: David Malcolm :author: Łukasz Langa DTrace and SystemTap are monitoring tools, each providing a way to inspect what the processes on a computer system are doing. They both use domain-specific languages allowing a user to write scripts which:
python, official-docs, cpython, P0
Local_Trusted_Corpus
eed53383-194c-4395-aacd-5020156395d3
CPython Docs
file://datasets/cpython/Doc/howto/instrumentation.rst
unknown
e5955c1e-3252-479b-a3cd-147ab507d1ef
60,294
supabase-export-v2
c3569b9117453e4b
probe python.function.return { printf("%s <= %s in %s:%d\n", thread_indent(-1), funcname, filename, lineno); } The following script uses the tapset above to provide a top-like view of all running CPython code, showing the top 20 most frequently entered bytecode frames, each second, across the whole system:
trusted_official_docs
CPython Docs
probe python.function.return { printf("%s <= %s in %s:%d\n", thread_indent(-1), funcname, filename, lineno); } The following script uses the tapset above to provide a top-like view of all running CPython code, showing the top 20 most frequently entered bytecode frames, each second, across the whole system:
probe python.function.return { printf("%s <= %s in %s:%d\n", thread_indent(-1), funcname, filename, lineno); } The following script uses the tapset above to provide a top-like view of all running CPython code, showing the top 20 most frequently entered bytecode frames, each second, across the whole system:
python, official-docs, cpython, P0
Local_Trusted_Corpus
f312f12c-7aa5-4585-8baf-d786c171a979
CPython Docs
file://datasets/cpython/Doc/howto/instrumentation.rst
unknown
e5955c1e-3252-479b-a3cd-147ab507d1ef
60,221
supabase-export-v2
58f1fe28898b8b97
.. code-block:: none 156641360502280 function-entry:call_stack.py:start:23 156641360518804 function-entry: call_stack.py:function_1:1 156641360532797 function-entry: call_stack.py:function_3:9 156641360546807 function-return: call_stack.py:function_3:10 156641360563367 function-return: call_stack.py:function_1:2 1...
trusted_official_docs
CPython Docs
.. code-block:: none 156641360502280 function-entry:call_stack.py:start:23 156641360518804 function-entry: call_stack.py:function_1:1 156641360532797 function-entry: call_stack.py:function_3:9 156641360546807 function-return: call_stack.py:function_3:10 156641360563367 function-return: call_stack.py:function_1:2 1...
.. code-block:: none 156641360502280 function-entry:call_stack.py:start:23 156641360518804 function-entry: call_stack.py:function_1:1 156641360532797 function-entry: call_stack.py:function_3:9 156641360546807 function-return: call_stack.py:function_3:10 156641360563367 function-return: call_stack.py:function_1:2 1...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f4cebd50-2b7d-4d5b-9312-3a5112ae4730
CPython Docs
file://datasets/cpython/Doc/howto/instrumentation.rst
unknown
e5955c1e-3252-479b-a3cd-147ab507d1ef
60,278
supabase-export-v2
3bf89e974cce7c87
PyDTrace_INSTANCE_NEW_START_ENABLED(void) .. c:function:: int PyDTrace_INSTANCE_NEW_DONE_ENABLED(void) .. c:function:: int PyDTrace_INSTANCE_DELETE_START_ENABLED(void) .. c:function:: int PyDTrace_INSTANCE_DELETE_DONE_ENABLED(void) .. c:function:: int PyDTrace_IMPORT_FIND_LOAD_START_ENABLED(void) .. c:function:: int Py...
trusted_official_docs
CPython Docs
PyDTrace_INSTANCE_NEW_START_ENABLED(void) .. c:function:: int PyDTrace_INSTANCE_NEW_DONE_ENABLED(void) .. c:function:: int PyDTrace_INSTANCE_DELETE_START_ENABLED(void) .. c:function:: int PyDTrace_INSTANCE_DELETE_DONE_ENABLED(void) .. c:function:: int PyDTrace_IMPORT_FIND_LOAD_START_ENABLED(void) .. c:function:: int Py...
PyDTrace_INSTANCE_NEW_START_ENABLED(void) .. c:function:: int PyDTrace_INSTANCE_NEW_DONE_ENABLED(void) .. c:function:: int PyDTrace_INSTANCE_DELETE_START_ENABLED(void) .. c:function:: int PyDTrace_INSTANCE_DELETE_DONE_ENABLED(void) .. c:function:: int PyDTrace_IMPORT_FIND_LOAD_START_ENABLED(void) .. c:function:: int Py...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0019b5a8-b487-4b3b-b44a-a70867ff99b3
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,547
supabase-export-v2
82c1b42fd104970c
* Add support of the all-but-last mode in :func:`~os.path.realpath`. (Contributed by Serhiy Storchaka in :gh:`71189`.) * The *strict* parameter to :func:`os.path.realpath` accepts a new value, :data:`os.path.ALLOW_MISSING`. If used, errors other than :exc:`FileNotFoundError` will be re-raised; the resulting path can ...
trusted_official_docs
CPython Docs
* Add support of the all-but-last mode in :func:`~os.path.realpath`. (Contributed by Serhiy Storchaka in :gh:`71189`.) * The *strict* parameter to :func:`os.path.realpath` accepts a new value, :data:`os.path.ALLOW_MISSING`. If used, errors other than :exc:`FileNotFoundError` will be re-raised; the resulting path can ...
* Add support of the all-but-last mode in :func:`~os.path.realpath`. (Contributed by Serhiy Storchaka in :gh:`71189`.) * The *strict* parameter to :func:`os.path.realpath` accepts a new value, :data:`os.path.ALLOW_MISSING`. If used, errors other than :exc:`FileNotFoundError` will be re-raised; the resulting path can ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
024c3e15-886d-4841-91bd-43e44262b275
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,417
supabase-export-v2
fa15b95cb68cd66e
.. doctest:: >>> class A: ... pass >>> a = A() >>> a.abcde = 1 >>> del a.abcdf # doctest: +ELLIPSIS Traceback (most recent call last): ... AttributeError: 'A' object has no attribute 'abcdf'. Did you mean: 'abcde'?
trusted_official_docs
CPython Docs
.. doctest:: >>> class A: ... pass >>> a = A() >>> a.abcde = 1 >>> del a.abcdf # doctest: +ELLIPSIS Traceback (most recent call last): ... AttributeError: 'A' object has no attribute 'abcdf'. Did you mean: 'abcde'?
.. doctest:: >>> class A: ... pass >>> a = A() >>> a.abcde = 1 >>> del a.abcdf # doctest: +ELLIPSIS Traceback (most recent call last): ... AttributeError: 'A' object has no attribute 'abcdf'. Did you mean: 'abcde'?
python, official-docs, cpython, P0
Local_Trusted_Corpus
029d1960-875a-4fd4-999b-0cd3b523f337
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,829
supabase-export-v2
b8f0b2b98f62bf54
.. _whatsnew315-frame-pointers: * CPython is now built with frame pointers enabled by default (:pep:`831`). Pass :option:`--without-frame-pointers` to opt out. Authors of C extensions and native libraries built with custom build systems should add ``-fno-omit-frame-pointer`` and ``-mno-omit-leaf-frame-pointer`` to t...
trusted_official_docs
CPython Docs
.. _whatsnew315-frame-pointers: * CPython is now built with frame pointers enabled by default (:pep:`831`). Pass :option:`--without-frame-pointers` to opt out. Authors of C extensions and native libraries built with custom build systems should add ``-fno-omit-frame-pointer`` and ``-mno-omit-leaf-frame-pointer`` to t...
.. _whatsnew315-frame-pointers: * CPython is now built with frame pointers enabled by default (:pep:`831`). Pass :option:`--without-frame-pointers` to opt out. Authors of C extensions and native libraries built with custom build systems should add ``-fno-omit-frame-pointer`` and ``-mno-omit-leaf-frame-pointer`` to t...
python, official-docs, cpython, P0
Local_Trusted_Corpus
03e6af88-18ba-4844-b012-84b00c7c7aa4
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,811
supabase-export-v2
45137c8ea51edd50
or less than the minimal value for the corresponding signed integer type of the same size is now deprecated. (Contributed by Serhiy Storchaka in :gh:`132629`.) * :c:func:`PyBytes_FromStringAndSize(NULL, len) <PyBytes_FromStringAndSize>` and :c:func:`_PyBytes_Resize` are :term:`soft deprecated`, use the :c:type:`PyByt...
trusted_official_docs
CPython Docs
or less than the minimal value for the corresponding signed integer type of the same size is now deprecated. (Contributed by Serhiy Storchaka in :gh:`132629`.) * :c:func:`PyBytes_FromStringAndSize(NULL, len) <PyBytes_FromStringAndSize>` and :c:func:`_PyBytes_Resize` are :term:`soft deprecated`, use the :c:type:`PyByt...
or less than the minimal value for the corresponding signed integer type of the same size is now deprecated. (Contributed by Serhiy Storchaka in :gh:`132629`.) * :c:func:`PyBytes_FromStringAndSize(NULL, len) <PyBytes_FromStringAndSize>` and :c:func:`_PyBytes_Resize` are :term:`soft deprecated`, use the :c:type:`PyByt...
python, official-docs, cpython, P0
Local_Trusted_Corpus
054c0dcd-6049-4764-9d67-b54b0bc2de7e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,678
supabase-export-v2
cf20cdb291280879
code, rather than estimating them as the previous implementation did. (Contributed by Ken Jin in :gh:`139109`. Support for Windows added by Mark Shannon in :gh:`141703`.) .. rubric:: Basic register allocation in the JIT
trusted_official_docs
CPython Docs
code, rather than estimating them as the previous implementation did. (Contributed by Ken Jin in :gh:`139109`. Support for Windows added by Mark Shannon in :gh:`141703`.) .. rubric:: Basic register allocation in the JIT
code, rather than estimating them as the previous implementation did. (Contributed by Ken Jin in :gh:`139109`. Support for Windows added by Mark Shannon in :gh:`141703`.) .. rubric:: Basic register allocation in the JIT
python, official-docs, cpython, P0
Local_Trusted_Corpus
05e16738-9e4d-42f4-a95a-b821552a6ec1
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,595
supabase-export-v2
dab1eaa6d067992c
timeit ------ * The output of the :mod:`timeit` command-line interface is colored by default. This can be controlled with :ref:`environment variables <using-on-controlling-color>`. (Contributed by Hugo van Kemenade in :gh:`146609`.) * The command-line interface now colorizes error tracebacks by default. This can be c...
trusted_official_docs
CPython Docs
timeit ------ * The output of the :mod:`timeit` command-line interface is colored by default. This can be controlled with :ref:`environment variables <using-on-controlling-color>`. (Contributed by Hugo van Kemenade in :gh:`146609`.) * The command-line interface now colorizes error tracebacks by default. This can be c...
timeit ------ * The output of the :mod:`timeit` command-line interface is colored by default. This can be controlled with :ref:`environment variables <using-on-controlling-color>`. (Contributed by Hugo van Kemenade in :gh:`146609`.) * The command-line interface now colorizes error tracebacks by default. This can be c...
python, official-docs, cpython, P0
Local_Trusted_Corpus
05f5d6a8-122b-42ed-9b71-0e413fe6744f
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,686
supabase-export-v2
a904e1b8ff4c491a
.. rubric:: Better machine code generation The JIT compiler's machine code generator now produces better machine code for x86-64 and AArch64 macOS and Linux targets. In general, users should experience lower memory usage for generated machine code and more efficient machine code versus 3.14. (Contributed by Brandt Buch...
trusted_official_docs
CPython Docs
.. rubric:: Better machine code generation The JIT compiler's machine code generator now produces better machine code for x86-64 and AArch64 macOS and Linux targets. In general, users should experience lower memory usage for generated machine code and more efficient machine code versus 3.14. (Contributed by Brandt Buch...
.. rubric:: Better machine code generation The JIT compiler's machine code generator now produces better machine code for x86-64 and AArch64 macOS and Linux targets. In general, users should experience lower memory usage for generated machine code and more efficient machine code versus 3.14. (Contributed by Brandt Buch...
python, official-docs, cpython, P0
Local_Trusted_Corpus
07d5b0a0-7c41-4b57-9589-0da87b6e00cf
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,339
supabase-export-v2
d42daca361e06cfb
a :exc:`SyntaxError`. Neither star imports nor future imports can be lazy (``lazy from module import *`` and ``lazy from __future__ import ...`` both raise :exc:`SyntaxError`). For code that cannot use the ``lazy`` keyword directly (for example, when supporting Python versions older than 3.15 while still using lazy imp...
trusted_official_docs
CPython Docs
a :exc:`SyntaxError`. Neither star imports nor future imports can be lazy (``lazy from module import *`` and ``lazy from __future__ import ...`` both raise :exc:`SyntaxError`). For code that cannot use the ``lazy`` keyword directly (for example, when supporting Python versions older than 3.15 while still using lazy imp...
a :exc:`SyntaxError`. Neither star imports nor future imports can be lazy (``lazy from module import *`` and ``lazy from __future__ import ...`` both raise :exc:`SyntaxError`). For code that cannot use the ``lazy`` keyword directly (for example, when supporting Python versions older than 3.15 while still using lazy imp...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0bd3a922-2309-4f3d-888f-4bbd77916420
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,718
supabase-export-v2
29e6899b8e8b6433
example, ``Point = NamedTuple("Point", x=int, y=int)``) is no longer supported. Use the class-based syntax or the functional syntax instead. (Contributed by Bénédikt Tran in :gh:`133817`.) * Using ``TD = TypedDict("TD")`` or ``TD = TypedDict("TD", None)`` to construct a :class:`~typing.TypedDict` type with zero fields...
trusted_official_docs
CPython Docs
example, ``Point = NamedTuple("Point", x=int, y=int)``) is no longer supported. Use the class-based syntax or the functional syntax instead. (Contributed by Bénédikt Tran in :gh:`133817`.) * Using ``TD = TypedDict("TD")`` or ``TD = TypedDict("TD", None)`` to construct a :class:`~typing.TypedDict` type with zero fields...
example, ``Point = NamedTuple("Point", x=int, y=int)``) is no longer supported. Use the class-based syntax or the functional syntax instead. (Contributed by Bénédikt Tran in :gh:`133817`.) * Using ``TD = TypedDict("TD")`` or ``TD = TypedDict("TD", None)`` to construct a :class:`~typing.TypedDict` type with zero fields...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0d4828f6-6026-4154-8e10-43c30f60f5fe
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,782
supabase-export-v2
1fcb2beb29dea512
that are guaranteed to be safe for use in :c:member:`~PyTypeObject.tp_traverse` handlers: :c:func:`PyObject_GetTypeData_DuringGC`, :c:func:`PyObject_GetItemData_DuringGC`, :c:func:`PyType_GetModuleState_DuringGC`, :c:func:`PyModule_GetState_DuringGC`, :c:func:`PyModule_GetToken_DuringGC`, :c:func:`PyType_GetBaseByToken...
trusted_official_docs
CPython Docs
that are guaranteed to be safe for use in :c:member:`~PyTypeObject.tp_traverse` handlers: :c:func:`PyObject_GetTypeData_DuringGC`, :c:func:`PyObject_GetItemData_DuringGC`, :c:func:`PyType_GetModuleState_DuringGC`, :c:func:`PyModule_GetState_DuringGC`, :c:func:`PyModule_GetToken_DuringGC`, :c:func:`PyType_GetBaseByToken...
that are guaranteed to be safe for use in :c:member:`~PyTypeObject.tp_traverse` handlers: :c:func:`PyObject_GetTypeData_DuringGC`, :c:func:`PyObject_GetItemData_DuringGC`, :c:func:`PyType_GetModuleState_DuringGC`, :c:func:`PyModule_GetState_DuringGC`, :c:func:`PyModule_GetToken_DuringGC`, :c:func:`PyType_GetBaseByToken...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0d531b9f-00d5-4f27-949b-9f6a5ce737a6
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,338
supabase-export-v2
9ca4f6ab95e91616
The proxy type itself is available as :data:`types.LazyImportType` for code that needs to detect lazy imports programmatically. There are some restrictions on where the ``lazy`` keyword can be used. Lazy imports are only permitted at module scope; using ``lazy`` inside a function, class body, or ``try``/``except``/``fi...
trusted_official_docs
CPython Docs
The proxy type itself is available as :data:`types.LazyImportType` for code that needs to detect lazy imports programmatically. There are some restrictions on where the ``lazy`` keyword can be used. Lazy imports are only permitted at module scope; using ``lazy`` inside a function, class body, or ``try``/``except``/``fi...
The proxy type itself is available as :data:`types.LazyImportType` for code that needs to detect lazy imports programmatically. There are some restrictions on where the ``lazy`` keyword can be used. Lazy imports are only permitted at module scope; using ``lazy`` inside a function, class body, or ``try``/``except``/``fi...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0d9d2eaf-1c0a-421d-9a72-1518084ae249
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,808
supabase-export-v2
5e72be70ff0fd1d0
* Deprecate :pep:`456` support for providing an external definition of the string hashing scheme. Removal is scheduled for Python 3.19. Previously, embedders could define :c:macro:`Py_HASH_ALGORITHM` to be ``Py_HASH_EXTERNAL`` to indicate that the hashing scheme was provided externally but this feature was undocument...
trusted_official_docs
CPython Docs
* Deprecate :pep:`456` support for providing an external definition of the string hashing scheme. Removal is scheduled for Python 3.19. Previously, embedders could define :c:macro:`Py_HASH_ALGORITHM` to be ``Py_HASH_EXTERNAL`` to indicate that the hashing scheme was provided externally but this feature was undocument...
* Deprecate :pep:`456` support for providing an external definition of the string hashing scheme. Removal is scheduled for Python 3.19. Previously, embedders could define :c:macro:`Py_HASH_ALGORITHM` to be ``Py_HASH_EXTERNAL`` to indicate that the hashing scheme was provided externally but this feature was undocument...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0e98ab78-e3ce-420d-aac4-b00f266e1db6
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,372
supabase-export-v2
a5a610e70fb77d38
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. * **No code modification required**: Profile existing applications without restart. Simply point the profiler at a running process by PID and start coll...
trusted_official_docs
CPython Docs
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. * **No code modification required**: Profile existing applications without restart. Simply point the profiler at a running process by PID and start coll...
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. * **No code modification required**: Profile existing applications without restart. Simply point the profiler at a running process by PID and start coll...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0f46e69f-040b-43fc-9ca3-e8a9a5d095c8
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,491
supabase-export-v2
1c1380387b49d0b8
* Added the *padded* parameter in :func:`~binascii.b2a_base32`, :func:`~binascii.a2b_base32`, :func:`~binascii.b2a_base64`, and :func:`~binascii.a2b_base64`. (Contributed by Serhiy Storchaka in :gh:`73613`.) * Added the *wrapcol* parameter in :func:`~binascii.b2a_base64`. (Contributed by Serhiy Storchaka in :gh:`143214...
trusted_official_docs
CPython Docs
* Added the *padded* parameter in :func:`~binascii.b2a_base32`, :func:`~binascii.a2b_base32`, :func:`~binascii.b2a_base64`, and :func:`~binascii.a2b_base64`. (Contributed by Serhiy Storchaka in :gh:`73613`.) * Added the *wrapcol* parameter in :func:`~binascii.b2a_base64`. (Contributed by Serhiy Storchaka in :gh:`143214...
* Added the *padded* parameter in :func:`~binascii.b2a_base32`, :func:`~binascii.a2b_base32`, :func:`~binascii.b2a_base64`, and :func:`~binascii.a2b_base64`. (Contributed by Serhiy Storchaka in :gh:`73613`.) * Added the *wrapcol* parameter in :func:`~binascii.b2a_base64`. (Contributed by Serhiy Storchaka in :gh:`143214...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0ffa59ed-8673-4378-86a4-8a50f1b24325
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,315
supabase-export-v2
470659867b615d17
currently in draft form. It will be updated substantially as Python 3.15 moves towards release, so it's worth checking back even after reading earlier versions. Summary -- Release highlights =============================
trusted_official_docs
CPython Docs
currently in draft form. It will be updated substantially as Python 3.15 moves towards release, so it's worth checking back even after reading earlier versions. Summary -- Release highlights =============================
currently in draft form. It will be updated substantially as Python 3.15 moves towards release, so it's worth checking back even after reading earlier versions. Summary -- Release highlights =============================
python, official-docs, cpython, P0
Local_Trusted_Corpus
103955c2-c016-4f19-a424-76d0537ffd79
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,527
supabase-export-v2
1d582db11ad8fcf1
* Add a new ``extra_response_headers`` keyword argument to :class:`~http.server.SimpleHTTPRequestHandler` to support custom headers in HTTP responses. (Contributed by Anton I. Sipos in :gh:`135057`.) * Add a ``-H/--header`` option to the :program:`python -m http.server` command-line interface to support custom headers...
trusted_official_docs
CPython Docs
* Add a new ``extra_response_headers`` keyword argument to :class:`~http.server.SimpleHTTPRequestHandler` to support custom headers in HTTP responses. (Contributed by Anton I. Sipos in :gh:`135057`.) * Add a ``-H/--header`` option to the :program:`python -m http.server` command-line interface to support custom headers...
* Add a new ``extra_response_headers`` keyword argument to :class:`~http.server.SimpleHTTPRequestHandler` to support custom headers in HTTP responses. (Contributed by Anton I. Sipos in :gh:`135057`.) * Add a ``-H/--header`` option to the :program:`python -m http.server` command-line interface to support custom headers...
python, official-docs, cpython, P0
Local_Trusted_Corpus
112ad8ab-997a-40e8-ae65-05eb378dc47a
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,600
supabase-export-v2
e2fd31cecfc7fe6e
been introduced. This method allows for searching for all matches of a pattern using Tcl's ``-all`` and ``-overlap`` options. (Contributed by Rihaan Meher in :gh:`130848`.) * Added new methods :meth:`!pack_content`, :meth:`!place_content` and :meth:`!grid_content` which use Tk commands with new names (introduced in T...
trusted_official_docs
CPython Docs
been introduced. This method allows for searching for all matches of a pattern using Tcl's ``-all`` and ``-overlap`` options. (Contributed by Rihaan Meher in :gh:`130848`.) * Added new methods :meth:`!pack_content`, :meth:`!place_content` and :meth:`!grid_content` which use Tk commands with new names (introduced in T...
been introduced. This method allows for searching for all matches of a pattern using Tcl's ``-all`` and ``-overlap`` options. (Contributed by Rihaan Meher in :gh:`130848`.) * Added new methods :meth:`!pack_content`, :meth:`!place_content` and :meth:`!grid_content` which use Tk commands with new names (introduced in T...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1143a498-1a28-4dfa-bb99-6787dae5521d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,681
supabase-export-v2
5cb93db6c05c90d4
.. rubric:: More JIT optimizations More `constant-propagation <https://en.wikipedia.org/wiki/Constant_folding>`__ is now performed. This means when the JIT compiler detects that certain user code results in constants, the code can be simplified by the JIT. (Contributed by Ken Jin and Savannah Ostrowski in :gh:`132732`....
trusted_official_docs
CPython Docs
.. rubric:: More JIT optimizations More `constant-propagation <https://en.wikipedia.org/wiki/Constant_folding>`__ is now performed. This means when the JIT compiler detects that certain user code results in constants, the code can be simplified by the JIT. (Contributed by Ken Jin and Savannah Ostrowski in :gh:`132732`....
.. rubric:: More JIT optimizations More `constant-propagation <https://en.wikipedia.org/wiki/Constant_folding>`__ is now performed. This means when the JIT compiler detects that certain user code results in constants, the code can be simplified by the JIT. (Contributed by Ken Jin and Savannah Ostrowski in :gh:`132732`....
python, official-docs, cpython, P0
Local_Trusted_Corpus
11af071a-7cba-479e-88ec-d513d26f4977
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,679
supabase-export-v2
1f3095d43ef4b930
.. rubric:: Basic register allocation in the JIT A basic form of register allocation has been added to the JIT compiler's optimizer. This allows the JIT compiler to avoid certain stack operations altogether and instead operate on registers. This allows the JIT to produce more efficient traces by avoiding reads and writ...
trusted_official_docs
CPython Docs
.. rubric:: Basic register allocation in the JIT A basic form of register allocation has been added to the JIT compiler's optimizer. This allows the JIT compiler to avoid certain stack operations altogether and instead operate on registers. This allows the JIT to produce more efficient traces by avoiding reads and writ...
.. rubric:: Basic register allocation in the JIT A basic form of register allocation has been added to the JIT compiler's optimizer. This allows the JIT compiler to avoid certain stack operations altogether and instead operate on registers. This allows the JIT to produce more efficient traces by avoiding reads and writ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
121b0bc0-d3e1-4a18-bf81-5a62885d4cfc
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,378
supabase-export-v2
dba0c0ee0bc60608
* **Thread-aware profiling**: Option to profile all threads (``-a``) or just the main thread, essential for understanding multi-threaded application behavior. * **Multiple output formats**: Choose the visualization that best fits your workflow:
trusted_official_docs
CPython Docs
* **Thread-aware profiling**: Option to profile all threads (``-a``) or just the main thread, essential for understanding multi-threaded application behavior. * **Multiple output formats**: Choose the visualization that best fits your workflow:
* **Thread-aware profiling**: Option to profile all threads (``-a``) or just the main thread, essential for understanding multi-threaded application behavior. * **Multiple output formats**: Choose the visualization that best fits your workflow:
python, official-docs, cpython, P0
Local_Trusted_Corpus
14104aa9-91ac-444e-9cdb-b5ec4a589038
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,422
supabase-export-v2
7f84f3eddee83538
.. _whatsnew315-utf8-default: * Python now uses UTF-8_ as the default encoding, independent of the system's environment. This means that I/O operations without an explicit encoding, for example, ``open('flying-circus.txt')``, will use UTF-8. UTF-8 is a widely-supported Unicode_ character encoding that has become a *...
trusted_official_docs
CPython Docs
.. _whatsnew315-utf8-default: * Python now uses UTF-8_ as the default encoding, independent of the system's environment. This means that I/O operations without an explicit encoding, for example, ``open('flying-circus.txt')``, will use UTF-8. UTF-8 is a widely-supported Unicode_ character encoding that has become a *...
.. _whatsnew315-utf8-default: * Python now uses UTF-8_ as the default encoding, independent of the system's environment. This means that I/O operations without an explicit encoding, for example, ``open('flying-circus.txt')``, will use UTF-8. UTF-8 is a widely-supported Unicode_ character encoding that has become a *...
python, official-docs, cpython, P0
Local_Trusted_Corpus
14bfcbfe-8ef4-4ca0-885d-35c8600e7bc5
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,534
supabase-export-v2
c098c939c4efb039
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`.) * Undeprecate the :func:`locale.getdefaultlocale` function. (Contributed by Victor Stinner in :gh:`130796`.)
trusted_official_docs
CPython Docs
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`.) * Undeprecate the :func:`locale.getdefaultlocale` function. (Contributed by Victor Stinner in :gh:`130796`.)
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`.) * Undeprecate the :func:`locale.getdefaultlocale` function. (Contributed by Victor Stinner in :gh:`130796`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
1501347c-07c2-4623-81fd-9109524bff39
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,430
supabase-export-v2
d99670e14430eef9
as ``name=<name>`` and ``path=<path>`` if they were given as keyword arguments at construction time. (Contributed by Serhiy Storchaka, Oleg Iarygin, and Yoav Nir in :gh:`74185`.) * The :attr:`~object.__dict__` and :attr:`!__weakref__` descriptors now use a single descriptor instance per interpreter, shared across all ...
trusted_official_docs
CPython Docs
as ``name=<name>`` and ``path=<path>`` if they were given as keyword arguments at construction time. (Contributed by Serhiy Storchaka, Oleg Iarygin, and Yoav Nir in :gh:`74185`.) * The :attr:`~object.__dict__` and :attr:`!__weakref__` descriptors now use a single descriptor instance per interpreter, shared across all ...
as ``name=<name>`` and ``path=<path>`` if they were given as keyword arguments at construction time. (Contributed by Serhiy Storchaka, Oleg Iarygin, and Yoav Nir in :gh:`74185`.) * The :attr:`~object.__dict__` and :attr:`!__weakref__` descriptors now use a single descriptor instance per interpreter, shared across all ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
157c0344-cea8-472c-8a82-352e5d7c5959
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,749
supabase-export-v2
b9a1b28542bb0d22
is deprecated and will be removed in Python 3.20. Calling :meth:`~object.__init__` method on initialized :class:`~struct.Struct` objects is deprecated and will be removed in Python 3.20. (Contributed by Sergey B Kirpichev and Serhiy Storchaka in :gh:`143715`.)
trusted_official_docs
CPython Docs
is deprecated and will be removed in Python 3.20. Calling :meth:`~object.__init__` method on initialized :class:`~struct.Struct` objects is deprecated and will be removed in Python 3.20. (Contributed by Sergey B Kirpichev and Serhiy Storchaka in :gh:`143715`.)
is deprecated and will be removed in Python 3.20. Calling :meth:`~object.__init__` method on initialized :class:`~struct.Struct` objects is deprecated and will be removed in Python 3.20. (Contributed by Sergey B Kirpichev and Serhiy Storchaka in :gh:`143715`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
15cba2e9-e018-427a-b0df-d03d2ab386ae
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,394
supabase-export-v2
326544ac22dd1e7a
= (*L for L in lists) # equivalent to (x for L in lists for x in L) >>> list(gen) [1, 2, 3, 4, 5] This change also extends to asynchronous 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)``.
trusted_official_docs
CPython Docs
= (*L for L in lists) # equivalent to (x for L in lists for x in L) >>> list(gen) [1, 2, 3, 4, 5] This change also extends to asynchronous 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)``.
= (*L for L in lists) # equivalent to (x for L in lists for x in L) >>> list(gen) [1, 2, 3, 4, 5] This change also extends to asynchronous 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)``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
16e8f707-acfe-4984-aed1-cb818631cd25
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,629
supabase-export-v2
7a7faa2379d9f8fe
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`.) * Code like ``class B2(A[T2], Protocol[T1, T2]): ...`` now correctly handles type parameters order: it is ``(T1, T2)``, ...
trusted_official_docs
CPython Docs
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`.) * Code like ``class B2(A[T2], Protocol[T1, T2]): ...`` now correctly handles type parameters order: it is ``(T1, T2)``, ...
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`.) * Code like ``class B2(A[T2], Protocol[T1, T2]): ...`` now correctly handles type parameters order: it is ``(T1, T2)``, ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
175a0ed3-b018-4d27-81b9-4a238979b2ba
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,788
supabase-export-v2
0470b68465140b10
* If the :c:macro:`Py_TPFLAGS_MANAGED_DICT` or :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` flag is set then :c:macro:`Py_TPFLAGS_HAVE_GC` must be set too. (Contributed by Sergey Miryanov in :gh:`134786`.) * :c:macro:`PyDateTime_IMPORT` is now thread safe. Code that directly checks ``PyDateTimeAPI`` for ``NULL`` should be up...
trusted_official_docs
CPython Docs
* If the :c:macro:`Py_TPFLAGS_MANAGED_DICT` or :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` flag is set then :c:macro:`Py_TPFLAGS_HAVE_GC` must be set too. (Contributed by Sergey Miryanov in :gh:`134786`.) * :c:macro:`PyDateTime_IMPORT` is now thread safe. Code that directly checks ``PyDateTimeAPI`` for ``NULL`` should be up...
* If the :c:macro:`Py_TPFLAGS_MANAGED_DICT` or :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` flag is set then :c:macro:`Py_TPFLAGS_HAVE_GC` must be set too. (Contributed by Sergey Miryanov in :gh:`134786`.) * :c:macro:`PyDateTime_IMPORT` is now thread safe. Code that directly checks ``PyDateTimeAPI`` for ``NULL`` should be up...
python, official-docs, cpython, P0
Local_Trusted_Corpus
17cd1bd0-fce3-4baa-b42a-2e0b0a43ca16
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,473
supabase-export-v2
7235d14a7a4db509
ast --- * Add *color* parameter to :func:`~ast.dump`. If ``True``, 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`.)
trusted_official_docs
CPython Docs
ast --- * Add *color* parameter to :func:`~ast.dump`. If ``True``, 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`.)
ast --- * Add *color* parameter to :func:`~ast.dump`. If ``True``, 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`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
198fa1f4-8783-4e99-8492-01b0d228e964
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,432
supabase-export-v2
fc8e37edab269399
the warning message and the module name, if the corresponding field starts and ends with a forward slash (``/``). (Contributed by Serhiy Storchaka in :gh:`134716`.) * Functions that take timestamp or timeout arguments now accept any real numbers (such as :class:`~decimal.Decimal` and :class:`~fractions.Fraction`), no...
trusted_official_docs
CPython Docs
the warning message and the module name, if the corresponding field starts and ends with a forward slash (``/``). (Contributed by Serhiy Storchaka in :gh:`134716`.) * Functions that take timestamp or timeout arguments now accept any real numbers (such as :class:`~decimal.Decimal` and :class:`~fractions.Fraction`), no...
the warning message and the module name, if the corresponding field starts and ends with a forward slash (``/``). (Contributed by Serhiy Storchaka in :gh:`134716`.) * Functions that take timestamp or timeout arguments now accept any real numbers (such as :class:`~decimal.Decimal` and :class:`~fractions.Fraction`), no...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1c220b9f-93da-4f63-a1d1-5fc76bc46466
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,323
supabase-export-v2
c3ee33e4db83a169
applications with deep dependency trees, this process can take seconds, even when most of the imported code is never actually used during a particular run. Developers have worked around this by moving imports inside functions, using :mod:`importlib` to load modules on demand, or restructuring code to avoid unnecessary ...
trusted_official_docs
CPython Docs
applications with deep dependency trees, this process can take seconds, even when most of the imported code is never actually used during a particular run. Developers have worked around this by moving imports inside functions, using :mod:`importlib` to load modules on demand, or restructuring code to avoid unnecessary ...
applications with deep dependency trees, this process can take seconds, even when most of the imported code is never actually used during a particular run. Developers have worked around this by moving imports inside functions, using :mod:`importlib` to load modules on demand, or restructuring code to avoid unnecessary ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1f189b11-ec2b-48c5-b9fd-ab5d890539c4
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,843
supabase-export-v2
f6dcb7abf80ffca4
new argument ``padded=True`` or use :func:`base64.b64decode` with argument ``altchars=b'-_'`` (this works with older Python versions) to make padding required. (Contributed by Serhiy Storchaka in :gh:`73613`.) * Since :meth:`unittest.TestCase.assertWarns` and :meth:`unittest.TestCase.assertWarnsRegex` no longer swallo...
trusted_official_docs
CPython Docs
new argument ``padded=True`` or use :func:`base64.b64decode` with argument ``altchars=b'-_'`` (this works with older Python versions) to make padding required. (Contributed by Serhiy Storchaka in :gh:`73613`.) * Since :meth:`unittest.TestCase.assertWarns` and :meth:`unittest.TestCase.assertWarnsRegex` no longer swallo...
new argument ``padded=True`` or use :func:`base64.b64decode` with argument ``altchars=b'-_'`` (this works with older Python versions) to make padding required. (Contributed by Serhiy Storchaka in :gh:`73613`.) * Since :meth:`unittest.TestCase.assertWarns` and :meth:`unittest.TestCase.assertWarnsRegex` no longer swallo...
python, official-docs, cpython, P0
Local_Trusted_Corpus
20b4001c-f818-4aaa-b759-bb91949fef77
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,423
supabase-export-v2
4709d035c9d7e19a
that has become a *de facto* standard for representing text, including nearly every webpage on the internet, many common file formats, programming languages, and more. This only applies when no ``encoding`` argument is given. For best compatibility between versions of Python, ensure that an explicit ``encoding`` argu...
trusted_official_docs
CPython Docs
that has become a *de facto* standard for representing text, including nearly every webpage on the internet, many common file formats, programming languages, and more. This only applies when no ``encoding`` argument is given. For best compatibility between versions of Python, ensure that an explicit ``encoding`` argu...
that has become a *de facto* standard for representing text, including nearly every webpage on the internet, many common file formats, programming languages, and more. This only applies when no ``encoding`` argument is given. For best compatibility between versions of Python, ensure that an explicit ``encoding`` argu...
python, official-docs, cpython, P0
Local_Trusted_Corpus
22c68e3b-f09d-40be-abe3-1f1197ba799e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,813
supabase-export-v2
23362805ce2d4ea9
removed in 3.20. Instead, use :c:func:`PyUnicode_InternFromString()` and cache the result in the module state, then call :c:func:`PyObject_CallMethod` or :c:func:`PyObject_GetAttr`. (Contributed by Victor Stinner in :gh:`141049`.) * Deprecate :c:member:`~PyComplexObject.cval` field of the :c:type:`PyComplexObject` typ...
trusted_official_docs
CPython Docs
removed in 3.20. Instead, use :c:func:`PyUnicode_InternFromString()` and cache the result in the module state, then call :c:func:`PyObject_CallMethod` or :c:func:`PyObject_GetAttr`. (Contributed by Victor Stinner in :gh:`141049`.) * Deprecate :c:member:`~PyComplexObject.cval` field of the :c:type:`PyComplexObject` typ...
removed in 3.20. Instead, use :c:func:`PyUnicode_InternFromString()` and cache the result in the module state, then call :c:func:`PyObject_CallMethod` or :c:func:`PyObject_GetAttr`. (Contributed by Victor Stinner in :gh:`141049`.) * Deprecate :c:member:`~PyComplexObject.cval` field of the :c:type:`PyComplexObject` typ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
22efaf53-7e22-4e8f-aef7-83ef4d75383e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,636
supabase-export-v2
8d0b998c13d994b4
:func:`~unicodedata.extended_pictographic` functions to get the properties of the character which are related to the above algorithm. (Contributed by Serhiy Storchaka and Guillaume Sanchez in :gh:`74902`.) * Add :func:`~unicodedata.block` function to return the `Unicode block <https://www.unicode.org/versions/Unicode1...
trusted_official_docs
CPython Docs
:func:`~unicodedata.extended_pictographic` functions to get the properties of the character which are related to the above algorithm. (Contributed by Serhiy Storchaka and Guillaume Sanchez in :gh:`74902`.) * Add :func:`~unicodedata.block` function to return the `Unicode block <https://www.unicode.org/versions/Unicode1...
:func:`~unicodedata.extended_pictographic` functions to get the properties of the character which are related to the above algorithm. (Contributed by Serhiy Storchaka and Guillaume Sanchez in :gh:`74902`.) * Add :func:`~unicodedata.block` function to return the `Unicode block <https://www.unicode.org/versions/Unicode1...
python, official-docs, cpython, P0
Local_Trusted_Corpus
23fe636f-d2e4-4b7f-8ab6-abe6af021cfd
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,663
supabase-export-v2
5a2d4bde222825dd
base64 & binascii ----------------- * CPython's underlying base64 implementation now encodes 2x faster and decodes 3x faster thanks to simple CPU pipelining optimizations. (Contributed by Gregory P. Smith and Serhiy Storchaka in :gh:`143262`.)
trusted_official_docs
CPython Docs
base64 & binascii ----------------- * CPython's underlying base64 implementation now encodes 2x faster and decodes 3x faster thanks to simple CPU pipelining optimizations. (Contributed by Gregory P. Smith and Serhiy Storchaka in :gh:`143262`.)
base64 & binascii ----------------- * CPython's underlying base64 implementation now encodes 2x faster and decodes 3x faster thanks to simple CPU pipelining optimizations. (Contributed by Gregory P. Smith and Serhiy Storchaka in :gh:`143262`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
24f3b268-e0bd-45ea-8103-800adf962dc5
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,305
supabase-export-v2
8674ddb950de602b
* If you want to draw your new text to the attention of the maintainer, add 'XXX' to the beginning of the paragraph or section. * It's OK to just add a fragmentary note about a change. For example: "XXX Describe the transmogrify() function added to the socket module." The maintainer will research the change and writ...
trusted_official_docs
CPython Docs
* If you want to draw your new text to the attention of the maintainer, add 'XXX' to the beginning of the paragraph or section. * It's OK to just add a fragmentary note about a change. For example: "XXX Describe the transmogrify() function added to the socket module." The maintainer will research the change and writ...
* If you want to draw your new text to the attention of the maintainer, add 'XXX' to the beginning of the paragraph or section. * It's OK to just add a fragmentary note about a change. For example: "XXX Describe the transmogrify() function added to the socket module." The maintainer will research the change and writ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
268da688-b235-4c0c-8ed7-dbff66851c71
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,643
supabase-export-v2
dd523815ebe4ce68
venv ---- * On POSIX platforms, platlib directories will be created if needed when creating virtual environments, instead of using ``lib64 -> lib`` symlink. This means purelib and platlib of virtual environments no longer share the same ``lib`` directory on platforms where :data:`sys.platlibdir` is not equal to ``li...
trusted_official_docs
CPython Docs
venv ---- * On POSIX platforms, platlib directories will be created if needed when creating virtual environments, instead of using ``lib64 -> lib`` symlink. This means purelib and platlib of virtual environments no longer share the same ``lib`` directory on platforms where :data:`sys.platlibdir` is not equal to ``li...
venv ---- * On POSIX platforms, platlib directories will be created if needed when creating virtual environments, instead of using ``lib64 -> lib`` symlink. This means purelib and platlib of virtual environments no longer share the same ``lib`` directory on platforms where :data:`sys.platlibdir` is not equal to ``li...
python, official-docs, cpython, P0
Local_Trusted_Corpus
28b1515c-3d16-45b8-9928-95d873c8ad98
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,497
supabase-export-v2
59a66dee0ad17579
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`.) * The :mod:`calendar`'s :ref:`command-line <calendar-cli>` HTML output now accepts the year-month option: ``python -m calendar -t html 2009 06``. (Contributed...
trusted_official_docs
CPython Docs
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`.) * The :mod:`calendar`'s :ref:`command-line <calendar-cli>` HTML output now accepts the year-month option: ``python -m calendar -t html 2009 06``. (Contributed...
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`.) * The :mod:`calendar`'s :ref:`command-line <calendar-cli>` HTML output now accepts the year-month option: ``python -m calendar -t html 2009 06``. (Contributed...
python, official-docs, cpython, P0
Local_Trusted_Corpus
28d71468-1ea6-410a-9cf4-6256af53976e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,781
supabase-export-v2
d8f70aba4131bd9a
* Add :c:func:`PyTuple_FromArray` to create a :class:`tuple` from an array. (Contributed by Victor Stinner in :gh:`111489`.) * Add functions that are guaranteed to be safe for use in :c:member:`~PyTypeObject.tp_traverse` handlers: :c:func:`PyObject_GetTypeData_DuringGC`, :c:func:`PyObject_GetItemData_DuringGC`, :c:...
trusted_official_docs
CPython Docs
* Add :c:func:`PyTuple_FromArray` to create a :class:`tuple` from an array. (Contributed by Victor Stinner in :gh:`111489`.) * Add functions that are guaranteed to be safe for use in :c:member:`~PyTypeObject.tp_traverse` handlers: :c:func:`PyObject_GetTypeData_DuringGC`, :c:func:`PyObject_GetItemData_DuringGC`, :c:...
* Add :c:func:`PyTuple_FromArray` to create a :class:`tuple` from an array. (Contributed by Victor Stinner in :gh:`111489`.) * Add functions that are guaranteed to be safe for use in :c:member:`~PyTypeObject.tp_traverse` handlers: :c:func:`PyObject_GetTypeData_DuringGC`, :c:func:`PyObject_GetItemData_DuringGC`, :c:...
python, official-docs, cpython, P0
Local_Trusted_Corpus
29fdca0c-9e75-49f4-90ef-5b3e40cdcfab
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,785
supabase-export-v2
98c2839f24b8d3b2
* Add :c:func:`PyUnstable_SetImmortal` C-API function to mark objects as :term:`immortal`. (Contributed by Kumar Aditya in :gh:`143300`.) * Restore private provisional ``_Py_InitializeMain()`` function removed in Python 3.14. (Contributed by Victor Stinner in :gh:`142417`.)
trusted_official_docs
CPython Docs
* Add :c:func:`PyUnstable_SetImmortal` C-API function to mark objects as :term:`immortal`. (Contributed by Kumar Aditya in :gh:`143300`.) * Restore private provisional ``_Py_InitializeMain()`` function removed in Python 3.14. (Contributed by Victor Stinner in :gh:`142417`.)
* Add :c:func:`PyUnstable_SetImmortal` C-API function to mark objects as :term:`immortal`. (Contributed by Kumar Aditya in :gh:`143300`.) * Restore private provisional ``_Py_InitializeMain()`` function removed in Python 3.14. (Contributed by Victor Stinner in :gh:`142417`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
2a25e76b-27f9-4528-a457-5a48257a07b9
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,515
supabase-export-v2
34158df1c0aa6bf9
email ----- * Email generators now raise an error when an :class:`.EmailMessage` cannot be accurately flattened due to a non-ASCII email address (mailbox) in an address header. Options for supporting Email Address Internationalization (EAI) are discussed in :attr:`.EmailPolicy.utf8`. (Contributed by R David Murray a...
trusted_official_docs
CPython Docs
email ----- * Email generators now raise an error when an :class:`.EmailMessage` cannot be accurately flattened due to a non-ASCII email address (mailbox) in an address header. Options for supporting Email Address Internationalization (EAI) are discussed in :attr:`.EmailPolicy.utf8`. (Contributed by R David Murray a...
email ----- * Email generators now raise an error when an :class:`.EmailMessage` cannot be accurately flattened due to a non-ASCII email address (mailbox) in an address header. Options for supporting Email Address Internationalization (EAI) are discussed in :attr:`.EmailPolicy.utf8`. (Contributed by R David Murray a...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2c8c13e8-4cfe-4a3a-a78c-7cd61c0755eb
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,476
supabase-export-v2
b32f1733782d8fd2
asyncio ------- * Added :meth:`TaskGroup.cancel <asyncio.TaskGroup.cancel>` to allow early termination of a task group, for instance, when the goal of the tasks has been achieved or their services are no longer needed. Previously this would involve unintuitive boilerplate such as an extra task raising a custom excep...
trusted_official_docs
CPython Docs
asyncio ------- * Added :meth:`TaskGroup.cancel <asyncio.TaskGroup.cancel>` to allow early termination of a task group, for instance, when the goal of the tasks has been achieved or their services are no longer needed. Previously this would involve unintuitive boilerplate such as an extra task raising a custom excep...
asyncio ------- * Added :meth:`TaskGroup.cancel <asyncio.TaskGroup.cancel>` to allow early termination of a task group, for instance, when the goal of the tasks has been achieved or their services are no longer needed. Previously this would involve unintuitive boilerplate such as an extra task raising a custom excep...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2de0375a-a1d5-43ba-a07c-de10f3f31c45
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,684
supabase-export-v2
093bedf06645a8d4
can now eliminate reference count updates and perform inplace operations on ints and floats. (Contributed by Reiden Ong, and Pieter Eendebak in :gh:`143414` and :gh:`146306`.) The JIT optimizer now supports significantly more operations than in 3.14. (Contributed by Kumar Aditya, Ken Jin, Jiahao Li, and Sacul in :gh:`1...
trusted_official_docs
CPython Docs
can now eliminate reference count updates and perform inplace operations on ints and floats. (Contributed by Reiden Ong, and Pieter Eendebak in :gh:`143414` and :gh:`146306`.) The JIT optimizer now supports significantly more operations than in 3.14. (Contributed by Kumar Aditya, Ken Jin, Jiahao Li, and Sacul in :gh:`1...
can now eliminate reference count updates and perform inplace operations on ints and floats. (Contributed by Reiden Ong, and Pieter Eendebak in :gh:`143414` and :gh:`146306`.) The JIT optimizer now supports significantly more operations than in 3.14. (Contributed by Kumar Aditya, Ken Jin, Jiahao Li, and Sacul in :gh:`1...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2ee2696d-adec-4c29-8e17-cb6a90b0f85c
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,333
supabase-export-v2
d8b1e0781b242de2
eager), and ``normal`` (the default) respects the ``lazy`` keyword in source code. The :func:`sys.set_lazy_imports` and :func:`sys.get_lazy_imports` functions allow changing and querying this mode at runtime. For more selective control, :func:`sys.set_lazy_imports_filter` accepts a callable that determines whether a sp...
trusted_official_docs
CPython Docs
eager), and ``normal`` (the default) respects the ``lazy`` keyword in source code. The :func:`sys.set_lazy_imports` and :func:`sys.get_lazy_imports` functions allow changing and querying this mode at runtime. For more selective control, :func:`sys.set_lazy_imports_filter` accepts a callable that determines whether a sp...
eager), and ``normal`` (the default) respects the ``lazy`` keyword in source code. The :func:`sys.set_lazy_imports` and :func:`sys.get_lazy_imports` functions allow changing and querying this mode at runtime. For more selective control, :func:`sys.set_lazy_imports_filter` accepts a callable that determines whether a sp...
python, official-docs, cpython, P0
Local_Trusted_Corpus
304276e5-4c59-4acc-9806-e0d705bb6858
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,712
supabase-export-v2
87e03a2d335ca4f6
threading --------- * Remove support for arbitrary positional or keyword arguments in the C implementation of :class:`~threading.RLock` objects. This was deprecated in Python 3.14. (Contributed by Bénédikt Tran in :gh:`134087`.)
trusted_official_docs
CPython Docs
threading --------- * Remove support for arbitrary positional or keyword arguments in the C implementation of :class:`~threading.RLock` objects. This was deprecated in Python 3.14. (Contributed by Bénédikt Tran in :gh:`134087`.)
threading --------- * Remove support for arbitrary positional or keyword arguments in the C implementation of :class:`~threading.RLock` objects. This was deprecated in Python 3.14. (Contributed by Bénédikt Tran in :gh:`134087`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
30f94628-2f04-4ceb-9daf-026bf7377978
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,352
supabase-export-v2
3de5ce3596256a9d
be updated to ``isinstance(arg, (dict, frozendict))`` to accept also the :class:`!frozendict` type, or to ``isinstance(arg, collections.abc.Mapping)`` to accept also other mapping types such as :class:`~types.MappingProxyType`. .. seealso:: :pep:`814` for the full specification and rationale.
trusted_official_docs
CPython Docs
be updated to ``isinstance(arg, (dict, frozendict))`` to accept also the :class:`!frozendict` type, or to ``isinstance(arg, collections.abc.Mapping)`` to accept also other mapping types such as :class:`~types.MappingProxyType`. .. seealso:: :pep:`814` for the full specification and rationale.
be updated to ``isinstance(arg, (dict, frozendict))`` to accept also the :class:`!frozendict` type, or to ``isinstance(arg, collections.abc.Mapping)`` to accept also other mapping types such as :class:`~types.MappingProxyType`. .. seealso:: :pep:`814` for the full specification and rationale.
python, official-docs, cpython, P0
Local_Trusted_Corpus
32b5d4b4-a466-4d66-aa7f-d3549a5c0d37
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,831
supabase-export-v2
df1c1914ae08dc9f
.. _whatsnew315-windows-tail-calling-interpreter: * 64-bit builds using Visual Studio 2026 (MSVC 18) may now use the new :ref:`tail-calling interpreter <whatsnew314-tail-call-interpreter>`. Results on Visual Studio 18.1.1 report between `15-20% <https://github.com/faster-cpython/ideas/blob/main/results/5800X-msvc.pgo...
trusted_official_docs
CPython Docs
.. _whatsnew315-windows-tail-calling-interpreter: * 64-bit builds using Visual Studio 2026 (MSVC 18) may now use the new :ref:`tail-calling interpreter <whatsnew314-tail-call-interpreter>`. Results on Visual Studio 18.1.1 report between `15-20% <https://github.com/faster-cpython/ideas/blob/main/results/5800X-msvc.pgo...
.. _whatsnew315-windows-tail-calling-interpreter: * 64-bit builds using Visual Studio 2026 (MSVC 18) may now use the new :ref:`tail-calling interpreter <whatsnew314-tail-call-interpreter>`. Results on Visual Studio 18.1.1 report between `15-20% <https://github.com/faster-cpython/ideas/blob/main/results/5800X-msvc.pgo...
python, official-docs, cpython, P0
Local_Trusted_Corpus
32c3b311-a294-4a14-bb80-7f34fd18760b
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,819
supabase-export-v2
888e63778caa1022
and ``ULL``. - :c:macro:`PY_LONG_LONG`, :c:macro:`PY_LLONG_MIN`, :c:macro:`PY_LLONG_MAX`, :c:macro:`PY_ULLONG_MAX`, :c:macro:`PY_INT32_T`, :c:macro:`PY_UINT32_T`, :c:macro:`PY_INT64_T`, :c:macro:`PY_UINT64_T`, :c:macro:`PY_SIZE_MAX`: Use C99 types/limits. - :c:macro:`Py_UNICODE_SIZE`: Use ``sizeof(wchar_t)`` directly. ...
trusted_official_docs
CPython Docs
and ``ULL``. - :c:macro:`PY_LONG_LONG`, :c:macro:`PY_LLONG_MIN`, :c:macro:`PY_LLONG_MAX`, :c:macro:`PY_ULLONG_MAX`, :c:macro:`PY_INT32_T`, :c:macro:`PY_UINT32_T`, :c:macro:`PY_INT64_T`, :c:macro:`PY_UINT64_T`, :c:macro:`PY_SIZE_MAX`: Use C99 types/limits. - :c:macro:`Py_UNICODE_SIZE`: Use ``sizeof(wchar_t)`` directly. ...
and ``ULL``. - :c:macro:`PY_LONG_LONG`, :c:macro:`PY_LLONG_MIN`, :c:macro:`PY_LLONG_MAX`, :c:macro:`PY_ULLONG_MAX`, :c:macro:`PY_INT32_T`, :c:macro:`PY_UINT32_T`, :c:macro:`PY_INT64_T`, :c:macro:`PY_UINT64_T`, :c:macro:`PY_SIZE_MAX`: Use C99 types/limits. - :c:macro:`Py_UNICODE_SIZE`: Use ``sizeof(wchar_t)`` directly. ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
33ab289f-e2e0-4cc4-82f4-fcdc10040036
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,390
supabase-export-v2
4c21799eb9e000b3
4], [5]] >>> [*L for L in lists] # equivalent to [x for L in lists for x in L] [1, 2, 3, 4, 5] >>> sets = [{1, 2}, {2, 3}, {3, 4}] >>> {*s for s in sets} # equivalent to {x for s in sets for x in s} {1, 2, 3, 4}
trusted_official_docs
CPython Docs
4], [5]] >>> [*L for L in lists] # equivalent to [x for L in lists for x in L] [1, 2, 3, 4, 5] >>> sets = [{1, 2}, {2, 3}, {3, 4}] >>> {*s for s in sets} # equivalent to {x for s in sets for x in s} {1, 2, 3, 4}
4], [5]] >>> [*L for L in lists] # equivalent to [x for L in lists for x in L] [1, 2, 3, 4, 5] >>> sets = [{1, 2}, {2, 3}, {3, 4}] >>> {*s for s in sets} # equivalent to {x for s in sets for x in s} {1, 2, 3, 4}
python, official-docs, cpython, P0
Local_Trusted_Corpus
34a5ba5a-05ed-45bd-904c-4ac8b978671f
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,836
supabase-export-v2
c6159768fe3e63b3
* :class:`sqlite3.Connection` APIs have been cleaned up. * All parameters of :func:`sqlite3.connect` except *database* are now keyword-only. * The first three parameters of methods :meth:`~sqlite3.Connection.create_function` and :meth:`~sqlite3.Connection.create_aggregate` are now positional-only. * The first paramete...
trusted_official_docs
CPython Docs
* :class:`sqlite3.Connection` APIs have been cleaned up. * All parameters of :func:`sqlite3.connect` except *database* are now keyword-only. * The first three parameters of methods :meth:`~sqlite3.Connection.create_function` and :meth:`~sqlite3.Connection.create_aggregate` are now positional-only. * The first paramete...
* :class:`sqlite3.Connection` APIs have been cleaned up. * All parameters of :func:`sqlite3.connect` except *database* are now keyword-only. * The first three parameters of methods :meth:`~sqlite3.Connection.create_function` and :meth:`~sqlite3.Connection.create_aggregate` are now positional-only. * The first paramete...
python, official-docs, cpython, P0
Local_Trusted_Corpus
34f26250-9406-4f62-b410-f96362dee217
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,598
supabase-export-v2
43c65ec779f07182
tkinter ------- * The :meth:`!tkinter.Text.search` method now supports two additional arguments: *nolinestop* which allows the search to continue across line boundaries; and *strictlimits* which restricts the search to within the specified range. (Contributed by Rihaan Meher in :gh:`130848`.)
trusted_official_docs
CPython Docs
tkinter ------- * The :meth:`!tkinter.Text.search` method now supports two additional arguments: *nolinestop* which allows the search to continue across line boundaries; and *strictlimits* which restricts the search to within the specified range. (Contributed by Rihaan Meher in :gh:`130848`.)
tkinter ------- * The :meth:`!tkinter.Text.search` method now supports two additional arguments: *nolinestop* which allows the search to continue across line boundaries; and *strictlimits* which restricts the search to within the specified range. (Contributed by Rihaan Meher in :gh:`130848`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
35e7bd50-b46e-4e92-bc15-9516a48eb09e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,518
supabase-export-v2
a2ef87cd9977020c
* :func:`~functools.singledispatchmethod` now supports non-:term:`descriptor` callables. (Contributed by Serhiy Storchaka in :gh:`140873`.) * :func:`~functools.singledispatchmethod` now dispatches on the second argument if it wraps a regular method and is called as a class attribute. (Contributed by Bartosz Sławecki i...
trusted_official_docs
CPython Docs
* :func:`~functools.singledispatchmethod` now supports non-:term:`descriptor` callables. (Contributed by Serhiy Storchaka in :gh:`140873`.) * :func:`~functools.singledispatchmethod` now dispatches on the second argument if it wraps a regular method and is called as a class attribute. (Contributed by Bartosz Sławecki i...
* :func:`~functools.singledispatchmethod` now supports non-:term:`descriptor` callables. (Contributed by Serhiy Storchaka in :gh:`140873`.) * :func:`~functools.singledispatchmethod` now dispatches on the second argument if it wraps a regular method and is called as a class attribute. (Contributed by Bartosz Sławecki i...
python, official-docs, cpython, P0
Local_Trusted_Corpus
35f1e08c-e749-4292-9aaa-326218230001
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,569
supabase-export-v2
d0e20cbcdde687de
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`.) * Table, index, trigger, view, column, function, and schema completion on <tab>. (Contributed by Long Tan in :gh:`136101`.)
trusted_official_docs
CPython Docs
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`.) * Table, index, trigger, view, column, function, and schema completion on <tab>. (Contributed by Long Tan in :gh:`136101`.)
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`.) * Table, index, trigger, view, column, function, and schema completion on <tab>. (Contributed by Long Tan in :gh:`136101`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
36ec9eca-e8fb-4904-a048-fdbe625f75a2
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,664
supabase-export-v2
54da6818c0f7e6a0
implementation now encodes 2x faster and decodes 3x faster thanks to simple CPU pipelining optimizations. (Contributed by Gregory P. Smith and Serhiy Storchaka in :gh:`143262`.) * Implementation for Ascii85, Base85, and Z85 encoding has been rewritten in C. Encoding and decoding is now two orders of magnitude faster an...
trusted_official_docs
CPython Docs
implementation now encodes 2x faster and decodes 3x faster thanks to simple CPU pipelining optimizations. (Contributed by Gregory P. Smith and Serhiy Storchaka in :gh:`143262`.) * Implementation for Ascii85, Base85, and Z85 encoding has been rewritten in C. Encoding and decoding is now two orders of magnitude faster an...
implementation now encodes 2x faster and decodes 3x faster thanks to simple CPU pipelining optimizations. (Contributed by Gregory P. Smith and Serhiy Storchaka in :gh:`143262`.) * Implementation for Ascii85, Base85, and Z85 encoding has been rewritten in C. Encoding and decoding is now two orders of magnitude faster an...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3810d8c9-5fcb-4c29-8da8-b9c0be60c287
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,393
supabase-export-v2
4d6184d5bd37a774
Generator expressions can similarly use unpacking to yield values from multiple iterables:: >>> gen = (*L for L in lists) # equivalent to (x for L in lists for x in L) >>> list(gen) [1, 2, 3, 4, 5]
trusted_official_docs
CPython Docs
Generator expressions can similarly use unpacking to yield values from multiple iterables:: >>> gen = (*L for L in lists) # equivalent to (x for L in lists for x in L) >>> list(gen) [1, 2, 3, 4, 5]
Generator expressions can similarly use unpacking to yield values from multiple iterables:: >>> gen = (*L for L in lists) # equivalent to (x for L in lists for x in L) >>> list(gen) [1, 2, 3, 4, 5]
python, official-docs, cpython, P0
Local_Trusted_Corpus
38156873-0d03-4a77-b84d-87f0c81cce69
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,590
supabase-export-v2
3de4bdccd2a81654
tarfile ------- * :func:`~tarfile.data_filter` now normalizes symbolic link targets in order to avoid path traversal attacks. (Contributed by Petr Viktorin in :gh:`127987` and :cve:`2025-4138`.) * :func:`~tarfile.TarFile.extractall` now skips fixing up directory attributes when a directory was removed or replaced by ...
trusted_official_docs
CPython Docs
tarfile ------- * :func:`~tarfile.data_filter` now normalizes symbolic link targets in order to avoid path traversal attacks. (Contributed by Petr Viktorin in :gh:`127987` and :cve:`2025-4138`.) * :func:`~tarfile.TarFile.extractall` now skips fixing up directory attributes when a directory was removed or replaced by ...
tarfile ------- * :func:`~tarfile.data_filter` now normalizes symbolic link targets in order to avoid path traversal attacks. (Contributed by Petr Viktorin in :gh:`127987` and :cve:`2025-4138`.) * :func:`~tarfile.TarFile.extractall` now skips fixing up directory attributes when a directory was removed or replaced by ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
38204fa0-51e2-40e6-b049-6cc0842f339e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,348
supabase-export-v2
6eed8d4cd4ec251d
For example:: >>> a = frozendict(x=1, y=2) >>> a frozendict({'x': 1, 'y': 2}) >>> a['z'] = 3 Traceback (most recent call last): File "<python-input-2>", line 1, in <module> a['z'] = 3 ~^^^^^ TypeError: 'frozendict' object does not support item assignment >>> b = frozendict(y=2, x=1) >>> hash(a) == hash(b) Tr...
trusted_official_docs
CPython Docs
For example:: >>> a = frozendict(x=1, y=2) >>> a frozendict({'x': 1, 'y': 2}) >>> a['z'] = 3 Traceback (most recent call last): File "<python-input-2>", line 1, in <module> a['z'] = 3 ~^^^^^ TypeError: 'frozendict' object does not support item assignment >>> b = frozendict(y=2, x=1) >>> hash(a) == hash(b) Tr...
For example:: >>> a = frozendict(x=1, y=2) >>> a frozendict({'x': 1, 'y': 2}) >>> a['z'] = 3 Traceback (most recent call last): File "<python-input-2>", line 1, in <module> a['z'] = 3 ~^^^^^ TypeError: 'frozendict' object does not support item assignment >>> b = frozendict(y=2, x=1) >>> hash(a) == hash(b) Tr...
python, official-docs, cpython, P0
Local_Trusted_Corpus
394ce450-9af3-46b5-8310-559e1dcff9f4
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,541
supabase-export-v2
e526dd667e8c43f9
mmap ---- * :class:`mmap.mmap` now has 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`.)
trusted_official_docs
CPython Docs
mmap ---- * :class:`mmap.mmap` now has 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`.)
mmap ---- * :class:`mmap.mmap` now has 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`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
39a00e1f-e629-4262-908d-7abd90807759
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,769
supabase-export-v2
b7535b4000edf8c4
* Add :c:func:`PyArg_ParseArray` and :c:func:`PyArg_ParseArrayAndKeywords` functions to parse arguments of functions using the :c:macro:`METH_FASTCALL` calling convention. (Contributed by Victor Stinner in :gh:`144175`.) * Add the following functions for the new :class:`frozendict` type:
trusted_official_docs
CPython Docs
* Add :c:func:`PyArg_ParseArray` and :c:func:`PyArg_ParseArrayAndKeywords` functions to parse arguments of functions using the :c:macro:`METH_FASTCALL` calling convention. (Contributed by Victor Stinner in :gh:`144175`.) * Add the following functions for the new :class:`frozendict` type:
* Add :c:func:`PyArg_ParseArray` and :c:func:`PyArg_ParseArrayAndKeywords` functions to parse arguments of functions using the :c:macro:`METH_FASTCALL` calling convention. (Contributed by Victor Stinner in :gh:`144175`.) * Add the following functions for the new :class:`frozendict` type:
python, official-docs, cpython, P0
Local_Trusted_Corpus
39ec3ef8-af8c-4d28-b3d9-7a0fa8300d63
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,522
supabase-export-v2
26f503bbabbd7383
http.client ----------- * A new *max_response_headers* keyword-only parameter has been added to :class:`~http.client.HTTPConnection` and :class:`~http.client.HTTPSConnection` constructors. This parameter overrides the default maximum number of allowed response headers. (Contributed by Alexander Enrique Urieles Nieto...
trusted_official_docs
CPython Docs
http.client ----------- * A new *max_response_headers* keyword-only parameter has been added to :class:`~http.client.HTTPConnection` and :class:`~http.client.HTTPSConnection` constructors. This parameter overrides the default maximum number of allowed response headers. (Contributed by Alexander Enrique Urieles Nieto...
http.client ----------- * A new *max_response_headers* keyword-only parameter has been added to :class:`~http.client.HTTPConnection` and :class:`~http.client.HTTPSConnection` constructors. This parameter overrides the default maximum number of allowed response headers. (Contributed by Alexander Enrique Urieles Nieto...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3a53d962-9e4a-49cb-b976-122c38420289
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,717
supabase-export-v2
393f059bf2a0548b
* :class:`typing.ByteString` has been removed from ``typing.__all__``. :class:`!typing.ByteString` has been deprecated since Python 3.9, and is scheduled for removal in Python 3.17. * The undocumented keyword argument syntax for creating :class:`~typing.NamedTuple` classes (for example, ``Point = NamedTuple("Point", ...
trusted_official_docs
CPython Docs
* :class:`typing.ByteString` has been removed from ``typing.__all__``. :class:`!typing.ByteString` has been deprecated since Python 3.9, and is scheduled for removal in Python 3.17. * The undocumented keyword argument syntax for creating :class:`~typing.NamedTuple` classes (for example, ``Point = NamedTuple("Point", ...
* :class:`typing.ByteString` has been removed from ``typing.__all__``. :class:`!typing.ByteString` has been deprecated since Python 3.9, and is scheduled for removal in Python 3.17. * The undocumented keyword argument syntax for creating :class:`~typing.NamedTuple` classes (for example, ``Point = NamedTuple("Point", ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3ad3a7e1-6204-4d20-b7e7-714c94a537a0
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,822
supabase-export-v2
109be95da1430b46
* :c:macro:`!Py_MATH_El` and :c:macro:`!Py_MATH_PIl` are deprecated since 3.15 and will be removed in 3.20. (Contributed by Sergey B Kirpichev in :gh:`141004`.) .. Add C API deprecations above alphabetically, not here at the end.
trusted_official_docs
CPython Docs
* :c:macro:`!Py_MATH_El` and :c:macro:`!Py_MATH_PIl` are deprecated since 3.15 and will be removed in 3.20. (Contributed by Sergey B Kirpichev in :gh:`141004`.) .. Add C API deprecations above alphabetically, not here at the end.
* :c:macro:`!Py_MATH_El` and :c:macro:`!Py_MATH_PIl` are deprecated since 3.15 and will be removed in 3.20. (Contributed by Sergey B Kirpichev in :gh:`141004`.) .. Add C API deprecations above alphabetically, not here at the end.
python, official-docs, cpython, P0
Local_Trusted_Corpus
3af704ca-5d0a-4dcd-9240-f04d462eac23
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,503
supabase-export-v2
867f85bb11d559c8
contextlib ---------- * Added support for arbitrary descriptors :meth:`!__enter__`, :meth:`!__exit__`, :meth:`!__aenter__`, and :meth:`!__aexit__` in :class:`~contextlib.ExitStack` and :class:`contextlib.AsyncExitStack`, for consistency with the :keyword:`with` and :keyword:`async with` statements. (Contributed by S...
trusted_official_docs
CPython Docs
contextlib ---------- * Added support for arbitrary descriptors :meth:`!__enter__`, :meth:`!__exit__`, :meth:`!__aenter__`, and :meth:`!__aexit__` in :class:`~contextlib.ExitStack` and :class:`contextlib.AsyncExitStack`, for consistency with the :keyword:`with` and :keyword:`async with` statements. (Contributed by S...
contextlib ---------- * Added support for arbitrary descriptors :meth:`!__enter__`, :meth:`!__exit__`, :meth:`!__aenter__`, and :meth:`!__aexit__` in :class:`~contextlib.ExitStack` and :class:`contextlib.AsyncExitStack`, for consistency with the :keyword:`with` and :keyword:`async with` statements. (Contributed by S...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3b02c63b-ec8c-4fac-b221-5ae6c9ed86a5
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,814
supabase-export-v2
74d1b97fdedaeac5
the :c:type:`PyComplexObject` type. Use :c:func:`PyComplex_AsCComplex` and :c:func:`PyComplex_FromCComplex` to convert a Python complex number to/from the C :c:type:`Py_complex` representation. (Contributed by Sergey B Kirpichev in :gh:`128813`.) * Functions :c:func:`_Py_c_sum`, :c:func:`_Py_c_diff`, :c:func:`_Py_c_neg...
trusted_official_docs
CPython Docs
the :c:type:`PyComplexObject` type. Use :c:func:`PyComplex_AsCComplex` and :c:func:`PyComplex_FromCComplex` to convert a Python complex number to/from the C :c:type:`Py_complex` representation. (Contributed by Sergey B Kirpichev in :gh:`128813`.) * Functions :c:func:`_Py_c_sum`, :c:func:`_Py_c_diff`, :c:func:`_Py_c_neg...
the :c:type:`PyComplexObject` type. Use :c:func:`PyComplex_AsCComplex` and :c:func:`PyComplex_FromCComplex` to convert a Python complex number to/from the C :c:type:`Py_complex` representation. (Contributed by Sergey B Kirpichev in :gh:`128813`.) * Functions :c:func:`_Py_c_sum`, :c:func:`_Py_c_diff`, :c:func:`_Py_c_neg...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3b70feba-9112-4ade-a416-bf204b62f0d5
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,435
supabase-export-v2
1a70984770f720a8
of bytes such as data buffering, network protocol parsing, encoding, decoding, and compression. Common code patterns which can be optimized with :func:`~bytearray.take_bytes` are listed below. .. list-table:: Suggested optimizing refactors :header-rows: 1
trusted_official_docs
CPython Docs
of bytes such as data buffering, network protocol parsing, encoding, decoding, and compression. Common code patterns which can be optimized with :func:`~bytearray.take_bytes` are listed below. .. list-table:: Suggested optimizing refactors :header-rows: 1
of bytes such as data buffering, network protocol parsing, encoding, decoding, and compression. Common code patterns which can be optimized with :func:`~bytearray.take_bytes` are listed below. .. list-table:: Suggested optimizing refactors :header-rows: 1
python, official-docs, cpython, P0
Local_Trusted_Corpus
3bba3a7f-f1b1-40cb-a30d-b0ae7cb209f2
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,425
supabase-export-v2
632132323a60e93b
To retain the previous behaviour, Python's UTF-8 mode may be disabled with the :envvar:`PYTHONUTF8=0 <PYTHONUTF8>` environment variable or the :option:`-X utf8=0 <-X>` command-line option. .. seealso:: :pep:`686` for further details.
trusted_official_docs
CPython Docs
To retain the previous behaviour, Python's UTF-8 mode may be disabled with the :envvar:`PYTHONUTF8=0 <PYTHONUTF8>` environment variable or the :option:`-X utf8=0 <-X>` command-line option. .. seealso:: :pep:`686` for further details.
To retain the previous behaviour, Python's UTF-8 mode may be disabled with the :envvar:`PYTHONUTF8=0 <PYTHONUTF8>` environment variable or the :option:`-X utf8=0 <-X>` command-line option. .. seealso:: :pep:`686` for further details.
python, official-docs, cpython, P0
Local_Trusted_Corpus
3c27600c-9cc6-4101-b119-956f0d5b2eba
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,826
supabase-export-v2
6002b4b08d446ace
configuration file containing custom error messages for :term:`standard library` modules that are missing or packaged separately. (Contributed by Stan Ulbrych and Petr Viktorin in :gh:`139707`.) * The new configure option :option:`--with-pymalloc-hugepages` enables huge page support for :ref:`pymalloc <pymalloc>` aren...
trusted_official_docs
CPython Docs
configuration file containing custom error messages for :term:`standard library` modules that are missing or packaged separately. (Contributed by Stan Ulbrych and Petr Viktorin in :gh:`139707`.) * The new configure option :option:`--with-pymalloc-hugepages` enables huge page support for :ref:`pymalloc <pymalloc>` aren...
configuration file containing custom error messages for :term:`standard library` modules that are missing or packaged separately. (Contributed by Stan Ulbrych and Petr Viktorin in :gh:`139707`.) * The new configure option :option:`--with-pymalloc-hugepages` enables huge page support for :ref:`pymalloc <pymalloc>` aren...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3c722fba-7c25-4ee9-b225-5958880553e5
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,809
supabase-export-v2
9b9eb496e5e9ce0e
could define :c:macro:`Py_HASH_ALGORITHM` to be ``Py_HASH_EXTERNAL`` to indicate that the hashing scheme was provided externally but this feature was undocumented, untested and most likely unused. (Contributed by Bénédikt Tran in :gh:`141226`.)
trusted_official_docs
CPython Docs
could define :c:macro:`Py_HASH_ALGORITHM` to be ``Py_HASH_EXTERNAL`` to indicate that the hashing scheme was provided externally but this feature was undocumented, untested and most likely unused. (Contributed by Bénédikt Tran in :gh:`141226`.)
could define :c:macro:`Py_HASH_ALGORITHM` to be ``Py_HASH_EXTERNAL`` to indicate that the hashing scheme was provided externally but this feature was undocumented, untested and most likely unused. (Contributed by Bénédikt Tran in :gh:`141226`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
3cdfde68-2942-436e-bb35-8ababb6ebb23
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,401
supabase-export-v2
3958e907d16aa920
part of the instance struct; and - Switching from a ``PyInit_`` function to a new export hook, :c:func:`PyModExport_* <PyModExport_modulename>`, introduced for this purpose in :pep:`793`. Note that Stable ABI does not offer all the functionality that CPython has to offer. Extensions that cannot switch to ``abi3t`` shou...
trusted_official_docs
CPython Docs
part of the instance struct; and - Switching from a ``PyInit_`` function to a new export hook, :c:func:`PyModExport_* <PyModExport_modulename>`, introduced for this purpose in :pep:`793`. Note that Stable ABI does not offer all the functionality that CPython has to offer. Extensions that cannot switch to ``abi3t`` shou...
part of the instance struct; and - Switching from a ``PyInit_`` function to a new export hook, :c:func:`PyModExport_* <PyModExport_modulename>`, introduced for this purpose in :pep:`793`. Note that Stable ABI does not offer all the functionality that CPython has to offer. Extensions that cannot switch to ``abi3t`` shou...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3cf2e019-cad6-4bc2-8d8d-597bfc474f19
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,631
supabase-export-v2
41d4e06fb7586f1c
classes of that class cannot inherit from other disjoint bases that are not parent or child classes of ``C``. (Contributed by Jelle Zijlstra in :gh:`148639`.) * :class:`~typing.TypeVarTuple` now accepts ``bound``, ``covariant``, ``contravariant``, and ``infer_variance`` keyword arguments, matching the interface of :c...
trusted_official_docs
CPython Docs
classes of that class cannot inherit from other disjoint bases that are not parent or child classes of ``C``. (Contributed by Jelle Zijlstra in :gh:`148639`.) * :class:`~typing.TypeVarTuple` now accepts ``bound``, ``covariant``, ``contravariant``, and ``infer_variance`` keyword arguments, matching the interface of :c...
classes of that class cannot inherit from other disjoint bases that are not parent or child classes of ``C``. (Contributed by Jelle Zijlstra in :gh:`148639`.) * :class:`~typing.TypeVarTuple` now accepts ``bound``, ``covariant``, ``contravariant``, and ``infer_variance`` keyword arguments, matching the interface of :c...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3d2ef76d-2b8c-415e-bd7d-067ddec73c7e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,654
supabase-export-v2
d1e66eae890c9f22
to :ref:`xmlparser <xmlparser-objects>` objects to tune protections against disproportional amounts of dynamic memory usage from within an Expat parser. (Contributed by Bénédikt Tran in :gh:`90949`.) * Add :meth:`~xml.parsers.expat.xmlparser.SetBillionLaughsAttackProtectionActivationThreshold` and :meth:`~xml.parsers....
trusted_official_docs
CPython Docs
to :ref:`xmlparser <xmlparser-objects>` objects to tune protections against disproportional amounts of dynamic memory usage from within an Expat parser. (Contributed by Bénédikt Tran in :gh:`90949`.) * Add :meth:`~xml.parsers.expat.xmlparser.SetBillionLaughsAttackProtectionActivationThreshold` and :meth:`~xml.parsers....
to :ref:`xmlparser <xmlparser-objects>` objects to tune protections against disproportional amounts of dynamic memory usage from within an Expat parser. (Contributed by Bénédikt Tran in :gh:`90949`.) * Add :meth:`~xml.parsers.expat.xmlparser.SetBillionLaughsAttackProtectionActivationThreshold` and :meth:`~xml.parsers....
python, official-docs, cpython, P0
Local_Trusted_Corpus
404442d4-4147-41ec-ba86-1926de581440
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,400
supabase-export-v2
72cc1641946cc213
known as ``abi3t``), which makes them compatible with :term:`free-threaded builds <free-threaded build>` of CPython. This usually requires some non-trivial changes to the source code; specifically: - Switching to API introduced in :pep:`697` (Python 3.12), such as negative :c:member:`~PyType_Spec.basicsize` and :c:fu...
trusted_official_docs
CPython Docs
known as ``abi3t``), which makes them compatible with :term:`free-threaded builds <free-threaded build>` of CPython. This usually requires some non-trivial changes to the source code; specifically: - Switching to API introduced in :pep:`697` (Python 3.12), such as negative :c:member:`~PyType_Spec.basicsize` and :c:fu...
known as ``abi3t``), which makes them compatible with :term:`free-threaded builds <free-threaded build>` of CPython. This usually requires some non-trivial changes to the source code; specifically: - Switching to API introduced in :pep:`697` (Python 3.12), such as negative :c:member:`~PyType_Spec.basicsize` and :c:fu...
python, official-docs, cpython, P0
Local_Trusted_Corpus
411e6a78-0572-4740-8175-d61e531c6a4b
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,653
supabase-export-v2
27af0d4d5c7e3c41
xml.parsers.expat ----------------- * Add :meth:`~xml.parsers.expat.xmlparser.SetAllocTrackerActivationThreshold` and :meth:`~xml.parsers.expat.xmlparser.SetAllocTrackerMaximumAmplification` to :ref:`xmlparser <xmlparser-objects>` objects to tune protections against disproportional amounts of dynamic memory usage fr...
trusted_official_docs
CPython Docs
xml.parsers.expat ----------------- * Add :meth:`~xml.parsers.expat.xmlparser.SetAllocTrackerActivationThreshold` and :meth:`~xml.parsers.expat.xmlparser.SetAllocTrackerMaximumAmplification` to :ref:`xmlparser <xmlparser-objects>` objects to tune protections against disproportional amounts of dynamic memory usage fr...
xml.parsers.expat ----------------- * Add :meth:`~xml.parsers.expat.xmlparser.SetAllocTrackerActivationThreshold` and :meth:`~xml.parsers.expat.xmlparser.SetAllocTrackerMaximumAmplification` to :ref:`xmlparser <xmlparser-objects>` objects to tune protections against disproportional amounts of dynamic memory usage fr...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4444b4aa-9df9-4c67-a0f7-8c5d7914d9d6
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,827
supabase-export-v2
ee82e4389c91f134
fallback to regular pages. On Windows, use ``build.bat --pymalloc-hugepages``. At runtime, huge pages must be explicitly enabled by setting the :envvar:`PYTHON_PYMALLOC_HUGEPAGES` environment variable to ``1``. * Annotating anonymous mmap usage is now supported if Linux kernel supports :manpage:`PR_SET_VMA_ANON_NAME <...
trusted_official_docs
CPython Docs
fallback to regular pages. On Windows, use ``build.bat --pymalloc-hugepages``. At runtime, huge pages must be explicitly enabled by setting the :envvar:`PYTHON_PYMALLOC_HUGEPAGES` environment variable to ``1``. * Annotating anonymous mmap usage is now supported if Linux kernel supports :manpage:`PR_SET_VMA_ANON_NAME <...
fallback to regular pages. On Windows, use ``build.bat --pymalloc-hugepages``. At runtime, huge pages must be explicitly enabled by setting the :envvar:`PYTHON_PYMALLOC_HUGEPAGES` environment variable to ``1``. * Annotating anonymous mmap usage is now supported if Linux kernel supports :manpage:`PR_SET_VMA_ANON_NAME <...
python, official-docs, cpython, P0
Local_Trusted_Corpus
44c3ea39-cfdb-4403-a4be-0b815ef263a2
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,428
supabase-export-v2
eaeca1d8157f93b6
(Contributed by Adam Turner in :gh:`133711`; PEP 686 written by Inada Naoki.) * 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`.)
trusted_official_docs
CPython Docs
(Contributed by Adam Turner in :gh:`133711`; PEP 686 written by Inada Naoki.) * 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`.)
(Contributed by Adam Turner in :gh:`133711`; PEP 686 written by Inada Naoki.) * 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`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
45514ffd-453c-4e3d-ae45-a89a7c08ff26
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,744
supabase-export-v2
8547887267b2bc3d
* :mod:`re`: * :func:`re.match` and :meth:`re.Pattern.match` are now :term:`soft deprecated` in favor of the new :func:`re.prefixmatch` and :meth:`re.Pattern.prefixmatch` APIs, which have been added as alternate, more explicit names. These are intended to be used to alleviate confusion around what *match* means by ...
trusted_official_docs
CPython Docs
* :mod:`re`: * :func:`re.match` and :meth:`re.Pattern.match` are now :term:`soft deprecated` in favor of the new :func:`re.prefixmatch` and :meth:`re.Pattern.prefixmatch` APIs, which have been added as alternate, more explicit names. These are intended to be used to alleviate confusion around what *match* means by ...
* :mod:`re`: * :func:`re.match` and :meth:`re.Pattern.match` are now :term:`soft deprecated` in favor of the new :func:`re.prefixmatch` and :meth:`re.Pattern.prefixmatch` APIs, which have been added as alternate, more explicit names. These are intended to be used to alleviate confusion around what *match* means by ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4640b945-c7c7-4cb1-b685-fbdced1d2b0b
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,450
supabase-export-v2
18de153b1f6467ef
* - Split a buffer at a specific separator; discard after the separator - .. code:: python buffer = bytearray(b'abc\ndef') n = buffer.find(b'\n') data = bytes(buffer[:n]) buffer.clear() assert data == b'abc' assert len(buffer) == 0
trusted_official_docs
CPython Docs
* - Split a buffer at a specific separator; discard after the separator - .. code:: python buffer = bytearray(b'abc\ndef') n = buffer.find(b'\n') data = bytes(buffer[:n]) buffer.clear() assert data == b'abc' assert len(buffer) == 0
* - Split a buffer at a specific separator; discard after the separator - .. code:: python buffer = bytearray(b'abc\ndef') n = buffer.find(b'\n') data = bytes(buffer[:n]) buffer.clear() assert data == b'abc' assert len(buffer) == 0
python, official-docs, cpython, P0
Local_Trusted_Corpus
46fb8bcd-deef-4bf7-a9e6-baa64cce401d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,778
supabase-export-v2
333dc1aa960654b3
* :c:func:`PyBytesWriter_Create` * :c:func:`PyBytesWriter_Discard` * :c:func:`PyBytesWriter_FinishWithPointer` * :c:func:`PyBytesWriter_FinishWithSize` * :c:func:`PyBytesWriter_Finish` * :c:func:`PyBytesWriter_Format` * :c:func:`PyBytesWriter_GetData` * :c:func:`PyBytesWriter_GetSize` * :c:func:`PyBytesWriter_GrowAndUp...
trusted_official_docs
CPython Docs
* :c:func:`PyBytesWriter_Create` * :c:func:`PyBytesWriter_Discard` * :c:func:`PyBytesWriter_FinishWithPointer` * :c:func:`PyBytesWriter_FinishWithSize` * :c:func:`PyBytesWriter_Finish` * :c:func:`PyBytesWriter_Format` * :c:func:`PyBytesWriter_GetData` * :c:func:`PyBytesWriter_GetSize` * :c:func:`PyBytesWriter_GrowAndUp...
* :c:func:`PyBytesWriter_Create` * :c:func:`PyBytesWriter_Discard` * :c:func:`PyBytesWriter_FinishWithPointer` * :c:func:`PyBytesWriter_FinishWithSize` * :c:func:`PyBytesWriter_Finish` * :c:func:`PyBytesWriter_Format` * :c:func:`PyBytesWriter_GetData` * :c:func:`PyBytesWriter_GetSize` * :c:func:`PyBytesWriter_GrowAndUp...
python, official-docs, cpython, P0
Local_Trusted_Corpus
498b2b0c-48aa-4523-8532-b2fb6b2b93c3
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,379
supabase-export-v2
3a6fce52511ab722
* **Multiple output formats**: Choose the visualization that best fits your workflow: * ``--pstats``: Detailed tabular statistics compatible with :mod:`pstats`. Shows function-level timing with direct and cumulative samples. Best for detailed analysis and integration with existing Python profiling tools. * ``--collap...
trusted_official_docs
CPython Docs
* **Multiple output formats**: Choose the visualization that best fits your workflow: * ``--pstats``: Detailed tabular statistics compatible with :mod:`pstats`. Shows function-level timing with direct and cumulative samples. Best for detailed analysis and integration with existing Python profiling tools. * ``--collap...
* **Multiple output formats**: Choose the visualization that best fits your workflow: * ``--pstats``: Detailed tabular statistics compatible with :mod:`pstats`. Shows function-level timing with direct and cumulative samples. Best for detailed analysis and integration with existing Python profiling tools. * ``--collap...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4b90a39d-8416-43fe-b64f-cdb55fca146b
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,797
supabase-export-v2
7e4f5fbe7949ef68
* :c:func:`!PyImport_ImportModuleNoBlock`: deprecated alias of :c:func:`PyImport_ImportModule`. (Contributed by Bénédikt Tran in :gh:`133644`.) * :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:`!Py...
trusted_official_docs
CPython Docs
* :c:func:`!PyImport_ImportModuleNoBlock`: deprecated alias of :c:func:`PyImport_ImportModule`. (Contributed by Bénédikt Tran in :gh:`133644`.) * :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:`!Py...
* :c:func:`!PyImport_ImportModuleNoBlock`: deprecated alias of :c:func:`PyImport_ImportModule`. (Contributed by Bénédikt Tran in :gh:`133644`.) * :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:`!Py...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4c517a2c-266c-4edd-8a09-daec550f4302
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,682
supabase-export-v2
7865a9a3c4137892
detects that certain user code results in constants, the code can be simplified by the JIT. (Contributed by Ken Jin and Savannah Ostrowski in :gh:`132732`.) :term:`Reference count`\ s are avoided whenever it is safe to do so. This generally reduces the cost of most operations in Python. (Contributed by Ken Jin, Donghee...
trusted_official_docs
CPython Docs
detects that certain user code results in constants, the code can be simplified by the JIT. (Contributed by Ken Jin and Savannah Ostrowski in :gh:`132732`.) :term:`Reference count`\ s are avoided whenever it is safe to do so. This generally reduces the cost of most operations in Python. (Contributed by Ken Jin, Donghee...
detects that certain user code results in constants, the code can be simplified by the JIT. (Contributed by Ken Jin and Savannah Ostrowski in :gh:`132732`.) :term:`Reference count`\ s are avoided whenever it is safe to do so. This generally reduces the cost of most operations in Python. (Contributed by Ken Jin, Donghee...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4f897588-a53d-4a78-b515-45c99b331af3
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,816
supabase-export-v2
d97b69fa03379fc0
* :c:member:`~PyConfig.bytes_warning` is deprecated since 3.15 and will be removed in 3.17. (Contributed by Nikita Sobolev in :gh:`136355`.) * :c:macro:`!Py_INFINITY` macro is :term:`soft deprecated`, use the C11 standard ``<math.h>`` :c:macro:`!INFINITY` instead. (Contributed by Sergey B Kirpichev in :gh:`141004`.)
trusted_official_docs
CPython Docs
* :c:member:`~PyConfig.bytes_warning` is deprecated since 3.15 and will be removed in 3.17. (Contributed by Nikita Sobolev in :gh:`136355`.) * :c:macro:`!Py_INFINITY` macro is :term:`soft deprecated`, use the C11 standard ``<math.h>`` :c:macro:`!INFINITY` instead. (Contributed by Sergey B Kirpichev in :gh:`141004`.)
* :c:member:`~PyConfig.bytes_warning` is deprecated since 3.15 and will be removed in 3.17. (Contributed by Nikita Sobolev in :gh:`136355`.) * :c:macro:`!Py_INFINITY` macro is :term:`soft deprecated`, use the C11 standard ``<math.h>`` :c:macro:`!INFINITY` instead. (Contributed by Sergey B Kirpichev in :gh:`141004`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
4ff9f3e7-2178-408d-9607-025b1bec6208
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,455
supabase-export-v2
009d2a63e281245f
allow the module name to be passed. It is needed to unambiguously :ref:`filter <warning-filter>` syntax warnings by module name. (Contributed by Serhiy Storchaka in :gh:`135801`.) * Allowed defining the *__dict__* and *__weakref__* :ref:`__slots__ <slots>` for any class. (Contributed by Serhiy Storchaka in :gh:`41779`...
trusted_official_docs
CPython Docs
allow the module name to be passed. It is needed to unambiguously :ref:`filter <warning-filter>` syntax warnings by module name. (Contributed by Serhiy Storchaka in :gh:`135801`.) * Allowed defining the *__dict__* and *__weakref__* :ref:`__slots__ <slots>` for any class. (Contributed by Serhiy Storchaka in :gh:`41779`...
allow the module name to be passed. It is needed to unambiguously :ref:`filter <warning-filter>` syntax warnings by module name. (Contributed by Serhiy Storchaka in :gh:`135801`.) * Allowed defining the *__dict__* and *__weakref__* :ref:`__slots__ <slots>` for any class. (Contributed by Serhiy Storchaka in :gh:`41779`...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5123105e-bbe2-4c31-a9c2-a46508d201c2
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,369
supabase-export-v2
670ca43dde0ec7cf
sampling profiler (Tachyon) has been added as :mod:`profiling.sampling`. This profiler enables low-overhead performance analysis of running Python processes without requiring code modification or process restart. Unlike deterministic profilers (such as :mod:`profiling.tracing`) that instrument every function call, the ...
trusted_official_docs
CPython Docs
sampling profiler (Tachyon) has been added as :mod:`profiling.sampling`. This profiler enables low-overhead performance analysis of running Python processes without requiring code modification or process restart. Unlike deterministic profilers (such as :mod:`profiling.tracing`) that instrument every function call, the ...
sampling profiler (Tachyon) has been added as :mod:`profiling.sampling`. This profiler enables low-overhead performance analysis of running Python processes without requiring code modification or process restart. Unlike deterministic profilers (such as :mod:`profiling.tracing`) that instrument every function call, the ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
51e4afc6-01f4-4914-b88a-005f66a246ea
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,468
supabase-export-v2
d0c57ef7e638f59e
* Changed the *suggest_on_error* parameter of :class:`argparse.ArgumentParser` to default to ``True``. This enables suggestions for mistyped arguments by default. (Contributed by Jakob Schluse in :gh:`140450`.) * Added backtick markup support in description and epilog text to highlight inline code when color output is...
trusted_official_docs
CPython Docs
* Changed the *suggest_on_error* parameter of :class:`argparse.ArgumentParser` to default to ``True``. This enables suggestions for mistyped arguments by default. (Contributed by Jakob Schluse in :gh:`140450`.) * Added backtick markup support in description and epilog text to highlight inline code when color output is...
* Changed the *suggest_on_error* parameter of :class:`argparse.ArgumentParser` to default to ``True``. This enables suggestions for mistyped arguments by default. (Contributed by Jakob Schluse in :gh:`140450`.) * Added backtick markup support in description and epilog text to highlight inline code when color output is...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5410b75b-cbeb-43a5-86c7-cd850b2f47ec
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,698
supabase-export-v2
0a29a8ddab4b30b0
glob ---- * Removed the undocumented :func:`!glob.glob0` and :func:`!glob.glob1` functions, which have been deprecated since Python 3.13. Use :func:`glob.glob` and pass a directory to its *root_dir* argument instead. (Contributed by Barney Gale in :gh:`137466`.)
trusted_official_docs
CPython Docs
glob ---- * Removed the undocumented :func:`!glob.glob0` and :func:`!glob.glob1` functions, which have been deprecated since Python 3.13. Use :func:`glob.glob` and pass a directory to its *root_dir* argument instead. (Contributed by Barney Gale in :gh:`137466`.)
glob ---- * Removed the undocumented :func:`!glob.glob0` and :func:`!glob.glob1` functions, which have been deprecated since Python 3.13. Use :func:`glob.glob` and pass a directory to its *root_dir* argument instead. (Contributed by Barney Gale in :gh:`137466`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
5439a729-2e17-48d7-bbcb-19aacf2896aa
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,304
supabase-export-v2
adb5b6832ebf0682
a change is added to the text, I'll just remove it. (This is another reason you shouldn't spend too much time on writing your addition.) * If you want to draw your new text to the attention of the maintainer, add 'XXX' to the beginning of the paragraph or section.
trusted_official_docs
CPython Docs
a change is added to the text, I'll just remove it. (This is another reason you shouldn't spend too much time on writing your addition.) * If you want to draw your new text to the attention of the maintainer, add 'XXX' to the beginning of the paragraph or section.
a change is added to the text, I'll just remove it. (This is another reason you shouldn't spend too much time on writing your addition.) * If you want to draw your new text to the attention of the maintainer, add 'XXX' to the beginning of the paragraph or section.
python, official-docs, cpython, P0
Local_Trusted_Corpus
549e0834-46b8-46cd-86ae-2882c9930cdc
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,745
supabase-export-v2
b9bd735da0deebcd
*"Explicit is better than implicit"* mantra. Most other language regular expression libraries use an API named *match* to mean what Python has always called *search*. We **do not** plan to remove the older :func:`!match` name, as it has been used in code for over 30 years. Code supporting older versions of Python sho...
trusted_official_docs
CPython Docs
*"Explicit is better than implicit"* mantra. Most other language regular expression libraries use an API named *match* to mean what Python has always called *search*. We **do not** plan to remove the older :func:`!match` name, as it has been used in code for over 30 years. Code supporting older versions of Python sho...
*"Explicit is better than implicit"* mantra. Most other language regular expression libraries use an API named *match* to mean what Python has always called *search*. We **do not** plan to remove the older :func:`!match` name, as it has been used in code for over 30 years. Code supporting older versions of Python sho...
python, official-docs, cpython, P0
Local_Trusted_Corpus
59d509a1-e43f-4051-b1ff-5851f3a98ac2
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,757
supabase-export-v2
19e0232e09aca41c
:mod:`pickle` - :mod:`platform` - :mod:`re` - :mod:`socketserver` - :mod:`tabnanny` - :mod:`tarfile` - :mod:`tkinter.font` - :mod:`tkinter.ttk` - :mod:`wsgiref.simple_server` - :mod:`xml.etree.ElementTree` - :mod:`!xml.sax.expatreader` - :mod:`xml.sax.handler` - :mod:`zlib` (Contributed by Hugo van Kemenade and Stan Ul...
trusted_official_docs
CPython Docs
:mod:`pickle` - :mod:`platform` - :mod:`re` - :mod:`socketserver` - :mod:`tabnanny` - :mod:`tarfile` - :mod:`tkinter.font` - :mod:`tkinter.ttk` - :mod:`wsgiref.simple_server` - :mod:`xml.etree.ElementTree` - :mod:`!xml.sax.expatreader` - :mod:`xml.sax.handler` - :mod:`zlib` (Contributed by Hugo van Kemenade and Stan Ul...
:mod:`pickle` - :mod:`platform` - :mod:`re` - :mod:`socketserver` - :mod:`tabnanny` - :mod:`tarfile` - :mod:`tkinter.font` - :mod:`tkinter.ttk` - :mod:`wsgiref.simple_server` - :mod:`xml.etree.ElementTree` - :mod:`!xml.sax.expatreader` - :mod:`xml.sax.handler` - :mod:`zlib` (Contributed by Hugo van Kemenade and Stan Ul...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5b0bed5e-55fa-4a0c-a973-a96c0ea806b3
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,839
supabase-export-v2
9f55ec09e4e61c1b
to its old value (such as ``-1`` or ``-3``, depending on platform) to :func:`resource.setrlimit` and :func:`resource.prlimit` is now deprecated. (Contributed by Serhiy Storchaka in :gh:`137044`.) * :meth:`mmap.mmap.resize` has been removed on platforms that don't support the underlying syscall, instead of raising a :e...
trusted_official_docs
CPython Docs
to its old value (such as ``-1`` or ``-3``, depending on platform) to :func:`resource.setrlimit` and :func:`resource.prlimit` is now deprecated. (Contributed by Serhiy Storchaka in :gh:`137044`.) * :meth:`mmap.mmap.resize` has been removed on platforms that don't support the underlying syscall, instead of raising a :e...
to its old value (such as ``-1`` or ``-3``, depending on platform) to :func:`resource.setrlimit` and :func:`resource.prlimit` is now deprecated. (Contributed by Serhiy Storchaka in :gh:`137044`.) * :meth:`mmap.mmap.resize` has been removed on platforms that don't support the underlying syscall, instead of raising a :e...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5b1e102f-895f-4e54-add0-f04c92512b9b
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,377
supabase-export-v2
05e3a837b61ca00d
in multi-threaded applications. * **Exception handling time** (``--mode exception``): Captures samples only from threads with an active exception. Use this to analyze exception handling overhead. * **Thread-aware profiling**: Option to profile all threads (``-a``) or just the main thread, essential for understanding m...
trusted_official_docs
CPython Docs
in multi-threaded applications. * **Exception handling time** (``--mode exception``): Captures samples only from threads with an active exception. Use this to analyze exception handling overhead. * **Thread-aware profiling**: Option to profile all threads (``-a``) or just the main thread, essential for understanding m...
in multi-threaded applications. * **Exception handling time** (``--mode exception``): Captures samples only from threads with an active exception. Use this to analyze exception handling overhead. * **Thread-aware profiling**: Option to profile all threads (``-a``) or just the main thread, essential for understanding m...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5fbac4c8-5d90-4b5f-944a-05610059fd53
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.15.rst
unknown
11249cc2-3748-4975-88af-2c38ed5f13b4
60,756
supabase-export-v2
d0b97355ac190714
* The ``__version__``, ``version`` and ``VERSION`` attributes have been deprecated in these standard library modules and will be removed in Python 3.20. Use :py:data:`sys.version_info` instead. - :mod:`argparse` - :mod:`csv` - :mod:`ctypes` - :mod:`!ctypes.macholib` - :mod:`decimal` (use :data:`decimal.SPEC_VERSION...
trusted_official_docs
CPython Docs
* The ``__version__``, ``version`` and ``VERSION`` attributes have been deprecated in these standard library modules and will be removed in Python 3.20. Use :py:data:`sys.version_info` instead. - :mod:`argparse` - :mod:`csv` - :mod:`ctypes` - :mod:`!ctypes.macholib` - :mod:`decimal` (use :data:`decimal.SPEC_VERSION...
* The ``__version__``, ``version`` and ``VERSION`` attributes have been deprecated in these standard library modules and will be removed in Python 3.20. Use :py:data:`sys.version_info` instead. - :mod:`argparse` - :mod:`csv` - :mod:`ctypes` - :mod:`!ctypes.macholib` - :mod:`decimal` (use :data:`decimal.SPEC_VERSION...
python, official-docs, cpython, P0
Local_Trusted_Corpus