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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
66948efa-15bb-414e-ac91-1510ee2f5f35 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,893 | supabase-export-v2 | 7d6a1dd3d258cefe | now be a string allocated by :c:func:`PyMem_RawMalloc` or :c:func:`PyMem_RawRealloc`, or ``NULL`` if an error occurred, instead of a string allocated by :c:func:`PyMem_Malloc` or :c:func:`PyMem_Realloc` (:issue:`16742`)
* :c:func:`PyThread_set_key_value` now always set the value. In Python
3.3, the function did nothin... | trusted_official_docs | CPython Docs | now be a string allocated by :c:func:`PyMem_RawMalloc` or :c:func:`PyMem_RawRealloc`, or ``NULL`` if an error occurred, instead of a string allocated by :c:func:`PyMem_Malloc` or :c:func:`PyMem_Realloc` (:issue:`16742`)
* :c:func:`PyThread_set_key_value` now always set the value. In Python
3.3, the function did nothin... | now be a string allocated by :c:func:`PyMem_RawMalloc` or :c:func:`PyMem_RawRealloc`, or ``NULL`` if an error occurred, instead of a string allocated by :c:func:`PyMem_Malloc` or :c:func:`PyMem_Realloc` (:issue:`16742`)
* :c:func:`PyThread_set_key_value` now always set the value. In Python
3.3, the function did nothin... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
67372dcf-532d-4141-a0c7-5e6b23f7a03c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,806 | supabase-export-v2 | fe83ccc5a9ce2ec7 | solved. This particularly affects Windows, and significantly speeds up the case of piping significant amounts of data through :mod:`subprocess`. (Contributed by Richard Oudkerk in :issue:`15758`.)
* :func:`html.escape` is now 10x faster. (Contributed by Matt Bryant in
:issue:`18020`.) | trusted_official_docs | CPython Docs | solved. This particularly affects Windows, and significantly speeds up the case of piping significant amounts of data through :mod:`subprocess`. (Contributed by Richard Oudkerk in :issue:`15758`.)
* :func:`html.escape` is now 10x faster. (Contributed by Matt Bryant in
:issue:`18020`.) | solved. This particularly affects Windows, and significantly speeds up the case of piping significant amounts of data through :mod:`subprocess`. (Contributed by Richard Oudkerk in :issue:`15758`.)
* :func:`html.escape` is now 10x faster. (Contributed by Matt Bryant in
:issue:`18020`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
676d24f6-2c19-454c-89a0-cf9eadc6c30a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,889 | supabase-export-v2 | 33a75f741dfa3c9d | that importing :mod:`collections` automatically imports :mod:`collections.abc`. If your program depended on the (undocumented) implicit import, you will need to add an explicit ``import collections.abc`` (:issue:`20784`).
Changes in the C API
-------------------- | trusted_official_docs | CPython Docs | that importing :mod:`collections` automatically imports :mod:`collections.abc`. If your program depended on the (undocumented) implicit import, you will need to add an explicit ``import collections.abc`` (:issue:`20784`).
Changes in the C API
-------------------- | that importing :mod:`collections` automatically imports :mod:`collections.abc`. If your program depended on the (undocumented) implicit import, you will need to add an explicit ``import collections.abc`` (:issue:`20784`).
Changes in the C API
-------------------- | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
68120da4-8a7d-48b0-9db8-7d4fcaa425a0 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,775 | supabase-export-v2 | abda325dd5e7d4d0 | * A new shell version of ``python-config`` can be used even when a python interpreter is not available (for example, in cross compilation scenarios).
* :c:func:`PyUnicode_FromFormat` now supports width and precision
specifications for ``%s``, ``%A``, ``%U``, ``%V``, ``%S``, and ``%R``. (Contributed by Ysj Ray and Vict... | trusted_official_docs | CPython Docs | * A new shell version of ``python-config`` can be used even when a python interpreter is not available (for example, in cross compilation scenarios).
* :c:func:`PyUnicode_FromFormat` now supports width and precision
specifications for ``%s``, ``%A``, ``%U``, ``%V``, ``%S``, and ``%R``. (Contributed by Ysj Ray and Vict... | * A new shell version of ``python-config`` can be used even when a python interpreter is not available (for example, in cross compilation scenarios).
* :c:func:`PyUnicode_FromFormat` now supports width and precision
specifications for ``%s``, ``%A``, ``%U``, ``%V``, ``%S``, and ``%R``. (Contributed by Ysj Ray and Vict... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
687ca7db-ed6a-4a97-9bde-74b61627d677 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,532 | supabase-export-v2 | 11551c8537c26806 | Functions :func:`~dis.show_code`, :func:`~dis.dis`, :func:`~dis.distb`, and :func:`~dis.disassemble` now accept a keyword-only *file* argument that controls where they write their output.
The :mod:`dis` module is now built around an :class:`~dis.Instruction` class
that provides object oriented access to the details of ... | trusted_official_docs | CPython Docs | Functions :func:`~dis.show_code`, :func:`~dis.dis`, :func:`~dis.distb`, and :func:`~dis.disassemble` now accept a keyword-only *file* argument that controls where they write their output.
The :mod:`dis` module is now built around an :class:`~dis.Instruction` class
that provides object oriented access to the details of ... | Functions :func:`~dis.show_code`, :func:`~dis.dis`, :func:`~dis.distb`, and :func:`~dis.disassemble` now accept a keyword-only *file* argument that controls where they write their output.
The :mod:`dis` module is now built around an :class:`~dis.Instruction` class
that provides object oriented access to the details of ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6996a703-dc4b-4b76-98c0-7dc5ad657229 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,720 | supabase-export-v2 | d8532e8780ab2fec | and a particular value for that variable (``i=0``, ``i=1``, etc). See :ref:`subtests` for the full version of this example. (Contributed by Antoine Pitrou in :issue:`16997`.)
:func:`unittest.main` now accepts an iterable of test names for
*defaultTest*, where previously it only accepted a single test name as a
string. ... | trusted_official_docs | CPython Docs | and a particular value for that variable (``i=0``, ``i=1``, etc). See :ref:`subtests` for the full version of this example. (Contributed by Antoine Pitrou in :issue:`16997`.)
:func:`unittest.main` now accepts an iterable of test names for
*defaultTest*, where previously it only accepted a single test name as a
string. ... | and a particular value for that variable (``i=0``, ``i=1``, etc). See :ref:`subtests` for the full version of this example. (Contributed by Antoine Pitrou in :issue:`16997`.)
:func:`unittest.main` now accepts an iterable of test names for
*defaultTest*, where previously it only accepted a single test name as a
string. ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6a715e3f-0e8b-43f5-8395-a5d07aa83f0b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,784 | supabase-export-v2 | 50b4376b8e423878 | system script. On most POSIX systems it can and should be used in the ``#!`` line of system scripts. (Contributed by Christian Heimes in :issue:`16499`.)
* Tab-completion is now enabled by default in the interactive interpreter
on systems that support :mod:`readline`. History is also enabled by default,
and is writte... | trusted_official_docs | CPython Docs | system script. On most POSIX systems it can and should be used in the ``#!`` line of system scripts. (Contributed by Christian Heimes in :issue:`16499`.)
* Tab-completion is now enabled by default in the interactive interpreter
on systems that support :mod:`readline`. History is also enabled by default,
and is writte... | system script. On most POSIX systems it can and should be used in the ``#!`` line of system scripts. (Contributed by Christian Heimes in :issue:`16499`.)
* Tab-completion is now enabled by default in the interactive interpreter
on systems that support :mod:`readline`. History is also enabled by default,
and is writte... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6ac160f9-390b-4606-9704-6e88fcfad946 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,724 | supabase-export-v2 | e366fd79f36a929c | override this behavior by creating a :class:`~unittest.TestSuite` subclass that defines a custom ``_removeTestAtIndex`` method. (Contributed by Tom Wardill, Matt McClure, and Andrew Svetlov in :issue:`11798`.)
A new test assertion context-manager, :meth:`~unittest.TestCase.assertLogs`,
will ensure that a given block of... | trusted_official_docs | CPython Docs | override this behavior by creating a :class:`~unittest.TestSuite` subclass that defines a custom ``_removeTestAtIndex`` method. (Contributed by Tom Wardill, Matt McClure, and Andrew Svetlov in :issue:`11798`.)
A new test assertion context-manager, :meth:`~unittest.TestCase.assertLogs`,
will ensure that a given block of... | override this behavior by creating a :class:`~unittest.TestSuite` subclass that defines a custom ``_removeTestAtIndex`` method. (Contributed by Tom Wardill, Matt McClure, and Andrew Svetlov in :issue:`11798`.)
A new test assertion context-manager, :meth:`~unittest.TestCase.assertLogs`,
will ensure that a given block of... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6ac75227-b3c2-452f-9474-0b6e36a32b8c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,840 | supabase-export-v2 | a3c75726c110c9fd | * :class:`inspect.Signature`: positional-only parameters are now required to have a valid name.
* :meth:`object.__format__` no longer accepts non-empty format strings, it now
raises a :exc:`TypeError` instead. Using a non-empty string has been
deprecated since Python 3.2. This change has been made to prevent a
situa... | trusted_official_docs | CPython Docs | * :class:`inspect.Signature`: positional-only parameters are now required to have a valid name.
* :meth:`object.__format__` no longer accepts non-empty format strings, it now
raises a :exc:`TypeError` instead. Using a non-empty string has been
deprecated since Python 3.2. This change has been made to prevent a
situa... | * :class:`inspect.Signature`: positional-only parameters are now required to have a valid name.
* :meth:`object.__format__` no longer accepts non-empty format strings, it now
raises a :exc:`TypeError` instead. Using a non-empty string has been
deprecated since Python 3.2. This change has been made to prevent a
situa... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6b054e0c-aef4-4c96-b521-149c521efc80 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,875 | supabase-export-v2 | c43fac245c290ffe | This may cause some system resources to be released that previously were incorrectly kept perpetually alive (for example, database connections kept in thread-local storage). (:issue:`17094`.)
* Parameter names in ``__annotations__`` dicts are now mangled properly,
similarly to :attr:`~function.__kwdefaults__`. (Contri... | trusted_official_docs | CPython Docs | This may cause some system resources to be released that previously were incorrectly kept perpetually alive (for example, database connections kept in thread-local storage). (:issue:`17094`.)
* Parameter names in ``__annotations__`` dicts are now mangled properly,
similarly to :attr:`~function.__kwdefaults__`. (Contri... | This may cause some system resources to be released that previously were incorrectly kept perpetually alive (for example, database connections kept in thread-local storage). (:issue:`17094`.)
* Parameter names in ``__annotations__`` dicts are now mangled properly,
similarly to :attr:`~function.__kwdefaults__`. (Contri... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6b4e7313-3169-49db-9f88-7ad61eeb4a19 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,583 | supabase-export-v2 | fb0c31ae1c2d2476 | importlib ---------
The :class:`~importlib.abc.InspectLoader` ABC defines a new method,
:meth:`~importlib.abc.InspectLoader.source_to_code` that accepts source
data and a path and returns a code object. The default implementation
is equivalent to ``compile(data, path, 'exec', dont_inherit=True)``. (Contributed by Eric ... | trusted_official_docs | CPython Docs | importlib ---------
The :class:`~importlib.abc.InspectLoader` ABC defines a new method,
:meth:`~importlib.abc.InspectLoader.source_to_code` that accepts source
data and a path and returns a code object. The default implementation
is equivalent to ``compile(data, path, 'exec', dont_inherit=True)``. (Contributed by Eric ... | importlib ---------
The :class:`~importlib.abc.InspectLoader` ABC defines a new method,
:meth:`~importlib.abc.InspectLoader.source_to_code` that accepts source
data and a path and returns a code object. The default implementation
is equivalent to ``compile(data, path, 'exec', dont_inherit=True)``. (Contributed by Eric ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6bbb926e-c94b-4ca9-b63b-749f52567777 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,579 | supabase-export-v2 | fd011cca0efa0cfb | extended error description will be formatted using the :attr:`~http.server.BaseHTTPRequestHandler.error_message_format` attribute and sent as the body of the error response. (Contributed by Karl Cow in :issue:`12921`.)
The :mod:`http.server` :ref:`command line interface <http-server-cli>` now has
a ``-b/--bind`` option... | trusted_official_docs | CPython Docs | extended error description will be formatted using the :attr:`~http.server.BaseHTTPRequestHandler.error_message_format` attribute and sent as the body of the error response. (Contributed by Karl Cow in :issue:`12921`.)
The :mod:`http.server` :ref:`command line interface <http-server-cli>` now has
a ``-b/--bind`` option... | extended error description will be formatted using the :attr:`~http.server.BaseHTTPRequestHandler.error_message_format` attribute and sent as the body of the error response. (Contributed by Karl Cow in :issue:`12921`.)
The :mod:`http.server` :ref:`command line interface <http-server-cli>` now has
a ``-b/--bind`` option... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6d440f2e-acb0-4c03-8196-9280d8283261 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,419 | supabase-export-v2 | 861daf8e0813a757 | have ``pip`` available from the command line by default, otherwise it can still be accessed through the Python launcher for Windows as ``py -m pip``.
As :pep:`discussed in the PEP <0453#recommendations-for-downstream-distributors>`
platform packagers may choose not to install
these commands by default, as long as, when... | trusted_official_docs | CPython Docs | have ``pip`` available from the command line by default, otherwise it can still be accessed through the Python launcher for Windows as ``py -m pip``.
As :pep:`discussed in the PEP <0453#recommendations-for-downstream-distributors>`
platform packagers may choose not to install
these commands by default, as long as, when... | have ``pip`` available from the command line by default, otherwise it can still be accessed through the Python launcher for Windows as ``py -m pip``.
As :pep:`discussed in the PEP <0453#recommendations-for-downstream-distributors>`
platform packagers may choose not to install
these commands by default, as long as, when... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6d856921-9098-4298-a8e0-600c8a470b17 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,834 | supabase-export-v2 | 3dd784801c914a10 | * The ``SO`` makefile macro is removed (it was replaced by the ``SHLIB_SUFFIX`` and ``EXT_SUFFIX`` macros) (:issue:`16754`).
* The ``PyThreadState.tick_counter`` field has been removed; its value has
been meaningless since Python 3.2, when the "new GIL" was introduced
(:issue:`19199`). | trusted_official_docs | CPython Docs | * The ``SO`` makefile macro is removed (it was replaced by the ``SHLIB_SUFFIX`` and ``EXT_SUFFIX`` macros) (:issue:`16754`).
* The ``PyThreadState.tick_counter`` field has been removed; its value has
been meaningless since Python 3.2, when the "new GIL" was introduced
(:issue:`19199`). | * The ``SO`` makefile macro is removed (it was replaced by the ``SHLIB_SUFFIX`` and ``EXT_SUFFIX`` macros) (:issue:`16754`).
* The ``PyThreadState.tick_counter`` field has been removed; its value has
been meaningless since Python 3.2, when the "new GIL" was introduced
(:issue:`19199`). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6f9766c3-78da-4d43-af77-8c5614b3e81e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,702 | supabase-export-v2 | aa52bca6474d8906 | tarfile -------
The :mod:`tarfile` module now supports a simple :ref:`tarfile-commandline` when
called as a script directly or via ``-m``. This can be used to create and
extract tarfile archives. (Contributed by Berker Peksag in :issue:`13477`.) | trusted_official_docs | CPython Docs | tarfile -------
The :mod:`tarfile` module now supports a simple :ref:`tarfile-commandline` when
called as a script directly or via ``-m``. This can be used to create and
extract tarfile archives. (Contributed by Berker Peksag in :issue:`13477`.) | tarfile -------
The :mod:`tarfile` module now supports a simple :ref:`tarfile-commandline` when
called as a script directly or via ``-m``. This can be used to create and
extract tarfile archives. (Contributed by Berker Peksag in :issue:`13477`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6f977fa9-a282-4d84-812c-c1810cf921ab | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,833 | supabase-export-v2 | b87561f53f575308 | * The unmaintained ``Misc/TextMate`` and ``Misc/vim`` directories have been removed (see the `devguide <https://devguide.python.org>`_ for suggestions on what to use instead).
* The ``SO`` makefile macro is removed (it was replaced by the
``SHLIB_SUFFIX`` and ``EXT_SUFFIX`` macros) (:issue:`16754`). | trusted_official_docs | CPython Docs | * The unmaintained ``Misc/TextMate`` and ``Misc/vim`` directories have been removed (see the `devguide <https://devguide.python.org>`_ for suggestions on what to use instead).
* The ``SO`` makefile macro is removed (it was replaced by the
``SHLIB_SUFFIX`` and ``EXT_SUFFIX`` macros) (:issue:`16754`). | * The unmaintained ``Misc/TextMate`` and ``Misc/vim`` directories have been removed (see the `devguide <https://devguide.python.org>`_ for suggestions on what to use instead).
* The ``SO`` makefile macro is removed (it was replaced by the
``SHLIB_SUFFIX`` and ``EXT_SUFFIX`` macros) (:issue:`16754`). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
703f45f8-7e3f-4e9b-b43d-ac174635f34f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,421 | supabase-export-v2 | 95776556ed9e8e39 | .. note::
To avoid conflicts between parallel Python 2 and Python 3 installations,
only the versioned ``pip3`` and ``pip3.4`` commands are bootstrapped by
default when ``ensurepip`` is invoked directly - the ``--default-pip``
option is needed to also request the unversioned ``pip`` command. ``pyvenv`` and the Window... | trusted_official_docs | CPython Docs | .. note::
To avoid conflicts between parallel Python 2 and Python 3 installations,
only the versioned ``pip3`` and ``pip3.4`` commands are bootstrapped by
default when ``ensurepip`` is invoked directly - the ``--default-pip``
option is needed to also request the unversioned ``pip`` command. ``pyvenv`` and the Window... | .. note::
To avoid conflicts between parallel Python 2 and Python 3 installations,
only the versioned ``pip3`` and ``pip3.4`` commands are bootstrapped by
default when ``ensurepip`` is invoked directly - the ``--default-pip``
option is needed to also request the unversioned ``pip`` command. ``pyvenv`` and the Window... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
70a877ce-6f93-444f-9b5d-7106331214cd | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,586 | supabase-export-v2 | 96d9477c27c88108 | The :func:`~importlib.reload` function has been moved from :mod:`!imp` to :mod:`importlib` as part of the :mod:`!imp` module deprecation. (Contributed by Berker Peksag in :issue:`18193`.)
:mod:`importlib.util` now has a :const:`~importlib.util.MAGIC_NUMBER` attribute
providing access to the bytecode version number. Thi... | trusted_official_docs | CPython Docs | The :func:`~importlib.reload` function has been moved from :mod:`!imp` to :mod:`importlib` as part of the :mod:`!imp` module deprecation. (Contributed by Berker Peksag in :issue:`18193`.)
:mod:`importlib.util` now has a :const:`~importlib.util.MAGIC_NUMBER` attribute
providing access to the bytecode version number. Thi... | The :func:`~importlib.reload` function has been moved from :mod:`!imp` to :mod:`importlib` as part of the :mod:`!imp` module deprecation. (Contributed by Berker Peksag in :issue:`18193`.)
:mod:`importlib.util` now has a :const:`~importlib.util.MAGIC_NUMBER` attribute
providing access to the bytecode version number. Thi... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
70bb5472-b7c6-4b4a-827b-0b3dc40eba2a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,755 | supabase-export-v2 | 55ceb3f58bf895f1 | CPython. With it, objects with :meth:`~object.__del__` methods, as well as generators with :keyword:`finally` clauses, can be finalized when they are part of a reference cycle.
As part of this change, module globals are no longer forcibly set to
:const:`None` during interpreter shutdown in most cases, instead relying
o... | trusted_official_docs | CPython Docs | CPython. With it, objects with :meth:`~object.__del__` methods, as well as generators with :keyword:`finally` clauses, can be finalized when they are part of a reference cycle.
As part of this change, module globals are no longer forcibly set to
:const:`None` during interpreter shutdown in most cases, instead relying
o... | CPython. With it, objects with :meth:`~object.__del__` methods, as well as generators with :keyword:`finally` clauses, can be finalized when they are part of a reference cycle.
As part of this change, module globals are no longer forcibly set to
:const:`None` during interpreter shutdown in most cases, instead relying
o... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
70db7a55-7f72-4070-8578-68f5edb2dd79 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,715 | supabase-export-v2 | 1e22d7b236b37146 | used to remove headers from a :class:`~urllib.request.Request`. (Contributed by Alexey Kachayev in :issue:`16464`, Daniel Wozniak in :issue:`17485`, and Damien Brecht and Senthil Kumaran in :issue:`17272`.)
:class:`~urllib.error.HTTPError` objects now have a
:attr:`~urllib.error.HTTPError.headers` attribute that provid... | trusted_official_docs | CPython Docs | used to remove headers from a :class:`~urllib.request.Request`. (Contributed by Alexey Kachayev in :issue:`16464`, Daniel Wozniak in :issue:`17485`, and Damien Brecht and Senthil Kumaran in :issue:`17272`.)
:class:`~urllib.error.HTTPError` objects now have a
:attr:`~urllib.error.HTTPError.headers` attribute that provid... | used to remove headers from a :class:`~urllib.request.Request`. (Contributed by Alexey Kachayev in :issue:`16464`, Daniel Wozniak in :issue:`17485`, and Damien Brecht and Senthil Kumaran in :issue:`17272`.)
:class:`~urllib.error.HTTPError` objects now have a
:attr:`~urllib.error.HTTPError.headers` attribute that provid... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
72088a4e-0a3e-4688-b3ad-44183cbe5506 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,584 | supabase-export-v2 | 91e59738ec530522 | path and returns a code object. The default implementation is equivalent to ``compile(data, path, 'exec', dont_inherit=True)``. (Contributed by Eric Snow and Brett Cannon in :issue:`15627`.)
:class:`~importlib.abc.InspectLoader` also now has a default implementation
for the :meth:`~importlib.abc.InspectLoader.get_code`... | trusted_official_docs | CPython Docs | path and returns a code object. The default implementation is equivalent to ``compile(data, path, 'exec', dont_inherit=True)``. (Contributed by Eric Snow and Brett Cannon in :issue:`15627`.)
:class:`~importlib.abc.InspectLoader` also now has a default implementation
for the :meth:`~importlib.abc.InspectLoader.get_code`... | path and returns a code object. The default implementation is equivalent to ``compile(data, path, 'exec', dont_inherit=True)``. (Contributed by Eric Snow and Brett Cannon in :issue:`15627`.)
:class:`~importlib.abc.InspectLoader` also now has a default implementation
for the :meth:`~importlib.abc.InspectLoader.get_code`... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
733dab63-ea61-4e78-94aa-da151000366e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,625 | supabase-export-v2 | f7ea86e2e31f3bff | pdb ---
:mod:`pdb` has been enhanced to handle generators, :keyword:`yield`, and
``yield from`` in a more useful fashion. This is especially helpful when
debugging :mod:`asyncio` based programs. (Contributed by Andrew Svetlov and
Xavier de Gaye in :issue:`16596`.) | trusted_official_docs | CPython Docs | pdb ---
:mod:`pdb` has been enhanced to handle generators, :keyword:`yield`, and
``yield from`` in a more useful fashion. This is especially helpful when
debugging :mod:`asyncio` based programs. (Contributed by Andrew Svetlov and
Xavier de Gaye in :issue:`16596`.) | pdb ---
:mod:`pdb` has been enhanced to handle generators, :keyword:`yield`, and
``yield from`` in a more useful fashion. This is especially helpful when
debugging :mod:`asyncio` based programs. (Contributed by Andrew Svetlov and
Xavier de Gaye in :issue:`16596`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
736f77eb-851f-4ab6-ab29-7217c5a07085 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,529 | supabase-export-v2 | 1d43e27b0ad8dc9d | dbm ---
:func:`dbm.open` objects now support the context management protocol. When
used in a :keyword:`with` statement, the ``close`` method of the database
object will be called automatically at the end of the block. (Contributed by
Claudiu Popa and Nick Coghlan in :issue:`19282`.) | trusted_official_docs | CPython Docs | dbm ---
:func:`dbm.open` objects now support the context management protocol. When
used in a :keyword:`with` statement, the ``close`` method of the database
object will be called automatically at the end of the block. (Contributed by
Claudiu Popa and Nick Coghlan in :issue:`19282`.) | dbm ---
:func:`dbm.open` objects now support the context management protocol. When
used in a :keyword:`with` statement, the ``close`` method of the database
object will be called automatically at the end of the block. (Contributed by
Claudiu Popa and Nick Coghlan in :issue:`19282`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
73d7f965-2d89-410f-987e-5ebc88f4ce78 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,391 | supabase-export-v2 | 7b3ab78209577643 | This saves the maintainer the effort of going through the Mercurial log when researching a change.
* Cross referencing tip: :ref:`mod.attr` will display as ``mod.attr``,
while :ref:`~mod.attr` will display as ``attr``. | trusted_official_docs | CPython Docs | This saves the maintainer the effort of going through the Mercurial log when researching a change.
* Cross referencing tip: :ref:`mod.attr` will display as ``mod.attr``,
while :ref:`~mod.attr` will display as ``attr``. | This saves the maintainer the effort of going through the Mercurial log when researching a change.
* Cross referencing tip: :ref:`mod.attr` will display as ``mod.attr``,
while :ref:`~mod.attr` will display as ``attr``. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7407d9fe-f29e-4da1-970c-aa4e3c0a1d40 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,489 | supabase-export-v2 | a23e8ed311541d00 | pathlib -------
The new :mod:`pathlib` module offers classes representing filesystem paths
with semantics appropriate for different operating systems. Path classes are
divided between *pure paths*, which provide purely computational operations
without I/O, and *concrete paths*, which inherit from pure paths but also
pr... | trusted_official_docs | CPython Docs | pathlib -------
The new :mod:`pathlib` module offers classes representing filesystem paths
with semantics appropriate for different operating systems. Path classes are
divided between *pure paths*, which provide purely computational operations
without I/O, and *concrete paths*, which inherit from pure paths but also
pr... | pathlib -------
The new :mod:`pathlib` module offers classes representing filesystem paths
with semantics appropriate for different operating systems. Path classes are
divided between *pure paths*, which provide purely computational operations
without I/O, and *concrete paths*, which inherit from pure paths but also
pr... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
751df620-5cf3-4287-83ea-0a9df9d9b895 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,561 | supabase-export-v2 | c8db51e8e3e58104 | :func:`~functools.total_ordering` now supports a return value of :data:`NotImplemented` from the underlying comparison function. (Contributed by Katie Miller in :issue:`10042`.)
A pure-python version of the :func:`~functools.partial` function is now in the
stdlib; in CPython it is overridden by the C accelerated versio... | trusted_official_docs | CPython Docs | :func:`~functools.total_ordering` now supports a return value of :data:`NotImplemented` from the underlying comparison function. (Contributed by Katie Miller in :issue:`10042`.)
A pure-python version of the :func:`~functools.partial` function is now in the
stdlib; in CPython it is overridden by the C accelerated versio... | :func:`~functools.total_ordering` now supports a return value of :data:`NotImplemented` from the underlying comparison function. (Contributed by Katie Miller in :issue:`10042`.)
A pure-python version of the :func:`~functools.partial` function is now in the
stdlib; in CPython it is overridden by the C accelerated versio... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
76cf57c9-cf9b-4de9-8511-4876be9667a3 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,771 | supabase-export-v2 | f23bd084606ab400 | Other Build and C API Changes -----------------------------
* The new :c:func:`PyType_GetSlot` function has been added to the stable ABI,
allowing retrieval of function pointers from named type slots when using
the limited API. (Contributed by Martin von Löwis in :issue:`17162`.) | trusted_official_docs | CPython Docs | Other Build and C API Changes -----------------------------
* The new :c:func:`PyType_GetSlot` function has been added to the stable ABI,
allowing retrieval of function pointers from named type slots when using
the limited API. (Contributed by Martin von Löwis in :issue:`17162`.) | Other Build and C API Changes -----------------------------
* The new :c:func:`PyType_GetSlot` function has been added to the stable ABI,
allowing retrieval of function pointers from named type slots when using
the limited API. (Contributed by Martin von Löwis in :issue:`17162`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
76d46a5c-590f-403b-ba0a-1652cc618d92 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,864 | supabase-export-v2 | ba3bbbeaa2fe37eb | for ``__main__.__file__`` when a script has been executed directly using a relative path) (Contributed by Brett Cannon in :issue:`18416`). is specified on the command-line) (:issue:`18416`).
* The removal of the *strict* argument to :class:`~http.client.HTTPConnection`
and :class:`~http.client.HTTPSConnection` changes... | trusted_official_docs | CPython Docs | for ``__main__.__file__`` when a script has been executed directly using a relative path) (Contributed by Brett Cannon in :issue:`18416`). is specified on the command-line) (:issue:`18416`).
* The removal of the *strict* argument to :class:`~http.client.HTTPConnection`
and :class:`~http.client.HTTPSConnection` changes... | for ``__main__.__file__`` when a script has been executed directly using a relative path) (Contributed by Brett Cannon in :issue:`18416`). is specified on the command-line) (:issue:`18416`).
* The removal of the *strict* argument to :class:`~http.client.HTTPConnection`
and :class:`~http.client.HTTPSConnection` changes... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
77294dbd-d9f6-4a9d-917f-ea5d02fb42a1 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,653 | supabase-export-v2 | 792cfed8c4913c8e | select ------
:class:`~select.epoll` objects now support the context management protocol. When used in a :keyword:`with` statement, the :meth:`~select.epoll.close`
method will be called automatically at the end of the block. (Contributed
by Serhiy Storchaka in :issue:`16488`.) | trusted_official_docs | CPython Docs | select ------
:class:`~select.epoll` objects now support the context management protocol. When used in a :keyword:`with` statement, the :meth:`~select.epoll.close`
method will be called automatically at the end of the block. (Contributed
by Serhiy Storchaka in :issue:`16488`.) | select ------
:class:`~select.epoll` objects now support the context management protocol. When used in a :keyword:`with` statement, the :meth:`~select.epoll.close`
method will be called automatically at the end of the block. (Contributed
by Serhiy Storchaka in :issue:`16488`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
77354780-173d-45f0-a438-141850013420 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,820 | supabase-export-v2 | aca95659ea69bb2f | are deprecated in favor of the corresponding new functions :func:`~plistlib.load`, :func:`~plistlib.dump`, :func:`~plistlib.loads`, and :func:`~plistlib.dumps`. :func:`!Data` is deprecated in favor of just using the :class:`bytes` constructor.
* The :mod:`sysconfig` key ``SO`` is deprecated, it has been replaced by
``... | trusted_official_docs | CPython Docs | are deprecated in favor of the corresponding new functions :func:`~plistlib.load`, :func:`~plistlib.dump`, :func:`~plistlib.loads`, and :func:`~plistlib.dumps`. :func:`!Data` is deprecated in favor of just using the :class:`bytes` constructor.
* The :mod:`sysconfig` key ``SO`` is deprecated, it has been replaced by
``... | are deprecated in favor of the corresponding new functions :func:`~plistlib.load`, :func:`~plistlib.dump`, :func:`~plistlib.loads`, and :func:`~plistlib.dumps`. :func:`!Data` is deprecated in favor of just using the :class:`bytes` constructor.
* The :mod:`sysconfig` key ``SO`` is deprecated, it has been replaced by
``... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
77bed396-f345-4c55-9c33-56e084fddc1b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,697 | supabase-export-v2 | 761a2fcc563dc4b7 | :meth:`!AU_write.setsampwidth` now supports 24 bit samples, thus adding support for writing 24 sample using the module. (Contributed by Serhiy Storchaka in :issue:`19261`.)
The :meth:`!writeframesraw` and
:meth:`!writeframes` methods now accept any :term:`bytes-like
object`. (Contributed by Serhiy Storchaka in :issue:`... | trusted_official_docs | CPython Docs | :meth:`!AU_write.setsampwidth` now supports 24 bit samples, thus adding support for writing 24 sample using the module. (Contributed by Serhiy Storchaka in :issue:`19261`.)
The :meth:`!writeframesraw` and
:meth:`!writeframes` methods now accept any :term:`bytes-like
object`. (Contributed by Serhiy Storchaka in :issue:`... | :meth:`!AU_write.setsampwidth` now supports 24 bit samples, thus adding support for writing 24 sample using the module. (Contributed by Serhiy Storchaka in :issue:`19261`.)
The :meth:`!writeframesraw` and
:meth:`!writeframes` methods now accept any :term:`bytes-like
object`. (Contributed by Serhiy Storchaka in :issue:`... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
781c766e-4b51-4a0d-b1e7-3eeefa8a7841 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,887 | supabase-export-v2 | 093356de434b4941 | item separating commas at the ends of lines. This will matter only if you have tests that are doing white-space-sensitive comparisons of such output (:issue:`16333`).
* :mod:`doctest` now looks for doctests in extension module ``__doc__``
strings, so if your doctest test discovery includes extension modules that
have... | trusted_official_docs | CPython Docs | item separating commas at the ends of lines. This will matter only if you have tests that are doing white-space-sensitive comparisons of such output (:issue:`16333`).
* :mod:`doctest` now looks for doctests in extension module ``__doc__``
strings, so if your doctest test discovery includes extension modules that
have... | item separating commas at the ends of lines. This will matter only if you have tests that are doing white-space-sensitive comparisons of such output (:issue:`16333`).
* :mod:`doctest` now looks for doctests in extension module ``__doc__``
strings, so if your doctest test discovery includes extension modules that
have... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7826792f-d3f1-4adb-8238-d44aaa173fe5 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,623 | supabase-export-v2 | ef4632c34bbd5e9f | :func:`os.path.ismount` now recognizes volumes mounted below a drive root on Windows. (Contributed by Tim Golden in :issue:`9035`.)
:func:`os.open` supports two new flags on platforms that provide them,
:const:`~os.O_PATH` (un-opened file descriptor), and :const:`~os.O_TMPFILE`
(unnamed temporary file; as of 3.4.0 rele... | trusted_official_docs | CPython Docs | :func:`os.path.ismount` now recognizes volumes mounted below a drive root on Windows. (Contributed by Tim Golden in :issue:`9035`.)
:func:`os.open` supports two new flags on platforms that provide them,
:const:`~os.O_PATH` (un-opened file descriptor), and :const:`~os.O_TMPFILE`
(unnamed temporary file; as of 3.4.0 rele... | :func:`os.path.ismount` now recognizes volumes mounted below a drive root on Windows. (Contributed by Tim Golden in :issue:`9035`.)
:func:`os.open` supports two new flags on platforms that provide them,
:const:`~os.O_PATH` (un-opened file descriptor), and :const:`~os.O_TMPFILE`
(unnamed temporary file; as of 3.4.0 rele... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
79b48d62-2cbe-4869-b28a-b3183bd18057 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,560 | supabase-export-v2 | 5f04122b6355871b | :pep:`443` -- Single-dispatch generic functions PEP written and implemented by Łukasz Langa.
:func:`~functools.total_ordering` now supports a return value of
:data:`NotImplemented` from the underlying comparison function. (Contributed
by Katie Miller in :issue:`10042`.) | trusted_official_docs | CPython Docs | :pep:`443` -- Single-dispatch generic functions PEP written and implemented by Łukasz Langa.
:func:`~functools.total_ordering` now supports a return value of
:data:`NotImplemented` from the underlying comparison function. (Contributed
by Katie Miller in :issue:`10042`.) | :pep:`443` -- Single-dispatch generic functions PEP written and implemented by Łukasz Langa.
:func:`~functools.total_ordering` now supports a return value of
:data:`NotImplemented` from the underlying comparison function. (Contributed
by Katie Miller in :issue:`10042`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7c005e9d-be7c-474e-850e-64fcf998dfa3 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,547 | supabase-export-v2 | d827cc84b2392d4b | of having to create and use a :mod:`~email.generator` in order to pass formatting parameters to its ``flatten`` method. (Contributed by R. David Murray in :issue:`18600`.)
New method :meth:`~email.message.Message.as_bytes` added to produce a bytes
representation of the message in a fashion similar to how ``as_string``
... | trusted_official_docs | CPython Docs | of having to create and use a :mod:`~email.generator` in order to pass formatting parameters to its ``flatten`` method. (Contributed by R. David Murray in :issue:`18600`.)
New method :meth:`~email.message.Message.as_bytes` added to produce a bytes
representation of the message in a fashion similar to how ``as_string``
... | of having to create and use a :mod:`~email.generator` in order to pass formatting parameters to its ``flatten`` method. (Contributed by R. David Murray in :issue:`18600`.)
New method :meth:`~email.message.Message.as_bytes` added to produce a bytes
representation of the message in a fashion similar to how ``as_string``
... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7c0e009c-68d2-40a9-9dde-274777bae64e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,880 | supabase-export-v2 | faeff54d28eb6bfb | matched the input type, so if your code was depending on the return value being, say, a ``bytearray``, you will need to change your code.
* :mod:`!audioop` functions now raise an error immediately if passed string
input, instead of failing randomly later on (:issue:`16685`). | trusted_official_docs | CPython Docs | matched the input type, so if your code was depending on the return value being, say, a ``bytearray``, you will need to change your code.
* :mod:`!audioop` functions now raise an error immediately if passed string
input, instead of failing randomly later on (:issue:`16685`). | matched the input type, so if your code was depending on the return value being, say, a ``bytearray``, you will need to change your code.
* :mod:`!audioop` functions now raise an error immediately if passed string
input, instead of failing randomly later on (:issue:`16685`). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7f7ae11f-7b66-4b1f-a8c7-30dd3ebd9b36 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,606 | supabase-export-v2 | a18aa65c4b8b520f | marshal -------
The default :mod:`marshal` version has been bumped to 3. The code implementing
the new version restores the Python2 behavior of recording only one copy of
interned strings and preserving the interning on deserialization, and extends
this "one copy" ability to any object type (including handling recursiv... | trusted_official_docs | CPython Docs | marshal -------
The default :mod:`marshal` version has been bumped to 3. The code implementing
the new version restores the Python2 behavior of recording only one copy of
interned strings and preserving the interning on deserialization, and extends
this "one copy" ability to any object type (including handling recursiv... | marshal -------
The default :mod:`marshal` version has been bumped to 3. The code implementing
the new version restores the Python2 behavior of recording only one copy of
interned strings and preserving the interning on deserialization, and extends
this "one copy" ability to any object type (including handling recursiv... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7fce9a99-6b73-49ba-b4c4-a3fe76689284 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,866 | supabase-export-v2 | 3c5cab723ed1b8da | no leading docstring, an interstitial string would sometimes be ignored. This brings CPython into compliance with the language spec; Jython and PyPy already were. (:issue:`17434`).
* :meth:`ssl.SSLSocket.getpeercert` and :meth:`ssl.SSLSocket.do_handshake`
now raise an :exc:`OSError` with ``ENOTCONN`` when the ``SSLSoc... | trusted_official_docs | CPython Docs | no leading docstring, an interstitial string would sometimes be ignored. This brings CPython into compliance with the language spec; Jython and PyPy already were. (:issue:`17434`).
* :meth:`ssl.SSLSocket.getpeercert` and :meth:`ssl.SSLSocket.do_handshake`
now raise an :exc:`OSError` with ``ENOTCONN`` when the ``SSLSoc... | no leading docstring, an interstitial string would sometimes be ignored. This brings CPython into compliance with the language spec; Jython and PyPy already were. (:issue:`17434`).
* :meth:`ssl.SSLSocket.getpeercert` and :meth:`ssl.SSLSocket.do_handshake`
now raise an :exc:`OSError` with ``ENOTCONN`` when the ``SSLSoc... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8137c4e8-567c-45eb-8689-2b3d74ecf050 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,518 | supabase-export-v2 | f7a64d5cb49220e5 | base64 ------
The encoding and decoding functions in :mod:`base64` now accept any
:term:`bytes-like object` in cases where it previously required a
:class:`bytes` or :class:`bytearray` instance. (Contributed by Nick Coghlan in
:issue:`17839`.) | trusted_official_docs | CPython Docs | base64 ------
The encoding and decoding functions in :mod:`base64` now accept any
:term:`bytes-like object` in cases where it previously required a
:class:`bytes` or :class:`bytearray` instance. (Contributed by Nick Coghlan in
:issue:`17839`.) | base64 ------
The encoding and decoding functions in :mod:`base64` now accept any
:term:`bytes-like object` in cases where it previously required a
:class:`bytes` or :class:`bytearray` instance. (Contributed by Nick Coghlan in
:issue:`17839`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8412f2ce-66ac-4a9f-b555-1e3ccbc6b16e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,404 | supabase-export-v2 | cb82d43418d05bff | Significantly improved library modules:
* :ref:`Single-dispatch generic functions <whatsnew-singledispatch>` in
:mod:`functools` (:pep:`443`). * New :mod:`pickle` :ref:`protocol 4 <whatsnew-protocol-4>` (:pep:`3154`). * :mod:`multiprocessing` now has :ref:`an option to avoid using os.fork
on Unix <whatsnew-multiproce... | trusted_official_docs | CPython Docs | Significantly improved library modules:
* :ref:`Single-dispatch generic functions <whatsnew-singledispatch>` in
:mod:`functools` (:pep:`443`). * New :mod:`pickle` :ref:`protocol 4 <whatsnew-protocol-4>` (:pep:`3154`). * :mod:`multiprocessing` now has :ref:`an option to avoid using os.fork
on Unix <whatsnew-multiproce... | Significantly improved library modules:
* :ref:`Single-dispatch generic functions <whatsnew-singledispatch>` in
:mod:`functools` (:pep:`443`). * New :mod:`pickle` :ref:`protocol 4 <whatsnew-protocol-4>` (:pep:`3154`). * :mod:`multiprocessing` now has :ref:`an option to avoid using os.fork
on Unix <whatsnew-multiproce... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
87898f9e-b4c9-48f1-a819-25ba3657dc98 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,879 | supabase-export-v2 | ff622b822a01c5f1 | in theory this should not cause backward compatibility issues since the disallowed command forms didn't make any sense and are unlikely to be in use.
* The :func:`re.split`, :func:`re.findall`, and :func:`re.sub` functions, and
the :meth:`~re.Match.group` and :meth:`~re.Match.groups` methods of
``match`` objects now ... | trusted_official_docs | CPython Docs | in theory this should not cause backward compatibility issues since the disallowed command forms didn't make any sense and are unlikely to be in use.
* The :func:`re.split`, :func:`re.findall`, and :func:`re.sub` functions, and
the :meth:`~re.Match.group` and :meth:`~re.Match.groups` methods of
``match`` objects now ... | in theory this should not cause backward compatibility issues since the disallowed command forms didn't make any sense and are unlikely to be in use.
* The :func:`re.split`, :func:`re.findall`, and :func:`re.sub` functions, and
the :meth:`~re.Match.group` and :meth:`~re.Match.groups` methods of
``match`` objects now ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
884a2946-9553-43e0-bf9f-c9c91b886008 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,850 | supabase-export-v2 | c41ec76e2fd4a0db | it to ``.``, which leads to confusion when reasoning by analogy to how :envvar:`PATH` works. The behavior now conforms to the posix convention for :envvar:`PATH`.
* The [X refs, Y blocks] output of a debug (``--with-pydebug``) build of the
CPython interpreter is now off by default. It can be re-enabled using the
``-X... | trusted_official_docs | CPython Docs | it to ``.``, which leads to confusion when reasoning by analogy to how :envvar:`PATH` works. The behavior now conforms to the posix convention for :envvar:`PATH`.
* The [X refs, Y blocks] output of a debug (``--with-pydebug``) build of the
CPython interpreter is now off by default. It can be re-enabled using the
``-X... | it to ``.``, which leads to confusion when reasoning by analogy to how :envvar:`PATH` works. The behavior now conforms to the posix convention for :envvar:`PATH`.
* The [X refs, Y blocks] output of a debug (``--with-pydebug``) build of the
CPython interpreter is now off by default. It can be re-enabled using the
``-X... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8928e77b-aaa9-4f09-b89b-5e846181b2ab | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,744 | supabase-export-v2 | e755eb30ba985210 | zipfile -------
The :meth:`~zipfile.PyZipFile.writepy` method of the
:class:`~zipfile.PyZipFile` class has a new *filterfunc* option that can be
used to control which directories and files are added to the archive. For
example, this could be used to exclude test files from the archive. (Contributed by Christian Tismer ... | trusted_official_docs | CPython Docs | zipfile -------
The :meth:`~zipfile.PyZipFile.writepy` method of the
:class:`~zipfile.PyZipFile` class has a new *filterfunc* option that can be
used to control which directories and files are added to the archive. For
example, this could be used to exclude test files from the archive. (Contributed by Christian Tismer ... | zipfile -------
The :meth:`~zipfile.PyZipFile.writepy` method of the
:class:`~zipfile.PyZipFile` class has a new *filterfunc* option that can be
used to control which directories and files are added to the archive. For
example, this could be used to exclude test files from the archive. (Contributed by Christian Tismer ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
895fdcd2-3883-4bb5-9e77-c59e8202d693 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,385 | supabase-export-v2 | 7e7bbe70f6bf8d85 | * If you want to draw your new text to the attention of the maintainer, add 'XXX' to the beginning of the paragraph or section.
* It's OK to add just a very brief note about a change. For
example: "The :ref:`~socket.transmogrify()` function was added to the
:mod:`socket` module." The maintainer will research the chan... | trusted_official_docs | CPython Docs | * If you want to draw your new text to the attention of the maintainer, add 'XXX' to the beginning of the paragraph or section.
* It's OK to add just a very brief note about a change. For
example: "The :ref:`~socket.transmogrify()` function was added to the
:mod:`socket` module." The maintainer will research the chan... | * If you want to draw your new text to the attention of the maintainer, add 'XXX' to the beginning of the paragraph or section.
* It's OK to add just a very brief note about a change. For
example: "The :ref:`~socket.transmogrify()` function was added to the
:mod:`socket` module." The maintainer will research the chan... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8962a70c-56c4-42a3-8007-8825cf7a3e81 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,540 | supabase-export-v2 | 9655eb4b36e9786d | (Contributed by Nick Coghlan, Ryan Kelly and Thomas Kluyver in :issue:`11816` and Claudiu Popa in :issue:`17916`.)
New function :func:`~dis.stack_effect` computes the effect on the Python stack
of a given opcode and argument, information that is not otherwise available. (Contributed by Larry Hastings in :issue:`19722`.... | trusted_official_docs | CPython Docs | (Contributed by Nick Coghlan, Ryan Kelly and Thomas Kluyver in :issue:`11816` and Claudiu Popa in :issue:`17916`.)
New function :func:`~dis.stack_effect` computes the effect on the Python stack
of a given opcode and argument, information that is not otherwise available. (Contributed by Larry Hastings in :issue:`19722`.... | (Contributed by Nick Coghlan, Ryan Kelly and Thomas Kluyver in :issue:`11816` and Claudiu Popa in :issue:`17916`.)
New function :func:`~dis.stack_effect` computes the effect on the Python stack
of a given opcode and argument, information that is not otherwise available. (Contributed by Larry Hastings in :issue:`19722`.... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8a595515-9e15-4a5e-9b68-93aea51ef825 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,791 | supabase-export-v2 | abc55b2098c94d57 | 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.
* Loading multiple python modules from a single OS module (``.so``, ``.dll``)
now works correctly (previously it silently returned the first python
module in the file). (Contr... | trusted_official_docs | CPython Docs | 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.
* Loading multiple python modules from a single OS module (``.so``, ``.dll``)
now works correctly (previously it silently returned the first python
module in the file). (Contr... | 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.
* Loading multiple python modules from a single OS module (``.so``, ``.dll``)
now works correctly (previously it silently returned the first python
module in the file). (Contr... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8a8db6a6-fcd0-4868-b2c6-875ad6473f9c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,439 | supabase-export-v2 | fa011c785c33b173 | both Python 2 and Python 3, rather than being limited to Unicode text encodings (in Python 3) or ``basestring`` <-> ``basestring`` conversions (in Python 2).
In Python 3.4, the interpreter is able to identify the known non-text
encodings provided in the standard library and direct users towards these
general purpose co... | trusted_official_docs | CPython Docs | both Python 2 and Python 3, rather than being limited to Unicode text encodings (in Python 3) or ``basestring`` <-> ``basestring`` conversions (in Python 2).
In Python 3.4, the interpreter is able to identify the known non-text
encodings provided in the standard library and direct users towards these
general purpose co... | both Python 2 and Python 3, rather than being limited to Unicode text encodings (in Python 3) or ``basestring`` <-> ``basestring`` conversions (in Python 2).
In Python 3.4, the interpreter is able to identify the known non-text
encodings provided in the standard library and direct users towards these
general purpose co... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8a992081-c682-4e66-841d-2116c127dd52 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,774 | supabase-export-v2 | 0e014a11f9c7c8da | APIs that don't mutate string arguments are now correctly marked as accepting ``const char *`` rather than ``char *``. (Contributed by Serhiy Storchaka in :issue:`1772673`.)
* A new shell version of ``python-config`` can be used even when a python
interpreter is not available (for example, in cross compilation scenari... | trusted_official_docs | CPython Docs | APIs that don't mutate string arguments are now correctly marked as accepting ``const char *`` rather than ``char *``. (Contributed by Serhiy Storchaka in :issue:`1772673`.)
* A new shell version of ``python-config`` can be used even when a python
interpreter is not available (for example, in cross compilation scenari... | APIs that don't mutate string arguments are now correctly marked as accepting ``const char *`` rather than ``char *``. (Contributed by Serhiy Storchaka in :issue:`1772673`.)
* A new shell version of ``python-config`` can be used even when a python
interpreter is not available (for example, in cross compilation scenari... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8c211eb3-83de-429d-86b4-817f31c9b3bd | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,613 | supabase-export-v2 | 5e198689f3d17221 | framework and an application or different parts of the same application to use multiprocessing without interfering with each other. (Contributed by Richard Oudkerk in :issue:`18999`.)
Except when using the old *fork* start method, child processes no longer
inherit unneeded handles/file descriptors from their parents (p... | trusted_official_docs | CPython Docs | framework and an application or different parts of the same application to use multiprocessing without interfering with each other. (Contributed by Richard Oudkerk in :issue:`18999`.)
Except when using the old *fork* start method, child processes no longer
inherit unneeded handles/file descriptors from their parents (p... | framework and an application or different parts of the same application to use multiprocessing without interfering with each other. (Contributed by Richard Oudkerk in :issue:`18999`.)
Except when using the old *fork* start method, child processes no longer
inherit unneeded handles/file descriptors from their parents (p... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8c9a124e-682f-4c23-97a9-5f1d543e3baf | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,730 | supabase-export-v2 | 0bd129fd7cc9c396 | :mod:`venv` now includes activation scripts for the ``csh`` and ``fish`` shells. (Contributed by Andrew Svetlov in :issue:`15417`.)
:class:`~venv.EnvBuilder` and the :func:`~venv.create` convenience function
take a new keyword argument *with_pip*, which defaults to ``False``, that
controls whether or not :class:`~venv.... | trusted_official_docs | CPython Docs | :mod:`venv` now includes activation scripts for the ``csh`` and ``fish`` shells. (Contributed by Andrew Svetlov in :issue:`15417`.)
:class:`~venv.EnvBuilder` and the :func:`~venv.create` convenience function
take a new keyword argument *with_pip*, which defaults to ``False``, that
controls whether or not :class:`~venv.... | :mod:`venv` now includes activation scripts for the ``csh`` and ``fish`` shells. (Contributed by Andrew Svetlov in :issue:`15417`.)
:class:`~venv.EnvBuilder` and the :func:`~venv.create` convenience function
take a new keyword argument *with_pip*, which defaults to ``False``, that
controls whether or not :class:`~venv.... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8cf5fd2b-3363-450f-8f42-0a65655916a3 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,622 | supabase-export-v2 | 0f87796f892d80f6 | :func:`os.path.samestat` is now available on the Windows platform (and the :func:`os.path.samefile` implementation is now shared between Unix and Windows). (Contributed by Brian Curtin in :issue:`11939`.)
:func:`os.path.ismount` now recognizes volumes mounted below a drive
root on Windows. (Contributed by Tim Golden in... | trusted_official_docs | CPython Docs | :func:`os.path.samestat` is now available on the Windows platform (and the :func:`os.path.samefile` implementation is now shared between Unix and Windows). (Contributed by Brian Curtin in :issue:`11939`.)
:func:`os.path.ismount` now recognizes volumes mounted below a drive
root on Windows. (Contributed by Tim Golden in... | :func:`os.path.samestat` is now available on the Windows platform (and the :func:`os.path.samefile` implementation is now shared between Unix and Windows). (Contributed by Brian Curtin in :issue:`11939`.)
:func:`os.path.ismount` now recognizes volumes mounted below a drive
root on Windows. (Contributed by Tim Golden in... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8d38d3ac-b55b-4926-b3ac-18a13b7953f7 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,700 | supabase-export-v2 | 8022c3b2dd5c53eb | through the :c:func:`PyObject_Malloc` API.) This can be useful for tracking memory leaks, especially if automated via a test suite. (Contributed by Antoine Pitrou in :issue:`13390`.)
When the Python interpreter starts in :ref:`interactive mode
<tut-interactive>`, it checks for an :data:`~sys.__interactivehook__` attrib... | trusted_official_docs | CPython Docs | through the :c:func:`PyObject_Malloc` API.) This can be useful for tracking memory leaks, especially if automated via a test suite. (Contributed by Antoine Pitrou in :issue:`13390`.)
When the Python interpreter starts in :ref:`interactive mode
<tut-interactive>`, it checks for an :data:`~sys.__interactivehook__` attrib... | through the :c:func:`PyObject_Malloc` API.) This can be useful for tracking memory leaks, especially if automated via a test suite. (Contributed by Antoine Pitrou in :issue:`13390`.)
When the Python interpreter starts in :ref:`interactive mode
<tut-interactive>`, it checks for an :data:`~sys.__interactivehook__` attrib... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8db314d1-9d72-4fce-930f-c6b7aa0ea576 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,477 | supabase-export-v2 | b04cba73c7c1117d | asynchronous IO support in the standard library, and making it easier for other event loop implementations to interoperate with the standard library and each other.
For Python 3.4, this module is considered a :term:`provisional API`. | trusted_official_docs | CPython Docs | asynchronous IO support in the standard library, and making it easier for other event loop implementations to interoperate with the standard library and each other.
For Python 3.4, this module is considered a :term:`provisional API`. | asynchronous IO support in the standard library, and making it easier for other event loop implementations to interoperate with the standard library and each other.
For Python 3.4, this module is considered a :term:`provisional API`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8f929da4-8b1f-4f44-b317-d685212d7f20 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,687 | supabase-export-v2 | 0bd7d7d12b536b6d | C implementation in :mod:`!_stat`. A C implementation is required as most of the values aren't standardized and are platform-dependent. (Contributed by Christian Heimes in :issue:`11016`.)
The module supports new :mod:`~stat.ST_MODE` flags, :mod:`~stat.S_IFDOOR`,
:const:`~stat.S_IFPORT`, and :const:`~stat.S_IFWHT`. (Co... | trusted_official_docs | CPython Docs | C implementation in :mod:`!_stat`. A C implementation is required as most of the values aren't standardized and are platform-dependent. (Contributed by Christian Heimes in :issue:`11016`.)
The module supports new :mod:`~stat.ST_MODE` flags, :mod:`~stat.S_IFDOOR`,
:const:`~stat.S_IFPORT`, and :const:`~stat.S_IFWHT`. (Co... | C implementation in :mod:`!_stat`. A C implementation is required as most of the values aren't standardized and are platform-dependent. (Contributed by Christian Heimes in :issue:`11016`.)
The module supports new :mod:`~stat.ST_MODE` flags, :mod:`~stat.S_IFDOOR`,
:const:`~stat.S_IFPORT`, and :const:`~stat.S_IFWHT`. (Co... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
90c8c5ab-95e7-41f7-bf71-e6a1ea67e581 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,407 | supabase-export-v2 | d4a804faaef365c6 | inherit all of the parent's inheritable handles, only the necessary ones. * A new :func:`hashlib.pbkdf2_hmac` function provides the `PKCS#5 password-based key derivation function 2 <https://en.wikipedia.org/wiki/PBKDF2>`_.
* :ref:`TLSv1.1 and TLSv1.2 support <whatsnew-tls-11-12>` for :mod:`ssl`. * :ref:`Retrieving cert... | trusted_official_docs | CPython Docs | inherit all of the parent's inheritable handles, only the necessary ones. * A new :func:`hashlib.pbkdf2_hmac` function provides the `PKCS#5 password-based key derivation function 2 <https://en.wikipedia.org/wiki/PBKDF2>`_.
* :ref:`TLSv1.1 and TLSv1.2 support <whatsnew-tls-11-12>` for :mod:`ssl`. * :ref:`Retrieving cert... | inherit all of the parent's inheritable handles, only the necessary ones. * A new :func:`hashlib.pbkdf2_hmac` function provides the `PKCS#5 password-based key derivation function 2 <https://en.wikipedia.org/wiki/PBKDF2>`_.
* :ref:`TLSv1.1 and TLSv1.2 support <whatsnew-tls-11-12>` for :mod:`ssl`. * :ref:`Retrieving cert... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
92d38378-1f1e-4169-9417-a93c5cd8bc13 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,871 | supabase-export-v2 | b8e46001ec353872 | for huge values. As a consequence of this fix, :meth:`slice.indices` now raises a :exc:`ValueError` if given a negative length; previously it returned nonsense values (:issue:`14794`).
* The :class:`complex` constructor, unlike the :mod:`cmath` functions, was
incorrectly accepting :class:`float` values if an object's ... | trusted_official_docs | CPython Docs | for huge values. As a consequence of this fix, :meth:`slice.indices` now raises a :exc:`ValueError` if given a negative length; previously it returned nonsense values (:issue:`14794`).
* The :class:`complex` constructor, unlike the :mod:`cmath` functions, was
incorrectly accepting :class:`float` values if an object's ... | for huge values. As a consequence of this fix, :meth:`slice.indices` now raises a :exc:`ValueError` if given a negative length; previously it returned nonsense values (:issue:`14794`).
* The :class:`complex` constructor, unlike the :mod:`cmath` functions, was
incorrectly accepting :class:`float` values if an object's ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
94fa445f-d628-4924-974c-c9ff948f2b59 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,621 | supabase-export-v2 | 3935126168d614e9 | determined). The :func:`multiprocessing.cpu_count` function is now implemented in terms of this function). (Contributed by Trent Nelson, Yogesh Chaudhari, Victor Stinner, and Charles-François Natali in :issue:`17914`.)
:func:`os.path.samestat` is now available on the Windows platform (and the
:func:`os.path.samefile` i... | trusted_official_docs | CPython Docs | determined). The :func:`multiprocessing.cpu_count` function is now implemented in terms of this function). (Contributed by Trent Nelson, Yogesh Chaudhari, Victor Stinner, and Charles-François Natali in :issue:`17914`.)
:func:`os.path.samestat` is now available on the Windows platform (and the
:func:`os.path.samefile` i... | determined). The :func:`multiprocessing.cpu_count` function is now implemented in terms of this function). (Contributed by Trent Nelson, Yogesh Chaudhari, Victor Stinner, and Charles-François Natali in :issue:`17914`.)
:func:`os.path.samestat` is now available on the Windows platform (and the
:func:`os.path.samefile` i... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
967109e4-fa4d-4b10-b25a-e412c4ad1c76 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,590 | supabase-export-v2 | b6b89e42f4498226 | :mod:`importlib.util` has a new function :func:`~importlib.util.decode_source` that decodes source from bytes using universal newline processing. This is useful for implementing :meth:`.InspectLoader.get_source` methods.
:class:`importlib.machinery.ExtensionFileLoader` now has a
:meth:`~importlib.machinery.ExtensionFil... | trusted_official_docs | CPython Docs | :mod:`importlib.util` has a new function :func:`~importlib.util.decode_source` that decodes source from bytes using universal newline processing. This is useful for implementing :meth:`.InspectLoader.get_source` methods.
:class:`importlib.machinery.ExtensionFileLoader` now has a
:meth:`~importlib.machinery.ExtensionFil... | :mod:`importlib.util` has a new function :func:`~importlib.util.decode_source` that decodes source from bytes using universal newline processing. This is useful for implementing :meth:`.InspectLoader.get_source` methods.
:class:`importlib.machinery.ExtensionFileLoader` now has a
:meth:`~importlib.machinery.ExtensionFil... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
97d00871-87eb-4250-98b3-308b5210033d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,599 | supabase-export-v2 | baad2aa6ac987517 | Python 3.4, this qualification has been removed: :mod:`ipaddress` is now considered a stable API, covered by the normal standard library requirements to maintain backwards compatibility.
A new :attr:`~ipaddress.IPv4Address.is_global` property is ``True`` if
an address is globally routeable. (Contributed by Peter Moody ... | trusted_official_docs | CPython Docs | Python 3.4, this qualification has been removed: :mod:`ipaddress` is now considered a stable API, covered by the normal standard library requirements to maintain backwards compatibility.
A new :attr:`~ipaddress.IPv4Address.is_global` property is ``True`` if
an address is globally routeable. (Contributed by Peter Moody ... | Python 3.4, this qualification has been removed: :mod:`ipaddress` is now considered a stable API, covered by the normal standard library requirements to maintain backwards compatibility.
A new :attr:`~ipaddress.IPv4Address.is_global` property is ``True`` if
an address is globally routeable. (Contributed by Peter Moody ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
97f7f7b3-5724-4255-9307-635b3ee08285 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,443 | supabase-export-v2 | bf6f8467cbccafc2 | encoding="hex") Traceback (most recent call last): File "<stdin>", line 1, in <module> LookupError: 'hex' is not a text encoding; use codecs.open() to handle arbitrary codecs
In a related change, whenever it is feasible without breaking backwards
compatibility, exceptions raised during encoding and decoding operations
... | trusted_official_docs | CPython Docs | encoding="hex") Traceback (most recent call last): File "<stdin>", line 1, in <module> LookupError: 'hex' is not a text encoding; use codecs.open() to handle arbitrary codecs
In a related change, whenever it is feasible without breaking backwards
compatibility, exceptions raised during encoding and decoding operations
... | encoding="hex") Traceback (most recent call last): File "<stdin>", line 1, in <module> LookupError: 'hex' is not a text encoding; use codecs.open() to handle arbitrary codecs
In a related change, whenever it is feasible without breaking backwards
compatibility, exceptions raised during encoding and decoding operations
... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
999426b4-4776-4e84-9345-06b70eeb52f6 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,881 | supabase-export-v2 | a11df8ea29ddb98f | * :mod:`!audioop` functions now raise an error immediately if passed string input, instead of failing randomly later on (:issue:`16685`).
* The new *convert_charrefs* argument to :class:`~html.parser.HTMLParser`
currently defaults to ``False`` for backward compatibility, but will
eventually be changed to default to `... | trusted_official_docs | CPython Docs | * :mod:`!audioop` functions now raise an error immediately if passed string input, instead of failing randomly later on (:issue:`16685`).
* The new *convert_charrefs* argument to :class:`~html.parser.HTMLParser`
currently defaults to ``False`` for backward compatibility, but will
eventually be changed to default to `... | * :mod:`!audioop` functions now raise an error immediately if passed string input, instead of failing randomly later on (:issue:`16685`).
* The new *convert_charrefs* argument to :class:`~html.parser.HTMLParser`
currently defaults to ``False`` for backward compatibility, but will
eventually be changed to default to `... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9a28541c-2916-4ac4-9438-c6fd5bb5f041 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,617 | supabase-export-v2 | 375d22c052f9d45a | how the :meth:`~object.__length_hint__` special method should be used, as part of the :pep:`424` formal specification of this language feature. (Contributed by Armin Ronacher in :issue:`16148`.)
There is now a pure-python version of the :mod:`operator` module available for
reference and for use by alternate implementat... | trusted_official_docs | CPython Docs | how the :meth:`~object.__length_hint__` special method should be used, as part of the :pep:`424` formal specification of this language feature. (Contributed by Armin Ronacher in :issue:`16148`.)
There is now a pure-python version of the :mod:`operator` module available for
reference and for use by alternate implementat... | how the :meth:`~object.__length_hint__` special method should be used, as part of the :pep:`424` formal specification of this language feature. (Contributed by Armin Ronacher in :issue:`16148`.)
There is now a pure-python version of the :mod:`operator` module available for
reference and for use by alternate implementat... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9a7b0a6a-1527-4a05-9a1c-e6e1173389f0 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,604 | supabase-export-v2 | 34e5669f3b771162 | a part of the overall application configuration, or where the application modifies the configuration before passing it to :func:`~logging.config.fileConfig`. (Contributed by Vinay Sajip in :issue:`16110`.)
Logging configuration data received from a socket via the
:func:`logging.config.listen` function can now be valida... | trusted_official_docs | CPython Docs | a part of the overall application configuration, or where the application modifies the configuration before passing it to :func:`~logging.config.fileConfig`. (Contributed by Vinay Sajip in :issue:`16110`.)
Logging configuration data received from a socket via the
:func:`logging.config.listen` function can now be valida... | a part of the overall application configuration, or where the application modifies the configuration before passing it to :func:`~logging.config.fileConfig`. (Contributed by Vinay Sajip in :issue:`16110`.)
Logging configuration data received from a socket via the
:func:`logging.config.listen` function can now be valida... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9ce2ee10-2d02-4375-b245-94803e4733ab | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,620 | supabase-export-v2 | 2f08fe2803f247d9 | There are new functions to get and set the :ref:`inheritable flag <fd_inheritance>` of a file descriptor (:func:`os.get_inheritable`, :func:`os.set_inheritable`) or a Windows handle (:func:`os.get_handle_inheritable`, :func:`os.set_handle_inheritable`).
New function :func:`~os.cpu_count` reports the number of CPUs avai... | trusted_official_docs | CPython Docs | There are new functions to get and set the :ref:`inheritable flag <fd_inheritance>` of a file descriptor (:func:`os.get_inheritable`, :func:`os.set_inheritable`) or a Windows handle (:func:`os.get_handle_inheritable`, :func:`os.set_handle_inheritable`).
New function :func:`~os.cpu_count` reports the number of CPUs avai... | There are new functions to get and set the :ref:`inheritable flag <fd_inheritance>` of a file descriptor (:func:`os.get_inheritable`, :func:`os.set_inheritable`) or a Windows handle (:func:`os.get_handle_inheritable`, :func:`os.set_handle_inheritable`).
New function :func:`~os.cpu_count` reports the number of CPUs avai... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9d21a388-d3d6-4d3a-bf23-d843281bbff0 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,476 | supabase-export-v2 | a17e101d791622d9 | asyncio -------
The new :mod:`asyncio` module (defined in :pep:`3156`) provides a standard
pluggable event loop model for Python, providing solid asynchronous IO
support in the standard library, and making it easier for other event loop
implementations to interoperate with the standard library and each other. | trusted_official_docs | CPython Docs | asyncio -------
The new :mod:`asyncio` module (defined in :pep:`3156`) provides a standard
pluggable event loop model for Python, providing solid asynchronous IO
support in the standard library, and making it easier for other event loop
implementations to interoperate with the standard library and each other. | asyncio -------
The new :mod:`asyncio` module (defined in :pep:`3156`) provides a standard
pluggable event loop model for Python, providing solid asynchronous IO
support in the standard library, and making it easier for other event loop
implementations to interoperate with the standard library and each other. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9d24c278-d9ef-482a-88ac-ab0b9f1075c4 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,667 | supabase-export-v2 | ce9403e2ee36104e | ``socket.SOCK_*`` constants are now enumeration values using the new :mod:`enum` module. This allows meaningful names to be printed during debugging, instead of integer "magic numbers".
The :const:`~socket.AF_LINK` constant is now available on BSD and OSX. | trusted_official_docs | CPython Docs | ``socket.SOCK_*`` constants are now enumeration values using the new :mod:`enum` module. This allows meaningful names to be printed during debugging, instead of integer "magic numbers".
The :const:`~socket.AF_LINK` constant is now available on BSD and OSX. | ``socket.SOCK_*`` constants are now enumeration values using the new :mod:`enum` module. This allows meaningful names to be printed during debugging, instead of integer "magic numbers".
The :const:`~socket.AF_LINK` constant is now available on BSD and OSX. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9e30ec53-c62a-4269-9d83-5264020117ba | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,874 | supabase-export-v2 | 54ed2c9f4ec07bc4 | now evaluated *after* defaults for regular keyword arguments, instead of before. Hopefully no one wrote any code that depends on the previous buggy behavior (:issue:`16967`).
* Stale thread states are now cleared after :func:`~os.fork`. This may cause
some system resources to be released that previously were incorrect... | trusted_official_docs | CPython Docs | now evaluated *after* defaults for regular keyword arguments, instead of before. Hopefully no one wrote any code that depends on the previous buggy behavior (:issue:`16967`).
* Stale thread states are now cleared after :func:`~os.fork`. This may cause
some system resources to be released that previously were incorrect... | now evaluated *after* defaults for regular keyword arguments, instead of before. Hopefully no one wrote any code that depends on the previous buggy behavior (:issue:`16967`).
* Stale thread states are now cleared after :func:`~os.fork`. This may cause
some system resources to be released that previously were incorrect... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9e5213c1-7513-4172-9fc4-3f506b4ea24f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,872 | supabase-export-v2 | f61170b19ea5aab1 | :class:`complex` constructor, unlike the :mod:`cmath` functions, was incorrectly accepting :class:`float` values if an object's ``__complex__`` special method returned one. This now raises a :exc:`TypeError`. (:issue:`16290`.)
* The :class:`int` constructor in 3.2 and 3.3 erroneously accepts :class:`float`
values for ... | trusted_official_docs | CPython Docs | :class:`complex` constructor, unlike the :mod:`cmath` functions, was incorrectly accepting :class:`float` values if an object's ``__complex__`` special method returned one. This now raises a :exc:`TypeError`. (:issue:`16290`.)
* The :class:`int` constructor in 3.2 and 3.3 erroneously accepts :class:`float`
values for ... | :class:`complex` constructor, unlike the :mod:`cmath` functions, was incorrectly accepting :class:`float` values if an object's ``__complex__`` special method returned one. This now raises a :exc:`TypeError`. (:issue:`16290`.)
* The :class:`int` constructor in 3.2 and 3.3 erroneously accepts :class:`float`
values for ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9eac6e11-6cc7-4203-957b-6cd2b8a1d25c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,808 | supabase-export-v2 | 42058d14af0852cc | * On Windows, the native ``VirtualAlloc`` is now used instead of the CRT ``malloc`` in ``obmalloc``. Artificial benchmarks show about a 3% memory savings.
* :func:`os.urandom` now uses a lazily opened persistent file descriptor
so as to avoid using many file descriptors when run in parallel from
multiple threads. (Co... | trusted_official_docs | CPython Docs | * On Windows, the native ``VirtualAlloc`` is now used instead of the CRT ``malloc`` in ``obmalloc``. Artificial benchmarks show about a 3% memory savings.
* :func:`os.urandom` now uses a lazily opened persistent file descriptor
so as to avoid using many file descriptors when run in parallel from
multiple threads. (Co... | * On Windows, the native ``VirtualAlloc`` is now used instead of the CRT ``malloc`` in ``obmalloc``. Artificial benchmarks show about a 3% memory savings.
* :func:`os.urandom` now uses a lazily opened persistent file descriptor
so as to avoid using many file descriptors when run in parallel from
multiple threads. (Co... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9ec6c986-830d-4c99-a6b8-2526a40d179e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,466 | supabase-export-v2 | f91b2e97d5a85f6d | by default, with the sole exception of ``__main__.__file__`` when a script has been executed directly using a relative path. (Contributed by Brett Cannon in :issue:`18416`.)
* All the UTF-\* codecs (except UTF-7) now reject surrogates during both
encoding and decoding unless the ``surrogatepass`` error handler is used... | trusted_official_docs | CPython Docs | by default, with the sole exception of ``__main__.__file__`` when a script has been executed directly using a relative path. (Contributed by Brett Cannon in :issue:`18416`.)
* All the UTF-\* codecs (except UTF-7) now reject surrogates during both
encoding and decoding unless the ``surrogatepass`` error handler is used... | by default, with the sole exception of ``__main__.__file__`` when a script has been executed directly using a relative path. (Contributed by Brett Cannon in :issue:`18416`.)
* All the UTF-\* codecs (except UTF-7) now reject surrogates during both
encoding and decoding unless the ``surrogatepass`` error handler is used... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9f973bfc-bb23-43fc-86b7-75fbb0b2cfc1 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,386 | supabase-export-v2 | 7540988e039a6a5e | more descriptive text is ever added, readers will at least have a notification that the new feature exists and a link to the relevant documentation.
* You can comment out your additions if you like, but it's not
necessary (especially when a final release is some months away). | trusted_official_docs | CPython Docs | more descriptive text is ever added, readers will at least have a notification that the new feature exists and a link to the relevant documentation.
* You can comment out your additions if you like, but it's not
necessary (especially when a final release is some months away). | more descriptive text is ever added, readers will at least have a notification that the new feature exists and a link to the relevant documentation.
* You can comment out your additions if you like, but it's not
necessary (especially when a final release is some months away). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9fe36ec8-7f04-46ac-b2af-4d7777e925b4 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,457 | supabase-export-v2 | 1340c093ffbb4e8f | PEP 451: A ModuleSpec Type for the Import System ------------------------------------------------
:pep:`451` provides an encapsulation of the information about a module that the
import machinery will use to load it (that is, a module specification). This
helps simplify both the import implementation and several import-... | trusted_official_docs | CPython Docs | PEP 451: A ModuleSpec Type for the Import System ------------------------------------------------
:pep:`451` provides an encapsulation of the information about a module that the
import machinery will use to load it (that is, a module specification). This
helps simplify both the import implementation and several import-... | PEP 451: A ModuleSpec Type for the Import System ------------------------------------------------
:pep:`451` provides an encapsulation of the information about a module that the
import machinery will use to load it (that is, a module specification). This
helps simplify both the import implementation and several import-... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a175beba-0752-4419-b4ff-c0bf7ac6463c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,594 | supabase-export-v2 | b404637a922157c3 | :func:`functools.wraps` (and any other API that sets the ``__wrapped__`` attribute on a wrapper function). (Contributed by Daniel Urban, Aaron Iles and Nick Coghlan in :issue:`13266`.)
As part of the implementation of the new :mod:`enum` module, the
:mod:`inspect` module now has substantially better support for custom
... | trusted_official_docs | CPython Docs | :func:`functools.wraps` (and any other API that sets the ``__wrapped__`` attribute on a wrapper function). (Contributed by Daniel Urban, Aaron Iles and Nick Coghlan in :issue:`13266`.)
As part of the implementation of the new :mod:`enum` module, the
:mod:`inspect` module now has substantially better support for custom
... | :func:`functools.wraps` (and any other API that sets the ``__wrapped__`` attribute on a wrapper function). (Contributed by Daniel Urban, Aaron Iles and Nick Coghlan in :issue:`13266`.)
As part of the implementation of the new :mod:`enum` module, the
:mod:`inspect` module now has substantially better support for custom
... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a24a6b53-3d3d-41c7-b97b-71deaa158e24 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,675 | supabase-export-v2 | eb4620666020e7de | :class:`~ssl.SSLContext` object, modify it if needed, and then pass it as the *context* argument of the appropriate stdlib API. (Contributed by Christian Heimes in :issue:`19689`.)
:class:`~ssl.SSLContext` method :meth:`~ssl.SSLContext.load_verify_locations`
accepts a new optional argument *cadata*, which can be used t... | trusted_official_docs | CPython Docs | :class:`~ssl.SSLContext` object, modify it if needed, and then pass it as the *context* argument of the appropriate stdlib API. (Contributed by Christian Heimes in :issue:`19689`.)
:class:`~ssl.SSLContext` method :meth:`~ssl.SSLContext.load_verify_locations`
accepts a new optional argument *cadata*, which can be used t... | :class:`~ssl.SSLContext` object, modify it if needed, and then pass it as the *context* argument of the appropriate stdlib API. (Contributed by Christian Heimes in :issue:`19689`.)
:class:`~ssl.SSLContext` method :meth:`~ssl.SSLContext.load_verify_locations`
accepts a new optional argument *cadata*, which can be used t... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a2844058-1cc1-469d-a768-5cde83be9f7b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,527 | supabase-export-v2 | 9f32596a6a779fb2 | a command line interface. It is recommended only for utility scripts because it affects the global state of :data:`sys.stdout`. (Contributed by Raymond Hettinger in :issue:`15805`.)
The :mod:`contextlib` documentation has also been updated to include a
:ref:`discussion <single-use-reusable-and-reentrant-cms>` of the
di... | trusted_official_docs | CPython Docs | a command line interface. It is recommended only for utility scripts because it affects the global state of :data:`sys.stdout`. (Contributed by Raymond Hettinger in :issue:`15805`.)
The :mod:`contextlib` documentation has also been updated to include a
:ref:`discussion <single-use-reusable-and-reentrant-cms>` of the
di... | a command line interface. It is recommended only for utility scripts because it affects the global state of :data:`sys.stdout`. (Contributed by Raymond Hettinger in :issue:`15805`.)
The :mod:`contextlib` documentation has also been updated to include a
:ref:`discussion <single-use-reusable-and-reentrant-cms>` of the
di... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a2956b3d-88d6-4a7a-b47c-3641f0bd6a26 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,742 | supabase-export-v2 | 2a907b815dbe14e6 | A new parser, :class:`~xml.etree.ElementTree.XMLPullParser`, allows a non-blocking applications to parse XML documents. An example can be seen at :ref:`elementtree-pull-parsing`. (Contributed by Antoine Pitrou in :issue:`17741`.)
The :mod:`xml.etree.ElementTree` :func:`~xml.etree.ElementTree.tostring` and
:func:`~xml.e... | trusted_official_docs | CPython Docs | A new parser, :class:`~xml.etree.ElementTree.XMLPullParser`, allows a non-blocking applications to parse XML documents. An example can be seen at :ref:`elementtree-pull-parsing`. (Contributed by Antoine Pitrou in :issue:`17741`.)
The :mod:`xml.etree.ElementTree` :func:`~xml.etree.ElementTree.tostring` and
:func:`~xml.e... | A new parser, :class:`~xml.etree.ElementTree.XMLPullParser`, allows a non-blocking applications to parse XML documents. An example can be seen at :ref:`elementtree-pull-parsing`. (Contributed by Antoine Pitrou in :issue:`17741`.)
The :mod:`xml.etree.ElementTree` :func:`~xml.etree.ElementTree.tostring` and
:func:`~xml.e... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a299b2ee-d50e-4b4a-90f7-ff177ed455bb | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,814 | supabase-export-v2 | 0e1de4d550657066 | * The :mod:`!imp` module is pending deprecation. To keep compatibility with Python 2/3 code bases, the module's removal is currently not scheduled.
* The :mod:`!formatter` module is pending deprecation and is slated for removal
in Python 3.6. | trusted_official_docs | CPython Docs | * The :mod:`!imp` module is pending deprecation. To keep compatibility with Python 2/3 code bases, the module's removal is currently not scheduled.
* The :mod:`!formatter` module is pending deprecation and is slated for removal
in Python 3.6. | * The :mod:`!imp` module is pending deprecation. To keep compatibility with Python 2/3 code bases, the module's removal is currently not scheduled.
* The :mod:`!formatter` module is pending deprecation and is slated for removal
in Python 3.6. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a4831e0d-51c5-4573-9f0a-0a4d30ed8b1d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,662 | supabase-export-v2 | 77a0a2e91a990fd9 | smtplib -------
:exc:`~smtplib.SMTPException` is now a subclass of :exc:`OSError`, which allows
both socket level errors and SMTP protocol level errors to be caught in one
try/except statement by code that only cares whether or not an error occurred. (Contributed by Ned Jackson Lovely in :issue:`2118`.) | trusted_official_docs | CPython Docs | smtplib -------
:exc:`~smtplib.SMTPException` is now a subclass of :exc:`OSError`, which allows
both socket level errors and SMTP protocol level errors to be caught in one
try/except statement by code that only cares whether or not an error occurred. (Contributed by Ned Jackson Lovely in :issue:`2118`.) | smtplib -------
:exc:`~smtplib.SMTPException` is now a subclass of :exc:`OSError`, which allows
both socket level errors and SMTP protocol level errors to be caught in one
try/except statement by code that only cares whether or not an error occurred. (Contributed by Ned Jackson Lovely in :issue:`2118`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a5673e97-6aaf-4441-8459-d7f2a0419957 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,788 | supabase-export-v2 | ed3fe2e2fb73215c | target `coverage-report <https://devguide.python.org/coverage/#measuring-coverage-of-c-code-with-gcov-and-lcov>`_ will build python, run the test suite, and generate an HTML coverage report for the C codebase using ``gcov`` and `lcov <https://github.com/linux-test-project/lcov>`_.
* The ``-R`` option to the :ref:`pytho... | trusted_official_docs | CPython Docs | target `coverage-report <https://devguide.python.org/coverage/#measuring-coverage-of-c-code-with-gcov-and-lcov>`_ will build python, run the test suite, and generate an HTML coverage report for the C codebase using ``gcov`` and `lcov <https://github.com/linux-test-project/lcov>`_.
* The ``-R`` option to the :ref:`pytho... | target `coverage-report <https://devguide.python.org/coverage/#measuring-coverage-of-c-code-with-gcov-and-lcov>`_ will build python, run the test suite, and generate an HTML coverage report for the C codebase using ``gcov`` and `lcov <https://github.com/linux-test-project/lcov>`_.
* The ``-R`` option to the :ref:`pytho... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a5a0c662-55a5-4521-b693-e0de2bf1f81f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,803 | supabase-export-v2 | d59e07a71d5613ce | as fast or faster than the Python2 version for most cases. :class:`lzma.LZMAFile` has also been optimized. (Contributed by Serhiy Storchaka and Nadeem Vawda in :issue:`16034`.)
* :func:`random.getrandbits` is 20%-40% faster for small integers (the most
common use case). (Contributed by Serhiy Storchaka in :issue:`1667... | trusted_official_docs | CPython Docs | as fast or faster than the Python2 version for most cases. :class:`lzma.LZMAFile` has also been optimized. (Contributed by Serhiy Storchaka and Nadeem Vawda in :issue:`16034`.)
* :func:`random.getrandbits` is 20%-40% faster for small integers (the most
common use case). (Contributed by Serhiy Storchaka in :issue:`1667... | as fast or faster than the Python2 version for most cases. :class:`lzma.LZMAFile` has also been optimized. (Contributed by Serhiy Storchaka and Nadeem Vawda in :issue:`16034`.)
* :func:`random.getrandbits` is 20%-40% faster for small integers (the most
common use case). (Contributed by Serhiy Storchaka in :issue:`1667... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a5c5c87a-f853-4b88-a172-5651e27b98bd | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,409 | supabase-export-v2 | b61026062b213ba4 | CPython implementation improvements:
* :ref:`Safe object finalization <whatsnew-pep-442>` (:pep:`442`). * Leveraging :pep:`442`, in most cases :ref:`module globals are no longer set
to None during finalization <whatsnew-pep-442>` (:issue:`18214`). * :ref:`Configurable memory allocators <whatsnew-pep-445>` (:pep:`445`)... | trusted_official_docs | CPython Docs | CPython implementation improvements:
* :ref:`Safe object finalization <whatsnew-pep-442>` (:pep:`442`). * Leveraging :pep:`442`, in most cases :ref:`module globals are no longer set
to None during finalization <whatsnew-pep-442>` (:issue:`18214`). * :ref:`Configurable memory allocators <whatsnew-pep-445>` (:pep:`445`)... | CPython implementation improvements:
* :ref:`Safe object finalization <whatsnew-pep-442>` (:pep:`442`). * Leveraging :pep:`442`, in most cases :ref:`module globals are no longer set
to None during finalization <whatsnew-pep-442>` (:issue:`18214`). * :ref:`Configurable memory allocators <whatsnew-pep-445>` (:pep:`445`)... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a6721fd7-1108-4563-85c0-6d2cc582201a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,892 | supabase-export-v2 | 2e10cb144f16f007 | * :c:func:`PyErr_SetImportError` now sets :exc:`TypeError` when its **msg** argument is not set. Previously only ``NULL`` was returned with no exception set.
* The result of the :c:data:`PyOS_ReadlineFunctionPointer` callback must
now be a string allocated by :c:func:`PyMem_RawMalloc` or
:c:func:`PyMem_RawRealloc`, o... | trusted_official_docs | CPython Docs | * :c:func:`PyErr_SetImportError` now sets :exc:`TypeError` when its **msg** argument is not set. Previously only ``NULL`` was returned with no exception set.
* The result of the :c:data:`PyOS_ReadlineFunctionPointer` callback must
now be a string allocated by :c:func:`PyMem_RawMalloc` or
:c:func:`PyMem_RawRealloc`, o... | * :c:func:`PyErr_SetImportError` now sets :exc:`TypeError` when its **msg** argument is not set. Previously only ``NULL`` was returned with no exception set.
* The result of the :c:data:`PyOS_ReadlineFunctionPointer` callback must
now be a string allocated by :c:func:`PyMem_RawMalloc` or
:c:func:`PyMem_RawRealloc`, o... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a77ec745-0c72-452d-9c55-93aa55f2466e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,761 | supabase-export-v2 | a540212cfed4991b | to a SipHash implementation on platforms that have a 64 bit data type. Any performance differences in comparison with the older FNV algorithm are trivial.
The PEP adds additional fields to the :data:`sys.hash_info` named tuple to
describe the hash algorithm in use by the currently executing binary. Otherwise,
the PEP d... | trusted_official_docs | CPython Docs | to a SipHash implementation on platforms that have a 64 bit data type. Any performance differences in comparison with the older FNV algorithm are trivial.
The PEP adds additional fields to the :data:`sys.hash_info` named tuple to
describe the hash algorithm in use by the currently executing binary. Otherwise,
the PEP d... | to a SipHash implementation on platforms that have a 64 bit data type. Any performance differences in comparison with the older FNV algorithm are trivial.
The PEP adds additional fields to the :data:`sys.hash_info` named tuple to
describe the hash algorithm in use by the currently executing binary. Otherwise,
the PEP d... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a93c7668-884f-4aa3-ac28-c56d98b6351c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,616 | supabase-export-v2 | 83bbe59cba62bd14 | operator --------
New function :func:`~operator.length_hint` provides an implementation of the
specification for how the :meth:`~object.__length_hint__` special method should
be used, as part of the :pep:`424` formal specification of this language
feature. (Contributed by Armin Ronacher in :issue:`16148`.) | trusted_official_docs | CPython Docs | operator --------
New function :func:`~operator.length_hint` provides an implementation of the
specification for how the :meth:`~object.__length_hint__` special method should
be used, as part of the :pep:`424` formal specification of this language
feature. (Contributed by Armin Ronacher in :issue:`16148`.) | operator --------
New function :func:`~operator.length_hint` provides an implementation of the
specification for how the :meth:`~object.__length_hint__` special method should
be used, as part of the :pep:`424` formal specification of this language
feature. (Contributed by Armin Ronacher in :issue:`16148`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a9c9518f-e3e8-48aa-8cbe-00bb9bcc3e45 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,676 | supabase-export-v2 | 3a3308c0114bdfed | argument *cadata*, which can be used to provide PEM or DER encoded certificates directly via strings or bytes, respectively. (Contributed by Christian Heimes in :issue:`18138`.)
New function :func:`~ssl.get_default_verify_paths` returns
a named tuple of the paths and environment variables that the
:meth:`~ssl.SSLContex... | trusted_official_docs | CPython Docs | argument *cadata*, which can be used to provide PEM or DER encoded certificates directly via strings or bytes, respectively. (Contributed by Christian Heimes in :issue:`18138`.)
New function :func:`~ssl.get_default_verify_paths` returns
a named tuple of the paths and environment variables that the
:meth:`~ssl.SSLContex... | argument *cadata*, which can be used to provide PEM or DER encoded certificates directly via strings or bytes, respectively. (Contributed by Christian Heimes in :issue:`18138`.)
New function :func:`~ssl.get_default_verify_paths` returns
a named tuple of the paths and environment variables that the
:meth:`~ssl.SSLContex... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
aa5d777b-0a75-4584-91c1-23e3f52a62a0 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,536 | supabase-export-v2 | 01331321a1fd57cc | The various display tools in the :mod:`dis` module have been rewritten to use these new components.
In addition, a new application-friendly class :class:`~dis.Bytecode` provides
an object-oriented API for inspecting bytecode in both in human-readable form
and for iterating over instructions. The :class:`~dis.Bytecode` ... | trusted_official_docs | CPython Docs | The various display tools in the :mod:`dis` module have been rewritten to use these new components.
In addition, a new application-friendly class :class:`~dis.Bytecode` provides
an object-oriented API for inspecting bytecode in both in human-readable form
and for iterating over instructions. The :class:`~dis.Bytecode` ... | The various display tools in the :mod:`dis` module have been rewritten to use these new components.
In addition, a new application-friendly class :class:`~dis.Bytecode` provides
an object-oriented API for inspecting bytecode in both in human-readable form
and for iterating over instructions. The :class:`~dis.Bytecode` ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
aa7c640e-082d-4d2d-a16a-4556c60f282f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,894 | supabase-export-v2 | c447f0f0d238cf4a | now always set the value. In Python 3.3, the function did nothing if the key already exists (if the current value is a non-``NULL`` pointer).
* The ``f_tstate`` (thread state) field of the :c:type:`PyFrameObject`
structure has been removed to fix a bug: see :issue:`14432` for the
rationale. | trusted_official_docs | CPython Docs | now always set the value. In Python 3.3, the function did nothing if the key already exists (if the current value is a non-``NULL`` pointer).
* The ``f_tstate`` (thread state) field of the :c:type:`PyFrameObject`
structure has been removed to fix a bug: see :issue:`14432` for the
rationale. | now always set the value. In Python 3.3, the function did nothing if the key already exists (if the current value is a non-``NULL`` pointer).
* The ``f_tstate`` (thread state) field of the :c:type:`PyFrameObject`
structure has been removed to fix a bug: see :issue:`14432` for the
rationale. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
acf8db0f-a4d3-48ae-b007-a5141c78084d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,447 | supabase-export-v2 | a80ad8c40e2cc345 | The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
binascii.Error: decoding with 'hex' codec failed (Error: Non-hexadecimal digit found) | trusted_official_docs | CPython Docs | The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
binascii.Error: decoding with 'hex' codec failed (Error: Non-hexadecimal digit found) | The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
binascii.Error: decoding with 'hex' codec failed (Error: Non-hexadecimal digit found) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ad91d65b-9a10-477f-aacb-3aefe5602e22 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,646 | supabase-export-v2 | bcfa2fbb7adc2bd0 | re --
New :func:`~re.fullmatch` function and :meth:`.Pattern.fullmatch` method anchor
the pattern at both ends of the string to match. This provides a way to be
explicit about the goal of the match, which avoids a class of subtle bugs where
``$`` characters get lost during code changes or the addition of alternatives
t... | trusted_official_docs | CPython Docs | re --
New :func:`~re.fullmatch` function and :meth:`.Pattern.fullmatch` method anchor
the pattern at both ends of the string to match. This provides a way to be
explicit about the goal of the match, which avoids a class of subtle bugs where
``$`` characters get lost during code changes or the addition of alternatives
t... | re --
New :func:`~re.fullmatch` function and :meth:`.Pattern.fullmatch` method anchor
the pattern at both ends of the string to match. This provides a way to be
explicit about the goal of the match, which avoids a class of subtle bugs where
``$`` characters get lost during code changes or the addition of alternatives
t... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
af3cf956-665f-4d2b-a604-eddfee1cbd59 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,429 | supabase-export-v2 | 5c49e6f48e01adb0 | PEP 446: Newly Created File Descriptors Are Non-Inheritable -----------------------------------------------------------
:pep:`446` makes newly created file descriptors :ref:`non-inheritable
<fd_inheritance>`. In general, this is the behavior an application will
want: when launching a new process, having currently open ... | trusted_official_docs | CPython Docs | PEP 446: Newly Created File Descriptors Are Non-Inheritable -----------------------------------------------------------
:pep:`446` makes newly created file descriptors :ref:`non-inheritable
<fd_inheritance>`. In general, this is the behavior an application will
want: when launching a new process, having currently open ... | PEP 446: Newly Created File Descriptors Are Non-Inheritable -----------------------------------------------------------
:pep:`446` makes newly created file descriptors :ref:`non-inheritable
<fd_inheritance>`. In general, this is the behavior an application will
want: when launching a new process, having currently open ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
af636df8-fd25-4f0e-83f4-e7051f2fe95a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,882 | supabase-export-v2 | 08932e8e1aa91cd3 | changed to default to ``True``. It is recommended that you add this keyword, with the appropriate value, to any :class:`~html.parser.HTMLParser` calls in your code (:issue:`13633`).
* Since the *digestmod* argument to the :func:`hmac.new` function will in the
future have no default, all calls to :func:`hmac.new` shoul... | trusted_official_docs | CPython Docs | changed to default to ``True``. It is recommended that you add this keyword, with the appropriate value, to any :class:`~html.parser.HTMLParser` calls in your code (:issue:`13633`).
* Since the *digestmod* argument to the :func:`hmac.new` function will in the
future have no default, all calls to :func:`hmac.new` shoul... | changed to default to ``True``. It is recommended that you add this keyword, with the appropriate value, to any :class:`~html.parser.HTMLParser` calls in your code (:issue:`13633`).
* Since the *digestmod* argument to the :func:`hmac.new` function will in the
future have no default, all calls to :func:`hmac.new` shoul... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b042a10a-4f81-4642-a2ab-7a1c23b7d09d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,490 | supabase-export-v2 | 98f6013a1c743440 | are divided between *pure paths*, which provide purely computational operations without I/O, and *concrete paths*, which inherit from pure paths but also provide I/O operations.
For Python 3.4, this module is considered a :term:`provisional API`. | trusted_official_docs | CPython Docs | are divided between *pure paths*, which provide purely computational operations without I/O, and *concrete paths*, which inherit from pure paths but also provide I/O operations.
For Python 3.4, this module is considered a :term:`provisional API`. | are divided between *pure paths*, which provide purely computational operations without I/O, and *concrete paths*, which inherit from pure paths but also provide I/O operations.
For Python 3.4, this module is considered a :term:`provisional API`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b064175e-6ce6-4ca0-b2f6-bb83d5e30968 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,739 | supabase-export-v2 | 523b4493fa975745 | invoked when an object is garbage collected, without needing to carefully manage the lifecycle of the weak reference itself. (Contributed by Richard Oudkerk in :issue:`15528`.)
The callback, if any, associated with a :class:`~weakref.ref` is now
exposed via the :attr:`~weakref.ref.__callback__` attribute. (Contributed
... | trusted_official_docs | CPython Docs | invoked when an object is garbage collected, without needing to carefully manage the lifecycle of the weak reference itself. (Contributed by Richard Oudkerk in :issue:`15528`.)
The callback, if any, associated with a :class:`~weakref.ref` is now
exposed via the :attr:`~weakref.ref.__callback__` attribute. (Contributed
... | invoked when an object is garbage collected, without needing to carefully manage the lifecycle of the weak reference itself. (Contributed by Richard Oudkerk in :issue:`15528`.)
The callback, if any, associated with a :class:`~weakref.ref` is now
exposed via the :attr:`~weakref.ref.__callback__` attribute. (Contributed
... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b0a98ca2-8e2c-4ae4-b931-17daf3e1f8b6 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,593 | supabase-export-v2 | 376570a6980f8d1c | line interface <inspect-module-cli>` to quickly display source code and other information for modules, classes and functions. (Contributed by Claudiu Popa and Nick Coghlan in :issue:`18626`.)
:func:`~inspect.unwrap` makes it easy to unravel wrapper function chains
created by :func:`functools.wraps` (and any other API t... | trusted_official_docs | CPython Docs | line interface <inspect-module-cli>` to quickly display source code and other information for modules, classes and functions. (Contributed by Claudiu Popa and Nick Coghlan in :issue:`18626`.)
:func:`~inspect.unwrap` makes it easy to unravel wrapper function chains
created by :func:`functools.wraps` (and any other API t... | line interface <inspect-module-cli>` to quickly display source code and other information for modules, classes and functions. (Contributed by Claudiu Popa and Nick Coghlan in :issue:`18626`.)
:func:`~inspect.unwrap` makes it easy to unravel wrapper function chains
created by :func:`functools.wraps` (and any other API t... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b1192299-09b8-434e-960b-c0aee017c475 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,392 | supabase-export-v2 | 461f7003a1c36657 | * Cross referencing tip: :ref:`mod.attr` will display as ``mod.attr``, while :ref:`~mod.attr` will display as ``attr``.
This article explains the new features in Python 3.4, compared to 3.3. Python 3.4 was released on March 16, 2014. For full details, see the
`changelog <https://docs.python.org/3.4/whatsnew/changelog.h... | trusted_official_docs | CPython Docs | * Cross referencing tip: :ref:`mod.attr` will display as ``mod.attr``, while :ref:`~mod.attr` will display as ``attr``.
This article explains the new features in Python 3.4, compared to 3.3. Python 3.4 was released on March 16, 2014. For full details, see the
`changelog <https://docs.python.org/3.4/whatsnew/changelog.h... | * Cross referencing tip: :ref:`mod.attr` will display as ``mod.attr``, while :ref:`~mod.attr` will display as ``attr``.
This article explains the new features in Python 3.4, compared to 3.3. Python 3.4 was released on March 16, 2014. For full details, see the
`changelog <https://docs.python.org/3.4/whatsnew/changelog.h... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b1564f66-c894-4b52-8a1f-9a1eaed637e2 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,632 | supabase-export-v2 | 0fd6918b58ca1869 | plistlib --------
:mod:`plistlib` now has an API that is similar to the standard pattern for
stdlib serialization protocols, with new :func:`~plistlib.load`,
:func:`~plistlib.dump`, :func:`~plistlib.loads`, and :func:`~plistlib.dumps`
functions. (The older API is now deprecated.) In addition to the already
supported XM... | trusted_official_docs | CPython Docs | plistlib --------
:mod:`plistlib` now has an API that is similar to the standard pattern for
stdlib serialization protocols, with new :func:`~plistlib.load`,
:func:`~plistlib.dump`, :func:`~plistlib.loads`, and :func:`~plistlib.dumps`
functions. (The older API is now deprecated.) In addition to the already
supported XM... | plistlib --------
:mod:`plistlib` now has an API that is similar to the standard pattern for
stdlib serialization protocols, with new :func:`~plistlib.load`,
:func:`~plistlib.dump`, :func:`~plistlib.loads`, and :func:`~plistlib.dumps`
functions. (The older API is now deprecated.) In addition to the already
supported XM... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b18503d4-7745-4919-a86c-f0a8f81d55cc | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,725 | supabase-export-v2 | cebbc8b7591dc360 | object returned by the context manager can be queried for the :class:`~logging.LogRecord`\ s and/or formatted messages that were logged. (Contributed by Antoine Pitrou in :issue:`18937`.)
Test discovery now works with namespace packages (Contributed by Claudiu Popa
in :issue:`17457`.) | trusted_official_docs | CPython Docs | object returned by the context manager can be queried for the :class:`~logging.LogRecord`\ s and/or formatted messages that were logged. (Contributed by Antoine Pitrou in :issue:`18937`.)
Test discovery now works with namespace packages (Contributed by Claudiu Popa
in :issue:`17457`.) | object returned by the context manager can be queried for the :class:`~logging.LogRecord`\ s and/or formatted messages that were logged. (Contributed by Antoine Pitrou in :issue:`18937`.)
Test discovery now works with namespace packages (Contributed by Claudiu Popa
in :issue:`17457`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b1d903af-6a54-4fe2-af71-044a62bfb54f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,678 | supabase-export-v2 | 414065e67081e670 | revocation lists (``crl``\ s), as well as a :meth:`~ssl.SSLContext.get_ca_certs` method that returns a list of the loaded ``CA`` certificates. (Contributed by Christian Heimes in :issue:`18147`.)
If OpenSSL 0.9.8 or later is available, :class:`~ssl.SSLContext` has a new
attribute :attr:`~ssl.SSLContext.verify_flags` th... | trusted_official_docs | CPython Docs | revocation lists (``crl``\ s), as well as a :meth:`~ssl.SSLContext.get_ca_certs` method that returns a list of the loaded ``CA`` certificates. (Contributed by Christian Heimes in :issue:`18147`.)
If OpenSSL 0.9.8 or later is available, :class:`~ssl.SSLContext` has a new
attribute :attr:`~ssl.SSLContext.verify_flags` th... | revocation lists (``crl``\ s), as well as a :meth:`~ssl.SSLContext.get_ca_certs` method that returns a list of the loaded ``CA`` certificates. (Contributed by Christian Heimes in :issue:`18147`.)
If OpenSSL 0.9.8 or later is available, :class:`~ssl.SSLContext` has a new
attribute :attr:`~ssl.SSLContext.verify_flags` th... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b1ff059e-3ca4-4fed-8eb3-cf4cbd70f15a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,555 | supabase-export-v2 | fb4de7b83d1a784f | functools ---------
The new :func:`~functools.partialmethod` descriptor brings partial argument
application to descriptors, just as :func:`~functools.partial` provides
for normal callables. The new descriptor also makes it easier to get
arbitrary callables (including :func:`~functools.partial` instances)
to behave like... | trusted_official_docs | CPython Docs | functools ---------
The new :func:`~functools.partialmethod` descriptor brings partial argument
application to descriptors, just as :func:`~functools.partial` provides
for normal callables. The new descriptor also makes it easier to get
arbitrary callables (including :func:`~functools.partial` instances)
to behave like... | functools ---------
The new :func:`~functools.partialmethod` descriptor brings partial argument
application to descriptors, just as :func:`~functools.partial` provides
for normal callables. The new descriptor also makes it easier to get
arbitrary callables (including :func:`~functools.partial` instances)
to behave like... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
b267fdf1-f140-42a4-8387-fa4fef3f6a47 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.4.rst | unknown | 3999080c-bd6c-4248-a716-476c0a78c442 | 62,708 | supabase-export-v2 | 9d1985cea1b0fa5d | traceback ---------
A new :func:`traceback.clear_frames` function takes a traceback object
and clears the local variables in all of the frames it references,
reducing the amount of memory consumed. (Contributed by Andrew Kuchling in
:issue:`1565525`.) | trusted_official_docs | CPython Docs | traceback ---------
A new :func:`traceback.clear_frames` function takes a traceback object
and clears the local variables in all of the frames it references,
reducing the amount of memory consumed. (Contributed by Andrew Kuchling in
:issue:`1565525`.) | traceback ---------
A new :func:`traceback.clear_frames` function takes a traceback object
and clears the local variables in all of the frames it references,
reducing the amount of memory consumed. (Contributed by Andrew Kuchling in
:issue:`1565525`.) | 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.