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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c7396345-b511-4e6a-8ab6-3634b63eb5d0 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,197 | supabase-export-v2 | 9f81481d34e27961 | :c:func:`PyUnicode_DecodeLocaleAndSize` and :c:func:`PyUnicode_EncodeLocale` now use the current locale encoding for ``surrogateescape`` error handler. (Contributed by Victor Stinner in :issue:`29240`.)
The *start* and *end* parameters of :c:func:`PyUnicode_FindChar` are
now adjusted to behave like string slices. (Cont... | trusted_official_docs | CPython Docs | :c:func:`PyUnicode_DecodeLocaleAndSize` and :c:func:`PyUnicode_EncodeLocale` now use the current locale encoding for ``surrogateescape`` error handler. (Contributed by Victor Stinner in :issue:`29240`.)
The *start* and *end* parameters of :c:func:`PyUnicode_FindChar` are
now adjusted to behave like string slices. (Cont... | :c:func:`PyUnicode_DecodeLocaleAndSize` and :c:func:`PyUnicode_EncodeLocale` now use the current locale encoding for ``surrogateescape`` error handler. (Contributed by Victor Stinner in :issue:`29240`.)
The *start* and *end* parameters of :c:func:`PyUnicode_FindChar` are
now adjusted to behave like string slices. (Cont... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c7c08aef-37a0-4910-85d0-f7847a831777 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,905 | supabase-export-v2 | 834599e7bca5aa28 | files are a useful performance optimization for environments where a system external to Python (e.g., the build system) is responsible for keeping ``.pyc`` files up-to-date.
See :ref:`pyc-invalidation` for more information. | trusted_official_docs | CPython Docs | files are a useful performance optimization for environments where a system external to Python (e.g., the build system) is responsible for keeping ``.pyc`` files up-to-date.
See :ref:`pyc-invalidation` for more information. | files are a useful performance optimization for environments where a system external to Python (e.g., the build system) is responsible for keeping ``.pyc`` files up-to-date.
See :ref:`pyc-invalidation` for more information. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c8b8ade7-48bd-4f2c-8252-4d26d4684746 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,331 | supabase-export-v2 | e70121431ad56c50 | at positions 2 and 3, but also the string ``'\n'`` at positions 2--3. To match only blank lines, the pattern should be rewritten as ``r'(?m)^[^\S\n]*$'``.
:func:`re.sub` now replaces empty matches adjacent to a previous
non-empty match. For example ``re.sub('x*', '-', 'abxd')`` returns now
``'-a-b--d-'`` instead of `... | trusted_official_docs | CPython Docs | at positions 2 and 3, but also the string ``'\n'`` at positions 2--3. To match only blank lines, the pattern should be rewritten as ``r'(?m)^[^\S\n]*$'``.
:func:`re.sub` now replaces empty matches adjacent to a previous
non-empty match. For example ``re.sub('x*', '-', 'abxd')`` returns now
``'-a-b--d-'`` instead of `... | at positions 2 and 3, but also the string ``'\n'`` at positions 2--3. To match only blank lines, the pattern should be rewritten as ``r'(?m)^[^\S\n]*$'``.
:func:`re.sub` now replaces empty matches adjacent to a previous
non-empty match. For example ``re.sub('x*', '-', 'abxd')`` returns now
``'-a-b--d-'`` instead of `... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c8ebc762-dede-4154-b89e-04d7639b0e08 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,825 | supabase-export-v2 | 2eed29eb961c9c90 | This release features notable performance improvements in many areas. The :ref:`whatsnew37-perf` section lists them in detail.
For a list of changes that may affect compatibility with previous Python
releases please refer to the :ref:`porting-to-python-37` section. | trusted_official_docs | CPython Docs | This release features notable performance improvements in many areas. The :ref:`whatsnew37-perf` section lists them in detail.
For a list of changes that may affect compatibility with previous Python
releases please refer to the :ref:`porting-to-python-37` section. | This release features notable performance improvements in many areas. The :ref:`whatsnew37-perf` section lists them in detail.
For a list of changes that may affect compatibility with previous Python
releases please refer to the :ref:`porting-to-python-37` section. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c9bb84cd-c801-4585-b8f1-6be2069d8f12 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,179 | supabase-export-v2 | 0515459241bbb274 | The new :ref:`context variables <whatsnew37-pep567>` functionality exposes a number of :ref:`new C APIs <contextvarsobjects>`.
The new :c:func:`PyImport_GetModule` function returns the previously
imported module with the given name. (Contributed by Eric Snow in :issue:`28411`.) | trusted_official_docs | CPython Docs | The new :ref:`context variables <whatsnew37-pep567>` functionality exposes a number of :ref:`new C APIs <contextvarsobjects>`.
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 :ref:`context variables <whatsnew37-pep567>` functionality exposes a number of :ref:`new C APIs <contextvarsobjects>`.
The new :c:func:`PyImport_GetModule` function returns the previously
imported module with the given name. (Contributed by Eric Snow in :issue:`28411`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ca075c68-7241-495b-8db3-6afc99bfc929 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,215 | supabase-export-v2 | 373eb1747f29a3b7 | 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 :issue:`32226`.)
:func:`sorted` and :meth:`list.sort` have been optimized for common cases
to be up to 40-75% faster. (Contributed by Elliot Gorokhovsky in :issue:`28685`.) | trusted_official_docs | CPython Docs | 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 :issue:`32226`.)
:func:`sorted` and :meth:`list.sort` have been optimized for common cases
to be up to 40-75% faster. (Contributed by Elliot Gorokhovsky in :issue:`28685`.) | 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 :issue:`32226`.)
:func:`sorted` and :meth:`list.sort` have been optimized for common cases
to be up to 40-75% faster. (Contributed by Elliot Gorokhovsky in :issue:`28685`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ca13959d-8e8b-46f6-b2a1-77d4c000ae22 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,221 | supabase-export-v2 | edd0fbdb30c38d4c | :meth:`datetime.date.fromordinal` and :meth:`datetime.date.fromtimestamp` are now up to 30% faster in the common case. (Contributed by Paul Ganssle in :issue:`32403`.)
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`.) | trusted_official_docs | CPython Docs | :meth:`datetime.date.fromordinal` and :meth:`datetime.date.fromtimestamp` are now up to 30% faster in the common case. (Contributed by Paul Ganssle in :issue:`32403`.)
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`.) | :meth:`datetime.date.fromordinal` and :meth:`datetime.date.fromtimestamp` are now up to 30% faster in the common case. (Contributed by Paul Ganssle in :issue:`32403`.)
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`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ca45c6b3-0a8c-48ce-ad92-e6b266b743eb | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,172 | supabase-export-v2 | 8651f49b5f0fbe2b | an optional *filter* argument to allow the user to select which files should be included in the archive. (Contributed by Irmen de Jong in :issue:`31072`.)
Function :func:`~zipapp.create_archive` now accepts an optional *compressed*
argument to generate a compressed archive. A command line option
``--compress`` has also... | trusted_official_docs | CPython Docs | an optional *filter* argument to allow the user to select which files should be included in the archive. (Contributed by Irmen de Jong in :issue:`31072`.)
Function :func:`~zipapp.create_archive` now accepts an optional *compressed*
argument to generate a compressed archive. A command line option
``--compress`` has also... | an optional *filter* argument to allow the user to select which files should be included in the archive. (Contributed by Irmen de Jong in :issue:`31072`.)
Function :func:`~zipapp.create_archive` now accepts an optional *compressed*
argument to generate a compressed archive. A command line option
``--compress`` has also... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ca4e4777-0892-4893-83ae-37a1613af8a1 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,300 | supabase-export-v2 | f66b63eab80ab202 | if 32 bit would have otherwise been used. If the specified version is not available py.exe will error exit. (Contributed by Steve Barnes in :issue:`30291`.)
The launcher can be run as ``py -0`` to produce a list of the installed pythons,
*with default marked with an asterisk*. Running ``py -0p`` will include the paths.... | trusted_official_docs | CPython Docs | if 32 bit would have otherwise been used. If the specified version is not available py.exe will error exit. (Contributed by Steve Barnes in :issue:`30291`.)
The launcher can be run as ``py -0`` to produce a list of the installed pythons,
*with default marked with an asterisk*. Running ``py -0p`` will include the paths.... | if 32 bit would have otherwise been used. If the specified version is not available py.exe will error exit. (Contributed by Steve Barnes in :issue:`30291`.)
The launcher can be run as ``py -0`` to produce a list of the installed pythons,
*with default marked with an asterisk*. Running ``py -0p`` will include the paths.... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ca6b236a-c501-4892-84e4-1a9e9cf94776 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,847 | supabase-export-v2 | f203496a34416133 | any of the defined coercion target locales (currently ``C.UTF-8``, ``C.utf8``, and ``UTF-8``). The default error handler for :data:`~sys.stderr` continues to be ``backslashreplace``, regardless of locale.
Locale coercion is silent by default, but to assist in debugging potentially
locale related integration problems, e... | trusted_official_docs | CPython Docs | any of the defined coercion target locales (currently ``C.UTF-8``, ``C.utf8``, and ``UTF-8``). The default error handler for :data:`~sys.stderr` continues to be ``backslashreplace``, regardless of locale.
Locale coercion is silent by default, but to assist in debugging potentially
locale related integration problems, e... | any of the defined coercion target locales (currently ``C.UTF-8``, ``C.utf8``, and ``UTF-8``). The default error handler for :data:`~sys.stderr` continues to be ``backslashreplace``, regardless of locale.
Locale coercion is silent by default, but to assist in debugging potentially
locale related integration problems, e... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cac75a37-1bc0-46b9-8840-c714be40c483 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,869 | supabase-export-v2 | 7c71dcf3b464cac9 | across all platforms. This has not generally been a problem for officially support platforms, but that is neither POSIX-compliant, nor portable in any practical sense.
:pep:`539` changes this by providing a new :ref:`Thread Specific Storage (TSS)
API <thread-specific-storage-api>` to CPython which supersedes use of the... | trusted_official_docs | CPython Docs | across all platforms. This has not generally been a problem for officially support platforms, but that is neither POSIX-compliant, nor portable in any practical sense.
:pep:`539` changes this by providing a new :ref:`Thread Specific Storage (TSS)
API <thread-specific-storage-api>` to CPython which supersedes use of the... | across all platforms. This has not generally been a problem for officially support platforms, but that is neither POSIX-compliant, nor portable in any practical sense.
:pep:`539` changes this by providing a new :ref:`Thread Specific Storage (TSS)
API <thread-specific-storage-api>` to CPython which supersedes use of the... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cb17b782-a1f1-422b-b531-01a1a41e7c31 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,959 | supabase-export-v2 | 121ef250e680dcff | * The new *provisional* :class:`~asyncio.BufferedProtocol` class allows implementing streaming protocols with manual control over the receive buffer. (Contributed by Yury Selivanov in :issue:`32251`.)
* The new :func:`asyncio.get_running_loop` function returns the currently
running loop, and raises a :exc:`RuntimeErro... | trusted_official_docs | CPython Docs | * The new *provisional* :class:`~asyncio.BufferedProtocol` class allows implementing streaming protocols with manual control over the receive buffer. (Contributed by Yury Selivanov in :issue:`32251`.)
* The new :func:`asyncio.get_running_loop` function returns the currently
running loop, and raises a :exc:`RuntimeErro... | * The new *provisional* :class:`~asyncio.BufferedProtocol` class allows implementing streaming protocols with manual control over the receive buffer. (Contributed by Yury Selivanov in :issue:`32251`.)
* The new :func:`asyncio.get_running_loop` function returns the currently
running loop, and raises a :exc:`RuntimeErro... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cd84c443-6739-4725-bea0-24778ca930e8 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,210 | supabase-export-v2 | 52900f4718c8fb82 | * The :func:`asyncio.get_event_loop` function has been reimplemented in C to make it up to 15 times faster. (Contributed by Yury Selivanov in :issue:`32296`.)
* :class:`asyncio.Future` callback management has been optimized. (Contributed by Yury Selivanov in :issue:`32348`.) | trusted_official_docs | CPython Docs | * The :func:`asyncio.get_event_loop` function has been reimplemented in C to make it up to 15 times faster. (Contributed by Yury Selivanov in :issue:`32296`.)
* :class:`asyncio.Future` callback management has been optimized. (Contributed by Yury Selivanov in :issue:`32348`.) | * The :func:`asyncio.get_event_loop` function has been reimplemented in C to make it up to 15 times faster. (Contributed by Yury Selivanov in :issue:`32296`.)
* :class:`asyncio.Future` callback management has been optimized. (Contributed by Yury Selivanov in :issue:`32348`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cdd9cd06-32ab-4172-ade0-3ca8c788afa0 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,145 | supabase-export-v2 | 2783027464a4334a | unittest --------
The new ``-k`` command-line option allows filtering tests by a name
substring or a Unix shell-like pattern. For example, ``python -m unittest -k foo`` runs
``foo_tests.SomeTest.test_something``, ``bar_tests.SomeTest.test_foo``,
but not ``bar_tests.FooTest.test_something``. (Contributed by Jonas Haag i... | trusted_official_docs | CPython Docs | unittest --------
The new ``-k`` command-line option allows filtering tests by a name
substring or a Unix shell-like pattern. For example, ``python -m unittest -k foo`` runs
``foo_tests.SomeTest.test_something``, ``bar_tests.SomeTest.test_foo``,
but not ``bar_tests.FooTest.test_something``. (Contributed by Jonas Haag i... | unittest --------
The new ``-k`` command-line option allows filtering tests by a name
substring or a Unix shell-like pattern. For example, ``python -m unittest -k foo`` runs
``foo_tests.SomeTest.test_something``, ``bar_tests.SomeTest.test_foo``,
but not ``bar_tests.FooTest.test_something``. (Contributed by Jonas Haag i... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ce8e6595-9a64-4b2d-b1e3-74b60f52b90d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,372 | supabase-export-v2 | 1680bb2dce560c41 | they use the affected functions internally. For more details, please see their respective documentation. (Contributed by Adam Goldschmidt, Senthil Kumaran and Ken Jin in :issue:`42967`.)
Notable changes in Python 3.7.11
================================ | trusted_official_docs | CPython Docs | they use the affected functions internally. For more details, please see their respective documentation. (Contributed by Adam Goldschmidt, Senthil Kumaran and Ken Jin in :issue:`42967`.)
Notable changes in Python 3.7.11
================================ | they use the affected functions internally. For more details, please see their respective documentation. (Contributed by Adam Goldschmidt, Senthil Kumaran and Ken Jin in :issue:`42967`.)
Notable changes in Python 3.7.11
================================ | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cee53b30-9a43-4286-9f98-e8a94001a8e3 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,324 | supabase-export-v2 | 93f26694cf519191 | * Due to internal changes in :mod:`socket`, calling :func:`socket.fromshare` on a socket created by :func:`socket.share <socket.socket.share>` in older Python versions is not supported.
* ``repr`` for :exc:`BaseException` has changed to not include the trailing
comma. Most exceptions are affected by this change. (Cont... | trusted_official_docs | CPython Docs | * Due to internal changes in :mod:`socket`, calling :func:`socket.fromshare` on a socket created by :func:`socket.share <socket.socket.share>` in older Python versions is not supported.
* ``repr`` for :exc:`BaseException` has changed to not include the trailing
comma. Most exceptions are affected by this change. (Cont... | * Due to internal changes in :mod:`socket`, calling :func:`socket.fromshare` on a socket created by :func:`socket.share <socket.socket.share>` in older Python versions is not supported.
* ``repr`` for :exc:`BaseException` has changed to not include the trailing
comma. Most exceptions are affected by this change. (Cont... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cfd17ba7-53c3-4c89-85c7-3ba882dd0058 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,846 | supabase-export-v2 | 02b60002b5fa9138 | The platform support definition in :pep:`11` has also been updated to limit full text handling support to suitably configured non-ASCII based locales.
As part of this change, the default error handler for :data:`~sys.stdin` and
:data:`~sys.stdout` is now ``surrogateescape`` (rather than ``strict``) when
using any of th... | trusted_official_docs | CPython Docs | The platform support definition in :pep:`11` has also been updated to limit full text handling support to suitably configured non-ASCII based locales.
As part of this change, the default error handler for :data:`~sys.stdin` and
:data:`~sys.stdout` is now ``surrogateescape`` (rather than ``strict``) when
using any of th... | The platform support definition in :pep:`11` has also been updated to limit full text handling support to suitably configured non-ASCII based locales.
As part of this change, the default error handler for :data:`~sys.stdin` and
:data:`~sys.stdout` is now ``surrogateescape`` (rather than ``strict``) when
using any of th... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d055bc1e-817e-4724-9a40-4e3a199e7bd9 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,857 | supabase-export-v2 | c1d5735c50c73720 | child processes running older versions of Python. To reduce the risk of corrupting text data when communicating with such components, Python 3.7 also implements :ref:`whatsnew37-pep540`).
The UTF-8 mode is enabled by default when the locale is ``C`` or ``POSIX``, and
the :pep:`538` locale coercion feature fails to chan... | trusted_official_docs | CPython Docs | child processes running older versions of Python. To reduce the risk of corrupting text data when communicating with such components, Python 3.7 also implements :ref:`whatsnew37-pep540`).
The UTF-8 mode is enabled by default when the locale is ``C`` or ``POSIX``, and
the :pep:`538` locale coercion feature fails to chan... | child processes running older versions of Python. To reduce the risk of corrupting text data when communicating with such components, Python 3.7 also implements :ref:`whatsnew37-pep540`).
The UTF-8 mode is enabled by default when the locale is ``C`` or ``POSIX``, and
the :pep:`538` locale coercion feature fails to chan... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d0ad16aa-c828-42bb-86fb-425e520160e0 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,264 | supabase-export-v2 | bc079362f7771899 | socket ------
The silent argument value truncation in :func:`socket.htons` and
:func:`socket.ntohs` has been deprecated. In future versions of Python,
if the passed argument is larger than 16 bits, an exception will be raised. (Contributed by Oren Milman in :issue:`28332`.) | trusted_official_docs | CPython Docs | socket ------
The silent argument value truncation in :func:`socket.htons` and
:func:`socket.ntohs` has been deprecated. In future versions of Python,
if the passed argument is larger than 16 bits, an exception will be raised. (Contributed by Oren Milman in :issue:`28332`.) | socket ------
The silent argument value truncation in :func:`socket.htons` and
:func:`socket.ntohs` has been deprecated. In future versions of Python,
if the passed argument is larger than 16 bits, an exception will be raised. (Contributed by Oren Milman in :issue:`28332`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d0e9714f-2563-47cb-8b66-7285bf833a66 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,311 | supabase-export-v2 | 08f75fe83dc8437b | class C(1 for x in [1]): pass
Python 3.7 now correctly raises a :exc:`SyntaxError`, as a generator
expression always needs to be directly inside a set of parentheses
and cannot have a comma on either side, and the duplication of the
parentheses can be omitted only on calls. (Contributed by Serhiy Storchaka in :issue... | trusted_official_docs | CPython Docs | class C(1 for x in [1]): pass
Python 3.7 now correctly raises a :exc:`SyntaxError`, as a generator
expression always needs to be directly inside a set of parentheses
and cannot have a comma on either side, and the duplication of the
parentheses can be omitted only on calls. (Contributed by Serhiy Storchaka in :issue... | class C(1 for x in [1]): pass
Python 3.7 now correctly raises a :exc:`SyntaxError`, as a generator
expression always needs to be directly inside a set of parentheses
and cannot have a comma on either side, and the duplication of the
parentheses can be omitted only on calls. (Contributed by Serhiy Storchaka in :issue... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d14ac84c-6357-4b2a-844f-92e5f8defe65 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,307 | supabase-export-v2 | 66fd99b9975b0ed5 | Python 3.7, meaning that :exc:`StopIteration` exceptions raised directly or indirectly in coroutines and generators are transformed into :exc:`RuntimeError` exceptions. (Contributed by Yury Selivanov in :issue:`32670`.)
* :meth:`object.__aiter__` methods can no longer be declared as
asynchronous. (Contributed by Yury ... | trusted_official_docs | CPython Docs | Python 3.7, meaning that :exc:`StopIteration` exceptions raised directly or indirectly in coroutines and generators are transformed into :exc:`RuntimeError` exceptions. (Contributed by Yury Selivanov in :issue:`32670`.)
* :meth:`object.__aiter__` methods can no longer be declared as
asynchronous. (Contributed by Yury ... | Python 3.7, meaning that :exc:`StopIteration` exceptions raised directly or indirectly in coroutines and generators are transformed into :exc:`RuntimeError` exceptions. (Contributed by Yury Selivanov in :issue:`32670`.)
* :meth:`object.__aiter__` methods can no longer be declared as
asynchronous. (Contributed by Yury ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d29f9570-e074-4c54-a599-fdc85ade7245 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,079 | supabase-export-v2 | 60172f51ed97f8fe | now takes an optional *header* keyword-only argument. If given, it is printed to the console just before debugging begins. (Contributed by Barry Warsaw in :issue:`31389`.)
:mod:`pdb` command line now accepts ``-m module_name`` as an alternative to
script file. (Contributed by Mario Corchero in :issue:`32206`.) | trusted_official_docs | CPython Docs | now takes an optional *header* keyword-only argument. If given, it is printed to the console just before debugging begins. (Contributed by Barry Warsaw in :issue:`31389`.)
:mod:`pdb` command line now accepts ``-m module_name`` as an alternative to
script file. (Contributed by Mario Corchero in :issue:`32206`.) | now takes an optional *header* keyword-only argument. If given, it is printed to the console just before debugging begins. (Contributed by Barry Warsaw in :issue:`31389`.)
:mod:`pdb` command line now accepts ``-m module_name`` as an alternative to
script file. (Contributed by Mario Corchero in :issue:`32206`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d49ec96c-4fd5-43d9-b0e6-0bb5799ed34e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,072 | supabase-export-v2 | 05d89cbfaf0ab764 | Added :func:`os.preadv` (combine the functionality of :func:`os.readv` and :func:`os.pread`) and :func:`os.pwritev` functions (combine the functionality of :func:`os.writev` and :func:`os.pwrite`). (Contributed by Pablo Galindo in :issue:`31368`.)
The mode argument of :func:`os.makedirs` no longer affects the file
perm... | trusted_official_docs | CPython Docs | Added :func:`os.preadv` (combine the functionality of :func:`os.readv` and :func:`os.pread`) and :func:`os.pwritev` functions (combine the functionality of :func:`os.writev` and :func:`os.pwrite`). (Contributed by Pablo Galindo in :issue:`31368`.)
The mode argument of :func:`os.makedirs` no longer affects the file
perm... | Added :func:`os.preadv` (combine the functionality of :func:`os.readv` and :func:`os.pread`) and :func:`os.pwritev` functions (combine the functionality of :func:`os.writev` and :func:`os.pwrite`). (Contributed by Pablo Galindo in :issue:`31368`.)
The mode argument of :func:`os.makedirs` no longer affects the file
perm... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d5129ced-3a1f-43e9-a356-188d29527b31 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,093 | supabase-export-v2 | d9c504fc19214543 | signal ------
The new *warn_on_full_buffer* argument to the :func:`signal.set_wakeup_fd`
function makes it possible to specify whether Python prints a warning on
stderr when the wakeup buffer overflows. (Contributed by Nathaniel J. Smith in :issue:`30050`.) | trusted_official_docs | CPython Docs | signal ------
The new *warn_on_full_buffer* argument to the :func:`signal.set_wakeup_fd`
function makes it possible to specify whether Python prints a warning on
stderr when the wakeup buffer overflows. (Contributed by Nathaniel J. Smith in :issue:`30050`.) | signal ------
The new *warn_on_full_buffer* argument to the :func:`signal.set_wakeup_fd`
function makes it possible to specify whether Python prints a warning on
stderr when the wakeup buffer overflows. (Contributed by Nathaniel J. Smith in :issue:`30050`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d535fe38-8b97-491b-bc97-4cb65c397133 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,327 | supabase-export-v2 | ad61548232ecc68b | the :func:`os.scandir` function, the user specified handler *onerror* is now called with the first argument ``os.scandir`` instead of ``os.listdir`` when listing the directory is failed.
* Support for nested sets and set operations in regular expressions as in
`Unicode Technical Standard #18`_ might be added in the fu... | trusted_official_docs | CPython Docs | the :func:`os.scandir` function, the user specified handler *onerror* is now called with the first argument ``os.scandir`` instead of ``os.listdir`` when listing the directory is failed.
* Support for nested sets and set operations in regular expressions as in
`Unicode Technical Standard #18`_ might be added in the fu... | the :func:`os.scandir` function, the user specified handler *onerror* is now called with the first argument ``os.scandir`` instead of ``os.listdir`` when listing the directory is failed.
* Support for nested sets and set operations in regular expressions as in
`Unicode Technical Standard #18`_ might be added in the fu... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d61d7402-9f4e-4a27-8af2-e32e3a83a343 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,218 | supabase-export-v2 | 05c86d1c956d24ed | are now about 4 times faster when *name* is not found and *obj* does not override :meth:`object.__getattr__` or :meth:`object.__getattribute__`. (Contributed by INADA Naoki in :issue:`32544`.)
Searching for certain Unicode characters (like Ukrainian capital "Є")
in a string was up to 25 times slower than searching for ... | trusted_official_docs | CPython Docs | are now about 4 times faster when *name* is not found and *obj* does not override :meth:`object.__getattr__` or :meth:`object.__getattribute__`. (Contributed by INADA Naoki in :issue:`32544`.)
Searching for certain Unicode characters (like Ukrainian capital "Є")
in a string was up to 25 times slower than searching for ... | are now about 4 times faster when *name* is not found and *obj* does not override :meth:`object.__getattr__` or :meth:`object.__getattribute__`. (Contributed by INADA Naoki in :issue:`32544`.)
Searching for certain Unicode characters (like Ukrainian capital "Є")
in a string was up to 25 times slower than searching for ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d62f5546-c4c2-4f12-a7d1-1770dce2e872 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,281 | supabase-export-v2 | 30408b508b3eb594 | 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.
Debian 9 ("stretch") and Ubuntu 16.04 ("xenial"), as well as recent releases
of other LTS Linux releases (e.g. RHEL/CentOS 7.5, SLES 12-SP3), use OpenSSL
1.0.2 o... | trusted_official_docs | CPython Docs | 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.
Debian 9 ("stretch") and Ubuntu 16.04 ("xenial"), as well as recent releases
of other LTS Linux releases (e.g. RHEL/CentOS 7.5, SLES 12-SP3), use OpenSSL
1.0.2 o... | 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.
Debian 9 ("stretch") and Ubuntu 16.04 ("xenial"), as well as recent releases
of other LTS Linux releases (e.g. RHEL/CentOS 7.5, SLES 12-SP3), use OpenSSL
1.0.2 o... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d69fab48-8db8-43fa-bddb-a2e785422753 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,313 | supabase-export-v2 | 2d82702d4a5be569 | updated accordingly (e.g. by also checking for ``os.getcwd()`` or ``os.path.dirname(__main__.__file__)``, depending on why the code was checking for the empty string in the first place).
Changes in the Python API
------------------------- | trusted_official_docs | CPython Docs | updated accordingly (e.g. by also checking for ``os.getcwd()`` or ``os.path.dirname(__main__.__file__)``, depending on why the code was checking for the empty string in the first place).
Changes in the Python API
------------------------- | updated accordingly (e.g. by also checking for ``os.getcwd()`` or ``os.path.dirname(__main__.__file__)``, depending on why the code was checking for the empty string in the first place).
Changes in the Python API
------------------------- | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d6edf156-e48b-4de3-94af-f8d2f5687642 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,055 | supabase-export-v2 | 5e5ffee375ec1fd9 | :class:`~logging.Logger` instances can now be pickled. (Contributed by Vinay Sajip in :issue:`30520`.)
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`.) | trusted_official_docs | CPython Docs | :class:`~logging.Logger` instances can now be pickled. (Contributed by Vinay Sajip in :issue:`30520`.)
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`.) | :class:`~logging.Logger` instances can now be pickled. (Contributed by Vinay Sajip in :issue:`30520`.)
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`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d76af5d5-b4d6-4e02-882f-f79ee2de782a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,232 | supabase-export-v2 | 3d2a8ca80444af74 | Other CPython Implementation Changes ====================================
* Trace hooks may now opt out of receiving the ``line`` and opt into receiving
the ``opcode`` events from the interpreter by setting the corresponding new
:attr:`~frame.f_trace_lines` and :attr:`~frame.f_trace_opcodes` attributes on the
frame ... | trusted_official_docs | CPython Docs | Other CPython Implementation Changes ====================================
* Trace hooks may now opt out of receiving the ``line`` and opt into receiving
the ``opcode`` events from the interpreter by setting the corresponding new
:attr:`~frame.f_trace_lines` and :attr:`~frame.f_trace_opcodes` attributes on the
frame ... | Other CPython Implementation Changes ====================================
* Trace hooks may now opt out of receiving the ``line`` and opt into receiving
the ``opcode`` events from the interpreter by setting the corresponding new
:attr:`~frame.f_trace_lines` and :attr:`~frame.f_trace_opcodes` attributes on the
frame ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d7b1a791-702e-4568-b42e-1ffdbc3968e4 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,190 | supabase-export-v2 | b69b62084b20e2c6 | removed as its members being never cleared may cause a segfault during finalization of the interpreter. Contributed by Xavier de Gaye in :issue:`22898` and :issue:`30697`.
Added C API support for timezones with timezone constructors
:c:func:`PyTimeZone_FromOffset` and :c:func:`PyTimeZone_FromOffsetAndName`,
and access ... | trusted_official_docs | CPython Docs | removed as its members being never cleared may cause a segfault during finalization of the interpreter. Contributed by Xavier de Gaye in :issue:`22898` and :issue:`30697`.
Added C API support for timezones with timezone constructors
:c:func:`PyTimeZone_FromOffset` and :c:func:`PyTimeZone_FromOffsetAndName`,
and access ... | removed as its members being never cleared may cause a segfault during finalization of the interpreter. Contributed by Xavier de Gaye in :issue:`22898` and :issue:`30697`.
Added C API support for timezones with timezone constructors
:c:func:`PyTimeZone_FromOffset` and :c:func:`PyTimeZone_FromOffsetAndName`,
and access ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d96d8bea-4891-48a2-bfef-bc9d1cb5b00a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,178 | supabase-export-v2 | 194f9f5f713ad0b1 | 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`.)
The new :ref:`context variables <whatsnew37-pep567>` functionality
exposes a number of :ref:`new C AP... | trusted_official_docs | CPython Docs | 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`.)
The new :ref:`context variables <whatsnew37-pep567>` functionality
exposes a number of :ref:`new C AP... | 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`.)
The new :ref:`context variables <whatsnew37-pep567>` functionality
exposes a number of :ref:`new C AP... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
dac8cd7b-5697-4e8b-af87-5335275287c2 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,045 | supabase-export-v2 | d4d735a7968d8105 | io --
The new :meth:`TextIOWrapper.reconfigure() <io.TextIOWrapper.reconfigure>`
method can be used to reconfigure the text stream with the new settings. (Contributed by Antoine Pitrou in :issue:`30526` and
INADA Naoki in :issue:`15216`.) | trusted_official_docs | CPython Docs | io --
The new :meth:`TextIOWrapper.reconfigure() <io.TextIOWrapper.reconfigure>`
method can be used to reconfigure the text stream with the new settings. (Contributed by Antoine Pitrou in :issue:`30526` and
INADA Naoki in :issue:`15216`.) | io --
The new :meth:`TextIOWrapper.reconfigure() <io.TextIOWrapper.reconfigure>`
method can be used to reconfigure the text stream with the new settings. (Contributed by Antoine Pitrou in :issue:`30526` and
INADA Naoki in :issue:`15216`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
db0b6a49-c3fb-4cbc-9564-2c9c7368af0d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,194 | supabase-export-v2 | d6b759c4a86afba7 | lead to segfaults in embedding applications. See the :ref:`porting-to-python-37` section in this document and the :ref:`pre-init-safe` section in the C API documentation for more details.
The new :c:func:`PyInterpreterState_GetID` returns the unique ID for a
given interpreter. (Contributed by Eric Snow in :issue:`29102... | trusted_official_docs | CPython Docs | lead to segfaults in embedding applications. See the :ref:`porting-to-python-37` section in this document and the :ref:`pre-init-safe` section in the C API documentation for more details.
The new :c:func:`PyInterpreterState_GetID` returns the unique ID for a
given interpreter. (Contributed by Eric Snow in :issue:`29102... | lead to segfaults in embedding applications. See the :ref:`porting-to-python-37` section in this document and the :ref:`pre-init-safe` section in the C API documentation for more details.
The new :c:func:`PyInterpreterState_GetID` returns the unique ID for a
given interpreter. (Contributed by Eric Snow in :issue:`29102... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
dba97966-d836-42f2-b796-19a63b0895c8 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,200 | supabase-export-v2 | 96ae31f6a96753fd | Support for building ``--without-threads`` has been removed. The :mod:`threading` module is now always available. (Contributed by Antoine Pitrou in :issue:`31370`.).
A full copy of libffi is no longer bundled for use when building the
:mod:`_ctypes <ctypes>` module on non-OSX UNIX platforms. An installed copy
of libffi... | trusted_official_docs | CPython Docs | Support for building ``--without-threads`` has been removed. The :mod:`threading` module is now always available. (Contributed by Antoine Pitrou in :issue:`31370`.).
A full copy of libffi is no longer bundled for use when building the
:mod:`_ctypes <ctypes>` module on non-OSX UNIX platforms. An installed copy
of libffi... | Support for building ``--without-threads`` has been removed. The :mod:`threading` module is now always available. (Contributed by Antoine Pitrou in :issue:`31370`.).
A full copy of libffi is no longer bundled for use when building the
:mod:`_ctypes <ctypes>` module on non-OSX UNIX platforms. An installed copy
of libffi... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
dcecafc4-8af8-4dc7-8d0f-9f704765d4ac | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,824 | supabase-export-v2 | d8026af7a167f703 | * :ref:`PEP 545 <whatsnew37-pep545>`, Python documentation translations * New documentation translations: `Japanese <https://docs.python.org/ja/>`_, `French <https://docs.python.org/fr/>`_, and `Korean <https://docs.python.org/ko/>`_.
This release features notable performance improvements in many areas. The :ref:`whats... | trusted_official_docs | CPython Docs | * :ref:`PEP 545 <whatsnew37-pep545>`, Python documentation translations * New documentation translations: `Japanese <https://docs.python.org/ja/>`_, `French <https://docs.python.org/fr/>`_, and `Korean <https://docs.python.org/ko/>`_.
This release features notable performance improvements in many areas. The :ref:`whats... | * :ref:`PEP 545 <whatsnew37-pep545>`, Python documentation translations * New documentation translations: `Japanese <https://docs.python.org/ja/>`_, `French <https://docs.python.org/fr/>`_, and `Korean <https://docs.python.org/ko/>`_.
This release features notable performance improvements in many areas. The :ref:`whats... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
dd1131f8-2082-4710-a744-b44c61e3d314 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,249 | supabase-export-v2 | 998f0134870777ad | dbm ---
:mod:`dbm.dumb` now supports reading read-only files and no longer writes the
index file when it is not changed. A deprecation warning is now emitted
if the index file is missing and recreated in the ``'r'`` and ``'w'``
modes (this will be an error in future Python releases). (Contributed by Serhiy Storchaka in... | trusted_official_docs | CPython Docs | dbm ---
:mod:`dbm.dumb` now supports reading read-only files and no longer writes the
index file when it is not changed. A deprecation warning is now emitted
if the index file is missing and recreated in the ``'r'`` and ``'w'``
modes (this will be an error in future Python releases). (Contributed by Serhiy Storchaka in... | dbm ---
:mod:`dbm.dumb` now supports reading read-only files and no longer writes the
index file when it is not changed. A deprecation warning is now emitted
if the index file is missing and recreated in the ``'r'`` and ``'w'``
modes (this will be an error in future Python releases). (Contributed by Serhiy Storchaka in... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
dd26ba71-bd11-4a3b-bbfa-3e9b7dd8c520 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,064 | supabase-export-v2 | 3ec61439aa910b2f | multiprocessing ---------------
The new :meth:`Process.close() <multiprocessing.Process.close>` method
explicitly closes the process object and releases all resources associated
with it. :exc:`ValueError` is raised if the underlying process is still
running. (Contributed by Antoine Pitrou in :issue:`30596`.) | trusted_official_docs | CPython Docs | multiprocessing ---------------
The new :meth:`Process.close() <multiprocessing.Process.close>` method
explicitly closes the process object and releases all resources associated
with it. :exc:`ValueError` is raised if the underlying process is still
running. (Contributed by Antoine Pitrou in :issue:`30596`.) | multiprocessing ---------------
The new :meth:`Process.close() <multiprocessing.Process.close>` method
explicitly closes the process object and releases all resources associated
with it. :exc:`ValueError` is raised if the underlying process is still
running. (Contributed by Antoine Pitrou in :issue:`30596`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
dec504bb-0576-4bda-8bb1-34157bf2cc21 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,367 | supabase-export-v2 | 73d101821266bf5b | Notable changes in Python 3.7.2 ===============================
In 3.7.2, :mod:`venv` on Windows no longer copies the original binaries, but
creates redirector scripts named ``python.exe`` and ``pythonw.exe`` instead. This resolves a long standing issue where all virtual environments would have
to be upgraded or recrea... | trusted_official_docs | CPython Docs | Notable changes in Python 3.7.2 ===============================
In 3.7.2, :mod:`venv` on Windows no longer copies the original binaries, but
creates redirector scripts named ``python.exe`` and ``pythonw.exe`` instead. This resolves a long standing issue where all virtual environments would have
to be upgraded or recrea... | Notable changes in Python 3.7.2 ===============================
In 3.7.2, :mod:`venv` on Windows no longer copies the original binaries, but
creates redirector scripts named ``python.exe`` and ``pythonw.exe`` instead. This resolves a long standing issue where all virtual environments would have
to be upgraded or recrea... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
df78b862-30f1-4a62-81f4-eacc1da7ac5f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,183 | supabase-export-v2 | c4eae576f3183cd4 | The :mod:`tracemalloc` now exposes a C API through the new :c:func:`PyTraceMalloc_Track` and :c:func:`PyTraceMalloc_Untrack` functions. (Contributed by Victor Stinner in :issue:`30054`.)
The new :ref:`import__find__load__start <static-markers>` and
:ref:`import__find__load__done <static-markers>` static markers can be ... | trusted_official_docs | CPython Docs | The :mod:`tracemalloc` now exposes a C API through the new :c:func:`PyTraceMalloc_Track` and :c:func:`PyTraceMalloc_Untrack` functions. (Contributed by Victor Stinner in :issue:`30054`.)
The new :ref:`import__find__load__start <static-markers>` and
:ref:`import__find__load__done <static-markers>` static markers can be ... | The :mod:`tracemalloc` now exposes a C API through the new :c:func:`PyTraceMalloc_Track` and :c:func:`PyTraceMalloc_Untrack` functions. (Contributed by Victor Stinner in :issue:`30054`.)
The new :ref:`import__find__load__start <static-markers>` and
:ref:`import__find__load__done <static-markers>` static markers can be ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
dfcd1aa1-be82-4601-9cc8-c5dcda91e69f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,963 | supabase-export-v2 | f28caf910b90c06b | a future were created. :meth:`Server.get_loop() <asyncio.Server.get_loop>` allows doing the same for :class:`asyncio.Server` objects. (Contributed by Yury Selivanov in :issue:`32415` and Srinivas Reddy Thatiparthy in :issue:`32418`.)
* It is now possible to control how instances of :class:`asyncio.Server` begin
servin... | trusted_official_docs | CPython Docs | a future were created. :meth:`Server.get_loop() <asyncio.Server.get_loop>` allows doing the same for :class:`asyncio.Server` objects. (Contributed by Yury Selivanov in :issue:`32415` and Srinivas Reddy Thatiparthy in :issue:`32418`.)
* It is now possible to control how instances of :class:`asyncio.Server` begin
servin... | a future were created. :meth:`Server.get_loop() <asyncio.Server.get_loop>` allows doing the same for :class:`asyncio.Server` objects. (Contributed by Yury Selivanov in :issue:`32415` and Srinivas Reddy Thatiparthy in :issue:`32418`.)
* It is now possible to control how instances of :class:`asyncio.Server` begin
servin... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e0447645-3ec4-4be5-b600-f70e2ae5a6ba | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,070 | supabase-export-v2 | 8d48ee7c54c86620 | :func:`os.scandir` gained support for :ref:`file descriptors <path_fd>`. (Contributed by Serhiy Storchaka in :issue:`25996`.)
The new :func:`~os.register_at_fork` function allows registering Python
callbacks to be executed at process fork. (Contributed by Antoine Pitrou in :issue:`16500`.) | trusted_official_docs | CPython Docs | :func:`os.scandir` gained support for :ref:`file descriptors <path_fd>`. (Contributed by Serhiy Storchaka in :issue:`25996`.)
The new :func:`~os.register_at_fork` function allows registering Python
callbacks to be executed at process fork. (Contributed by Antoine Pitrou in :issue:`16500`.) | :func:`os.scandir` gained support for :ref:`file descriptors <path_fd>`. (Contributed by Serhiy Storchaka in :issue:`25996`.)
The new :func:`~os.register_at_fork` function allows registering Python
callbacks to be executed at process fork. (Contributed by Antoine Pitrou in :issue:`16500`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e16ff04b-6f29-409e-a1fb-a76d1ace5fe0 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,171 | supabase-export-v2 | 0ab25d1c49f947f9 | zipapp ------
Function :func:`~zipapp.create_archive` now accepts an optional *filter*
argument to allow the user to select which files should be included in the
archive. (Contributed by Irmen de Jong in :issue:`31072`.) | trusted_official_docs | CPython Docs | zipapp ------
Function :func:`~zipapp.create_archive` now accepts an optional *filter*
argument to allow the user to select which files should be included in the
archive. (Contributed by Irmen de Jong in :issue:`31072`.) | zipapp ------
Function :func:`~zipapp.create_archive` now accepts an optional *filter*
argument to allow the user to select which files should be included in the
archive. (Contributed by Irmen de Jong in :issue:`31072`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e251ea66-6378-4d99-8831-ef5be3476aa3 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,206 | supabase-export-v2 | a8ad0e34909ec962 | startup time by 10% on Linux and up to 30% on macOS. (Contributed by Victor Stinner, INADA Naoki in :issue:`29585`, and Ivan Levkivskyi in :issue:`31333`.)
Method calls are now up to 20% faster due to the bytecode changes which
avoid creating bound method instances. (Contributed by Yury Selivanov and INADA Naoki in :is... | trusted_official_docs | CPython Docs | startup time by 10% on Linux and up to 30% on macOS. (Contributed by Victor Stinner, INADA Naoki in :issue:`29585`, and Ivan Levkivskyi in :issue:`31333`.)
Method calls are now up to 20% faster due to the bytecode changes which
avoid creating bound method instances. (Contributed by Yury Selivanov and INADA Naoki in :is... | startup time by 10% on Linux and up to 30% on macOS. (Contributed by Victor Stinner, INADA Naoki in :issue:`29585`, and Ivan Levkivskyi in :issue:`31333`.)
Method calls are now up to 20% faster due to the bytecode changes which
avoid creating bound method instances. (Contributed by Yury Selivanov and INADA Naoki in :is... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e2a0aeef-329e-4603-95db-a114397c0c9a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,216 | supabase-export-v2 | ee6c6d1af05fd0b8 | :func:`sorted` and :meth:`list.sort` have been optimized for common cases to be up to 40-75% faster. (Contributed by Elliot Gorokhovsky in :issue:`28685`.)
:meth:`dict.copy` is now up to 5.5 times faster. (Contributed by Yury Selivanov in :issue:`31179`.) | trusted_official_docs | CPython Docs | :func:`sorted` and :meth:`list.sort` have been optimized for common cases to be up to 40-75% faster. (Contributed by Elliot Gorokhovsky in :issue:`28685`.)
:meth:`dict.copy` is now up to 5.5 times faster. (Contributed by Yury Selivanov in :issue:`31179`.) | :func:`sorted` and :meth:`list.sort` have been optimized for common cases to be up to 40-75% faster. (Contributed by Elliot Gorokhovsky in :issue:`28685`.)
:meth:`dict.copy` is now up to 5.5 times faster. (Contributed by Yury Selivanov in :issue:`31179`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e2fe5cea-ba0e-4f9e-9295-0f7b3b4cd53d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,358 | supabase-export-v2 | f05796cd38399844 | * :c:func:`!PySys_AddWarnOptionUnicode` is not currently usable by embedding applications due to the requirement to create a Unicode object prior to calling ``Py_Initialize``. Use :c:func:`!PySys_AddWarnOption` instead.
* warnings filters added by an embedding application with
:c:func:`!PySys_AddWarnOption` should now... | trusted_official_docs | CPython Docs | * :c:func:`!PySys_AddWarnOptionUnicode` is not currently usable by embedding applications due to the requirement to create a Unicode object prior to calling ``Py_Initialize``. Use :c:func:`!PySys_AddWarnOption` instead.
* warnings filters added by an embedding application with
:c:func:`!PySys_AddWarnOption` should now... | * :c:func:`!PySys_AddWarnOptionUnicode` is not currently usable by embedding applications due to the requirement to create a Unicode object prior to calling ``Py_Initialize``. Use :c:func:`!PySys_AddWarnOption` instead.
* warnings filters added by an embedding application with
:c:func:`!PySys_AddWarnOption` should now... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e380aec0-b417-4afa-bc08-1267f6da2bb3 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,212 | supabase-export-v2 | 69068daf1293557e | * :func:`asyncio.gather` is now up to 15% faster. (Contributed by Yury Selivanov in :issue:`32355`.)
* :func:`asyncio.sleep` is now up to 2 times faster when the *delay*
argument is zero or negative. (Contributed by Andrew Svetlov in :issue:`32351`.) | trusted_official_docs | CPython Docs | * :func:`asyncio.gather` is now up to 15% faster. (Contributed by Yury Selivanov in :issue:`32355`.)
* :func:`asyncio.sleep` is now up to 2 times faster when the *delay*
argument is zero or negative. (Contributed by Andrew Svetlov in :issue:`32351`.) | * :func:`asyncio.gather` is now up to 15% faster. (Contributed by Yury Selivanov in :issue:`32355`.)
* :func:`asyncio.sleep` is now up to 2 times faster when the *delay*
argument is zero or negative. (Contributed by Andrew Svetlov in :issue:`32351`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e46c4d60-f1fa-4b1d-9588-3b0a1c48a7b7 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,876 | supabase-export-v2 | 74e6d3795c7cdf1c | allows defining :meth:`~module.__getattr__` on modules and will call it whenever a module attribute is otherwise not found. Defining :meth:`~module.__dir__` on modules is now also allowed.
A typical example of where this may be useful is module attribute deprecation
and lazy loading. | trusted_official_docs | CPython Docs | allows defining :meth:`~module.__getattr__` on modules and will call it whenever a module attribute is otherwise not found. Defining :meth:`~module.__dir__` on modules is now also allowed.
A typical example of where this may be useful is module attribute deprecation
and lazy loading. | allows defining :meth:`~module.__getattr__` on modules and will call it whenever a module attribute is otherwise not found. Defining :meth:`~module.__dir__` on modules is now also allowed.
A typical example of where this may be useful is module attribute deprecation
and lazy loading. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e6009fd2-007b-43f2-ba9b-95167d8c3d02 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,027 | supabase-export-v2 | 9dd4be6f6243d498 | now displays nested functions and classes in addition to top-level functions and classes. (Contributed by Guilherme Polo, Cheryl Sabella, and Terry Jan Reedy in :issue:`1612262`.)
The Settings dialog (Options, Configure IDLE) has been partly rewritten
to improve both appearance and function. (Contributed by Cheryl Sabe... | trusted_official_docs | CPython Docs | now displays nested functions and classes in addition to top-level functions and classes. (Contributed by Guilherme Polo, Cheryl Sabella, and Terry Jan Reedy in :issue:`1612262`.)
The Settings dialog (Options, Configure IDLE) has been partly rewritten
to improve both appearance and function. (Contributed by Cheryl Sabe... | now displays nested functions and classes in addition to top-level functions and classes. (Contributed by Guilherme Polo, Cheryl Sabella, and Terry Jan Reedy in :issue:`1612262`.)
The Settings dialog (Options, Configure IDLE) has been partly rewritten
to improve both appearance and function. (Contributed by Cheryl Sabe... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e66afb81-7f9c-4a2d-ab8c-9f9a5ee234c3 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,291 | supabase-export-v2 | 714aa75cbdeef9a6 | * Functions :func:`bool`, :func:`float`, :func:`list` and :func:`tuple` no longer take keyword arguments. The first argument of :func:`int` can now be passed only as positional argument.
* Removed previously deprecated in Python 2.4 classes ``Plist``, ``Dict`` and
``_InternalDict`` in the :mod:`plistlib` module. Dict ... | trusted_official_docs | CPython Docs | * Functions :func:`bool`, :func:`float`, :func:`list` and :func:`tuple` no longer take keyword arguments. The first argument of :func:`int` can now be passed only as positional argument.
* Removed previously deprecated in Python 2.4 classes ``Plist``, ``Dict`` and
``_InternalDict`` in the :mod:`plistlib` module. Dict ... | * Functions :func:`bool`, :func:`float`, :func:`list` and :func:`tuple` no longer take keyword arguments. The first argument of :func:`int` can now be passed only as positional argument.
* Removed previously deprecated in Python 2.4 classes ``Plist``, ``Dict`` and
``_InternalDict`` in the :mod:`plistlib` module. Dict ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e7d02a46-76f3-4afd-a9d0-525fee603e9c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,832 | supabase-export-v2 | e3bfb2d89385a3f4 | case where this is not required, the annotations are cheaper to store (since short strings are interned by the interpreter) and make startup time faster.
Usability-wise, annotations now support forward references, making the
following syntax valid:: | trusted_official_docs | CPython Docs | case where this is not required, the annotations are cheaper to store (since short strings are interned by the interpreter) and make startup time faster.
Usability-wise, annotations now support forward references, making the
following syntax valid:: | case where this is not required, the annotations are cheaper to store (since short strings are interned by the interpreter) and make startup time faster.
Usability-wise, annotations now support forward references, making the
following syntax valid:: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e7d67c40-43d2-44f9-bbcc-e16a736f65f4 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,011 | supabase-export-v2 | f01a2e9cdf9b43d7 | learned the new ``_ignore_`` class property, which allows listing the names of properties which should not become enum members. (Contributed by Ethan Furman in :issue:`31801`.)
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``); sim... | trusted_official_docs | CPython Docs | learned the new ``_ignore_`` class property, which allows listing the names of properties which should not become enum members. (Contributed by Ethan Furman in :issue:`31801`.)
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``); sim... | learned the new ``_ignore_`` class property, which allows listing the names of properties which should not become enum members. (Contributed by Ethan Furman in :issue:`31801`.)
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``); sim... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e891ec05-0aa5-4d46-b13d-9aa8c5ad250c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,256 | supabase-export-v2 | bc67fbea8dc3787e | :meth:`!MetaPathFinder.find_module` (replaced by :meth:`MetaPathFinder.find_spec() <importlib.abc.MetaPathFinder.find_spec>`) and :meth:`!PathEntryFinder.find_loader` (replaced by :meth:`PathEntryFinder.find_spec() <importlib.abc.PathEntryFinder.find_spec>`) both deprecated in Python 3.4 now emit :exc:`DeprecationWarni... | trusted_official_docs | CPython Docs | :meth:`!MetaPathFinder.find_module` (replaced by :meth:`MetaPathFinder.find_spec() <importlib.abc.MetaPathFinder.find_spec>`) and :meth:`!PathEntryFinder.find_loader` (replaced by :meth:`PathEntryFinder.find_spec() <importlib.abc.PathEntryFinder.find_spec>`) both deprecated in Python 3.4 now emit :exc:`DeprecationWarni... | :meth:`!MetaPathFinder.find_module` (replaced by :meth:`MetaPathFinder.find_spec() <importlib.abc.MetaPathFinder.find_spec>`) and :meth:`!PathEntryFinder.find_loader` (replaced by :meth:`PathEntryFinder.find_spec() <importlib.abc.PathEntryFinder.find_spec>`) both deprecated in Python 3.4 now emit :exc:`DeprecationWarni... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ea9004f4-7f1b-4fcb-9dfc-1258cd67d2f5 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,334 | supabase-export-v2 | 697d44106e27b565 | :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`.)
* :class:`tracemalloc.Traceback` frames are now sorted from oldest to most
recent to be more consistent with :mod:`traceback`... | trusted_official_docs | CPython Docs | :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`.)
* :class:`tracemalloc.Traceback` frames are now sorted from oldest to most
recent to be more consistent with :mod:`traceback`... | :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`.)
* :class:`tracemalloc.Traceback` frames are now sorted from oldest to most
recent to be more consistent with :mod:`traceback`... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ebd3cfde-4426-4039-bcd4-cf54ae9c3e20 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,925 | supabase-export-v2 | 7792ddfdf4a9db9e | * Circular imports involving absolute imports with binding a submodule to a name are now supported. (Contributed by Serhiy Storchaka in :issue:`30024`.)
* ``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather than
``format(str(self), '')``. (Contributed by Serhiy Storchaka in :issue:`28974`.) | trusted_official_docs | CPython Docs | * Circular imports involving absolute imports with binding a submodule to a name are now supported. (Contributed by Serhiy Storchaka in :issue:`30024`.)
* ``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather than
``format(str(self), '')``. (Contributed by Serhiy Storchaka in :issue:`28974`.) | * Circular imports involving absolute imports with binding a submodule to a name are now supported. (Contributed by Serhiy Storchaka in :issue:`30024`.)
* ``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather than
``format(str(self), '')``. (Contributed by Serhiy Storchaka in :issue:`28974`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ecbe7d65-4caf-4b96-b72c-98c2680003bb | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,114 | supabase-export-v2 | 1c1d709ea6e55bd9 | 1.3 handshake and protocol behaves slightly differently than TLS 1.2 and earlier, see :ref:`ssl-tlsv1_3`. (Contributed by Christian Heimes in :issue:`32947`, :issue:`20995`, :issue:`29136`, :issue:`30622` and :issue:`33618`)
:class:`~ssl.SSLSocket` and :class:`~ssl.SSLObject` no longer have a public
constructor. Direct... | trusted_official_docs | CPython Docs | 1.3 handshake and protocol behaves slightly differently than TLS 1.2 and earlier, see :ref:`ssl-tlsv1_3`. (Contributed by Christian Heimes in :issue:`32947`, :issue:`20995`, :issue:`29136`, :issue:`30622` and :issue:`33618`)
:class:`~ssl.SSLSocket` and :class:`~ssl.SSLObject` no longer have a public
constructor. Direct... | 1.3 handshake and protocol behaves slightly differently than TLS 1.2 and earlier, see :ref:`ssl-tlsv1_3`. (Contributed by Christian Heimes in :issue:`32947`, :issue:`20995`, :issue:`29136`, :issue:`30622` and :issue:`33618`)
:class:`~ssl.SSLSocket` and :class:`~ssl.SSLObject` no longer have a public
constructor. Direct... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
edc6847a-c6f8-403a-9642-881452aa4d23 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,134 | supabase-export-v2 | 91250809ce110824 | The new :func:`time.thread_time` and :func:`time.thread_time_ns` functions can be used to get per-thread CPU time measurements. (Contributed by Antoine Pitrou in :issue:`32025`.)
The new :func:`time.pthread_getcpuclockid` function returns the clock ID
of the thread-specific CPU-time clock. | trusted_official_docs | CPython Docs | The new :func:`time.thread_time` and :func:`time.thread_time_ns` functions can be used to get per-thread CPU time measurements. (Contributed by Antoine Pitrou in :issue:`32025`.)
The new :func:`time.pthread_getcpuclockid` function returns the clock ID
of the thread-specific CPU-time clock. | The new :func:`time.thread_time` and :func:`time.thread_time_ns` functions can be used to get per-thread CPU time measurements. (Contributed by Antoine Pitrou in :issue:`32025`.)
The new :func:`time.pthread_getcpuclockid` function returns the clock ID
of the thread-specific CPU-time clock. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ee5005c3-3f85-4ca3-be04-d7a7f8bd4e5a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,213 | supabase-export-v2 | 48e4cfabe4665d86 | * :func:`asyncio.sleep` is now up to 2 times faster when the *delay* argument is zero or negative. (Contributed by Andrew Svetlov in :issue:`32351`.)
* The performance overhead of asyncio debug mode has been reduced. (Contributed by Antoine Pitrou in :issue:`31970`.) | trusted_official_docs | CPython Docs | * :func:`asyncio.sleep` is now up to 2 times faster when the *delay* argument is zero or negative. (Contributed by Andrew Svetlov in :issue:`32351`.)
* The performance overhead of asyncio debug mode has been reduced. (Contributed by Antoine Pitrou in :issue:`31970`.) | * :func:`asyncio.sleep` is now up to 2 times faster when the *delay* argument is zero or negative. (Contributed by Andrew Svetlov in :issue:`32351`.)
* The performance overhead of asyncio debug mode has been reduced. (Contributed by Antoine Pitrou in :issue:`31970`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eed4ea9b-3e63-460e-890e-4192650149b3 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,322 | supabase-export-v2 | 019389565f1b81e2 | * The :attr:`struct.Struct.format` type is now :class:`str` instead of :class:`bytes`. (Contributed by Victor Stinner in :issue:`21071`.)
* :func:`!cgi.parse_multipart` now accepts the *encoding* and *errors*
arguments and returns the same results as
:class:`!FieldStorage`: for non-file fields, the value associated t... | trusted_official_docs | CPython Docs | * The :attr:`struct.Struct.format` type is now :class:`str` instead of :class:`bytes`. (Contributed by Victor Stinner in :issue:`21071`.)
* :func:`!cgi.parse_multipart` now accepts the *encoding* and *errors*
arguments and returns the same results as
:class:`!FieldStorage`: for non-file fields, the value associated t... | * The :attr:`struct.Struct.format` type is now :class:`str` instead of :class:`bytes`. (Contributed by Victor Stinner in :issue:`21071`.)
* :func:`!cgi.parse_multipart` now accepts the *encoding* and *errors*
arguments and returns the same results as
:class:`!FieldStorage`: for non-file fields, the value associated t... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ef3f54e4-5d9d-41cf-a947-f599674fcb9e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,030 | supabase-export-v2 | 7bbeefd03b259561 | normal features. Their settings have been moved from the Extensions tab to other dialog tabs. (Contributed by Charles Wohlganger and Terry Jan Reedy in :issue:`27099`.)
Editor code context option revised. Box displays all context lines up to
maxlines. Clicking on a context line jumps the editor to that line. Context
co... | trusted_official_docs | CPython Docs | normal features. Their settings have been moved from the Extensions tab to other dialog tabs. (Contributed by Charles Wohlganger and Terry Jan Reedy in :issue:`27099`.)
Editor code context option revised. Box displays all context lines up to
maxlines. Clicking on a context line jumps the editor to that line. Context
co... | normal features. Their settings have been moved from the Extensions tab to other dialog tabs. (Contributed by Charles Wohlganger and Terry Jan Reedy in :issue:`27099`.)
Editor code context option revised. Box displays all context lines up to
maxlines. Clicking on a context line jumps the editor to that line. Context
co... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ef497c5c-251f-4bc2-88fa-09f904a880f8 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,090 | supabase-export-v2 | 0225f78822bbc085 | depend on the locale at compile time. Locale settings are applied only when the compiled regular expression is used. (Contributed by Serhiy Storchaka in :issue:`30215`.)
:exc:`FutureWarning` is now emitted if a regular expression contains
character set constructs that will change semantically in the future,
such as nes... | trusted_official_docs | CPython Docs | depend on the locale at compile time. Locale settings are applied only when the compiled regular expression is used. (Contributed by Serhiy Storchaka in :issue:`30215`.)
:exc:`FutureWarning` is now emitted if a regular expression contains
character set constructs that will change semantically in the future,
such as nes... | depend on the locale at compile time. Locale settings are applied only when the compiled regular expression is used. (Contributed by Serhiy Storchaka in :issue:`30215`.)
:exc:`FutureWarning` is now emitted if a regular expression contains
character set constructs that will change semantically in the future,
such as nes... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f1b52c04-5e81-4827-8388-bb0576cea063 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,923 | supabase-export-v2 | 34d4f92fa6686f34 | :meth:`isascii() <str.isascii>` method, which can be used to test if a string or bytes contain only the ASCII characters. (Contributed by INADA Naoki in :issue:`32677`.)
* :exc:`ImportError` now displays module name and module ``__file__`` path when
``from ... import ...`` fails. (Contributed by Matthias Bussonnier in... | trusted_official_docs | CPython Docs | :meth:`isascii() <str.isascii>` method, which can be used to test if a string or bytes contain only the ASCII characters. (Contributed by INADA Naoki in :issue:`32677`.)
* :exc:`ImportError` now displays module name and module ``__file__`` path when
``from ... import ...`` fails. (Contributed by Matthias Bussonnier in... | :meth:`isascii() <str.isascii>` method, which can be used to test if a string or bytes contain only the ASCII characters. (Contributed by INADA Naoki in :issue:`32677`.)
* :exc:`ImportError` now displays module name and module ``__file__`` path when
``from ... import ...`` fails. (Contributed by Matthias Bussonnier in... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f2065aef-3dfe-4b37-aed7-9e11790cbbe9 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,091 | supabase-export-v2 | 75936cb8119e6665 | expression contains character set constructs that will change semantically in the future, such as nested sets and set operations. (Contributed by Serhiy Storchaka in :issue:`30349`.)
Compiled regular expression and match objects can now be copied
using :func:`copy.copy` and :func:`copy.deepcopy`. (Contributed by Serhiy... | trusted_official_docs | CPython Docs | expression contains character set constructs that will change semantically in the future, such as nested sets and set operations. (Contributed by Serhiy Storchaka in :issue:`30349`.)
Compiled regular expression and match objects can now be copied
using :func:`copy.copy` and :func:`copy.deepcopy`. (Contributed by Serhiy... | expression contains character set constructs that will change semantically in the future, such as nested sets and set operations. (Contributed by Serhiy Storchaka in :issue:`30349`.)
Compiled regular expression and match objects can now be copied
using :func:`copy.copy` and :func:`copy.deepcopy`. (Contributed by Serhiy... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f4d70b64-2222-4c52-9b1c-a7d337cbfa4a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,799 | supabase-export-v2 | 6a057915b99eb9d6 | explains the new features in Python 3.7, compared to 3.6. Python 3.7 was released on June 27, 2018. For full details, see the :ref:`changelog <changelog>`.
Summary -- Release Highlights
============================= | trusted_official_docs | CPython Docs | explains the new features in Python 3.7, compared to 3.6. Python 3.7 was released on June 27, 2018. For full details, see the :ref:`changelog <changelog>`.
Summary -- Release Highlights
============================= | explains the new features in Python 3.7, compared to 3.6. Python 3.7 was released on June 27, 2018. For full details, see the :ref:`changelog <changelog>`.
Summary -- Release Highlights
============================= | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f53a0640-20a0-4109-a0ef-80033961b924 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,376 | supabase-export-v2 | 8bde404aef4d9d20 | Notable security feature in 3.7.14 ==================================
Converting between :class:`int` and :class:`str` in bases other than 2
(binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal)
now raises a :exc:`ValueError` if the number of digits in string form is
above a limit to avoid potential... | trusted_official_docs | CPython Docs | Notable security feature in 3.7.14 ==================================
Converting between :class:`int` and :class:`str` in bases other than 2
(binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal)
now raises a :exc:`ValueError` if the number of digits in string form is
above a limit to avoid potential... | Notable security feature in 3.7.14 ==================================
Converting between :class:`int` and :class:`str` in bases other than 2
(binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal)
now raises a :exc:`ValueError` if the number of digits in string form is
above a limit to avoid potential... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f6c0de99-3168-4c98-8e24-06e11193b0dc | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,247 | supabase-export-v2 | 5775c28a6a721c77 | collections -----------
In Python 3.8, the abstract base classes in :mod:`collections.abc` will no
longer be exposed in the regular :mod:`collections` module. This will help
create a clearer distinction between the concrete classes and the abstract
base classes. (Contributed by Serhiy Storchaka in :issue:`25988`.) | trusted_official_docs | CPython Docs | collections -----------
In Python 3.8, the abstract base classes in :mod:`collections.abc` will no
longer be exposed in the regular :mod:`collections` module. This will help
create a clearer distinction between the concrete classes and the abstract
base classes. (Contributed by Serhiy Storchaka in :issue:`25988`.) | collections -----------
In Python 3.8, the abstract base classes in :mod:`collections.abc` will no
longer be exposed in the regular :mod:`collections` module. This will help
create a clearer distinction between the concrete classes and the abstract
base classes. (Contributed by Serhiy Storchaka in :issue:`25988`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f751c05c-b85f-4799-a1ad-7c63979bff31 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,891 | supabase-export-v2 | ad9e34072093fc35 | As a result of this change, the standard library now allows developers to choose between three different deprecation warning behaviours:
* :exc:`FutureWarning`: always displayed by default, recommended for warnings
intended to be seen by application end users (e.g. for deprecated application
configuration settings). ... | trusted_official_docs | CPython Docs | As a result of this change, the standard library now allows developers to choose between three different deprecation warning behaviours:
* :exc:`FutureWarning`: always displayed by default, recommended for warnings
intended to be seen by application end users (e.g. for deprecated application
configuration settings). ... | As a result of this change, the standard library now allows developers to choose between three different deprecation warning behaviours:
* :exc:`FutureWarning`: always displayed by default, recommended for warnings
intended to be seen by application end users (e.g. for deprecated application
configuration settings). ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f7901dfe-8796-4f4b-8192-18f77dbc9fa4 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,971 | supabase-export-v2 | 9601940258c87a22 | :meth:`loop.create_connection() <asyncio.loop.create_connection>`, :meth:`loop.create_server() <asyncio.loop.create_server>`, :meth:`loop.create_accepted_socket() <asyncio.loop.connect_accepted_socket>` methods and their corresponding UNIX socket variants now accept the *ssl_handshake_timeout* keyword argument. (Contri... | trusted_official_docs | CPython Docs | :meth:`loop.create_connection() <asyncio.loop.create_connection>`, :meth:`loop.create_server() <asyncio.loop.create_server>`, :meth:`loop.create_accepted_socket() <asyncio.loop.connect_accepted_socket>` methods and their corresponding UNIX socket variants now accept the *ssl_handshake_timeout* keyword argument. (Contri... | :meth:`loop.create_connection() <asyncio.loop.create_connection>`, :meth:`loop.create_server() <asyncio.loop.create_server>`, :meth:`loop.create_accepted_socket() <asyncio.loop.connect_accepted_socket>` methods and their corresponding UNIX socket variants now accept the *ssl_handshake_timeout* keyword argument. (Contri... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f7927b5f-5750-4f24-bbe5-9f2cbc1eac28 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,234 | supabase-export-v2 | dfa448cf4b549df1 | See :issue:`32305`. Also, the namespace module object's ``__spec__.loader`` is set to the same value as ``__loader__`` (previously, the former was set to ``None``). See :issue:`32303`.
* The :func:`locals` dictionary now displays in the lexical order that
variables were defined. Previously, the order was undefined. (C... | trusted_official_docs | CPython Docs | See :issue:`32305`. Also, the namespace module object's ``__spec__.loader`` is set to the same value as ``__loader__`` (previously, the former was set to ``None``). See :issue:`32303`.
* The :func:`locals` dictionary now displays in the lexical order that
variables were defined. Previously, the order was undefined. (C... | See :issue:`32305`. Also, the namespace module object's ``__spec__.loader`` is set to the same value as ``__loader__`` (previously, the former was set to ``None``). See :issue:`32303`.
* The :func:`locals` dictionary now displays in the lexical order that
variables were defined. Previously, the order was undefined. (C... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f7fa1db4-7eb8-4bde-b81e-23bb34a104b5 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,957 | supabase-export-v2 | 2faf5ac8b3d7ee0f | method allows reading data from a socket directly into a provided buffer making it possible to reduce data copies. (Contributed by Antoine Pitrou in :issue:`31819`.)
* The new :func:`asyncio.current_task` function returns the currently running
:class:`~asyncio.Task` instance, and the new :func:`asyncio.all_tasks`
fun... | trusted_official_docs | CPython Docs | method allows reading data from a socket directly into a provided buffer making it possible to reduce data copies. (Contributed by Antoine Pitrou in :issue:`31819`.)
* The new :func:`asyncio.current_task` function returns the currently running
:class:`~asyncio.Task` instance, and the new :func:`asyncio.all_tasks`
fun... | method allows reading data from a socket directly into a provided buffer making it possible to reduce data copies. (Contributed by Antoine Pitrou in :issue:`31819`.)
* The new :func:`asyncio.current_task` function returns the currently running
:class:`~asyncio.Task` instance, and the new :func:`asyncio.all_tasks`
fun... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f8063f20-4a66-492d-a109-70d802d69c62 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,108 | supabase-export-v2 | 2b2c98656af0294a | proper TLS Alert message. The new exception contains additional information. Host name validation can be customized with :attr:`SSLContext.hostname_checks_common_name <ssl.SSLContext.hostname_checks_common_name>`. (Contributed by Christian Heimes in :issue:`31399`.)
.. note::
The improved host name check requires a *l... | trusted_official_docs | CPython Docs | proper TLS Alert message. The new exception contains additional information. Host name validation can be customized with :attr:`SSLContext.hostname_checks_common_name <ssl.SSLContext.hostname_checks_common_name>`. (Contributed by Christian Heimes in :issue:`31399`.)
.. note::
The improved host name check requires a *l... | proper TLS Alert message. The new exception contains additional information. Host name validation can be customized with :attr:`SSLContext.hostname_checks_common_name <ssl.SSLContext.hostname_checks_common_name>`. (Contributed by Christian Heimes in :issue:`31399`.)
.. note::
The improved host name check requires a *l... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f81af8e6-47e3-4ac8-86f5-7b03efb1b8a5 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,863 | supabase-export-v2 | c2783cc4ba576f24 | Python 3.7 includes the new built-in :func:`breakpoint` function as an easy and consistent way to enter the Python debugger.
Built-in ``breakpoint()`` calls :func:`sys.breakpointhook`. By default, the
latter imports :mod:`pdb` and then calls ``pdb.set_trace()``, but by binding
``sys.breakpointhook()`` to the function o... | trusted_official_docs | CPython Docs | Python 3.7 includes the new built-in :func:`breakpoint` function as an easy and consistent way to enter the Python debugger.
Built-in ``breakpoint()`` calls :func:`sys.breakpointhook`. By default, the
latter imports :mod:`pdb` and then calls ``pdb.set_trace()``, but by binding
``sys.breakpointhook()`` to the function o... | Python 3.7 includes the new built-in :func:`breakpoint` function as an easy and consistent way to enter the Python debugger.
Built-in ``breakpoint()`` calls :func:`sys.breakpointhook`. By default, the
latter imports :mod:`pdb` and then calls ``pdb.set_trace()``, but by binding
``sys.breakpointhook()`` to the function o... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f985338c-3809-43c8-9330-7c37d065de9b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,326 | supabase-export-v2 | e31ce2adfe76ba55 | * ``repr`` for :class:`datetime.timedelta` has changed to include the keyword arguments in the output. (Contributed by Utkarsh Upadhyay in :issue:`30302`.)
* Because :func:`shutil.rmtree` is now implemented using the :func:`os.scandir`
function, the user specified handler *onerror* is now called with the first
argume... | trusted_official_docs | CPython Docs | * ``repr`` for :class:`datetime.timedelta` has changed to include the keyword arguments in the output. (Contributed by Utkarsh Upadhyay in :issue:`30302`.)
* Because :func:`shutil.rmtree` is now implemented using the :func:`os.scandir`
function, the user specified handler *onerror* is now called with the first
argume... | * ``repr`` for :class:`datetime.timedelta` has changed to include the keyword arguments in the output. (Contributed by Utkarsh Upadhyay in :issue:`30302`.)
* Because :func:`shutil.rmtree` is now implemented using the :func:`os.scandir`
function, the user specified handler *onerror* is now called with the first
argume... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f9f3949d-83a5-47a9-a73c-1bf609c1543d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,226 | supabase-export-v2 | f9502e6291cd311b | The :meth:`~selectors.BaseSelector.modify` methods of classes :class:`selectors.EpollSelector`, :class:`selectors.PollSelector` and :class:`selectors.DevpollSelector` may be around 10% faster under heavy loads. (Contributed by Giampaolo Rodola' in :issue:`30014`)
Constant folding has been moved from the peephole optimi... | trusted_official_docs | CPython Docs | The :meth:`~selectors.BaseSelector.modify` methods of classes :class:`selectors.EpollSelector`, :class:`selectors.PollSelector` and :class:`selectors.DevpollSelector` may be around 10% faster under heavy loads. (Contributed by Giampaolo Rodola' in :issue:`30014`)
Constant folding has been moved from the peephole optimi... | The :meth:`~selectors.BaseSelector.modify` methods of classes :class:`selectors.EpollSelector`, :class:`selectors.PollSelector` and :class:`selectors.DevpollSelector` may be around 10% faster under heavy loads. (Contributed by Giampaolo Rodola' in :issue:`30014`)
Constant folding has been moved from the peephole optimi... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fa34b97f-fa08-4df0-94ee-35931e4fc078 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,920 | supabase-export-v2 | 4e0dcd364452d277 | 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.
* More than 255 arguments can now be passed to a function, and a function can
now have more than 255 parameters. (Contributed by Serhiy Storchaka i... | trusted_official_docs | CPython Docs | 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.
* More than 255 arguments can now be passed to a function, and a function can
now have more than 255 parameters. (Contributed by Serhiy Storchaka i... | 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.
* More than 255 arguments can now be passed to a function, and a function can
now have more than 255 parameters. (Contributed by Serhiy Storchaka i... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fc22394f-cb17-43d2-8ab0-1f5857439623 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,220 | supabase-export-v2 | d61219af32e79bf2 | of named tuples 4 to 6 times faster. (Contributed by Jelle Zijlstra with further improvements by INADA Naoki, Serhiy Storchaka, and Raymond Hettinger in :issue:`28638`.)
:meth:`datetime.date.fromordinal` and :meth:`datetime.date.fromtimestamp`
are now up to 30% faster in the common case. (Contributed by Paul Ganssle in... | trusted_official_docs | CPython Docs | of named tuples 4 to 6 times faster. (Contributed by Jelle Zijlstra with further improvements by INADA Naoki, Serhiy Storchaka, and Raymond Hettinger in :issue:`28638`.)
:meth:`datetime.date.fromordinal` and :meth:`datetime.date.fromtimestamp`
are now up to 30% faster in the common case. (Contributed by Paul Ganssle in... | of named tuples 4 to 6 times faster. (Contributed by Jelle Zijlstra with further improvements by INADA Naoki, Serhiy Storchaka, and Raymond Hettinger in :issue:`28638`.)
:meth:`datetime.date.fromordinal` and :meth:`datetime.date.fromtimestamp`
are now up to 30% faster in the common case. (Contributed by Paul Ganssle in... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fd1fffbd-149e-4ad7-948f-c0165dda3331 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,010 | supabase-export-v2 | 1179089ccdc7156e | enum ----
The :class:`Enum <enum.Enum>` learned the new ``_ignore_`` class property,
which allows listing the names of properties which should not become
enum members. (Contributed by Ethan Furman in :issue:`31801`.) | trusted_official_docs | CPython Docs | enum ----
The :class:`Enum <enum.Enum>` learned the new ``_ignore_`` class property,
which allows listing the names of properties which should not become
enum members. (Contributed by Ethan Furman in :issue:`31801`.) | enum ----
The :class:`Enum <enum.Enum>` learned the new ``_ignore_`` class property,
which allows listing the names of properties which should not become
enum members. (Contributed by Ethan Furman in :issue:`31801`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fff0be2a-77b4-4063-bc46-fe40a2ef627f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,113 | supabase-export-v2 | b82084c947f0197a | now stores the expected hostname in A-label form (``"xn--pythn-mua.org"``), rather than the U-label form (``"pythön.org"``). (Contributed by Nathaniel J. Smith and Christian Heimes in :issue:`28414`.)
The ``ssl`` module has preliminary and experimental support for TLS 1.3 and
OpenSSL 1.1.1. At the time of Python 3.7.0 ... | trusted_official_docs | CPython Docs | now stores the expected hostname in A-label form (``"xn--pythn-mua.org"``), rather than the U-label form (``"pythön.org"``). (Contributed by Nathaniel J. Smith and Christian Heimes in :issue:`28414`.)
The ``ssl`` module has preliminary and experimental support for TLS 1.3 and
OpenSSL 1.1.1. At the time of Python 3.7.0 ... | now stores the expected hostname in A-label form (``"xn--pythn-mua.org"``), rather than the U-label form (``"pythön.org"``). (Contributed by Nathaniel J. Smith and Christian Heimes in :issue:`28414`.)
The ``ssl`` module has preliminary and experimental support for TLS 1.3 and
OpenSSL 1.1.1. At the time of Python 3.7.0 ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
00785595-b0b6-4340-85e1-8f6e06d63481 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,644 | supabase-export-v2 | 560afd5042297d6f | :mod:`pydoc` directly, its handling of custom ``__dir__`` methods and various descriptor behaviours has also been improved substantially by the underlying changes in the :mod:`inspect` module.
As the :func:`help` builtin is based on :mod:`pydoc`, the above changes also
affect the behaviour of :func:`help`. | trusted_official_docs | CPython Docs | :mod:`pydoc` directly, its handling of custom ``__dir__`` methods and various descriptor behaviours has also been improved substantially by the underlying changes in the :mod:`inspect` module.
As the :func:`help` builtin is based on :mod:`pydoc`, the above changes also
affect the behaviour of :func:`help`. | :mod:`pydoc` directly, its handling of custom ``__dir__`` methods and various descriptor behaviours has also been improved substantially by the underlying changes in the :mod:`inspect` module.
As the :func:`help` builtin is based on :mod:`pydoc`, the above changes also
affect the behaviour of :func:`help`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0111feca-5de6-4f40-bd50-e9bfef221dab | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,805 | supabase-export-v2 | 1f7cae19f8e6361c | taking advantage of the new storage format for strings, pickling of strings is now significantly faster. (Contributed by Victor Stinner and Antoine Pitrou in :issue:`15596`.)
* A performance issue in :meth:`!io.FileIO.readall` has been solved. This
particularly affects Windows, and significantly speeds up the case of ... | trusted_official_docs | CPython Docs | taking advantage of the new storage format for strings, pickling of strings is now significantly faster. (Contributed by Victor Stinner and Antoine Pitrou in :issue:`15596`.)
* A performance issue in :meth:`!io.FileIO.readall` has been solved. This
particularly affects Windows, and significantly speeds up the case of ... | taking advantage of the new storage format for strings, pickling of strings is now significantly faster. (Contributed by Victor Stinner and Antoine Pitrou in :issue:`15596`.)
* A performance issue in :meth:`!io.FileIO.readall` has been solved. This
particularly affects Windows, and significantly speeds up the case of ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
04fbd3eb-6512-40b0-939c-2afe37d33c08 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,402 | supabase-export-v2 | 05b606a7567d37ee | New library modules:
* :mod:`asyncio`: :ref:`New provisional API for asynchronous IO
<whatsnew-asyncio>` (:pep:`3156`). * :mod:`ensurepip`: :ref:`Bootstrapping the pip installer <whatsnew-ensurepip>`
(:pep:`453`). * :mod:`enum`: :ref:`Support for enumeration types <whatsnew-enum>`
(:pep:`435`). * :mod:`pathlib`: :re... | trusted_official_docs | CPython Docs | New library modules:
* :mod:`asyncio`: :ref:`New provisional API for asynchronous IO
<whatsnew-asyncio>` (:pep:`3156`). * :mod:`ensurepip`: :ref:`Bootstrapping the pip installer <whatsnew-ensurepip>`
(:pep:`453`). * :mod:`enum`: :ref:`Support for enumeration types <whatsnew-enum>`
(:pep:`435`). * :mod:`pathlib`: :re... | New library modules:
* :mod:`asyncio`: :ref:`New provisional API for asynchronous IO
<whatsnew-asyncio>` (:pep:`3156`). * :mod:`ensurepip`: :ref:`Bootstrapping the pip installer <whatsnew-ensurepip>`
(:pep:`453`). * :mod:`enum`: :ref:`Support for enumeration types <whatsnew-enum>`
(:pep:`435`). * :mod:`pathlib`: :re... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0710b85f-637e-4b57-9802-e5bbafde7564 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,777 | supabase-export-v2 | 7dcea816ee0dfa2e | * New function :c:func:`PyStructSequence_InitType2` supplements the existing :c:func:`PyStructSequence_InitType` function. The difference is that it returns ``0`` on success and ``-1`` on failure.
* The CPython source can now be compiled using the address sanity checking
features of recent versions of GCC and clang: t... | trusted_official_docs | CPython Docs | * New function :c:func:`PyStructSequence_InitType2` supplements the existing :c:func:`PyStructSequence_InitType` function. The difference is that it returns ``0`` on success and ``-1`` on failure.
* The CPython source can now be compiled using the address sanity checking
features of recent versions of GCC and clang: t... | * New function :c:func:`PyStructSequence_InitType2` supplements the existing :c:func:`PyStructSequence_InitType` function. The difference is that it returns ``0`` on success and ``-1`` on failure.
* The CPython source can now be compiled using the address sanity checking
features of recent versions of GCC and clang: t... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
07de587e-5fd1-46c9-bf26-7e44e7d49f57 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,496 | supabase-export-v2 | a39c647b5f57b0d4 | statistics ----------
The new :mod:`statistics` module (defined in :pep:`450`) offers some core
statistics functionality directly in the standard library. This module
supports calculation of the mean, median, mode, variance and standard
deviation of a data series. | trusted_official_docs | CPython Docs | statistics ----------
The new :mod:`statistics` module (defined in :pep:`450`) offers some core
statistics functionality directly in the standard library. This module
supports calculation of the mean, median, mode, variance and standard
deviation of a data series. | statistics ----------
The new :mod:`statistics` module (defined in :pep:`450`) offers some core
statistics functionality directly in the standard library. This module
supports calculation of the mean, median, mode, variance and standard
deviation of a data series. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
07e421ae-2936-4163-ab36-3d60fd6bc4be | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,838 | supabase-export-v2 | bab19ee1cd7cc274 | The deprecated :mod:`urllib.request.Request` getter and setter methods ``add_data``, ``has_data``, ``get_data``, ``get_type``, ``get_host``, ``get_selector``, ``set_proxy``, ``get_origin_req_host``, and ``is_unverifiable`` have been removed (use direct attribute access instead).
* Support for loading the deprecated ``T... | trusted_official_docs | CPython Docs | The deprecated :mod:`urllib.request.Request` getter and setter methods ``add_data``, ``has_data``, ``get_data``, ``get_type``, ``get_host``, ``get_selector``, ``set_proxy``, ``get_origin_req_host``, and ``is_unverifiable`` have been removed (use direct attribute access instead).
* Support for loading the deprecated ``T... | The deprecated :mod:`urllib.request.Request` getter and setter methods ``add_data``, ``has_data``, ``get_data``, ``get_type``, ``get_host``, ``get_selector``, ``set_proxy``, ``get_origin_req_host``, and ``is_unverifiable`` have been removed (use direct attribute access instead).
* Support for loading the deprecated ``T... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
089f58e2-f834-4319-9902-c96a7eec7cd9 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,790 | supabase-export-v2 | e1461835f3a83c5f | * ``python -m`` now works with namespace packages.
* The :mod:`stat` module is now implemented in C, which means it gets the
values for its constants from the C header files, instead of having the
values hard-coded in the python module as was previously the case. | trusted_official_docs | CPython Docs | * ``python -m`` now works with namespace packages.
* The :mod:`stat` module is now implemented in C, which means it gets the
values for its constants from the C header files, instead of having the
values hard-coded in the python module as was previously the case. | * ``python -m`` now works with namespace packages.
* The :mod:`stat` module is now implemented in C, which means it gets the
values for its constants from the C header files, instead of having the
values hard-coded in the python module as was previously the case. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
090b3147-dabd-4aab-971c-e39cddf11cd6 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,795 | supabase-export-v2 | dab4bf75b00237ef | now accepts a ``--copies`` option to use copies rather than symlinks even on systems where symlinks are the default. (Contributed by Vinay Sajip in :issue:`18807`.)
* The ``pyvenv`` command also accepts a ``--without-pip``
option to suppress the otherwise-automatic bootstrapping of pip into
the virtual environment. (... | trusted_official_docs | CPython Docs | now accepts a ``--copies`` option to use copies rather than symlinks even on systems where symlinks are the default. (Contributed by Vinay Sajip in :issue:`18807`.)
* The ``pyvenv`` command also accepts a ``--without-pip``
option to suppress the otherwise-automatic bootstrapping of pip into
the virtual environment. (... | now accepts a ``--copies`` option to use copies rather than symlinks even on systems where symlinks are the default. (Contributed by Vinay Sajip in :issue:`18807`.)
* The ``pyvenv`` command also accepts a ``--without-pip``
option to suppress the otherwise-automatic bootstrapping of pip into
the virtual environment. (... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0ba7085b-8a22-43d0-812d-0336cbe31ea8 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,572 | supabase-export-v2 | 573408eff367751f | of *digestmod* defaults to ``MD5`` is deprecated: in a future version of Python there will be no default value. (Contributed by Christian Heimes in :issue:`17276`.)
With the addition of :attr:`~hmac.HMAC.block_size` and :attr:`~hmac.HMAC.name`
attributes (and the formal documentation of the :attr:`~hmac.HMAC.digest_siz... | trusted_official_docs | CPython Docs | of *digestmod* defaults to ``MD5`` is deprecated: in a future version of Python there will be no default value. (Contributed by Christian Heimes in :issue:`17276`.)
With the addition of :attr:`~hmac.HMAC.block_size` and :attr:`~hmac.HMAC.name`
attributes (and the formal documentation of the :attr:`~hmac.HMAC.digest_siz... | of *digestmod* defaults to ``MD5`` is deprecated: in a future version of Python there will be no default value. (Contributed by Christian Heimes in :issue:`17276`.)
With the addition of :attr:`~hmac.HMAC.block_size` and :attr:`~hmac.HMAC.name`
attributes (and the formal documentation of the :attr:`~hmac.HMAC.digest_siz... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0bca6fec-f7b2-4e49-9ec2-6b465d8f73d0 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,585 | supabase-export-v2 | c4465f71c2f9b1b0 | implementation for the :meth:`~importlib.abc.InspectLoader.get_code` method. However, it will normally be desirable to override the default implementation for performance reasons. (Contributed by Brett Cannon in :issue:`18072`.)
The :func:`~importlib.reload` function has been moved from :mod:`!imp` to
:mod:`importlib` ... | trusted_official_docs | CPython Docs | implementation for the :meth:`~importlib.abc.InspectLoader.get_code` method. However, it will normally be desirable to override the default implementation for performance reasons. (Contributed by Brett Cannon in :issue:`18072`.)
The :func:`~importlib.reload` function has been moved from :mod:`!imp` to
:mod:`importlib` ... | implementation for the :meth:`~importlib.abc.InspectLoader.get_code` method. However, it will normally be desirable to override the default implementation for performance reasons. (Contributed by Brett Cannon in :issue:`18072`.)
The :func:`~importlib.reload` function has been moved from :mod:`!imp` to
:mod:`importlib` ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0c1124c3-7658-4422-890a-7f5615f781d2 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,416 | supabase-export-v2 | 8576dab45411d017 | unversioned ``pip`` command will also be installed. On other platforms, the system wide unversioned ``pip`` command typically refers to the separately installed Python 2 version.
The ``pyvenv`` command line utility and the :mod:`venv`
module make use of the :mod:`ensurepip` module to make ``pip`` readily
available in v... | trusted_official_docs | CPython Docs | unversioned ``pip`` command will also be installed. On other platforms, the system wide unversioned ``pip`` command typically refers to the separately installed Python 2 version.
The ``pyvenv`` command line utility and the :mod:`venv`
module make use of the :mod:`ensurepip` module to make ``pip`` readily
available in v... | unversioned ``pip`` command will also be installed. On other platforms, the system wide unversioned ``pip`` command typically refers to the separately installed Python 2 version.
The ``pyvenv`` command line utility and the :mod:`venv`
module make use of the :mod:`ensurepip` module to make ``pip`` readily
available in v... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0c5b9939-8909-4747-a88e-18097b250783 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,451 | supabase-export-v2 | 5d2a5c4f934b07b3 | Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: encoding with 'bz2' codec failed (TypeError: 'str' does not support the buffer interface)
Finally, as the examples above show, these improvements have permitted
the restoration of the convenience aliases for the non-Unicode codecs that
we... | trusted_official_docs | CPython Docs | Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: encoding with 'bz2' codec failed (TypeError: 'str' does not support the buffer interface)
Finally, as the examples above show, these improvements have permitted
the restoration of the convenience aliases for the non-Unicode codecs that
we... | Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: encoding with 'bz2' codec failed (TypeError: 'str' does not support the buffer interface)
Finally, as the examples above show, these improvements have permitted
the restoration of the convenience aliases for the non-Unicode codecs that
we... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0d76e0cd-d102-4f70-a09a-41c07e4a6c0b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,860 | supabase-export-v2 | c9a58a8e7ef7fded | to act as a warning that import will overwrite those files with a regular file regardless of what type of file path they were originally.
* :meth:`importlib.abc.SourceLoader.get_source` no longer raises
:exc:`ImportError` when the source code being loaded triggers a
:exc:`SyntaxError` or :exc:`UnicodeDecodeError`. As... | trusted_official_docs | CPython Docs | to act as a warning that import will overwrite those files with a regular file regardless of what type of file path they were originally.
* :meth:`importlib.abc.SourceLoader.get_source` no longer raises
:exc:`ImportError` when the source code being loaded triggers a
:exc:`SyntaxError` or :exc:`UnicodeDecodeError`. As... | to act as a warning that import will overwrite those files with a regular file regardless of what type of file path they were originally.
* :meth:`importlib.abc.SourceLoader.get_source` no longer raises
:exc:`ImportError` when the source code being loaded triggers a
:exc:`SyntaxError` or :exc:`UnicodeDecodeError`. As... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1007605b-a3d4-41a7-bbe5-b0e2297982fe | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,384 | supabase-export-v2 | 35c0491ff901c850 | (e.g ":pep:`397` has been implemented") is acceptable. If a PEP has been implemented and noted in What's New, don't forget to mark it as Final!
* If you want to draw your new text to the attention of the
maintainer, add 'XXX' to the beginning of the paragraph or
section. | trusted_official_docs | CPython Docs | (e.g ":pep:`397` has been implemented") is acceptable. If a PEP has been implemented and noted in What's New, don't forget to mark it as Final!
* If you want to draw your new text to the attention of the
maintainer, add 'XXX' to the beginning of the paragraph or
section. | (e.g ":pep:`397` has been implemented") is acceptable. If a PEP has been implemented and noted in What's New, don't forget to mark it as Final!
* If you want to draw your new text to the attention of the
maintainer, add 'XXX' to the beginning of the paragraph or
section. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
103ce62b-5226-440d-a32f-412b3b6f3925 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,521 | supabase-export-v2 | 93ef82952330f010 | collections -----------
The :meth:`.ChainMap.new_child` method now accepts an *m* argument specifying
the child map to add to the chain. This allows an existing mapping and/or a
custom mapping type to be used for the child. (Contributed by Vinay Sajip in
:issue:`16613`.) | trusted_official_docs | CPython Docs | collections -----------
The :meth:`.ChainMap.new_child` method now accepts an *m* argument specifying
the child map to add to the chain. This allows an existing mapping and/or a
custom mapping type to be used for the child. (Contributed by Vinay Sajip in
:issue:`16613`.) | collections -----------
The :meth:`.ChainMap.new_child` method now accepts an *m* argument specifying
the child map to add to the chain. This allows an existing mapping and/or a
custom mapping type to be used for the child. (Contributed by Vinay Sajip in
:issue:`16613`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
11b6025b-6a9d-45bd-874b-fcf9d277cf02 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,815 | supabase-export-v2 | 8b85aefedcf389ba | * The :mod:`!formatter` module is pending deprecation and is slated for removal in Python 3.6.
* ``MD5`` as the default *digestmod* for the :func:`hmac.new` function is
deprecated. Python 3.6 will require an explicit digest name or constructor as
*digestmod* argument. | trusted_official_docs | CPython Docs | * The :mod:`!formatter` module is pending deprecation and is slated for removal in Python 3.6.
* ``MD5`` as the default *digestmod* for the :func:`hmac.new` function is
deprecated. Python 3.6 will require an explicit digest name or constructor as
*digestmod* argument. | * The :mod:`!formatter` module is pending deprecation and is slated for removal in Python 3.6.
* ``MD5`` as the default *digestmod* for the :func:`hmac.new` function is
deprecated. Python 3.6 will require an explicit digest name or constructor as
*digestmod* argument. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
11c478f7-bf76-4c8a-9b63-7573eb0eac2f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,727 | supabase-export-v2 | 9c8627e6668fa4c3 | calls, which means an argument can now be matched by either position or name, instead of only by position. (Contributed by Antoine Pitrou in :issue:`17015`.)
:func:`~unittest.mock.mock_open` objects now have ``readline`` and ``readlines``
methods. (Contributed by Toshio Kuratomi in :issue:`17467`.) | trusted_official_docs | CPython Docs | calls, which means an argument can now be matched by either position or name, instead of only by position. (Contributed by Antoine Pitrou in :issue:`17015`.)
:func:`~unittest.mock.mock_open` objects now have ``readline`` and ``readlines``
methods. (Contributed by Toshio Kuratomi in :issue:`17467`.) | calls, which means an argument can now be matched by either position or name, instead of only by position. (Contributed by Antoine Pitrou in :issue:`17015`.)
:func:`~unittest.mock.mock_open` objects now have ``readline`` and ``readlines``
methods. (Contributed by Toshio Kuratomi in :issue:`17467`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
11fef666-6a60-4ccd-9b8e-30202bcc5955 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,415 | supabase-export-v2 | 0999158901de6e7e | 3.4.x maintenance releases will update the bundled version to the latest version of ``pip`` that is available at the time of creating the release candidate.
By default, the commands ``pipX`` and ``pipX.Y`` will be installed on all
platforms (where X.Y stands for the version of the Python installation),
along with the `... | trusted_official_docs | CPython Docs | 3.4.x maintenance releases will update the bundled version to the latest version of ``pip`` that is available at the time of creating the release candidate.
By default, the commands ``pipX`` and ``pipX.Y`` will be installed on all
platforms (where X.Y stands for the version of the Python installation),
along with the `... | 3.4.x maintenance releases will update the bundled version to the latest version of ``pip`` that is available at the time of creating the release candidate.
By default, the commands ``pipX`` and ``pipX.Y`` will be installed on all
platforms (where X.Y stands for the version of the Python installation),
along with the `... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1286b675-1ca2-4aca-a828-92dd8171853c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,765 | supabase-export-v2 | d5b26731d8cefa15 | process and can be used to simplify the process of defining and maintaining accurate signatures for builtins and standard library extension modules implemented in C.
Some standard library extension modules have been converted to use Argument
Clinic in Python 3.4, and :mod:`pydoc` and :mod:`inspect` have been updated
ac... | trusted_official_docs | CPython Docs | process and can be used to simplify the process of defining and maintaining accurate signatures for builtins and standard library extension modules implemented in C.
Some standard library extension modules have been converted to use Argument
Clinic in Python 3.4, and :mod:`pydoc` and :mod:`inspect` have been updated
ac... | process and can be used to simplify the process of defining and maintaining accurate signatures for builtins and standard library extension modules implemented in C.
Some standard library extension modules have been converted to use Argument
Clinic in Python 3.4, and :mod:`pydoc` and :mod:`inspect` have been updated
ac... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1339c730-c6ad-47a6-aaa5-296766f936e6 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,684 | supabase-export-v2 | aaf9fbf51d68add3 | Support for server-side SNI (Server Name Indication) using the new :meth:`ssl.SSLContext.set_servername_callback` method. (Contributed by Daniel Black in :issue:`8109`.)
The dictionary returned by :meth:`.SSLSocket.getpeercert` contains additional
``X509v3`` extension items: ``crlDistributionPoints``, ``calIssuers``, a... | trusted_official_docs | CPython Docs | Support for server-side SNI (Server Name Indication) using the new :meth:`ssl.SSLContext.set_servername_callback` method. (Contributed by Daniel Black in :issue:`8109`.)
The dictionary returned by :meth:`.SSLSocket.getpeercert` contains additional
``X509v3`` extension items: ``crlDistributionPoints``, ``calIssuers``, a... | Support for server-side SNI (Server Name Indication) using the new :meth:`ssl.SSLContext.set_servername_callback` method. (Contributed by Daniel Black in :issue:`8109`.)
The dictionary returned by :meth:`.SSLSocket.getpeercert` contains additional
``X509v3`` extension items: ``crlDistributionPoints``, ``calIssuers``, a... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
13f72cb2-35ed-446b-a175-d3114af77c38 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,849 | supabase-export-v2 | a4c2fc605a487a95 | Changes in 'python' Command Behavior ------------------------------------
* In a posix shell, setting the :envvar:`PATH` environment variable to
an empty value is equivalent to not setting it at all. However, setting
:envvar:`PYTHONPATH` to an empty value was *not* equivalent to not setting it
at all: setting :envva... | trusted_official_docs | CPython Docs | Changes in 'python' Command Behavior ------------------------------------
* In a posix shell, setting the :envvar:`PATH` environment variable to
an empty value is equivalent to not setting it at all. However, setting
:envvar:`PYTHONPATH` to an empty value was *not* equivalent to not setting it
at all: setting :envva... | Changes in 'python' Command Behavior ------------------------------------
* In a posix shell, setting the :envvar:`PATH` environment variable to
an empty value is equivalent to not setting it at all. However, setting
:envvar:`PYTHONPATH` to an empty value was *not* equivalent to not setting it
at all: setting :envva... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1411be52-44fa-41f8-af65-fe249153f1ca | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,472 | supabase-export-v2 | 9ad2c86969760b63 | * Frame objects now have a :func:`~frame.clear` method that clears all references to local variables from the frame. (Contributed by Antoine Pitrou in :issue:`17934`.)
* :class:`memoryview` is now registered as a :class:`Sequence <collections.abc>`,
and supports the :func:`reversed` builtin. (Contributed by Nick Coghl... | trusted_official_docs | CPython Docs | * Frame objects now have a :func:`~frame.clear` method that clears all references to local variables from the frame. (Contributed by Antoine Pitrou in :issue:`17934`.)
* :class:`memoryview` is now registered as a :class:`Sequence <collections.abc>`,
and supports the :func:`reversed` builtin. (Contributed by Nick Coghl... | * Frame objects now have a :func:`~frame.clear` method that clears all references to local variables from the frame. (Contributed by Antoine Pitrou in :issue:`17934`.)
* :class:`memoryview` is now registered as a :class:`Sequence <collections.abc>`,
and supports the :func:`reversed` builtin. (Contributed by Nick Coghl... | 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.