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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6912906f-bf09-4551-bd7f-a38d89634310 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,928 | supabase-export-v2 | 8e282bf086b836dd | as the empty directory (which allows imports from the *current* working directory at the time when an import occurs) (Contributed by Nick Coghlan in :issue:`33053`.)
* The new :option:`-X` ``importtime`` option or the
:envvar:`PYTHONPROFILEIMPORTTIME` environment variable can be used to show
the timing of each module... | trusted_official_docs | CPython Docs | as the empty directory (which allows imports from the *current* working directory at the time when an import occurs) (Contributed by Nick Coghlan in :issue:`33053`.)
* The new :option:`-X` ``importtime`` option or the
:envvar:`PYTHONPROFILEIMPORTTIME` environment variable can be used to show
the timing of each module... | as the empty directory (which allows imports from the *current* working directory at the time when an import occurs) (Contributed by Nick Coghlan in :issue:`33053`.)
* The new :option:`-X` ``importtime`` option or the
:envvar:`PYTHONPROFILEIMPORTTIME` environment variable can be used to show
the timing of each module... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6a8b83ec-4dd5-4424-abd1-6159f6aaa87e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,962 | supabase-export-v2 | 682bf6215b125097 | * The new :meth:`loop.sock_sendfile() <asyncio.loop.sock_sendfile>` coroutine method allows sending files using :mod:`os.sendfile` when possible. (Contributed by Andrew Svetlov in :issue:`32410`.)
* The new :meth:`Future.get_loop() <asyncio.Future.get_loop>` and
``Task.get_loop()`` methods return the instance of the l... | trusted_official_docs | CPython Docs | * The new :meth:`loop.sock_sendfile() <asyncio.loop.sock_sendfile>` coroutine method allows sending files using :mod:`os.sendfile` when possible. (Contributed by Andrew Svetlov in :issue:`32410`.)
* The new :meth:`Future.get_loop() <asyncio.Future.get_loop>` and
``Task.get_loop()`` methods return the instance of the l... | * The new :meth:`loop.sock_sendfile() <asyncio.loop.sock_sendfile>` coroutine method allows sending files using :mod:`os.sendfile` when possible. (Contributed by Andrew Svetlov in :issue:`32410`.)
* The new :meth:`Future.get_loop() <asyncio.Future.get_loop>` and
``Task.get_loop()`` methods return the instance of the l... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6bf9d719-e17d-4e5c-9abf-c8984bec2e66 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,812 | supabase-export-v2 | 9bc4a3043e716923 | * :ref:`PEP 560 <whatsnew37-pep560>`, core support for typing module and generic types.
* the insertion-order preservation nature of :ref:`dict <typesmapping>`
objects `has been declared`_ to be an official
part of the Python language spec. | trusted_official_docs | CPython Docs | * :ref:`PEP 560 <whatsnew37-pep560>`, core support for typing module and generic types.
* the insertion-order preservation nature of :ref:`dict <typesmapping>`
objects `has been declared`_ to be an official
part of the Python language spec. | * :ref:`PEP 560 <whatsnew37-pep560>`, core support for typing module and generic types.
* the insertion-order preservation nature of :ref:`dict <typesmapping>`
objects `has been declared`_ to be an official
part of the Python language spec. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6cce7c47-9498-48e1-bcd1-59b9056a4f3d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,344 | supabase-export-v2 | 9a300af2827e8b42 | <calendar.Calendar.itermonthdays4>` can be used. The new methods return tuples and are not restricted by the range supported by :class:`datetime.date`. (Contributed by Alexander Belopolsky in :issue:`28292`.)
* :class:`collections.ChainMap` now preserves the order of the underlying
mappings. (Contributed by Raymond He... | trusted_official_docs | CPython Docs | <calendar.Calendar.itermonthdays4>` can be used. The new methods return tuples and are not restricted by the range supported by :class:`datetime.date`. (Contributed by Alexander Belopolsky in :issue:`28292`.)
* :class:`collections.ChainMap` now preserves the order of the underlying
mappings. (Contributed by Raymond He... | <calendar.Calendar.itermonthdays4>` can be used. The new methods return tuples and are not restricted by the range supported by :class:`datetime.date`. (Contributed by Alexander Belopolsky in :issue:`28292`.)
* :class:`collections.ChainMap` now preserves the order of the underlying
mappings. (Contributed by Raymond He... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6cd9934d-6663-44b7-a0d8-e288be1a2ac7 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,043 | supabase-export-v2 | ddb120442188efa9 | raises :exc:`ModuleNotFoundError` instead of :exc:`AttributeError` if the specified parent module is not a package (i.e. lacks a ``__path__`` attribute). (Contributed by Milan Oberkirch in :issue:`30436`.)
The new :func:`importlib.util.source_hash` can be used to compute the hash of
the passed source. A :ref:`hash-base... | trusted_official_docs | CPython Docs | raises :exc:`ModuleNotFoundError` instead of :exc:`AttributeError` if the specified parent module is not a package (i.e. lacks a ``__path__`` attribute). (Contributed by Milan Oberkirch in :issue:`30436`.)
The new :func:`importlib.util.source_hash` can be used to compute the hash of
the passed source. A :ref:`hash-base... | raises :exc:`ModuleNotFoundError` instead of :exc:`AttributeError` if the specified parent module is not a package (i.e. lacks a ``__path__`` attribute). (Contributed by Milan Oberkirch in :issue:`30436`.)
The new :func:`importlib.util.source_hash` can be used to compute the hash of
the passed source. A :ref:`hash-base... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6e54badc-e2fa-4af2-9d29-225caa1f8751 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,371 | supabase-export-v2 | b75ef0f636a658ef | Notable changes in Python 3.7.10 ================================
Earlier Python versions allowed using both ``;`` and ``&`` as
query parameter separators in :func:`urllib.parse.parse_qs` and
:func:`urllib.parse.parse_qsl`. Due to security concerns, and to conform with
newer W3C recommendations, this has been changed t... | trusted_official_docs | CPython Docs | Notable changes in Python 3.7.10 ================================
Earlier Python versions allowed using both ``;`` and ``&`` as
query parameter separators in :func:`urllib.parse.parse_qs` and
:func:`urllib.parse.parse_qsl`. Due to security concerns, and to conform with
newer W3C recommendations, this has been changed t... | Notable changes in Python 3.7.10 ================================
Earlier Python versions allowed using both ``;`` and ``&`` as
query parameter separators in :func:`urllib.parse.parse_qs` and
:func:`urllib.parse.parse_qsl`. Due to security concerns, and to conform with
newer W3C recommendations, this has been changed t... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6e553bfa-8e09-4421-a191-4d2d6abed1f9 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,845 | supabase-export-v2 | c119a5a6d8062daf | both the core interpreter and locale-aware C extensions (such as :mod:`readline`) will assume the use of UTF-8 as the default text encoding, rather than ASCII.
The platform support definition in :pep:`11` has also been updated to limit
full text handling support to suitably configured non-ASCII based locales. | trusted_official_docs | CPython Docs | both the core interpreter and locale-aware C extensions (such as :mod:`readline`) will assume the use of UTF-8 as the default text encoding, rather than ASCII.
The platform support definition in :pep:`11` has also been updated to limit
full text handling support to suitably configured non-ASCII based locales. | both the core interpreter and locale-aware C extensions (such as :mod:`readline`) will assume the use of UTF-8 as the default text encoding, rather than ASCII.
The platform support definition in :pep:`11` has also been updated to limit
full text handling support to suitably configured non-ASCII based locales. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6e9a05dc-730e-4135-8376-0716121449f3 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,960 | supabase-export-v2 | e09b2a9bd425bf67 | is running. This is in contrast with :func:`asyncio.get_event_loop`, which will *create* a new event loop if none is running. (Contributed by Yury Selivanov in :issue:`32269`.)
* The new :meth:`StreamWriter.wait_closed() <asyncio.StreamWriter.wait_closed>`
coroutine method allows waiting until the stream writer is clo... | trusted_official_docs | CPython Docs | is running. This is in contrast with :func:`asyncio.get_event_loop`, which will *create* a new event loop if none is running. (Contributed by Yury Selivanov in :issue:`32269`.)
* The new :meth:`StreamWriter.wait_closed() <asyncio.StreamWriter.wait_closed>`
coroutine method allows waiting until the stream writer is clo... | is running. This is in contrast with :func:`asyncio.get_event_loop`, which will *create* a new event loop if none is running. (Contributed by Yury Selivanov in :issue:`32269`.)
* The new :meth:`StreamWriter.wait_closed() <asyncio.StreamWriter.wait_closed>`
coroutine method allows waiting until the stream writer is clo... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6f1bae4a-6a1b-40f9-aa9b-c60329a7bfab | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,097 | supabase-export-v2 | ea868601cd8cd4a5 | closes the passed socket file descriptor. This function should be used instead of :func:`os.close` for better compatibility across platforms. (Contributed by Christian Heimes in :issue:`32454`.)
The :mod:`socket` module now exposes the :ref:`socket.TCP_CONGESTION
<socket-unix-constants>` (Linux 2.6.13), :ref:`socket.TC... | trusted_official_docs | CPython Docs | closes the passed socket file descriptor. This function should be used instead of :func:`os.close` for better compatibility across platforms. (Contributed by Christian Heimes in :issue:`32454`.)
The :mod:`socket` module now exposes the :ref:`socket.TCP_CONGESTION
<socket-unix-constants>` (Linux 2.6.13), :ref:`socket.TC... | closes the passed socket file descriptor. This function should be used instead of :func:`os.close` for better compatibility across platforms. (Contributed by Christian Heimes in :issue:`32454`.)
The :mod:`socket` module now exposes the :ref:`socket.TCP_CONGESTION
<socket-unix-constants>` (Linux 2.6.13), :ref:`socket.TC... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
70fc3204-1ad3-4e8c-aa26-0fd80aeb939c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,292 | supabase-export-v2 | 7716d2efcab83c39 | in the result of functions :func:`!readPlist` and :func:`!readPlistFromBytes` are now normal dicts. You no longer can use attribute access to access items of these dictionaries.
* The ``asyncio.windows_utils.socketpair()`` function has been
removed. Use the :func:`socket.socketpair` function instead,
it is available ... | trusted_official_docs | CPython Docs | in the result of functions :func:`!readPlist` and :func:`!readPlistFromBytes` are now normal dicts. You no longer can use attribute access to access items of these dictionaries.
* The ``asyncio.windows_utils.socketpair()`` function has been
removed. Use the :func:`socket.socketpair` function instead,
it is available ... | in the result of functions :func:`!readPlist` and :func:`!readPlistFromBytes` are now normal dicts. You no longer can use attribute access to access items of these dictionaries.
* The ``asyncio.windows_utils.socketpair()`` function has been
removed. Use the :func:`socket.socketpair` function instead,
it is available ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
717b08c0-d2b8-4239-ad5e-dd451ae61ba5 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,299 | supabase-export-v2 | 9e21d009360403f4 | Windows-only Changes ====================
The python launcher, (py.exe), can accept 32 & 64 bit specifiers **without**
having to specify a minor version as well. So ``py -3-32`` and ``py -3-64``
become valid as well as ``py -3.7-32``, also the -*m*-64 and -*m.n*-64 forms
are now accepted to force 64 bit python even if ... | trusted_official_docs | CPython Docs | Windows-only Changes ====================
The python launcher, (py.exe), can accept 32 & 64 bit specifiers **without**
having to specify a minor version as well. So ``py -3-32`` and ``py -3-64``
become valid as well as ``py -3.7-32``, also the -*m*-64 and -*m.n*-64 forms
are now accepted to force 64 bit python even if ... | Windows-only Changes ====================
The python launcher, (py.exe), can accept 32 & 64 bit specifiers **without**
having to specify a minor version as well. So ``py -3-32`` and ``py -3-64``
become valid as well as ``py -3.7-32``, also the -*m*-64 and -*m.n*-64 forms
are now accepted to force 64 bit python even if ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
72125bfe-3e50-4d64-b89f-f39b0ce90c91 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,975 | supabase-export-v2 | d9f5ddedc7d70132 | * Loop methods which accept socket paths now support passing :term:`path-like objects <path-like object>`. (Contributed by Yury Selivanov in :issue:`32066`.)
* In :mod:`asyncio` TCP sockets on Linux are now created with ``TCP_NODELAY``
flag set by default. (Contributed by Yury Selivanov and Victor Stinner in :issue:`2... | trusted_official_docs | CPython Docs | * Loop methods which accept socket paths now support passing :term:`path-like objects <path-like object>`. (Contributed by Yury Selivanov in :issue:`32066`.)
* In :mod:`asyncio` TCP sockets on Linux are now created with ``TCP_NODELAY``
flag set by default. (Contributed by Yury Selivanov and Victor Stinner in :issue:`2... | * Loop methods which accept socket paths now support passing :term:`path-like objects <path-like object>`. (Contributed by Yury Selivanov in :issue:`32066`.)
* In :mod:`asyncio` TCP sockets on Linux are now created with ``TCP_NODELAY``
flag set by default. (Contributed by Yury Selivanov and Victor Stinner in :issue:`2... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
73a34d2c-137a-4371-a81f-387368825595 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,177 | supabase-export-v2 | 7ab6ece30628e561 | C API Changes =============
A new API for thread-local storage has been implemented. See
:ref:`whatsnew37-pep539` for an overview and
:ref:`thread-specific-storage-api` for a complete reference. (Contributed by Masayuki Yamamoto in :issue:`25658`.) | trusted_official_docs | CPython Docs | C API Changes =============
A new API for thread-local storage has been implemented. See
:ref:`whatsnew37-pep539` for an overview and
:ref:`thread-specific-storage-api` for a complete reference. (Contributed by Masayuki Yamamoto in :issue:`25658`.) | C API Changes =============
A new API for thread-local storage has been implemented. See
:ref:`whatsnew37-pep539` for an overview and
:ref:`thread-specific-storage-api` for a complete reference. (Contributed by Masayuki Yamamoto in :issue:`25658`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
748f73d6-4a58-4222-936f-d95a368e653c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,279 | supabase-export-v2 | bc605d4126f9a975 | Platform Support Removals =========================
* FreeBSD 9 and older are no longer officially supported. * For full Unicode support, including within extension modules, \*nix platforms
are now expected to provide at least one of ``C.UTF-8`` (full locale),
``C.utf8`` (full locale) or ``UTF-8`` (``LC_CTYPE``-only ... | trusted_official_docs | CPython Docs | Platform Support Removals =========================
* FreeBSD 9 and older are no longer officially supported. * For full Unicode support, including within extension modules, \*nix platforms
are now expected to provide at least one of ``C.UTF-8`` (full locale),
``C.utf8`` (full locale) or ``UTF-8`` (``LC_CTYPE``-only ... | Platform Support Removals =========================
* FreeBSD 9 and older are no longer officially supported. * For full Unicode support, including within extension modules, \*nix platforms
are now expected to provide at least one of ``C.UTF-8`` (full locale),
``C.utf8`` (full locale) or ``UTF-8`` (``LC_CTYPE``-only ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
74fc4dd8-db25-434d-a7b1-e418a5c2840a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,338 | supabase-export-v2 | e1478917556aa6c9 | * :meth:`importlib.machinery.PathFinder.invalidate_caches` -- which implicitly affects :func:`importlib.invalidate_caches` -- now deletes entries in :data:`sys.path_importer_cache` which are set to ``None``. (Contributed by Brett Cannon in :issue:`33169`.)
* In :mod:`asyncio`,
:meth:`loop.sock_recv() <asyncio.loop.soc... | trusted_official_docs | CPython Docs | * :meth:`importlib.machinery.PathFinder.invalidate_caches` -- which implicitly affects :func:`importlib.invalidate_caches` -- now deletes entries in :data:`sys.path_importer_cache` which are set to ``None``. (Contributed by Brett Cannon in :issue:`33169`.)
* In :mod:`asyncio`,
:meth:`loop.sock_recv() <asyncio.loop.soc... | * :meth:`importlib.machinery.PathFinder.invalidate_caches` -- which implicitly affects :func:`importlib.invalidate_caches` -- now deletes entries in :data:`sys.path_importer_cache` which are set to ``None``. (Contributed by Brett Cannon in :issue:`33169`.)
* In :mod:`asyncio`,
:meth:`loop.sock_recv() <asyncio.loop.soc... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
757a0525-abad-4947-b489-8b1f8a578375 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,856 | supabase-export-v2 | 9e5bd7fd886c3079 | UTF-8 mode can be used to change the text handling behavior in an embedded Python interpreter without changing the locale settings of an embedding application.
While :pep:`540`'s UTF-8 mode has the benefit of working regardless of which
locales are available on the running system, it has the downside of having no
effec... | trusted_official_docs | CPython Docs | UTF-8 mode can be used to change the text handling behavior in an embedded Python interpreter without changing the locale settings of an embedding application.
While :pep:`540`'s UTF-8 mode has the benefit of working regardless of which
locales are available on the running system, it has the downside of having no
effec... | UTF-8 mode can be used to change the text handling behavior in an embedded Python interpreter without changing the locale settings of an embedding application.
While :pep:`540`'s UTF-8 mode has the benefit of working regardless of which
locales are available on the running system, it has the downside of having no
effec... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
75953e78-d1f6-4dc4-99df-1fc061a3f2d8 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,361 | supabase-export-v2 | 4541daf356d6171c | function body consisting solely of a docstring is now marked as occurring on the same line as the docstring, not on the function's header line.
The current exception state has been moved from the frame object to the co-routine. This simplified the interpreter and fixed a couple of obscure bugs caused by
having swap exc... | trusted_official_docs | CPython Docs | function body consisting solely of a docstring is now marked as occurring on the same line as the docstring, not on the function's header line.
The current exception state has been moved from the frame object to the co-routine. This simplified the interpreter and fixed a couple of obscure bugs caused by
having swap exc... | function body consisting solely of a docstring is now marked as occurring on the same line as the docstring, not on the function's header line.
The current exception state has been moved from the frame object to the co-routine. This simplified the interpreter and fixed a couple of obscure bugs caused by
having swap exc... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7765d44e-0488-4d9a-8a13-0f3a6febcea5 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,227 | supabase-export-v2 | 6804de7fcc891db0 | peephole optimizer to the new AST optimizer, which is able perform optimizations more consistently. (Contributed by Eugene Toder and INADA Naoki in :issue:`29469` and :issue:`11549`.)
Most functions and methods in :mod:`abc` have been rewritten in C. This makes creation of abstract base classes, and calling :func:`isin... | trusted_official_docs | CPython Docs | peephole optimizer to the new AST optimizer, which is able perform optimizations more consistently. (Contributed by Eugene Toder and INADA Naoki in :issue:`29469` and :issue:`11549`.)
Most functions and methods in :mod:`abc` have been rewritten in C. This makes creation of abstract base classes, and calling :func:`isin... | peephole optimizer to the new AST optimizer, which is able perform optimizations more consistently. (Contributed by Eugene Toder and INADA Naoki in :issue:`29469` and :issue:`11549`.)
Most functions and methods in :mod:`abc` have been rewritten in C. This makes creation of abstract base classes, and calling :func:`isin... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
789cd0fc-c89e-44f6-b54f-9fb413ba1931 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,974 | supabase-export-v2 | 8e41fbe1f7bd4c44 | to determine the reading state of the transport. Additionally, calls to :meth:`ReadTransport.resume_reading() <asyncio.ReadTransport.resume_reading>` and :meth:`ReadTransport.pause_reading() <asyncio.ReadTransport.pause_reading>` are now idempotent. (Contributed by Yury Selivanov in :issue:`32356`.)
* Loop methods whic... | trusted_official_docs | CPython Docs | to determine the reading state of the transport. Additionally, calls to :meth:`ReadTransport.resume_reading() <asyncio.ReadTransport.resume_reading>` and :meth:`ReadTransport.pause_reading() <asyncio.ReadTransport.pause_reading>` are now idempotent. (Contributed by Yury Selivanov in :issue:`32356`.)
* Loop methods whic... | to determine the reading state of the transport. Additionally, calls to :meth:`ReadTransport.resume_reading() <asyncio.ReadTransport.resume_reading>` and :meth:`ReadTransport.pause_reading() <asyncio.ReadTransport.pause_reading>` are now idempotent. (Contributed by Yury Selivanov in :issue:`32356`.)
* Loop methods whic... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
79d3a25e-05b6-48bc-b7d0-4058222a81ee | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,968 | supabase-export-v2 | 620f14eb4cb186af | (Contributed by Yury Selivanov in :issue:`32662`.)
* Callback objects returned by
:func:`loop.call_later() <asyncio.loop.call_later>`
gained the new :meth:`when() <asyncio.TimerHandle.when>` method which
returns an absolute scheduled callback timestamp. (Contributed by Andrew Svetlov in :issue:`32741`.) | trusted_official_docs | CPython Docs | (Contributed by Yury Selivanov in :issue:`32662`.)
* Callback objects returned by
:func:`loop.call_later() <asyncio.loop.call_later>`
gained the new :meth:`when() <asyncio.TimerHandle.when>` method which
returns an absolute scheduled callback timestamp. (Contributed by Andrew Svetlov in :issue:`32741`.) | (Contributed by Yury Selivanov in :issue:`32662`.)
* Callback objects returned by
:func:`loop.call_later() <asyncio.loop.call_later>`
gained the new :meth:`when() <asyncio.TimerHandle.when>` method which
returns an absolute scheduled callback timestamp. (Contributed by Andrew Svetlov in :issue:`32741`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7a674a2a-b11b-41b6-aa86-7da1c8a07a22 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,333 | supabase-export-v2 | 5a03850066c8071f | (Contributed by Serhiy Storchaka in :issue:`25054` and :issue:`32308`.)
* Change :func:`re.escape` to only escape regex special characters instead
of escaping all characters other than ASCII letters, numbers, and ``'_'``. (Contributed by Serhiy Storchaka in :issue:`29995`.) | trusted_official_docs | CPython Docs | (Contributed by Serhiy Storchaka in :issue:`25054` and :issue:`32308`.)
* Change :func:`re.escape` to only escape regex special characters instead
of escaping all characters other than ASCII letters, numbers, and ``'_'``. (Contributed by Serhiy Storchaka in :issue:`29995`.) | (Contributed by Serhiy Storchaka in :issue:`25054` and :issue:`32308`.)
* Change :func:`re.escape` to only escape regex special characters instead
of escaping all characters other than ASCII letters, numbers, and ``'_'``. (Contributed by Serhiy Storchaka in :issue:`29995`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7afd84a3-977e-4f70-a4cf-6dba82b09d7d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,343 | supabase-export-v2 | 2b591f523d2677bc | * :meth:`ast.literal_eval` is now stricter. Addition and subtraction of arbitrary numbers are no longer allowed. (Contributed by Serhiy Storchaka in :issue:`31778`.)
* :meth:`Calendar.itermonthdates <calendar.Calendar.itermonthdates>`
will now consistently raise an exception when a date falls outside of the
``0001-01... | trusted_official_docs | CPython Docs | * :meth:`ast.literal_eval` is now stricter. Addition and subtraction of arbitrary numbers are no longer allowed. (Contributed by Serhiy Storchaka in :issue:`31778`.)
* :meth:`Calendar.itermonthdates <calendar.Calendar.itermonthdates>`
will now consistently raise an exception when a date falls outside of the
``0001-01... | * :meth:`ast.literal_eval` is now stricter. Addition and subtraction of arbitrary numbers are no longer allowed. (Contributed by Serhiy Storchaka in :issue:`31778`.)
* :meth:`Calendar.itermonthdates <calendar.Calendar.itermonthdates>`
will now consistently raise an exception when a date falls outside of the
``0001-01... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7b06a5b2-6f1e-437c-85fa-d07cbcde4304 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,349 | supabase-export-v2 | a6451f304aa6f808 | Changes in the C API --------------------
The function :c:func:`PySlice_GetIndicesEx` is considered unsafe for
resizable sequences. If the slice indices are not instances of :class:`int`,
but objects that implement the :meth:`!__index__` method, the sequence can be
resized after passing its length to :c:func:`!PySlice_... | trusted_official_docs | CPython Docs | Changes in the C API --------------------
The function :c:func:`PySlice_GetIndicesEx` is considered unsafe for
resizable sequences. If the slice indices are not instances of :class:`int`,
but objects that implement the :meth:`!__index__` method, the sequence can be
resized after passing its length to :c:func:`!PySlice_... | Changes in the C API --------------------
The function :c:func:`PySlice_GetIndicesEx` is considered unsafe for
resizable sequences. If the slice indices are not instances of :class:`int`,
but objects that implement the :meth:`!__index__` method, the sequence can be
resized after passing its length to :c:func:`!PySlice_... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7dff1460-23f0-4f35-a29b-88f1bbab2007 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,844 | supabase-export-v2 | dad3b94186ae8c67 | default strategy for handling the "7-bit ASCII" text encoding assumption currently implied by the use of the default C or POSIX locale on non-Windows platforms.
:pep:`538` updates the default interpreter command line interface to
automatically coerce that locale to an available UTF-8 based locale as
described in the do... | trusted_official_docs | CPython Docs | default strategy for handling the "7-bit ASCII" text encoding assumption currently implied by the use of the default C or POSIX locale on non-Windows platforms.
:pep:`538` updates the default interpreter command line interface to
automatically coerce that locale to an available UTF-8 based locale as
described in the do... | default strategy for handling the "7-bit ASCII" text encoding assumption currently implied by the use of the default C or POSIX locale on non-Windows platforms.
:pep:`538` updates the default interpreter command line interface to
automatically coerce that locale to an available UTF-8 based locale as
described in the do... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7e65ea26-0378-409e-a454-1274af48bf3e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,158 | supabase-export-v2 | 3c6eccda4c657492 | The initialization of the default warnings filters has changed as follows:
* warnings enabled via command line options (including those for :option:`-b`
and the new CPython-specific :option:`-X` ``dev`` option) are always passed
to the warnings machinery via the :data:`sys.warnoptions` attribute. | trusted_official_docs | CPython Docs | The initialization of the default warnings filters has changed as follows:
* warnings enabled via command line options (including those for :option:`-b`
and the new CPython-specific :option:`-X` ``dev`` option) are always passed
to the warnings machinery via the :data:`sys.warnoptions` attribute. | The initialization of the default warnings filters has changed as follows:
* warnings enabled via command line options (including those for :option:`-b`
and the new CPython-specific :option:`-X` ``dev`` option) are always passed
to the warnings machinery via the :data:`sys.warnoptions` attribute. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7f3444a3-7336-4d6f-9f0f-c04fa4226c96 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,081 | supabase-export-v2 | bc8a956ea3c06954 | py_compile ----------
:func:`py_compile.compile` -- and by extension, :mod:`compileall` -- now
respects the :envvar:`SOURCE_DATE_EPOCH` environment variable by
unconditionally creating ``.pyc`` files for hash-based validation. This allows for guaranteeing
`reproducible builds <https://reproducible-builds.org/>`_ of ``.... | trusted_official_docs | CPython Docs | py_compile ----------
:func:`py_compile.compile` -- and by extension, :mod:`compileall` -- now
respects the :envvar:`SOURCE_DATE_EPOCH` environment variable by
unconditionally creating ``.pyc`` files for hash-based validation. This allows for guaranteeing
`reproducible builds <https://reproducible-builds.org/>`_ of ``.... | py_compile ----------
:func:`py_compile.compile` -- and by extension, :mod:`compileall` -- now
respects the :envvar:`SOURCE_DATE_EPOCH` environment variable by
unconditionally creating ``.pyc`` files for hash-based validation. This allows for guaranteeing
`reproducible builds <https://reproducible-builds.org/>`_ of ``.... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7f7b98b5-7ee4-44e1-a785-ec421a3d4b01 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,251 | supabase-export-v2 | 1971643d68d651aa | enum ----
In Python 3.8, attempting to check for non-Enum objects in :class:`~enum.Enum`
classes will raise a :exc:`TypeError` (e.g. ``1 in Color``); similarly,
attempting to check for non-Flag objects in a :class:`~enum.Flag` member will
raise :exc:`TypeError` (e.g. ``1 in Perm.RW``); currently, both operations
return... | trusted_official_docs | CPython Docs | enum ----
In Python 3.8, attempting to check for non-Enum objects in :class:`~enum.Enum`
classes will raise a :exc:`TypeError` (e.g. ``1 in Color``); similarly,
attempting to check for non-Flag objects in a :class:`~enum.Flag` member will
raise :exc:`TypeError` (e.g. ``1 in Perm.RW``); currently, both operations
return... | enum ----
In Python 3.8, attempting to check for non-Enum objects in :class:`~enum.Enum`
classes will raise a :exc:`TypeError` (e.g. ``1 in Color``); similarly,
attempting to check for non-Flag objects in a :class:`~enum.Flag` member will
raise :exc:`TypeError` (e.g. ``1 in Perm.RW``); currently, both operations
return... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7ffabe9a-a232-45e3-9311-9615d23078a5 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,890 | supabase-export-v2 | aa320ae2a1640e17 | deprecation warnings for the APIs they use, but deprecation warnings triggered by imported application, library and framework modules will continue to be hidden by default.
As a result of this change, the standard library now allows developers to choose
between three different deprecation warning behaviours: | trusted_official_docs | CPython Docs | deprecation warnings for the APIs they use, but deprecation warnings triggered by imported application, library and framework modules will continue to be hidden by default.
As a result of this change, the standard library now allows developers to choose
between three different deprecation warning behaviours: | deprecation warnings for the APIs they use, but deprecation warnings triggered by imported application, library and framework modules will continue to be hidden by default.
As a result of this change, the standard library now allows developers to choose
between three different deprecation warning behaviours: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
80f1dc07-e2c1-42e7-a5ac-0ed4c0f5712e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,239 | supabase-export-v2 | 3cdd367a5510daee | is deprecated and will be an error in future Python versions. This makes ``__complex__()`` consistent with :meth:`object.__int__` and :meth:`object.__float__`. (Contributed by Serhiy Storchaka in :issue:`28894`.)
Deprecated Python modules, functions and methods
================================================ | trusted_official_docs | CPython Docs | is deprecated and will be an error in future Python versions. This makes ``__complex__()`` consistent with :meth:`object.__int__` and :meth:`object.__float__`. (Contributed by Serhiy Storchaka in :issue:`28894`.)
Deprecated Python modules, functions and methods
================================================ | is deprecated and will be an error in future Python versions. This makes ``__complex__()`` consistent with :meth:`object.__int__` and :meth:`object.__float__`. (Contributed by Serhiy Storchaka in :issue:`28894`.)
Deprecated Python modules, functions and methods
================================================ | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
814eddb1-ad3e-4de5-8e42-9fbe2f1ab7d7 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,089 | supabase-export-v2 | ceec5e9d449a1c46 | :func:`re.split` now supports splitting on a pattern like ``r'\b'``, ``'^$'`` or ``(?=-)`` that matches an empty string. (Contributed by Serhiy Storchaka in :issue:`25054`.)
Regular expressions compiled with the :const:`re.LOCALE` flag no longer
depend on the locale at compile time. Locale settings are applied only
whe... | trusted_official_docs | CPython Docs | :func:`re.split` now supports splitting on a pattern like ``r'\b'``, ``'^$'`` or ``(?=-)`` that matches an empty string. (Contributed by Serhiy Storchaka in :issue:`25054`.)
Regular expressions compiled with the :const:`re.LOCALE` flag no longer
depend on the locale at compile time. Locale settings are applied only
whe... | :func:`re.split` now supports splitting on a pattern like ``r'\b'``, ``'^$'`` or ``(?=-)`` that matches an empty string. (Contributed by Serhiy Storchaka in :issue:`25054`.)
Regular expressions compiled with the :const:`re.LOCALE` flag no longer
depend on the locale at compile time. Locale settings are applied only
whe... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
827e5871-1292-472f-8667-2568f9c5bd1d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,160 | supabase-export-v2 | 6546034262516c41 | * warnings filters enabled via the command line or the environment now have the following order of precedence:
* the ``BytesWarning`` filter for :option:`-b` (or ``-bb``)
* any filters specified with the :option:`-W` option
* any filters specified with the :envvar:`PYTHONWARNINGS` environment
variable
* any other C... | trusted_official_docs | CPython Docs | * warnings filters enabled via the command line or the environment now have the following order of precedence:
* the ``BytesWarning`` filter for :option:`-b` (or ``-bb``)
* any filters specified with the :option:`-W` option
* any filters specified with the :envvar:`PYTHONWARNINGS` environment
variable
* any other C... | * warnings filters enabled via the command line or the environment now have the following order of precedence:
* the ``BytesWarning`` filter for :option:`-b` (or ``-bb``)
* any filters specified with the :option:`-W` option
* any filters specified with the :envvar:`PYTHONWARNINGS` environment
variable
* any other C... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
82b267b0-1133-43e4-bc70-fcb2eb238d9d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,953 | supabase-export-v2 | 589130b6dbb17182 | function can be used to run a coroutine from synchronous code by automatically creating and destroying the event loop. (Contributed by Yury Selivanov in :issue:`32314`.)
* asyncio gained support for :mod:`contextvars`. :meth:`loop.call_soon() <asyncio.loop.call_soon>`,
:meth:`loop.call_soon_threadsafe() <asyncio.loop.... | trusted_official_docs | CPython Docs | function can be used to run a coroutine from synchronous code by automatically creating and destroying the event loop. (Contributed by Yury Selivanov in :issue:`32314`.)
* asyncio gained support for :mod:`contextvars`. :meth:`loop.call_soon() <asyncio.loop.call_soon>`,
:meth:`loop.call_soon_threadsafe() <asyncio.loop.... | function can be used to run a coroutine from synchronous code by automatically creating and destroying the event loop. (Contributed by Yury Selivanov in :issue:`32314`.)
* asyncio gained support for :mod:`contextvars`. :meth:`loop.call_soon() <asyncio.loop.call_soon>`,
:meth:`loop.call_soon_threadsafe() <asyncio.loop.... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
82c2d1d8-9d4e-4b80-ba54-a53f934a05ae | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,191 | supabase-export-v2 | 587e3760ba1b9472 | C API support for timezones with timezone constructors :c:func:`PyTimeZone_FromOffset` and :c:func:`PyTimeZone_FromOffsetAndName`, and access to the UTC singleton with :c:data:`PyDateTime_TimeZone_UTC`. Contributed by Paul Ganssle in :issue:`10381`.
The type of results of :c:func:`!PyThread_start_new_thread` and
:c:fun... | trusted_official_docs | CPython Docs | C API support for timezones with timezone constructors :c:func:`PyTimeZone_FromOffset` and :c:func:`PyTimeZone_FromOffsetAndName`, and access to the UTC singleton with :c:data:`PyDateTime_TimeZone_UTC`. Contributed by Paul Ganssle in :issue:`10381`.
The type of results of :c:func:`!PyThread_start_new_thread` and
:c:fun... | C API support for timezones with timezone constructors :c:func:`PyTimeZone_FromOffset` and :c:func:`PyTimeZone_FromOffsetAndName`, and access to the UTC singleton with :c:data:`PyDateTime_TimeZone_UTC`. Contributed by Paul Ganssle in :issue:`10381`.
The type of results of :c:func:`!PyThread_start_new_thread` and
:c:fun... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
82fff656-eeb7-4193-bdb4-9743b976b4f1 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,107 | supabase-export-v2 | cc04c5dc057ca99a | ssl ---
The :mod:`ssl` module now uses OpenSSL's builtin API instead of
:func:`!match_hostname` to check a host name or an IP address. Values
are validated during TLS handshake. Any certificate validation error
including failing the host name check now raises
:exc:`~ssl.SSLCertVerificationError` and aborts the handshak... | trusted_official_docs | CPython Docs | ssl ---
The :mod:`ssl` module now uses OpenSSL's builtin API instead of
:func:`!match_hostname` to check a host name or an IP address. Values
are validated during TLS handshake. Any certificate validation error
including failing the host name check now raises
:exc:`~ssl.SSLCertVerificationError` and aborts the handshak... | ssl ---
The :mod:`ssl` module now uses OpenSSL's builtin API instead of
:func:`!match_hostname` to check a host name or an IP address. Values
are validated during TLS handshake. Any certificate validation error
including failing the host name check now raises
:exc:`~ssl.SSLCertVerificationError` and aborts the handshak... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
830872d5-92fa-466b-b236-d45ef8655cb8 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,919 | supabase-export-v2 | c5f177d34d8ba259 | Other Language Changes ======================
* An :keyword:`await` expression and comprehensions containing an
:keyword:`async for` clause were illegal in the expressions in
:ref:`formatted string literals <f-strings>` due to a problem with the
implementation. In Python 3.7 this restriction was lifted. | trusted_official_docs | CPython Docs | Other Language Changes ======================
* An :keyword:`await` expression and comprehensions containing an
:keyword:`async for` clause were illegal in the expressions in
:ref:`formatted string literals <f-strings>` due to a problem with the
implementation. In Python 3.7 this restriction was lifted. | Other Language Changes ======================
* An :keyword:`await` expression and comprehensions containing an
:keyword:`async for` clause were illegal in the expressions in
:ref:`formatted string literals <f-strings>` due to a problem with the
implementation. In Python 3.7 this restriction was lifted. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
83f6ec8d-5cfd-4061-bdb2-eb83e26e1b7c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,155 | supabase-export-v2 | 19f052170559915f | new :attr:`UUID.is_safe <uuid.UUID.is_safe>` attribute relays information from the platform about whether generated UUIDs are generated with a multiprocessing-safe method. (Contributed by Barry Warsaw in :issue:`22807`.)
:func:`uuid.getnode` now prefers universally administered
MAC addresses over locally administered M... | trusted_official_docs | CPython Docs | new :attr:`UUID.is_safe <uuid.UUID.is_safe>` attribute relays information from the platform about whether generated UUIDs are generated with a multiprocessing-safe method. (Contributed by Barry Warsaw in :issue:`22807`.)
:func:`uuid.getnode` now prefers universally administered
MAC addresses over locally administered M... | new :attr:`UUID.is_safe <uuid.UUID.is_safe>` attribute relays information from the platform about whether generated UUIDs are generated with a multiprocessing-safe method. (Contributed by Barry Warsaw in :issue:`22807`.)
:func:`uuid.getnode` now prefers universally administered
MAC addresses over locally administered M... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
845840d0-dfdb-40f8-9b78-3406bab3cd09 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,359 | supabase-export-v2 | 6aaf6248fe755c56 | * warnings filters added by an embedding application with :c:func:`!PySys_AddWarnOption` should now more consistently take precedence over the default filters set by the interpreter
Due to changes in the way the default warnings filters are configured,
setting :c:data:`Py_BytesWarningFlag` to a value greater than one i... | trusted_official_docs | CPython Docs | * warnings filters added by an embedding application with :c:func:`!PySys_AddWarnOption` should now more consistently take precedence over the default filters set by the interpreter
Due to changes in the way the default warnings filters are configured,
setting :c:data:`Py_BytesWarningFlag` to a value greater than one i... | * warnings filters added by an embedding application with :c:func:`!PySys_AddWarnOption` should now more consistently take precedence over the default filters set by the interpreter
Due to changes in the way the default warnings filters are configured,
setting :c:data:`Py_BytesWarningFlag` to a value greater than one i... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
847f4d98-1b2a-4233-89ce-892f0f543eb6 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,167 | supabase-export-v2 | 58da2202370ec212 | xml.etree ---------
:ref:`ElementPath <elementtree-xpath>` predicates in the :meth:`!find`
methods can now compare text of the current node with ``[. = "text"]``,
not only text in children. Predicates also allow adding spaces for
better readability. (Contributed by Stefan Behnel in :issue:`31648`.) | trusted_official_docs | CPython Docs | xml.etree ---------
:ref:`ElementPath <elementtree-xpath>` predicates in the :meth:`!find`
methods can now compare text of the current node with ``[. = "text"]``,
not only text in children. Predicates also allow adding spaces for
better readability. (Contributed by Stefan Behnel in :issue:`31648`.) | xml.etree ---------
:ref:`ElementPath <elementtree-xpath>` predicates in the :meth:`!find`
methods can now compare text of the current node with ``[. = "text"]``,
not only text in children. Predicates also allow adding spaces for
better readability. (Contributed by Stefan Behnel in :issue:`31648`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
852a7ded-3d4b-403a-8148-543612b74a0f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,033 | supabase-export-v2 | fab57b305d94714f | New in 3.7.1:
Output over N lines (50 by default) is squeezed down to a button. N can be changed in the PyShell section of the General page of the
Settings dialog. Fewer, but possibly extra long, lines can be squeezed by
right clicking on the output. Squeezed output can be expanded in place
by double-clicking the butto... | trusted_official_docs | CPython Docs | New in 3.7.1:
Output over N lines (50 by default) is squeezed down to a button. N can be changed in the PyShell section of the General page of the
Settings dialog. Fewer, but possibly extra long, lines can be squeezed by
right clicking on the output. Squeezed output can be expanded in place
by double-clicking the butto... | New in 3.7.1:
Output over N lines (50 by default) is squeezed down to a button. N can be changed in the PyShell section of the General page of the
Settings dialog. Fewer, but possibly extra long, lines can be squeezed by
right clicking on the output. Squeezed output can be expanded in place
by double-clicking the butto... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8773e482-c3b9-43de-86f9-f104c34c065a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,123 | supabase-export-v2 | 154c05cc883e4398 | when redirecting the standard handles. See :class:`subprocess.Popen`. This means that *close_fds* now defaults to ``True`` on all supported platforms. (Contributed by Segev Finer in :issue:`19764`.)
The subprocess module is now more graceful when handling
:exc:`KeyboardInterrupt` during :func:`subprocess.call`,
:func:`... | trusted_official_docs | CPython Docs | when redirecting the standard handles. See :class:`subprocess.Popen`. This means that *close_fds* now defaults to ``True`` on all supported platforms. (Contributed by Segev Finer in :issue:`19764`.)
The subprocess module is now more graceful when handling
:exc:`KeyboardInterrupt` during :func:`subprocess.call`,
:func:`... | when redirecting the standard handles. See :class:`subprocess.Popen`. This means that *close_fds* now defaults to ``True`` on all supported platforms. (Contributed by Segev Finer in :issue:`19764`.)
The subprocess module is now more graceful when handling
:exc:`KeyboardInterrupt` during :func:`subprocess.call`,
:func:`... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
884a7eac-bf21-40f3-bc13-71c9f6ab3895 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,369 | supabase-export-v2 | d18cbf47f1d582c4 | Notable changes in Python 3.7.6 ===============================
Due to significant security concerns, the *reuse_address* parameter of
:meth:`asyncio.loop.create_datagram_endpoint` is no longer supported. This is
because of the behavior of the socket option ``SO_REUSEADDR`` in UDP. For more
details, see the documentati... | trusted_official_docs | CPython Docs | Notable changes in Python 3.7.6 ===============================
Due to significant security concerns, the *reuse_address* parameter of
:meth:`asyncio.loop.create_datagram_endpoint` is no longer supported. This is
because of the behavior of the socket option ``SO_REUSEADDR`` in UDP. For more
details, see the documentati... | Notable changes in Python 3.7.6 ===============================
Due to significant security concerns, the *reuse_address* parameter of
:meth:`asyncio.loop.create_datagram_endpoint` is no longer supported. This is
because of the behavior of the socket option ``SO_REUSEADDR`` in UDP. For more
details, see the documentati... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8bba6dc8-9361-4c77-9ca7-527c60c08c1f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,205 | supabase-export-v2 | 2131a4697346d533 | in C has been significantly reduced by porting more code to use the ``METH_FASTCALL`` convention. (Contributed by Victor Stinner in :issue:`29300`, :issue:`29507`, :issue:`29452`, and :issue:`29286`.)
Various optimizations have reduced Python startup time by 10% on Linux and
up to 30% on macOS. (Contributed by Victor S... | trusted_official_docs | CPython Docs | in C has been significantly reduced by porting more code to use the ``METH_FASTCALL`` convention. (Contributed by Victor Stinner in :issue:`29300`, :issue:`29507`, :issue:`29452`, and :issue:`29286`.)
Various optimizations have reduced Python startup time by 10% on Linux and
up to 30% on macOS. (Contributed by Victor S... | in C has been significantly reduced by porting more code to use the ``METH_FASTCALL`` convention. (Contributed by Victor Stinner in :issue:`29300`, :issue:`29507`, :issue:`29452`, and :issue:`29286`.)
Various optimizations have reduced Python startup time by 10% on Linux and
up to 30% on macOS. (Contributed by Victor S... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8ed28f60-aa3d-4bec-9427-80029c139a5f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,363 | supabase-export-v2 | 431934e2f8d7932e | Notable changes in Python 3.7.1 ===============================
Starting in 3.7.1, :c:func:`Py_Initialize` now consistently reads and respects
all of the same environment settings as :c:func:`Py_Main` (in earlier Python
versions, it respected an ill-defined subset of those environment variables,
while in Python 3.7.0 i... | trusted_official_docs | CPython Docs | Notable changes in Python 3.7.1 ===============================
Starting in 3.7.1, :c:func:`Py_Initialize` now consistently reads and respects
all of the same environment settings as :c:func:`Py_Main` (in earlier Python
versions, it respected an ill-defined subset of those environment variables,
while in Python 3.7.0 i... | Notable changes in Python 3.7.1 ===============================
Starting in 3.7.1, :c:func:`Py_Initialize` now consistently reads and respects
all of the same environment settings as :c:func:`Py_Main` (in earlier Python
versions, it respected an ill-defined subset of those environment variables,
while in Python 3.7.0 i... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8ef7d4d0-eda2-4107-8130-b2f51fcab0bf | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,956 | supabase-export-v2 | 5cdafcc3b377dba7 | * The new :meth:`loop.start_tls() <asyncio.loop.start_tls>` method can be used to upgrade an existing connection to TLS. (Contributed by Yury Selivanov in :issue:`23749`.)
* The new :meth:`loop.sock_recv_into() <asyncio.loop.sock_recv_into>`
method allows reading data from a socket directly into a provided buffer maki... | trusted_official_docs | CPython Docs | * The new :meth:`loop.start_tls() <asyncio.loop.start_tls>` method can be used to upgrade an existing connection to TLS. (Contributed by Yury Selivanov in :issue:`23749`.)
* The new :meth:`loop.sock_recv_into() <asyncio.loop.sock_recv_into>`
method allows reading data from a socket directly into a provided buffer maki... | * The new :meth:`loop.start_tls() <asyncio.loop.start_tls>` method can be used to upgrade an existing connection to TLS. (Contributed by Yury Selivanov in :issue:`23749`.)
* The new :meth:`loop.sock_recv_into() <asyncio.loop.sock_recv_into>`
method allows reading data from a socket directly into a provided buffer maki... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8f2df63f-52ac-4701-94e4-c98c5ceaaaad | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,314 | supabase-export-v2 | 787550614b6a1e45 | Changes in the Python API -------------------------
* :meth:`socketserver.ThreadingMixIn.server_close
<socketserver.BaseServer.server_close>` now waits until all
non-daemon threads complete. Set the new
:attr:`socketserver.ThreadingMixIn.block_on_close` class attribute to
``False`` to get the pre-3.7 behaviour. (Co... | trusted_official_docs | CPython Docs | Changes in the Python API -------------------------
* :meth:`socketserver.ThreadingMixIn.server_close
<socketserver.BaseServer.server_close>` now waits until all
non-daemon threads complete. Set the new
:attr:`socketserver.ThreadingMixIn.block_on_close` class attribute to
``False`` to get the pre-3.7 behaviour. (Co... | Changes in the Python API -------------------------
* :meth:`socketserver.ThreadingMixIn.server_close
<socketserver.BaseServer.server_close>` now waits until all
non-daemon threads complete. Set the new
:attr:`socketserver.ThreadingMixIn.block_on_close` class attribute to
``False`` to get the pre-3.7 behaviour. (Co... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
90199900-73c5-4051-91af-33b75849e001 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,902 | supabase-export-v2 | 034bc8bb6aac9611 | PEP 552: Hash-based .pyc Files ------------------------------
Python has traditionally checked the up-to-dateness of bytecode cache files
(i.e., ``.pyc`` files) by comparing the source metadata (last-modified timestamp
and size) with source metadata saved in the cache file header when it was
generated. While effective,... | trusted_official_docs | CPython Docs | PEP 552: Hash-based .pyc Files ------------------------------
Python has traditionally checked the up-to-dateness of bytecode cache files
(i.e., ``.pyc`` files) by comparing the source metadata (last-modified timestamp
and size) with source metadata saved in the cache file header when it was
generated. While effective,... | PEP 552: Hash-based .pyc Files ------------------------------
Python has traditionally checked the up-to-dateness of bytecode cache files
(i.e., ``.pyc`` files) by comparing the source metadata (last-modified timestamp
and size) with source metadata saved in the cache file header when it was
generated. While effective,... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
901c57b2-bde4-4f67-bb44-2adf914d8fad | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,903 | supabase-export-v2 | e168e64c701565df | miss source updates, leading to user confusion. Additionally, having a timestamp in the cache file is problematic for `build reproducibility <https://reproducible-builds.org/>`_ and content-based build systems.
:pep:`552` extends the pyc format to allow the hash of the source file to be
used for invalidation instead of... | trusted_official_docs | CPython Docs | miss source updates, leading to user confusion. Additionally, having a timestamp in the cache file is problematic for `build reproducibility <https://reproducible-builds.org/>`_ and content-based build systems.
:pep:`552` extends the pyc format to allow the hash of the source file to be
used for invalidation instead of... | miss source updates, leading to user confusion. Additionally, having a timestamp in the cache file is problematic for `build reproducibility <https://reproducible-builds.org/>`_ and content-based build systems.
:pep:`552` extends the pyc format to allow the hash of the source file to be
used for invalidation instead of... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
90b61aa8-a14d-4fd0-95c6-af7514dae51d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,229 | supabase-export-v2 | c63cfd8a88a913ac | Significant speed improvements to alternate constructors for :class:`datetime.date` and :class:`datetime.datetime` by using fast-path constructors when not constructing subclasses. (Contributed by Paul Ganssle in :issue:`32403`)
The speed of comparison of :class:`array.array` instances has been
improved considerably in... | trusted_official_docs | CPython Docs | Significant speed improvements to alternate constructors for :class:`datetime.date` and :class:`datetime.datetime` by using fast-path constructors when not constructing subclasses. (Contributed by Paul Ganssle in :issue:`32403`)
The speed of comparison of :class:`array.array` instances has been
improved considerably in... | Significant speed improvements to alternate constructors for :class:`datetime.date` and :class:`datetime.datetime` by using fast-path constructors when not constructing subclasses. (Contributed by Paul Ganssle in :issue:`32403`)
The speed of comparison of :class:`array.array` instances has been
improved considerably in... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
92d4c8b1-a627-4e6b-9a03-1db417fdd7e7 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,204 | supabase-export-v2 | 9e3397a5adc8a477 | Optimizations =============
The overhead of calling many methods of various standard library classes
implemented in C has been significantly reduced by porting more code
to use the ``METH_FASTCALL`` convention. (Contributed by Victor Stinner in :issue:`29300`, :issue:`29507`,
:issue:`29452`, and :issue:`29286`.) | trusted_official_docs | CPython Docs | Optimizations =============
The overhead of calling many methods of various standard library classes
implemented in C has been significantly reduced by porting more code
to use the ``METH_FASTCALL`` convention. (Contributed by Victor Stinner in :issue:`29300`, :issue:`29507`,
:issue:`29452`, and :issue:`29286`.) | Optimizations =============
The overhead of calling many methods of various standard library classes
implemented in C has been significantly reduced by porting more code
to use the ``METH_FASTCALL`` convention. (Contributed by Victor Stinner in :issue:`29300`, :issue:`29507`,
:issue:`29452`, and :issue:`29286`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9476c172-1f40-47e6-b274-b40196724d86 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,148 | supabase-export-v2 | 3570b9388b08b860 | The :const:`~unittest.mock.sentinel` attributes now preserve their identity when they are :mod:`copied <copy>` or :mod:`pickled <pickle>`. (Contributed by Serhiy Storchaka in :issue:`20804`.)
The new :func:`~unittest.mock.seal` function allows sealing
:class:`~unittest.mock.Mock` instances, which will disallow further ... | trusted_official_docs | CPython Docs | The :const:`~unittest.mock.sentinel` attributes now preserve their identity when they are :mod:`copied <copy>` or :mod:`pickled <pickle>`. (Contributed by Serhiy Storchaka in :issue:`20804`.)
The new :func:`~unittest.mock.seal` function allows sealing
:class:`~unittest.mock.Mock` instances, which will disallow further ... | The :const:`~unittest.mock.sentinel` attributes now preserve their identity when they are :mod:`copied <copy>` or :mod:`pickled <pickle>`. (Contributed by Serhiy Storchaka in :issue:`20804`.)
The new :func:`~unittest.mock.seal` function allows sealing
:class:`~unittest.mock.Mock` instances, which will disallow further ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
94ba8630-9416-4517-adbc-365f8cba739f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,102 | supabase-export-v2 | 3c2ab2a3caa268b1 | :meth:`socketserver.ThreadingMixIn.server_close <socketserver.BaseServer.server_close>` now waits until all non-daemon threads complete. :meth:`socketserver.ForkingMixIn.server_close <socketserver.BaseServer.server_close>` now waits until all child processes complete.
Add a new :attr:`socketserver.ForkingMixIn.block_on... | trusted_official_docs | CPython Docs | :meth:`socketserver.ThreadingMixIn.server_close <socketserver.BaseServer.server_close>` now waits until all non-daemon threads complete. :meth:`socketserver.ForkingMixIn.server_close <socketserver.BaseServer.server_close>` now waits until all child processes complete.
Add a new :attr:`socketserver.ForkingMixIn.block_on... | :meth:`socketserver.ThreadingMixIn.server_close <socketserver.BaseServer.server_close>` now waits until all non-daemon threads complete. :meth:`socketserver.ForkingMixIn.server_close <socketserver.BaseServer.server_close>` now waits until all child processes complete.
Add a new :attr:`socketserver.ForkingMixIn.block_on... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
95433264-a669-4267-8c4e-fa3e75b798b3 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,843 | supabase-export-v2 | bd8011a8970409fa | PEP 538: Legacy C Locale Coercion ---------------------------------
An ongoing challenge within the Python 3 series has been determining a sensible
default strategy for handling the "7-bit ASCII" text encoding assumption
currently implied by the use of the default C or POSIX locale on non-Windows
platforms. | trusted_official_docs | CPython Docs | PEP 538: Legacy C Locale Coercion ---------------------------------
An ongoing challenge within the Python 3 series has been determining a sensible
default strategy for handling the "7-bit ASCII" text encoding assumption
currently implied by the use of the default C or POSIX locale on non-Windows
platforms. | PEP 538: Legacy C Locale Coercion ---------------------------------
An ongoing challenge within the Python 3 series has been determining a sensible
default strategy for handling the "7-bit ASCII" text encoding assumption
currently implied by the use of the default C or POSIX locale on non-Windows
platforms. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
965c1cb2-2c6d-4ebe-998d-eedd4a58190f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,288 | supabase-export-v2 | 3207fbdb4ed37799 | * Removed support of the *exclude* argument in :meth:`tarfile.TarFile.add`. It was deprecated in Python 2.7 and 3.2. Use the *filter* argument instead.
* The :func:`!ntpath.splitunc` function was deprecated in
Python 3.1, and has now been removed. Use :func:`~os.path.splitdrive`
instead. | trusted_official_docs | CPython Docs | * Removed support of the *exclude* argument in :meth:`tarfile.TarFile.add`. It was deprecated in Python 2.7 and 3.2. Use the *filter* argument instead.
* The :func:`!ntpath.splitunc` function was deprecated in
Python 3.1, and has now been removed. Use :func:`~os.path.splitdrive`
instead. | * Removed support of the *exclude* argument in :meth:`tarfile.TarFile.add`. It was deprecated in Python 2.7 and 3.2. Use the *filter* argument instead.
* The :func:`!ntpath.splitunc` function was deprecated in
Python 3.1, and has now been removed. Use :func:`~os.path.splitdrive`
instead. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
97bbdf12-b0bc-4b03-baaa-59222146da4d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,280 | supabase-export-v2 | aad3171f18908cd4 | CPython 3.7 with SSL/TLS support on older platforms still using these versions requires custom build options that link to a more recent version of OpenSSL.
Notably, this issue affects the Debian 8 (aka "jessie") and Ubuntu 14.04
(aka "Trusty") LTS Linux distributions, as they still use OpenSSL 1.0.1 by
default. | trusted_official_docs | CPython Docs | CPython 3.7 with SSL/TLS support on older platforms still using these versions requires custom build options that link to a more recent version of OpenSSL.
Notably, this issue affects the Debian 8 (aka "jessie") and Ubuntu 14.04
(aka "Trusty") LTS Linux distributions, as they still use OpenSSL 1.0.1 by
default. | CPython 3.7 with SSL/TLS support on older platforms still using these versions requires custom build options that link to a more recent version of OpenSSL.
Notably, this issue affects the Debian 8 (aka "jessie") and Ubuntu 14.04
(aka "Trusty") LTS Linux distributions, as they still use OpenSSL 1.0.1 by
default. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
99850390-889f-4e1b-87aa-6048eddaa2f1 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,337 | supabase-export-v2 | 72e0fb35a81a59f5 | handles being inherited when using :class:`subprocess.Popen` with standard io redirection, you will have to pass ``close_fds=False`` to preserve the previous behaviour, or use :attr:`STARTUPINFO.lpAttributeList <subprocess.STARTUPINFO.lpAttributeList>`.
* :meth:`importlib.machinery.PathFinder.invalidate_caches` -- whic... | trusted_official_docs | CPython Docs | handles being inherited when using :class:`subprocess.Popen` with standard io redirection, you will have to pass ``close_fds=False`` to preserve the previous behaviour, or use :attr:`STARTUPINFO.lpAttributeList <subprocess.STARTUPINFO.lpAttributeList>`.
* :meth:`importlib.machinery.PathFinder.invalidate_caches` -- whic... | handles being inherited when using :class:`subprocess.Popen` with standard io redirection, you will have to pass ``close_fds=False`` to preserve the previous behaviour, or use :attr:`STARTUPINFO.lpAttributeList <subprocess.STARTUPINFO.lpAttributeList>`.
* :meth:`importlib.machinery.PathFinder.invalidate_caches` -- whic... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
998d88d5-3802-4ade-a54e-34b0fdad304b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,922 | supabase-export-v2 | 8003424001ce63d2 | * :meth:`bytes.fromhex` and :meth:`bytearray.fromhex` now ignore all ASCII whitespace, not only spaces. (Contributed by Robert Xiao in :issue:`28927`.)
* :class:`str`, :class:`bytes`, and :class:`bytearray` gained support for
the new :meth:`isascii() <str.isascii>` method, which can be used to
test if a string or byt... | trusted_official_docs | CPython Docs | * :meth:`bytes.fromhex` and :meth:`bytearray.fromhex` now ignore all ASCII whitespace, not only spaces. (Contributed by Robert Xiao in :issue:`28927`.)
* :class:`str`, :class:`bytes`, and :class:`bytearray` gained support for
the new :meth:`isascii() <str.isascii>` method, which can be used to
test if a string or byt... | * :meth:`bytes.fromhex` and :meth:`bytearray.fromhex` now ignore all ASCII whitespace, not only spaces. (Contributed by Robert Xiao in :issue:`28927`.)
* :class:`str`, :class:`bytes`, and :class:`bytearray` gained support for
the new :meth:`isascii() <str.isascii>` method, which can be used to
test if a string or byt... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
99ae48eb-afa8-4163-8be3-a8b1592387a5 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,881 | supabase-export-v2 | 32e5c1f06985e2b3 | PEP 564: New Time Functions With Nanosecond Resolution ------------------------------------------------------
The resolution of clocks in modern systems can exceed the limited precision
of a floating-point number returned by the :func:`time.time` function
and its variants. To avoid loss of precision, :pep:`564` adds si... | trusted_official_docs | CPython Docs | PEP 564: New Time Functions With Nanosecond Resolution ------------------------------------------------------
The resolution of clocks in modern systems can exceed the limited precision
of a floating-point number returned by the :func:`time.time` function
and its variants. To avoid loss of precision, :pep:`564` adds si... | PEP 564: New Time Functions With Nanosecond Resolution ------------------------------------------------------
The resolution of clocks in modern systems can exceed the limited precision
of a floating-point number returned by the :func:`time.time` function
and its variants. To avoid loss of precision, :pep:`564` adds si... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9b9ce262-1388-4667-a528-e1acc63c7d08 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,831 | supabase-export-v2 | fe3b8bf64901cba8 | * annotating source code had adverse effects on startup time of Python programs.
Both of these issues are fixed by postponing the evaluation of
annotations. Instead of compiling code which executes expressions in
annotations at their definition time, the compiler stores the annotation
in a string form equivalent to the... | trusted_official_docs | CPython Docs | * annotating source code had adverse effects on startup time of Python programs.
Both of these issues are fixed by postponing the evaluation of
annotations. Instead of compiling code which executes expressions in
annotations at their definition time, the compiler stores the annotation
in a string form equivalent to the... | * annotating source code had adverse effects on startup time of Python programs.
Both of these issues are fixed by postponing the evaluation of
annotations. Instead of compiling code which executes expressions in
annotations at their definition time, the compiler stores the annotation
in a string form equivalent to the... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9c69dcd1-5fe8-4612-8875-829c27cdde47 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,112 | supabase-export-v2 | a379a9f64f73fe4e | ciphers that have been blocked by OpenSSL security updates. Default cipher suite selection can be configured at compile time. (Contributed by Christian Heimes in :issue:`31429`.)
Validation of server certificates containing internationalized domain names
(IDNs) is now supported. As part of this change, the
:attr:`SSLSo... | trusted_official_docs | CPython Docs | ciphers that have been blocked by OpenSSL security updates. Default cipher suite selection can be configured at compile time. (Contributed by Christian Heimes in :issue:`31429`.)
Validation of server certificates containing internationalized domain names
(IDNs) is now supported. As part of this change, the
:attr:`SSLSo... | ciphers that have been blocked by OpenSSL security updates. Default cipher suite selection can be configured at compile time. (Contributed by Christian Heimes in :issue:`31429`.)
Validation of server certificates containing internationalized domain names
(IDNs) is now supported. As part of this change, the
:attr:`SSLSo... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9dddff61-51f6-45f7-9509-c13235fb9b4b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,884 | supabase-export-v2 | c8d7ffe95ebe1383 | The new functions return the number of nanoseconds as an integer value.
:pep:`Measurements <0564#annex-clocks-resolution-in-python>`
show that on Linux and Windows the resolution of :func:`time.time_ns` is
approximately 3 times better than that of :func:`time.time`. | trusted_official_docs | CPython Docs | The new functions return the number of nanoseconds as an integer value.
:pep:`Measurements <0564#annex-clocks-resolution-in-python>`
show that on Linux and Windows the resolution of :func:`time.time_ns` is
approximately 3 times better than that of :func:`time.time`. | The new functions return the number of nanoseconds as an integer value.
:pep:`Measurements <0564#annex-clocks-resolution-in-python>`
show that on Linux and Windows the resolution of :func:`time.time_ns` is
approximately 3 times better than that of :func:`time.time`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9feedc57-5d13-4384-a44e-a6cd89414f30 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,181 | supabase-export-v2 | dfbe01579f97b9b6 | The new :c:macro:`Py_RETURN_RICHCOMPARE` macro eases writing rich comparison functions. (Contributed by Petr Victorin in :issue:`23699`.)
The new :c:macro:`Py_UNREACHABLE` macro can be used to mark unreachable
code paths. (Contributed by Barry Warsaw in :issue:`31338`.) | trusted_official_docs | CPython Docs | The new :c:macro:`Py_RETURN_RICHCOMPARE` macro eases writing rich comparison functions. (Contributed by Petr Victorin in :issue:`23699`.)
The new :c:macro:`Py_UNREACHABLE` macro can be used to mark unreachable
code paths. (Contributed by Barry Warsaw in :issue:`31338`.) | The new :c:macro:`Py_RETURN_RICHCOMPARE` macro eases writing rich comparison functions. (Contributed by Petr Victorin in :issue:`23699`.)
The new :c:macro:`Py_UNREACHABLE` macro can be used to mark unreachable
code paths. (Contributed by Barry Warsaw in :issue:`31338`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a06485df-a642-472e-ae10-fecfbd786a02 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,202 | supabase-export-v2 | d83ea1a3a772c27e | on the system (via ``py -3.6``), NuGet is used to download a copy of 32-bit Python for this purpose. (Contributed by Zachary Ware in :issue:`30450`.)
The :mod:`ssl` module requires OpenSSL 1.0.2 or 1.1 compatible libssl. OpenSSL 1.0.1 has reached end of lifetime on 2016-12-31 and is no longer
supported. LibreSSL is tem... | trusted_official_docs | CPython Docs | on the system (via ``py -3.6``), NuGet is used to download a copy of 32-bit Python for this purpose. (Contributed by Zachary Ware in :issue:`30450`.)
The :mod:`ssl` module requires OpenSSL 1.0.2 or 1.1 compatible libssl. OpenSSL 1.0.1 has reached end of lifetime on 2016-12-31 and is no longer
supported. LibreSSL is tem... | on the system (via ``py -3.6``), NuGet is used to download a copy of 32-bit Python for this purpose. (Contributed by Zachary Ware in :issue:`30450`.)
The :mod:`ssl` module requires OpenSSL 1.0.2 or 1.1 compatible libssl. OpenSSL 1.0.1 has reached end of lifetime on 2016-12-31 and is no longer
supported. LibreSSL is tem... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a12ba9a5-ee16-47e4-bc5f-43fbc0f358d3 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,029 | supabase-export-v2 | a6ada89ddf0119fd | a particular font. (Contributed by Terry Jan Reedy in :issue:`13802`.) The sample can be edited to include other characters. (Contributed by Serhiy Storchaka in :issue:`31860`.)
The IDLE features formerly implemented as extensions have been reimplemented
as normal features. Their settings have been moved from the Exten... | trusted_official_docs | CPython Docs | a particular font. (Contributed by Terry Jan Reedy in :issue:`13802`.) The sample can be edited to include other characters. (Contributed by Serhiy Storchaka in :issue:`31860`.)
The IDLE features formerly implemented as extensions have been reimplemented
as normal features. Their settings have been moved from the Exten... | a particular font. (Contributed by Terry Jan Reedy in :issue:`13802`.) The sample can be edited to include other characters. (Contributed by Serhiy Storchaka in :issue:`31860`.)
The IDLE features formerly implemented as extensions have been reimplemented
as normal features. Their settings have been moved from the Exten... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a234a774-9091-4c22-b60a-a1cbda74f519 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,976 | supabase-export-v2 | 2c4c5ad1bc2e26dc | * In :mod:`asyncio` TCP sockets on Linux are now created with ``TCP_NODELAY`` flag set by default. (Contributed by Yury Selivanov and Victor Stinner in :issue:`27456`.)
* Exceptions occurring in cancelled tasks are no longer logged. (Contributed by Yury Selivanov in :issue:`30508`.) | trusted_official_docs | CPython Docs | * In :mod:`asyncio` TCP sockets on Linux are now created with ``TCP_NODELAY`` flag set by default. (Contributed by Yury Selivanov and Victor Stinner in :issue:`27456`.)
* Exceptions occurring in cancelled tasks are no longer logged. (Contributed by Yury Selivanov in :issue:`30508`.) | * In :mod:`asyncio` TCP sockets on Linux are now created with ``TCP_NODELAY`` flag set by default. (Contributed by Yury Selivanov and Victor Stinner in :issue:`27456`.)
* Exceptions occurring in cancelled tasks are no longer logged. (Contributed by Yury Selivanov in :issue:`30508`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a276f499-9739-481d-adcc-1e64b334d027 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,228 | supabase-export-v2 | 9ae4e10f1b9b9258 | and :func:`issubclass` on them 1.5x faster. This also reduces Python start-up time by up to 10%. (Contributed by Ivan Levkivskyi and INADA Naoki in :issue:`31333`)
Significant speed improvements to alternate constructors for
:class:`datetime.date` and :class:`datetime.datetime` by using fast-path
constructors when not ... | trusted_official_docs | CPython Docs | and :func:`issubclass` on them 1.5x faster. This also reduces Python start-up time by up to 10%. (Contributed by Ivan Levkivskyi and INADA Naoki in :issue:`31333`)
Significant speed improvements to alternate constructors for
:class:`datetime.date` and :class:`datetime.datetime` by using fast-path
constructors when not ... | and :func:`issubclass` on them 1.5x faster. This also reduces Python start-up time by up to 10%. (Contributed by Ivan Levkivskyi and INADA Naoki in :issue:`31333`)
Significant speed improvements to alternate constructors for
:class:`datetime.date` and :class:`datetime.datetime` by using fast-path
constructors when not ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a351625a-f3b9-40b5-a2ed-243fd562c9c9 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,245 | supabase-export-v2 | 4ac4f6cc94f74388 | has been deprecated. An asynchronous context manager must be used in order to acquire and release the synchronization resource. (Contributed by Andrew Svetlov in :issue:`32253`.)
The :meth:`!asyncio.Task.current_task` and :meth:`!asyncio.Task.all_tasks`
methods have been deprecated. (Contributed by Andrew Svetlov in :i... | trusted_official_docs | CPython Docs | has been deprecated. An asynchronous context manager must be used in order to acquire and release the synchronization resource. (Contributed by Andrew Svetlov in :issue:`32253`.)
The :meth:`!asyncio.Task.current_task` and :meth:`!asyncio.Task.all_tasks`
methods have been deprecated. (Contributed by Andrew Svetlov in :i... | has been deprecated. An asynchronous context manager must be used in order to acquire and release the synchronization resource. (Contributed by Andrew Svetlov in :issue:`32253`.)
The :meth:`!asyncio.Task.current_task` and :meth:`!asyncio.Task.all_tasks`
methods have been deprecated. (Contributed by Andrew Svetlov in :i... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a391d6d3-6d3c-4512-923f-9050e9028b51 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,120 | supabase-export-v2 | 6de6898d298f7041 | subprocess ----------
The :func:`subprocess.run` function accepts the new *capture_output*
keyword argument. When true, stdout and stderr will be captured. This is equivalent to passing :const:`subprocess.PIPE` as *stdout* and
*stderr* arguments. (Contributed by Bo Bayles in :issue:`32102`.) | trusted_official_docs | CPython Docs | subprocess ----------
The :func:`subprocess.run` function accepts the new *capture_output*
keyword argument. When true, stdout and stderr will be captured. This is equivalent to passing :const:`subprocess.PIPE` as *stdout* and
*stderr* arguments. (Contributed by Bo Bayles in :issue:`32102`.) | subprocess ----------
The :func:`subprocess.run` function accepts the new *capture_output*
keyword argument. When true, stdout and stderr will be captured. This is equivalent to passing :const:`subprocess.PIPE` as *stdout* and
*stderr* arguments. (Contributed by Bo Bayles in :issue:`32102`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a3dbd7b6-be67-42cf-b3fa-fa738923d1d9 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,031 | supabase-export-v2 | 407730a6c0eb8f6d | colors for custom themes is added to Highlights tab of Settings dialog. (Contributed by Cheryl Sabella and Terry Jan Reedy in :issue:`33642`, :issue:`33768`, and :issue:`33679`.)
On Windows, a new API call tells Windows that tk scales for DPI. On Windows
8.1+ or 10, with DPI compatibility properties of the Python binar... | trusted_official_docs | CPython Docs | colors for custom themes is added to Highlights tab of Settings dialog. (Contributed by Cheryl Sabella and Terry Jan Reedy in :issue:`33642`, :issue:`33768`, and :issue:`33679`.)
On Windows, a new API call tells Windows that tk scales for DPI. On Windows
8.1+ or 10, with DPI compatibility properties of the Python binar... | colors for custom themes is added to Highlights tab of Settings dialog. (Contributed by Cheryl Sabella and Terry Jan Reedy in :issue:`33642`, :issue:`33768`, and :issue:`33679`.)
On Windows, a new API call tells Windows that tk scales for DPI. On Windows
8.1+ or 10, with DPI compatibility properties of the Python binar... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a51df2a7-3e6d-4dcc-a851-d8a12b857508 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,285 | supabase-export-v2 | 71492fb1d293aa89 | The following features and APIs have been removed from Python 3.7:
* The ``os.stat_float_times()`` function has been removed. It was introduced in
Python 2.3 for backward compatibility with Python 2.2, and was deprecated
since Python 3.1. | trusted_official_docs | CPython Docs | The following features and APIs have been removed from Python 3.7:
* The ``os.stat_float_times()`` function has been removed. It was introduced in
Python 2.3 for backward compatibility with Python 2.2, and was deprecated
since Python 3.1. | The following features and APIs have been removed from Python 3.7:
* The ``os.stat_float_times()`` function has been removed. It was introduced in
Python 2.3 for backward compatibility with Python 2.2, and was deprecated
since Python 3.1. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a69ea6b4-8fc7-4442-a201-59e648f5091f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,159 | supabase-export-v2 | 1cf981e82faa8a38 | command line options (including those for :option:`-b` and the new CPython-specific :option:`-X` ``dev`` option) are always passed to the warnings machinery via the :data:`sys.warnoptions` attribute.
* warnings filters enabled via the command line or the environment now have the
following order of precedence: | trusted_official_docs | CPython Docs | command line options (including those for :option:`-b` and the new CPython-specific :option:`-X` ``dev`` option) are always passed to the warnings machinery via the :data:`sys.warnoptions` attribute.
* warnings filters enabled via the command line or the environment now have the
following order of precedence: | command line options (including those for :option:`-b` and the new CPython-specific :option:`-X` ``dev`` option) are always passed to the warnings machinery via the :data:`sys.warnoptions` attribute.
* warnings filters enabled via the command line or the environment now have the
following order of precedence: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a6e58b0a-f814-43d4-a9c5-a7852230bb99 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,336 | supabase-export-v2 | f9695201caea5d08 | <socket.socket.type>` no longer has them applied. Therefore, checks like ``if sock.type == socket.SOCK_STREAM`` work as expected on all platforms. (Contributed by Yury Selivanov in :issue:`32331`.)
* On Windows the default for the *close_fds* argument of
:class:`subprocess.Popen` was changed from :const:`False` to :co... | trusted_official_docs | CPython Docs | <socket.socket.type>` no longer has them applied. Therefore, checks like ``if sock.type == socket.SOCK_STREAM`` work as expected on all platforms. (Contributed by Yury Selivanov in :issue:`32331`.)
* On Windows the default for the *close_fds* argument of
:class:`subprocess.Popen` was changed from :const:`False` to :co... | <socket.socket.type>` no longer has them applied. Therefore, checks like ``if sock.type == socket.SOCK_STREAM`` work as expected on all platforms. (Contributed by Yury Selivanov in :issue:`32331`.)
* On Windows the default for the *close_fds* argument of
:class:`subprocess.Popen` was changed from :const:`False` to :co... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a8c029c0-b12c-42b7-927a-24c537161b75 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,329 | supabase-export-v2 | b62bd3377eded138 | .. _Unicode Technical Standard #18: https://unicode.org/reports/tr18/
* The result of splitting a string on a :mod:`regular expression <re>`
that could match an empty string has been changed. For example
splitting on ``r'\s*'`` will now split not only on whitespaces as it
did previously, but also on empty strings be... | trusted_official_docs | CPython Docs | .. _Unicode Technical Standard #18: https://unicode.org/reports/tr18/
* The result of splitting a string on a :mod:`regular expression <re>`
that could match an empty string has been changed. For example
splitting on ``r'\s*'`` will now split not only on whitespaces as it
did previously, but also on empty strings be... | .. _Unicode Technical Standard #18: https://unicode.org/reports/tr18/
* The result of splitting a string on a :mod:`regular expression <re>`
that could match an empty string has been changed. For example
splitting on ``r'\s*'`` will now split not only on whitespaces as it
did previously, but also on empty strings be... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a97373b3-c3f3-44b4-9f1a-a812587bd43f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,961 | supabase-export-v2 | ee28d95393feafd5 | stream writer is closed. The new :meth:`StreamWriter.is_closing() <asyncio.StreamWriter.is_closing>` method can be used to determine if the writer is closing. (Contributed by Andrew Svetlov in :issue:`32391`.)
* The new :meth:`loop.sock_sendfile() <asyncio.loop.sock_sendfile>`
coroutine method allows sending files usi... | trusted_official_docs | CPython Docs | stream writer is closed. The new :meth:`StreamWriter.is_closing() <asyncio.StreamWriter.is_closing>` method can be used to determine if the writer is closing. (Contributed by Andrew Svetlov in :issue:`32391`.)
* The new :meth:`loop.sock_sendfile() <asyncio.loop.sock_sendfile>`
coroutine method allows sending files usi... | stream writer is closed. The new :meth:`StreamWriter.is_closing() <asyncio.StreamWriter.is_closing>` method can be used to determine if the writer is closing. (Contributed by Andrew Svetlov in :issue:`32391`.)
* The new :meth:`loop.sock_sendfile() <asyncio.loop.sock_sendfile>`
coroutine method allows sending files usi... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a977a230-7912-42df-87a8-7566d4cbe044 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,138 | supabase-export-v2 | 7de6a07cf8de46dc | tracemalloc -----------
:class:`tracemalloc.Traceback` behaves more like regular tracebacks,
sorting the frames from oldest to most recent. :meth:`Traceback.format() <tracemalloc.Traceback.format>`
now accepts negative *limit*, truncating the result to the
``abs(limit)`` oldest frames. To get the old behaviour, use
the... | trusted_official_docs | CPython Docs | tracemalloc -----------
:class:`tracemalloc.Traceback` behaves more like regular tracebacks,
sorting the frames from oldest to most recent. :meth:`Traceback.format() <tracemalloc.Traceback.format>`
now accepts negative *limit*, truncating the result to the
``abs(limit)`` oldest frames. To get the old behaviour, use
the... | tracemalloc -----------
:class:`tracemalloc.Traceback` behaves more like regular tracebacks,
sorting the frames from oldest to most recent. :meth:`Traceback.format() <tracemalloc.Traceback.format>`
now accepts negative *limit*, truncating the result to the
``abs(limit)`` oldest frames. To get the old behaviour, use
the... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
aa7acc10-d381-43e3-b234-065e67aaf7fd | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,328 | supabase-export-v2 | b479339600f3c613 | or containing literal character sequences ``'--'``, ``'&&'``, ``'~~'``, and ``'||'``. To avoid a warning, escape them with a backslash. (Contributed by Serhiy Storchaka in :issue:`30349`.)
.. _Unicode Technical Standard #18: https://unicode.org/reports/tr18/ | trusted_official_docs | CPython Docs | or containing literal character sequences ``'--'``, ``'&&'``, ``'~~'``, and ``'||'``. To avoid a warning, escape them with a backslash. (Contributed by Serhiy Storchaka in :issue:`30349`.)
.. _Unicode Technical Standard #18: https://unicode.org/reports/tr18/ | or containing literal character sequences ``'--'``, ``'&&'``, ``'~~'``, and ``'||'``. To avoid a warning, escape them with a backslash. (Contributed by Serhiy Storchaka in :issue:`30349`.)
.. _Unicode Technical Standard #18: https://unicode.org/reports/tr18/ | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
aade7c67-03f3-4eea-9cc7-cb236e1af41d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,339 | supabase-export-v2 | e0d0107c7d38f0a7 | <asyncio.loop.getnameinfo>` have been changed to be proper coroutine methods to match their documentation. Previously, these methods returned :class:`asyncio.Future` instances. (Contributed by Yury Selivanov in :issue:`32327`.)
* :attr:`asyncio.Server.sockets` now returns a copy of the internal list
of server sockets,... | trusted_official_docs | CPython Docs | <asyncio.loop.getnameinfo>` have been changed to be proper coroutine methods to match their documentation. Previously, these methods returned :class:`asyncio.Future` instances. (Contributed by Yury Selivanov in :issue:`32327`.)
* :attr:`asyncio.Server.sockets` now returns a copy of the internal list
of server sockets,... | <asyncio.loop.getnameinfo>` have been changed to be proper coroutine methods to match their documentation. Previously, these methods returned :class:`asyncio.Future` instances. (Contributed by Yury Selivanov in :issue:`32327`.)
* :attr:`asyncio.Server.sockets` now returns a copy of the internal list
of server sockets,... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
abaf8d4d-be90-401f-94f7-4dd73bf28f3b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,192 | supabase-export-v2 | 2c1f8fe356c5b04e | type of results of :c:func:`!PyThread_start_new_thread` and :c:func:`!PyThread_get_thread_ident`, and the *id* parameter of :c:func:`PyThreadState_SetAsyncExc` changed from :c:expr:`long` to :c:expr:`unsigned long`. (Contributed by Serhiy Storchaka in :issue:`6532`.)
:c:func:`PyUnicode_AsWideCharString` now raises a :e... | trusted_official_docs | CPython Docs | type of results of :c:func:`!PyThread_start_new_thread` and :c:func:`!PyThread_get_thread_ident`, and the *id* parameter of :c:func:`PyThreadState_SetAsyncExc` changed from :c:expr:`long` to :c:expr:`unsigned long`. (Contributed by Serhiy Storchaka in :issue:`6532`.)
:c:func:`PyUnicode_AsWideCharString` now raises a :e... | type of results of :c:func:`!PyThread_start_new_thread` and :c:func:`!PyThread_get_thread_ident`, and the *id* parameter of :c:func:`PyThreadState_SetAsyncExc` changed from :c:expr:`long` to :c:expr:`unsigned long`. (Contributed by Serhiy Storchaka in :issue:`6532`.)
:c:func:`PyUnicode_AsWideCharString` now raises a :e... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
aedc0489-13a5-4210-97f2-f4c78f6f7836 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,972 | supabase-export-v2 | 09e71f6982b834d5 | * The new :meth:`Handle.cancelled() <asyncio.Handle.cancelled>` method returns ``True`` if the callback was cancelled. (Contributed by Marat Sharafutdinov in :issue:`31943`.)
* The asyncio source has been converted to use the
:keyword:`async`/:keyword:`await` syntax. (Contributed by Andrew Svetlov in :issue:`32193`.) | trusted_official_docs | CPython Docs | * The new :meth:`Handle.cancelled() <asyncio.Handle.cancelled>` method returns ``True`` if the callback was cancelled. (Contributed by Marat Sharafutdinov in :issue:`31943`.)
* The asyncio source has been converted to use the
:keyword:`async`/:keyword:`await` syntax. (Contributed by Andrew Svetlov in :issue:`32193`.) | * The new :meth:`Handle.cancelled() <asyncio.Handle.cancelled>` method returns ``True`` if the callback was cancelled. (Contributed by Marat Sharafutdinov in :issue:`31943`.)
* The asyncio source has been converted to use the
:keyword:`async`/:keyword:`await` syntax. (Contributed by Andrew Svetlov in :issue:`32193`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
af9f320c-9187-4a7e-8188-e08ebbd936f3 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,341 | supabase-export-v2 | 9c756bd1ab9be152 | * :attr:`Struct.format <struct.Struct.format>` is now a :class:`str` instance instead of a :class:`bytes` instance. (Contributed by Victor Stinner in :issue:`21071`.)
* :mod:`argparse` subparsers can now be made mandatory by passing ``required=True``
to :meth:`ArgumentParser.add_subparsers() <argparse.ArgumentParser.a... | trusted_official_docs | CPython Docs | * :attr:`Struct.format <struct.Struct.format>` is now a :class:`str` instance instead of a :class:`bytes` instance. (Contributed by Victor Stinner in :issue:`21071`.)
* :mod:`argparse` subparsers can now be made mandatory by passing ``required=True``
to :meth:`ArgumentParser.add_subparsers() <argparse.ArgumentParser.a... | * :attr:`Struct.format <struct.Struct.format>` is now a :class:`str` instance instead of a :class:`bytes` instance. (Contributed by Victor Stinner in :issue:`21071`.)
* :mod:`argparse` subparsers can now be made mandatory by passing ``required=True``
to :meth:`ArgumentParser.add_subparsers() <argparse.ArgumentParser.a... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b1de0469-46c7-4430-8c20-785605d1effb | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,180 | supabase-export-v2 | c11908e4864e690e | The new :c:func:`PyImport_GetModule` function returns the previously imported module with the given name. (Contributed by Eric Snow in :issue:`28411`.)
The new :c:macro:`Py_RETURN_RICHCOMPARE` macro eases writing rich
comparison functions. (Contributed by Petr Victorin in :issue:`23699`.) | trusted_official_docs | CPython Docs | The new :c:func:`PyImport_GetModule` function returns the previously imported module with the given name. (Contributed by Eric Snow in :issue:`28411`.)
The new :c:macro:`Py_RETURN_RICHCOMPARE` macro eases writing rich
comparison functions. (Contributed by Petr Victorin in :issue:`23699`.) | The new :c:func:`PyImport_GetModule` function returns the previously imported module with the given name. (Contributed by Eric Snow in :issue:`28411`.)
The new :c:macro:`Py_RETURN_RICHCOMPARE` macro eases writing rich
comparison functions. (Contributed by Petr Victorin in :issue:`23699`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b3537ce8-b032-4775-afe6-2e719ec06f5f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,021 | supabase-export-v2 | 105c8d0bf8a24e17 | http.server -----------
:class:`~http.server.SimpleHTTPRequestHandler` now supports the HTTP
``If-Modified-Since`` header. The server returns the 304 response status if
the target file was not modified after the time specified in the header. (Contributed by Pierre Quentel in :issue:`29654`.) | trusted_official_docs | CPython Docs | http.server -----------
:class:`~http.server.SimpleHTTPRequestHandler` now supports the HTTP
``If-Modified-Since`` header. The server returns the 304 response status if
the target file was not modified after the time specified in the header. (Contributed by Pierre Quentel in :issue:`29654`.) | http.server -----------
:class:`~http.server.SimpleHTTPRequestHandler` now supports the HTTP
``If-Modified-Since`` header. The server returns the 304 response status if
the target file was not modified after the time specified in the header. (Contributed by Pierre Quentel in :issue:`29654`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b3881eef-2c21-49fd-96cf-9c4c8572185d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,244 | supabase-export-v2 | 2f604f79fe8c8108 | asyncio -------
Support for directly ``await``-ing instances of :class:`asyncio.Lock` and
other asyncio synchronization primitives has been deprecated. An
asynchronous context manager must be used in order to acquire and release
the synchronization resource. (Contributed by Andrew Svetlov in :issue:`32253`.) | trusted_official_docs | CPython Docs | asyncio -------
Support for directly ``await``-ing instances of :class:`asyncio.Lock` and
other asyncio synchronization primitives has been deprecated. An
asynchronous context manager must be used in order to acquire and release
the synchronization resource. (Contributed by Andrew Svetlov in :issue:`32253`.) | asyncio -------
Support for directly ``await``-ing instances of :class:`asyncio.Lock` and
other asyncio synchronization primitives has been deprecated. An
asynchronous context manager must be used in order to acquire and release
the synchronization resource. (Contributed by Andrew Svetlov in :issue:`32253`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b3e03357-5846-4f1c-9d7a-4813f515a734 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,126 | supabase-export-v2 | c8bb3a0e3b45bab0 | The new :func:`sys.breakpointhook` hook function is called by the built-in :func:`breakpoint`. (Contributed by Barry Warsaw in :issue:`31353`.)
On Android, the new :func:`sys.getandroidapilevel` returns the build-time
Android API version. (Contributed by Victor Stinner in :issue:`28740`.) | trusted_official_docs | CPython Docs | The new :func:`sys.breakpointhook` hook function is called by the built-in :func:`breakpoint`. (Contributed by Barry Warsaw in :issue:`31353`.)
On Android, the new :func:`sys.getandroidapilevel` returns the build-time
Android API version. (Contributed by Victor Stinner in :issue:`28740`.) | The new :func:`sys.breakpointhook` hook function is called by the built-in :func:`breakpoint`. (Contributed by Barry Warsaw in :issue:`31353`.)
On Android, the new :func:`sys.getandroidapilevel` returns the build-time
Android API version. (Contributed by Victor Stinner in :issue:`28740`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b432f1c5-6cf2-41a8-8328-6e2eceda5d70 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,185 | supabase-export-v2 | 2cc10b87ac7f640a | of structures :c:type:`PyMemberDef`, :c:type:`PyGetSetDef`, :c:type:`PyStructSequence_Field`, :c:type:`PyStructSequence_Desc`, and :c:struct:`!wrapperbase` are now of type ``const char *`` rather of ``char *``. (Contributed by Serhiy Storchaka in :issue:`28761`.)
The result of :c:func:`PyUnicode_AsUTF8AndSize` and :c:f... | trusted_official_docs | CPython Docs | of structures :c:type:`PyMemberDef`, :c:type:`PyGetSetDef`, :c:type:`PyStructSequence_Field`, :c:type:`PyStructSequence_Desc`, and :c:struct:`!wrapperbase` are now of type ``const char *`` rather of ``char *``. (Contributed by Serhiy Storchaka in :issue:`28761`.)
The result of :c:func:`PyUnicode_AsUTF8AndSize` and :c:f... | of structures :c:type:`PyMemberDef`, :c:type:`PyGetSetDef`, :c:type:`PyStructSequence_Field`, :c:type:`PyStructSequence_Desc`, and :c:struct:`!wrapperbase` are now of type ``const char *`` rather of ``char *``. (Contributed by Serhiy Storchaka in :issue:`28761`.)
The result of :c:func:`PyUnicode_AsUTF8AndSize` and :c:f... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b5890d55-02b6-47ac-846a-6ecf3547355b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,921 | supabase-export-v2 | 4424daaaea44ef38 | can now be passed to a function, and a function can now have more than 255 parameters. (Contributed by Serhiy Storchaka in :issue:`12844` and :issue:`18896`.)
* :meth:`bytes.fromhex` and :meth:`bytearray.fromhex` now ignore all ASCII
whitespace, not only spaces. (Contributed by Robert Xiao in :issue:`28927`.) | trusted_official_docs | CPython Docs | can now be passed to a function, and a function can now have more than 255 parameters. (Contributed by Serhiy Storchaka in :issue:`12844` and :issue:`18896`.)
* :meth:`bytes.fromhex` and :meth:`bytearray.fromhex` now ignore all ASCII
whitespace, not only spaces. (Contributed by Robert Xiao in :issue:`28927`.) | can now be passed to a function, and a function can now have more than 255 parameters. (Contributed by Serhiy Storchaka in :issue:`12844` and :issue:`18896`.)
* :meth:`bytes.fromhex` and :meth:`bytearray.fromhex` now ignore all ASCII
whitespace, not only spaces. (Contributed by Robert Xiao in :issue:`28927`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b601c44f-f61e-44a7-add5-531790465ef4 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,365 | supabase-export-v2 | 1d8e8ecbbac1205c | In 3.7.1 the C API for Context Variables :ref:`was updated <contextvarsobjects_pointertype_change>` to use :c:type:`PyObject` pointers. See also :issue:`34762`.
In 3.7.1 the :mod:`tokenize` module now implicitly emits a ``NEWLINE`` token
when provided with input that does not have a trailing new line. This behavior
now... | trusted_official_docs | CPython Docs | In 3.7.1 the C API for Context Variables :ref:`was updated <contextvarsobjects_pointertype_change>` to use :c:type:`PyObject` pointers. See also :issue:`34762`.
In 3.7.1 the :mod:`tokenize` module now implicitly emits a ``NEWLINE`` token
when provided with input that does not have a trailing new line. This behavior
now... | In 3.7.1 the C API for Context Variables :ref:`was updated <contextvarsobjects_pointertype_change>` to use :c:type:`PyObject` pointers. See also :issue:`34762`.
In 3.7.1 the :mod:`tokenize` module now implicitly emits a ``NEWLINE`` token
when provided with input that does not have a trailing new line. This behavior
now... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b670d1ee-a470-4c4d-9949-8469b920ccbe | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,222 | supabase-export-v2 | 83463b74cfc67cd7 | The :func:`os.fwalk` function is now up to 2 times faster thanks to the use of :func:`os.scandir`. (Contributed by Serhiy Storchaka in :issue:`25996`.)
The speed of the :func:`shutil.rmtree` function has been improved by
20--40% thanks to the use of the :func:`os.scandir` function. (Contributed by Serhiy Storchaka in :... | trusted_official_docs | CPython Docs | The :func:`os.fwalk` function is now up to 2 times faster thanks to the use of :func:`os.scandir`. (Contributed by Serhiy Storchaka in :issue:`25996`.)
The speed of the :func:`shutil.rmtree` function has been improved by
20--40% thanks to the use of the :func:`os.scandir` function. (Contributed by Serhiy Storchaka in :... | The :func:`os.fwalk` function is now up to 2 times faster thanks to the use of :func:`os.scandir`. (Contributed by Serhiy Storchaka in :issue:`25996`.)
The speed of the :func:`shutil.rmtree` function has been improved by
20--40% thanks to the use of the :func:`os.scandir` function. (Contributed by Serhiy Storchaka in :... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b6f0349f-b132-4f2c-b426-f00f7a51ed3a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,184 | supabase-export-v2 | 5cdac1d4cc23d9c3 | The new :ref:`import__find__load__start <static-markers>` and :ref:`import__find__load__done <static-markers>` static markers can be used to trace module imports. (Contributed by Christian Heimes in :issue:`31574`.)
The fields :c:member:`!name` and :c:member:`!doc` of structures
:c:type:`PyMemberDef`, :c:type:`PyGetSet... | trusted_official_docs | CPython Docs | The new :ref:`import__find__load__start <static-markers>` and :ref:`import__find__load__done <static-markers>` static markers can be used to trace module imports. (Contributed by Christian Heimes in :issue:`31574`.)
The fields :c:member:`!name` and :c:member:`!doc` of structures
:c:type:`PyMemberDef`, :c:type:`PyGetSet... | The new :ref:`import__find__load__start <static-markers>` and :ref:`import__find__load__done <static-markers>` static markers can be used to trace module imports. (Contributed by Christian Heimes in :issue:`31574`.)
The fields :c:member:`!name` and :c:member:`!doc` of structures
:c:type:`PyMemberDef`, :c:type:`PyGetSet... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b788975d-492e-48e5-8230-8965d7ae2c0d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,042 | supabase-export-v2 | 89f6f2898c860284 | :func:`importlib.reload` now raises :exc:`ModuleNotFoundError` if the module lacks a spec. (Contributed by Garvit Khatri in :issue:`29851`.)
:func:`importlib.util.find_spec` now raises :exc:`ModuleNotFoundError` instead of
:exc:`AttributeError` if the specified parent module is not a package (i.e. lacks a ``__path__`` ... | trusted_official_docs | CPython Docs | :func:`importlib.reload` now raises :exc:`ModuleNotFoundError` if the module lacks a spec. (Contributed by Garvit Khatri in :issue:`29851`.)
:func:`importlib.util.find_spec` now raises :exc:`ModuleNotFoundError` instead of
:exc:`AttributeError` if the specified parent module is not a package (i.e. lacks a ``__path__`` ... | :func:`importlib.reload` now raises :exc:`ModuleNotFoundError` if the module lacks a spec. (Contributed by Garvit Khatri in :issue:`29851`.)
:func:`importlib.util.find_spec` now raises :exc:`ModuleNotFoundError` instead of
:exc:`AttributeError` if the specified parent module is not a package (i.e. lacks a ``__path__`` ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b80bd6d0-5124-42c4-9ace-912cd2157504 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,193 | supabase-export-v2 | 29089d7485ea9428 | :c:func:`PyUnicode_AsWideCharString` now raises a :exc:`ValueError` if the second argument is ``NULL`` and the :c:expr:`wchar_t*` string contains null characters. (Contributed by Serhiy Storchaka in :issue:`30708`.)
Changes to the startup sequence and the management of dynamic memory
allocators mean that the long docum... | trusted_official_docs | CPython Docs | :c:func:`PyUnicode_AsWideCharString` now raises a :exc:`ValueError` if the second argument is ``NULL`` and the :c:expr:`wchar_t*` string contains null characters. (Contributed by Serhiy Storchaka in :issue:`30708`.)
Changes to the startup sequence and the management of dynamic memory
allocators mean that the long docum... | :c:func:`PyUnicode_AsWideCharString` now raises a :exc:`ValueError` if the second argument is ``NULL`` and the :c:expr:`wchar_t*` string contains null characters. (Contributed by Serhiy Storchaka in :issue:`30708`.)
Changes to the startup sequence and the management of dynamic memory
allocators mean that the long docum... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b815fa9f-bcd2-4d45-afdf-62e95cab02c5 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,870 | supabase-export-v2 | 9a88d36ece870eb6 | this will allow to build CPython on platforms where the native TLS key is defined in a way that cannot be safely cast to :c:expr:`int`.
Note that on platforms where the native TLS key is defined in a way that cannot
be safely cast to :c:expr:`int`, all functions of the existing TLS API will be
no-op and immediately ret... | trusted_official_docs | CPython Docs | this will allow to build CPython on platforms where the native TLS key is defined in a way that cannot be safely cast to :c:expr:`int`.
Note that on platforms where the native TLS key is defined in a way that cannot
be safely cast to :c:expr:`int`, all functions of the existing TLS API will be
no-op and immediately ret... | this will allow to build CPython on platforms where the native TLS key is defined in a way that cannot be safely cast to :c:expr:`int`.
Note that on platforms where the native TLS key is defined in a way that cannot
be safely cast to :c:expr:`int`, all functions of the existing TLS API will be
no-op and immediately ret... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ba5b8fbc-c8ee-4881-ac0a-a674d8ca828c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,111 | supabase-export-v2 | 32f9de3bb8d95e00 | :func:`!match_hostname` no longer supports partial wildcards like ``www*.example.org``. (Contributed by Mandeep Singh in :issue:`23033` and Christian Heimes in :issue:`31399`.)
The default cipher suite selection of the ``ssl`` module now uses a blacklist
approach rather than a hard-coded whitelist. Python no longer re-... | trusted_official_docs | CPython Docs | :func:`!match_hostname` no longer supports partial wildcards like ``www*.example.org``. (Contributed by Mandeep Singh in :issue:`23033` and Christian Heimes in :issue:`31399`.)
The default cipher suite selection of the ``ssl`` module now uses a blacklist
approach rather than a hard-coded whitelist. Python no longer re-... | :func:`!match_hostname` no longer supports partial wildcards like ``www*.example.org``. (Contributed by Mandeep Singh in :issue:`23033` and Christian Heimes in :issue:`31399`.)
The default cipher suite selection of the ``ssl`` module now uses a blacklist
approach rather than a hard-coded whitelist. Python no longer re-... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bccbc0f2-f0fe-4807-9417-c336447d831f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,214 | supabase-export-v2 | 3fd9843f0ad07803 | * The performance overhead of asyncio debug mode has been reduced. (Contributed by Antoine Pitrou in :issue:`31970`.)
As a result of :ref:`PEP 560 work <whatsnew37-pep560>`, the import time
of :mod:`typing` has been reduced by a factor of 7, and many typing operations
are now faster. (Contributed by Ivan Levkivskyi in ... | trusted_official_docs | CPython Docs | * The performance overhead of asyncio debug mode has been reduced. (Contributed by Antoine Pitrou in :issue:`31970`.)
As a result of :ref:`PEP 560 work <whatsnew37-pep560>`, the import time
of :mod:`typing` has been reduced by a factor of 7, and many typing operations
are now faster. (Contributed by Ivan Levkivskyi in ... | * The performance overhead of asyncio debug mode has been reduced. (Contributed by Antoine Pitrou in :issue:`31970`.)
As a result of :ref:`PEP 560 work <whatsnew37-pep560>`, the import time
of :mod:`typing` has been reduced by a factor of 7, and many typing operations
are now faster. (Contributed by Ivan Levkivskyi in ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bd31cc1b-06ae-4d90-a53a-1448ce17c480 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,000 | supabase-export-v2 | e87633426cb5cb98 | :meth:`datetime.fromisoformat() <datetime.datetime.fromisoformat>` method constructs a :class:`~datetime.datetime` object from a string in one of the formats output by :meth:`datetime.isoformat() <datetime.datetime.isoformat>`. (Contributed by Paul Ganssle in :issue:`15873`.)
The :class:`tzinfo <datetime.tzinfo>` class... | trusted_official_docs | CPython Docs | :meth:`datetime.fromisoformat() <datetime.datetime.fromisoformat>` method constructs a :class:`~datetime.datetime` object from a string in one of the formats output by :meth:`datetime.isoformat() <datetime.datetime.isoformat>`. (Contributed by Paul Ganssle in :issue:`15873`.)
The :class:`tzinfo <datetime.tzinfo>` class... | :meth:`datetime.fromisoformat() <datetime.datetime.fromisoformat>` method constructs a :class:`~datetime.datetime` object from a string in one of the formats output by :meth:`datetime.isoformat() <datetime.datetime.isoformat>`. (Contributed by Paul Ganssle in :issue:`15873`.)
The :class:`tzinfo <datetime.tzinfo>` class... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
becb5720-2c74-49fc-ab17-7d7fb148d543 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,056 | supabase-export-v2 | 9dcee7635ad0b951 | The new :meth:`StreamHandler.setStream() <logging.StreamHandler.setStream>` method can be used to replace the logger stream after handler creation. (Contributed by Vinay Sajip in :issue:`30522`.)
It is now possible to specify keyword arguments to handler constructors in
configuration passed to :func:`logging.config.fil... | trusted_official_docs | CPython Docs | The new :meth:`StreamHandler.setStream() <logging.StreamHandler.setStream>` method can be used to replace the logger stream after handler creation. (Contributed by Vinay Sajip in :issue:`30522`.)
It is now possible to specify keyword arguments to handler constructors in
configuration passed to :func:`logging.config.fil... | The new :meth:`StreamHandler.setStream() <logging.StreamHandler.setStream>` method can be used to replace the logger stream after handler creation. (Contributed by Vinay Sajip in :issue:`30522`.)
It is now possible to specify keyword arguments to handler constructors in
configuration passed to :func:`logging.config.fil... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bf17935c-a5a3-448c-93b5-6f609affa2e5 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,904 | supabase-export-v2 | 7a390f1916a64a70 | default, Python still uses timestamp-based invalidation and does not generate hash-based ``.pyc`` files at runtime. Hash-based ``.pyc`` files may be generated with :mod:`py_compile` or :mod:`compileall`.
Hash-based ``.pyc`` files come in two variants: checked and unchecked. Python
validates checked hash-based ``.pyc`` ... | trusted_official_docs | CPython Docs | default, Python still uses timestamp-based invalidation and does not generate hash-based ``.pyc`` files at runtime. Hash-based ``.pyc`` files may be generated with :mod:`py_compile` or :mod:`compileall`.
Hash-based ``.pyc`` files come in two variants: checked and unchecked. Python
validates checked hash-based ``.pyc`` ... | default, Python still uses timestamp-based invalidation and does not generate hash-based ``.pyc`` files at runtime. Hash-based ``.pyc`` files may be generated with :mod:`py_compile` or :mod:`compileall`.
Hash-based ``.pyc`` files come in two variants: checked and unchecked. Python
validates checked hash-based ``.pyc`` ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c378afe3-b3e2-42b3-bf74-57aa8365d01a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,362 | supabase-export-v2 | 0d8e7b917130d7b6 | and fixed a couple of obscure bugs caused by having swap exception state when entering or exiting a generator. (Contributed by Mark Shannon in :issue:`25612`.)
Notable changes in Python 3.7.1
=============================== | trusted_official_docs | CPython Docs | and fixed a couple of obscure bugs caused by having swap exception state when entering or exiting a generator. (Contributed by Mark Shannon in :issue:`25612`.)
Notable changes in Python 3.7.1
=============================== | and fixed a couple of obscure bugs caused by having swap exception state when entering or exiting a generator. (Contributed by Mark Shannon in :issue:`25612`.)
Notable changes in Python 3.7.1
=============================== | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c4e76565-e5c3-458b-af2c-17a75f31f39c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,282 | supabase-export-v2 | 17419b6709607b9b | recent releases of other LTS Linux releases (e.g. RHEL/CentOS 7.5, SLES 12-SP3), use OpenSSL 1.0.2 or later, and remain supported in the default build configuration.
CPython's own `CI configuration file
<https://github.com/python/cpython/blob/v3.7.13/.travis.yml>`_ provides an
example of using the SSL
:source:`compa... | trusted_official_docs | CPython Docs | recent releases of other LTS Linux releases (e.g. RHEL/CentOS 7.5, SLES 12-SP3), use OpenSSL 1.0.2 or later, and remain supported in the default build configuration.
CPython's own `CI configuration file
<https://github.com/python/cpython/blob/v3.7.13/.travis.yml>`_ provides an
example of using the SSL
:source:`compa... | recent releases of other LTS Linux releases (e.g. RHEL/CentOS 7.5, SLES 12-SP3), use OpenSSL 1.0.2 or later, and remain supported in the default build configuration.
CPython's own `CI configuration file
<https://github.com/python/cpython/blob/v3.7.13/.travis.yml>`_ provides an
example of using the SSL
:source:`compa... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c54f5e79-4caf-4baf-91ff-c1a4ab804c9e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,321 | supabase-export-v2 | 1e2940a48d95e3a2 | of newly created intermediate-level directories. To set their file permission bits you can set the umask before invoking ``makedirs()``. (Contributed by Serhiy Storchaka in :issue:`19930`.)
* The :attr:`struct.Struct.format` type is now :class:`str` instead of
:class:`bytes`. (Contributed by Victor Stinner in :issue:`... | trusted_official_docs | CPython Docs | of newly created intermediate-level directories. To set their file permission bits you can set the umask before invoking ``makedirs()``. (Contributed by Serhiy Storchaka in :issue:`19930`.)
* The :attr:`struct.Struct.format` type is now :class:`str` instead of
:class:`bytes`. (Contributed by Victor Stinner in :issue:`... | of newly created intermediate-level directories. To set their file permission bits you can set the umask before invoking ``makedirs()``. (Contributed by Serhiy Storchaka in :issue:`19930`.)
* The :attr:`struct.Struct.format` type is now :class:`str` instead of
:class:`bytes`. (Contributed by Victor Stinner in :issue:`... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c6b2391e-55e5-46cb-a566-cf601d1b2315 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,346 | supabase-export-v2 | cf68ff6dc54033b6 | * The ``submit()`` method of :class:`concurrent.futures.ThreadPoolExecutor` and :class:`concurrent.futures.ProcessPoolExecutor` now raises a :exc:`RuntimeError` if called during interpreter shutdown. (Contributed by Mark Nemec in :issue:`33097`.)
* The :class:`configparser.ConfigParser` constructor now uses ``read_dict... | trusted_official_docs | CPython Docs | * The ``submit()`` method of :class:`concurrent.futures.ThreadPoolExecutor` and :class:`concurrent.futures.ProcessPoolExecutor` now raises a :exc:`RuntimeError` if called during interpreter shutdown. (Contributed by Mark Nemec in :issue:`33097`.)
* The :class:`configparser.ConfigParser` constructor now uses ``read_dict... | * The ``submit()`` method of :class:`concurrent.futures.ThreadPoolExecutor` and :class:`concurrent.futures.ProcessPoolExecutor` now raises a :exc:`RuntimeError` if called during interpreter shutdown. (Contributed by Mark Nemec in :issue:`33097`.)
* The :class:`configparser.ConfigParser` constructor now uses ``read_dict... | python, official-docs, cpython, P0 | Local_Trusted_Corpus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.