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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c47fb9b8-2e13-4b64-87e9-01dfd89dc4af | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,524 | supabase-export-v2 | 929fa0c395d88cb2 | * :func:`~email.utils.parsedate_to_datetime`: given a date string from an email header, convert it into an aware :class:`~datetime.datetime`, or a naive :class:`~datetime.datetime` if the offset is ``-0000``.
* :func:`~email.utils.localtime`: With no argument, returns the
current local time as an aware :class:`~dateti... | trusted_official_docs | CPython Docs | * :func:`~email.utils.parsedate_to_datetime`: given a date string from an email header, convert it into an aware :class:`~datetime.datetime`, or a naive :class:`~datetime.datetime` if the offset is ``-0000``.
* :func:`~email.utils.localtime`: With no argument, returns the
current local time as an aware :class:`~dateti... | * :func:`~email.utils.parsedate_to_datetime`: given a date string from an email header, convert it into an aware :class:`~datetime.datetime`, or a naive :class:`~datetime.datetime` if the offset is ``-0000``.
* :func:`~email.utils.localtime`: With no argument, returns the
current local time as an aware :class:`~dateti... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c4967c6b-9a3c-40ab-9f27-b430219c8f3b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,509 | supabase-export-v2 | af7666a5e63a5997 | header_factory A callable that take a ``name`` and ``value`` and produces a custom header object. =============== =======================================================
The ``header_factory`` is the key to the new features provided by the new
policies. When one of the new policies is used, any header retrieved from
a ... | trusted_official_docs | CPython Docs | header_factory A callable that take a ``name`` and ``value`` and produces a custom header object. =============== =======================================================
The ``header_factory`` is the key to the new features provided by the new
policies. When one of the new policies is used, any header retrieved from
a ... | header_factory A callable that take a ``name`` and ``value`` and produces a custom header object. =============== =======================================================
The ``header_factory`` is the key to the new features provided by the new
policies. When one of the new policies is used, any header retrieved from
a ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c4a9e4b7-601e-445c-8393-62b3ae236e47 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,700 | supabase-export-v2 | 907fdb3edfc22580 | webbrowser ----------
The :mod:`webbrowser` module supports more "browsers": Google Chrome (named
:program:`chrome`, :program:`chromium`, :program:`chrome-browser` or
:program:`chromium-browser` depending on the version and operating system),
and the generic launchers :program:`xdg-open`, from the FreeDesktop.org
proje... | trusted_official_docs | CPython Docs | webbrowser ----------
The :mod:`webbrowser` module supports more "browsers": Google Chrome (named
:program:`chrome`, :program:`chromium`, :program:`chrome-browser` or
:program:`chromium-browser` depending on the version and operating system),
and the generic launchers :program:`xdg-open`, from the FreeDesktop.org
proje... | webbrowser ----------
The :mod:`webbrowser` module supports more "browsers": Google Chrome (named
:program:`chrome`, :program:`chromium`, :program:`chrome-browser` or
:program:`chromium-browser` depending on the version and operating system),
and the generic launchers :program:`xdg-open`, from the FreeDesktop.org
proje... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c6fb35ea-ae38-47b9-87fc-801f86571fa3 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,489 | supabase-export-v2 | 5a9ba577507e5b69 | with. If a new signal dictionary is assigned, :attr:`~decimal.Context.flags` and :attr:`~decimal.Context.traps` are updated with the new values, but they do not reference the RHS dictionary.
* Pickling a :class:`~decimal.Context` produces a different output in order
to have a common interchange format for the Python a... | trusted_official_docs | CPython Docs | with. If a new signal dictionary is assigned, :attr:`~decimal.Context.flags` and :attr:`~decimal.Context.traps` are updated with the new values, but they do not reference the RHS dictionary.
* Pickling a :class:`~decimal.Context` produces a different output in order
to have a common interchange format for the Python a... | with. If a new signal dictionary is assigned, :attr:`~decimal.Context.flags` and :attr:`~decimal.Context.traps` are updated with the new values, but they do not reference the RHS dictionary.
* Pickling a :class:`~decimal.Context` produces a different output in order
to have a common interchange format for the Python a... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c77f7339-e55b-43f5-b781-fa4f6bc09e69 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,283 | supabase-export-v2 | 425c73bcf0f3f772 | * surrogate pairs are not recombined in string literals, so ``'\uDBFF\uDFFF' != '\U0010FFFF'``;
* indexing or slicing non-BMP characters returns the expected value,
so ``'\U0010FFFF'[0]`` now returns ``'\U0010FFFF'`` and not ``'\uDBFF'``; | trusted_official_docs | CPython Docs | * surrogate pairs are not recombined in string literals, so ``'\uDBFF\uDFFF' != '\U0010FFFF'``;
* indexing or slicing non-BMP characters returns the expected value,
so ``'\U0010FFFF'[0]`` now returns ``'\U0010FFFF'`` and not ``'\uDBFF'``; | * surrogate pairs are not recombined in string literals, so ``'\uDBFF\uDFFF' != '\U0010FFFF'``;
* indexing or slicing non-BMP characters returns the expected value,
so ``'\U0010FFFF'[0]`` now returns ``'\U0010FFFF'`` and not ``'\uDBFF'``; | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c78e8b3d-ac58-430a-a4c8-e7161b7c6238 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,247 | supabase-export-v2 | 41f31445e43983af | PEP 420: Implicit Namespace Packages ====================================
Native support for package directories that don't require ``__init__.py``
marker files and can automatically span multiple path segments (inspired by
various third party approaches to namespace packages, as described in
:pep:`420`) | trusted_official_docs | CPython Docs | PEP 420: Implicit Namespace Packages ====================================
Native support for package directories that don't require ``__init__.py``
marker files and can automatically span multiple path segments (inspired by
various third party approaches to namespace packages, as described in
:pep:`420`) | PEP 420: Implicit Namespace Packages ====================================
Native support for package directories that don't require ``__init__.py``
marker files and can automatically span multiple path segments (inspired by
various third party approaches to namespace packages, as described in
:pep:`420`) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ca050722-237c-4f3e-9562-1e70b2e716b1 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,523 | supabase-export-v2 | 03c03b92610efffa | * :func:`~email.utils.format_datetime`: given a :class:`~datetime.datetime`, produce a string formatted for use in an email header.
* :func:`~email.utils.parsedate_to_datetime`: given a date string from
an email header, convert it into an aware :class:`~datetime.datetime`,
or a naive :class:`~datetime.datetime` if th... | trusted_official_docs | CPython Docs | * :func:`~email.utils.format_datetime`: given a :class:`~datetime.datetime`, produce a string formatted for use in an email header.
* :func:`~email.utils.parsedate_to_datetime`: given a date string from
an email header, convert it into an aware :class:`~datetime.datetime`,
or a naive :class:`~datetime.datetime` if th... | * :func:`~email.utils.format_datetime`: given a :class:`~datetime.datetime`, produce a string formatted for use in an email header.
* :func:`~email.utils.parsedate_to_datetime`: given a date string from
an email header, convert it into an aware :class:`~datetime.datetime`,
or a naive :class:`~datetime.datetime` if th... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cac5131c-692a-4fb2-a6a0-e2f6dfa9119f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,310 | supabase-export-v2 | c84ca86191186c92 | ``errno`` attribute (or ``args[0]``) for a particular constant from the :mod:`errno` module, you can catch the adequate :exc:`OSError` subclass. The available subclasses are the following:
* :exc:`BlockingIOError`
* :exc:`ChildProcessError`
* :exc:`ConnectionError`
* :exc:`FileExistsError`
* :exc:`FileNotFoundError`
* ... | trusted_official_docs | CPython Docs | ``errno`` attribute (or ``args[0]``) for a particular constant from the :mod:`errno` module, you can catch the adequate :exc:`OSError` subclass. The available subclasses are the following:
* :exc:`BlockingIOError`
* :exc:`ChildProcessError`
* :exc:`ConnectionError`
* :exc:`FileExistsError`
* :exc:`FileNotFoundError`
* ... | ``errno`` attribute (or ``args[0]``) for a particular constant from the :mod:`errno` module, you can catch the adequate :exc:`OSError` subclass. The available subclasses are the following:
* :exc:`BlockingIOError`
* :exc:`ChildProcessError`
* :exc:`ConnectionError`
* :exc:`FileExistsError`
* :exc:`FileNotFoundError`
* ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cb0cd077-3939-405e-97bf-5fd3f13096e8 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,572 | supabase-export-v2 | 651c34f4cca45235 | The :class:`!nntplib.NNTP` class now supports the context management protocol to unconditionally consume :exc:`socket.error` exceptions and to close the NNTP connection when done::
>>> from nntplib import NNTP
>>> with NNTP('news.gmane.org') as n:
... n.group('gmane.comp.python.committers')
... ('211 1755 1 1755 gma... | trusted_official_docs | CPython Docs | The :class:`!nntplib.NNTP` class now supports the context management protocol to unconditionally consume :exc:`socket.error` exceptions and to close the NNTP connection when done::
>>> from nntplib import NNTP
>>> with NNTP('news.gmane.org') as n:
... n.group('gmane.comp.python.committers')
... ('211 1755 1 1755 gma... | The :class:`!nntplib.NNTP` class now supports the context management protocol to unconditionally consume :exc:`socket.error` exceptions and to close the NNTP connection when done::
>>> from nntplib import NNTP
>>> with NNTP('news.gmane.org') as n:
... n.group('gmane.comp.python.committers')
... ('211 1755 1 1755 gma... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cb229df1-5219-4b70-9de3-fc29a64f3bd2 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,253 | supabase-export-v2 | f31b8e33300943e5 | The implementation of :pep:`3118` has been significantly improved.
The new memoryview implementation comprehensively fixes all ownership and
lifetime issues of dynamically allocated fields in the Py_buffer struct
that led to multiple crash reports. Additionally, several functions that
crashed or returned incorrect resu... | trusted_official_docs | CPython Docs | The implementation of :pep:`3118` has been significantly improved.
The new memoryview implementation comprehensively fixes all ownership and
lifetime issues of dynamically allocated fields in the Py_buffer struct
that led to multiple crash reports. Additionally, several functions that
crashed or returned incorrect resu... | The implementation of :pep:`3118` has been significantly improved.
The new memoryview implementation comprehensively fixes all ownership and
lifetime issues of dynamically allocated fields in the Py_buffer struct
that led to multiple crash reports. Additionally, several functions that
crashed or returned incorrect resu... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cb4306d4-25a8-4ef6-95ff-b02bf959f7d8 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,568 | supabase-export-v2 | 7797a72355e28812 | :class:`multiprocessing.Process` now accepts a ``daemon`` keyword argument to override the default behavior of inheriting the ``daemon`` flag from the parent process (:issue:`6064`).
New attribute :data:`multiprocessing.Process.sentinel` allows a
program to wait on multiple :class:`~multiprocessing.Process` objects at ... | trusted_official_docs | CPython Docs | :class:`multiprocessing.Process` now accepts a ``daemon`` keyword argument to override the default behavior of inheriting the ``daemon`` flag from the parent process (:issue:`6064`).
New attribute :data:`multiprocessing.Process.sentinel` allows a
program to wait on multiple :class:`~multiprocessing.Process` objects at ... | :class:`multiprocessing.Process` now accepts a ``daemon`` keyword argument to override the default behavior of inheriting the ``daemon`` flag from the parent process (:issue:`6064`).
New attribute :data:`multiprocessing.Process.sentinel` allows a
program to wait on multiple :class:`~multiprocessing.Process` objects at ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cbc3171f-29ee-4d62-904c-2ca2ba2ef2b9 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,686 | supabase-export-v2 | fcfeecc51be84484 | The :pep:`418` added new functions to the :mod:`time` module:
* :func:`~time.get_clock_info`: Get information on a clock. * :func:`~time.monotonic`: Monotonic clock (cannot go backward), not affected
by system clock updates. * :func:`~time.perf_counter`: Performance counter with the highest available
resolution to me... | trusted_official_docs | CPython Docs | The :pep:`418` added new functions to the :mod:`time` module:
* :func:`~time.get_clock_info`: Get information on a clock. * :func:`~time.monotonic`: Monotonic clock (cannot go backward), not affected
by system clock updates. * :func:`~time.perf_counter`: Performance counter with the highest available
resolution to me... | The :pep:`418` added new functions to the :mod:`time` module:
* :func:`~time.get_clock_info`: Get information on a clock. * :func:`~time.monotonic`: Monotonic clock (cannot go backward), not affected
by system clock updates. * :func:`~time.perf_counter`: Performance counter with the highest available
resolution to me... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cce327ec-87c4-4b6b-905f-90b30f97b732 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,465 | supabase-export-v2 | dd198b58dbd59c97 | contextlib ----------
:class:`~contextlib.ExitStack` now provides a solid foundation for
programmatic manipulation of context managers and similar cleanup
functionality. Unlike the previous ``contextlib.nested`` API (which was
deprecated and removed), the new API is designed to work correctly
regardless of whether cont... | trusted_official_docs | CPython Docs | contextlib ----------
:class:`~contextlib.ExitStack` now provides a solid foundation for
programmatic manipulation of context managers and similar cleanup
functionality. Unlike the previous ``contextlib.nested`` API (which was
deprecated and removed), the new API is designed to work correctly
regardless of whether cont... | contextlib ----------
:class:`~contextlib.ExitStack` now provides a solid foundation for
programmatic manipulation of context managers and similar cleanup
functionality. Unlike the previous ``contextlib.nested`` API (which was
deprecated and removed), the new API is designed to work correctly
regardless of whether cont... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ce140668-a356-4911-b670-163a3d9fe578 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,734 | supabase-export-v2 | 8d2821befe942e2c | Deprecated functions and types of the C API -------------------------------------------
The :c:type:`Py_UNICODE` has been deprecated by :pep:`393` and will be
removed in Python 4. All functions using this type are deprecated: | trusted_official_docs | CPython Docs | Deprecated functions and types of the C API -------------------------------------------
The :c:type:`Py_UNICODE` has been deprecated by :pep:`393` and will be
removed in Python 4. All functions using this type are deprecated: | Deprecated functions and types of the C API -------------------------------------------
The :c:type:`Py_UNICODE` has been deprecated by :pep:`393` and will be
removed in Python 4. All functions using this type are deprecated: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ce617ba5-914e-489a-b4a9-e50ef64b2bfa | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,737 | supabase-export-v2 | 71e3192385de7717 | :c:macro:`!PyUnicode_GET_SIZE`, :c:func:`!PyUnicode_GetSize`: use :c:macro:`PyUnicode_GET_LENGTH` or :c:func:`PyUnicode_GetLength` * :c:macro:`!PyUnicode_GET_DATA_SIZE`: use ``PyUnicode_GET_LENGTH(str) * PyUnicode_KIND(str)`` (only work on ready strings) * :c:func:`!PyUnicode_AsUnicodeCopy`: use :c:func:`PyUnicode_AsUC... | trusted_official_docs | CPython Docs | :c:macro:`!PyUnicode_GET_SIZE`, :c:func:`!PyUnicode_GetSize`: use :c:macro:`PyUnicode_GET_LENGTH` or :c:func:`PyUnicode_GetLength` * :c:macro:`!PyUnicode_GET_DATA_SIZE`: use ``PyUnicode_GET_LENGTH(str) * PyUnicode_KIND(str)`` (only work on ready strings) * :c:func:`!PyUnicode_AsUnicodeCopy`: use :c:func:`PyUnicode_AsUC... | :c:macro:`!PyUnicode_GET_SIZE`, :c:func:`!PyUnicode_GetSize`: use :c:macro:`PyUnicode_GET_LENGTH` or :c:func:`PyUnicode_GetLength` * :c:macro:`!PyUnicode_GET_DATA_SIZE`: use ``PyUnicode_GET_LENGTH(str) * PyUnicode_KIND(str)`` (only work on ready strings) * :c:func:`!PyUnicode_AsUnicodeCopy`: use :c:func:`PyUnicode_AsUC... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ce7fa02d-5b27-4a25-ba24-72d2e93a1f4f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,428 | supabase-export-v2 | 7c66c46d39a4b7c5 | The newly added :mod:`lzma` module provides data compression and decompression using the LZMA algorithm, including support for the ``.xz`` and ``.lzma`` file formats.
(Contributed by Nadeem Vawda and Per Øyvind Karlsen in :issue:`6715`.) | trusted_official_docs | CPython Docs | The newly added :mod:`lzma` module provides data compression and decompression using the LZMA algorithm, including support for the ``.xz`` and ``.lzma`` file formats.
(Contributed by Nadeem Vawda and Per Øyvind Karlsen in :issue:`6715`.) | The newly added :mod:`lzma` module provides data compression and decompression using the LZMA algorithm, including support for the ``.xz`` and ``.lzma`` file formats.
(Contributed by Nadeem Vawda and Per Øyvind Karlsen in :issue:`6715`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cf25e6c7-cba9-4c91-8459-35f8c4646e0a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,594 | supabase-export-v2 | 24f6ae236bf0ab89 | * Additional new posix functions:
* :func:`~os.lockf`: Apply, test or remove a POSIX lock on an open file descriptor. * :func:`~os.pread`: Read from a file descriptor at an offset, the file
offset remains unchanged. * :func:`~os.pwrite`: Write to a file descriptor from an offset, leaving
the file offset unchanged. * ... | trusted_official_docs | CPython Docs | * Additional new posix functions:
* :func:`~os.lockf`: Apply, test or remove a POSIX lock on an open file descriptor. * :func:`~os.pread`: Read from a file descriptor at an offset, the file
offset remains unchanged. * :func:`~os.pwrite`: Write to a file descriptor from an offset, leaving
the file offset unchanged. * ... | * Additional new posix functions:
* :func:`~os.lockf`: Apply, test or remove a POSIX lock on an open file descriptor. * :func:`~os.pread`: Read from a file descriptor at an offset, the file
offset remains unchanged. * :func:`~os.pwrite`: Write to a file descriptor from an offset, leaving
the file offset unchanged. * ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cf6f940a-0e00-46a2-babe-4e8b1d432df2 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,512 | supabase-export-v2 | 2e54edf92249043a | that when the header is accessed directly, you get the unicode version. This eliminates any need to deal with the :mod:`email.header` :meth:`~email.header.decode_header` or :meth:`~email.header.make_header` functions.
You can also create addresses from parts:: | trusted_official_docs | CPython Docs | that when the header is accessed directly, you get the unicode version. This eliminates any need to deal with the :mod:`email.header` :meth:`~email.header.decode_header` or :meth:`~email.header.make_header` functions.
You can also create addresses from parts:: | that when the header is accessed directly, you get the unicode version. This eliminates any need to deal with the :mod:`email.header` :meth:`~email.header.decode_header` or :meth:`~email.header.make_header` functions.
You can also create addresses from parts:: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d00074bb-336a-482b-8de1-b7bfe4644f17 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,752 | supabase-export-v2 | 8f41ce09b2eefa8c | that check ImportErrors' message will need to be updated to use the full name of the module instead of just the tail of the name.
* The *index* argument to :func:`__import__` now defaults to 0 instead of -1
and no longer support negative values. It was an oversight when :pep:`328` was
implemented that the default val... | trusted_official_docs | CPython Docs | that check ImportErrors' message will need to be updated to use the full name of the module instead of just the tail of the name.
* The *index* argument to :func:`__import__` now defaults to 0 instead of -1
and no longer support negative values. It was an oversight when :pep:`328` was
implemented that the default val... | that check ImportErrors' message will need to be updated to use the full name of the module instead of just the tail of the name.
* The *index* argument to :func:`__import__` now defaults to 0 instead of -1
and no longer support negative values. It was an oversight when :pep:`328` was
implemented that the default val... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d01d1437-1745-4846-9914-bf3b268a55c9 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,486 | supabase-export-v2 | 5087c669be28e9dd | * In the context templates (:const:`~decimal.DefaultContext`, :const:`~decimal.BasicContext` and :const:`~decimal.ExtendedContext`) the magnitude of :attr:`~decimal.Context.Emax` and :attr:`~decimal.Context.Emin` has changed to ``999999``.
* The :class:`~decimal.Decimal` constructor in decimal.py does not observe
the ... | trusted_official_docs | CPython Docs | * In the context templates (:const:`~decimal.DefaultContext`, :const:`~decimal.BasicContext` and :const:`~decimal.ExtendedContext`) the magnitude of :attr:`~decimal.Context.Emax` and :attr:`~decimal.Context.Emin` has changed to ``999999``.
* The :class:`~decimal.Decimal` constructor in decimal.py does not observe
the ... | * In the context templates (:const:`~decimal.DefaultContext`, :const:`~decimal.BasicContext` and :const:`~decimal.ExtendedContext`) the magnitude of :attr:`~decimal.Context.Emax` and :attr:`~decimal.Context.Emin` has changed to ``999999``.
* The :class:`~decimal.Decimal` constructor in decimal.py does not observe
the ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d053bfb8-1df3-4986-91b0-fc837f8df243 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,505 | supabase-export-v2 | 694b01fe726db541 | a :term:`provisional policy <provisional package>`. Backwards incompatible changes (up to and including removal of the code) may occur if deemed necessary by the core developers.
The new policies are instances of :class:`~email.policy.EmailPolicy`,
and add the following additional controls: | trusted_official_docs | CPython Docs | a :term:`provisional policy <provisional package>`. Backwards incompatible changes (up to and including removal of the code) may occur if deemed necessary by the core developers.
The new policies are instances of :class:`~email.policy.EmailPolicy`,
and add the following additional controls: | a :term:`provisional policy <provisional package>`. Backwards incompatible changes (up to and including removal of the code) may occur if deemed necessary by the core developers.
The new policies are instances of :class:`~email.policy.EmailPolicy`,
and add the following additional controls: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d0962e20-9c89-47b4-873a-e1949e8ae1dc | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,361 | supabase-export-v2 | 1fb66f61c9ff13a0 | PEP 412: Key-Sharing Dictionary ===============================
Dictionaries used for the storage of objects' attributes are now able to
share part of their internal storage between each other (namely, the part
which stores the keys and their respective hashes). This reduces the memory
consumption of programs creating ... | trusted_official_docs | CPython Docs | PEP 412: Key-Sharing Dictionary ===============================
Dictionaries used for the storage of objects' attributes are now able to
share part of their internal storage between each other (namely, the part
which stores the keys and their respective hashes). This reduces the memory
consumption of programs creating ... | PEP 412: Key-Sharing Dictionary ===============================
Dictionaries used for the storage of objects' attributes are now able to
share part of their internal storage between each other (namely, the part
which stores the keys and their respective hashes). This reduces the memory
consumption of programs creating ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d19e4ac5-7b14-439f-8f3f-061721e37477 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,636 | supabase-export-v2 | 50be744f66157bf1 | specify the ``(host, port)`` to use as the source address in the bind call when creating the outgoing socket. (Contributed by Paulo Scardine in :issue:`11281`.)
:class:`~smtplib.SMTP` now supports the context management protocol, allowing an
``SMTP`` instance to be used in a ``with`` statement. (Contributed
by Giampaol... | trusted_official_docs | CPython Docs | specify the ``(host, port)`` to use as the source address in the bind call when creating the outgoing socket. (Contributed by Paulo Scardine in :issue:`11281`.)
:class:`~smtplib.SMTP` now supports the context management protocol, allowing an
``SMTP`` instance to be used in a ``with`` statement. (Contributed
by Giampaol... | specify the ``(host, port)`` to use as the source address in the bind call when creating the outgoing socket. (Contributed by Paulo Scardine in :issue:`11281`.)
:class:`~smtplib.SMTP` now supports the context management protocol, allowing an
``SMTP`` instance to be used in a ``with`` statement. (Contributed
by Giampaol... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d1eea856-29e8-47dd-b9d1-b5682fe7c294 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,455 | supabase-export-v2 | 04e8fd8e9135eb77 | Incremental CJK codec encoders are no longer reset at each call to their encode() methods. For example::
>>> import codecs
>>> encoder = codecs.getincrementalencoder('hz')('strict')
>>> b''.join(encoder.encode(x) for x in '\u52ff\u65bd\u65bc\u4eba\u3002 Bye.')
b'~{NpJ)l6HK!#~} Bye.' | trusted_official_docs | CPython Docs | Incremental CJK codec encoders are no longer reset at each call to their encode() methods. For example::
>>> import codecs
>>> encoder = codecs.getincrementalencoder('hz')('strict')
>>> b''.join(encoder.encode(x) for x in '\u52ff\u65bd\u65bc\u4eba\u3002 Bye.')
b'~{NpJ)l6HK!#~} Bye.' | Incremental CJK codec encoders are no longer reset at each call to their encode() methods. For example::
>>> import codecs
>>> encoder = codecs.getincrementalencoder('hz')('strict')
>>> b''.join(encoder.encode(x) for x in '\u52ff\u65bd\u65bc\u4eba\u3002 Bye.')
b'~{NpJ)l6HK!#~} Bye.' | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d485e3b4-19fc-4722-814e-c3c53bbe49ce | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,615 | supabase-export-v2 | 849474a7b0fdc7ed | * :meth:`~sched.scheduler.enter` and :meth:`~sched.scheduler.enterabs` *argument* parameter is now optional. (Contributed by Chris Clark in :issue:`13245`.)
* :meth:`~sched.scheduler.enter` and :meth:`~sched.scheduler.enterabs`
now accept a *kwargs* parameter. (Contributed by Chris Clark in
:issue:`13245`.) | trusted_official_docs | CPython Docs | * :meth:`~sched.scheduler.enter` and :meth:`~sched.scheduler.enterabs` *argument* parameter is now optional. (Contributed by Chris Clark in :issue:`13245`.)
* :meth:`~sched.scheduler.enter` and :meth:`~sched.scheduler.enterabs`
now accept a *kwargs* parameter. (Contributed by Chris Clark in
:issue:`13245`.) | * :meth:`~sched.scheduler.enter` and :meth:`~sched.scheduler.enterabs` *argument* parameter is now optional. (Contributed by Chris Clark in :issue:`13245`.)
* :meth:`~sched.scheduler.enter` and :meth:`~sched.scheduler.enterabs`
now accept a *kwargs* parameter. (Contributed by Chris Clark in
:issue:`13245`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d62d5a05-1b39-4cdb-b651-91455b31fee6 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,452 | supabase-export-v2 | 5b9d87b5a6138ec0 | (Windows UTF-8, ``CP_UTF8``). For example, it is used by ``sys.stdout`` if the console output code page is set to cp65001 (e.g., using ``chcp 65001`` command).
Multibyte CJK decoders now resynchronize faster. They only ignore the first
byte of an invalid byte sequence. For example, ``b'\xff\n'.decode('gb2312',
'replace... | trusted_official_docs | CPython Docs | (Windows UTF-8, ``CP_UTF8``). For example, it is used by ``sys.stdout`` if the console output code page is set to cp65001 (e.g., using ``chcp 65001`` command).
Multibyte CJK decoders now resynchronize faster. They only ignore the first
byte of an invalid byte sequence. For example, ``b'\xff\n'.decode('gb2312',
'replace... | (Windows UTF-8, ``CP_UTF8``). For example, it is used by ``sys.stdout`` if the console output code page is set to cp65001 (e.g., using ``chcp 65001`` command).
Multibyte CJK decoders now resynchronize faster. They only ignore the first
byte of an invalid byte sequence. For example, ``b'\xff\n'.decode('gb2312',
'replace... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d657a2f2-b3f7-4cfb-9d99-bb78ecc92948 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,567 | supabase-export-v2 | dc2e0f7e267a77b5 | :class:`multiprocessing.connection.Connection` objects can now be transferred over multiprocessing connections. (Contributed by Richard Oudkerk in :issue:`4892`.)
:class:`multiprocessing.Process` now accepts a ``daemon`` keyword argument
to override the default behavior of inheriting the ``daemon`` flag from
the parent... | trusted_official_docs | CPython Docs | :class:`multiprocessing.connection.Connection` objects can now be transferred over multiprocessing connections. (Contributed by Richard Oudkerk in :issue:`4892`.)
:class:`multiprocessing.Process` now accepts a ``daemon`` keyword argument
to override the default behavior of inheriting the ``daemon`` flag from
the parent... | :class:`multiprocessing.connection.Connection` objects can now be transferred over multiprocessing connections. (Contributed by Richard Oudkerk in :issue:`4892`.)
:class:`multiprocessing.Process` now accepts a ``daemon`` keyword argument
to override the default behavior of inheriting the ``daemon`` flag from
the parent... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d6c73c06-6277-4600-b0d2-10fa04066833 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,593 | supabase-export-v2 | 3b0e86dda2fd2fb2 | the kernel to make optimizations. * :func:`~os.posix_fallocate`: Ensures that enough disk space is allocated for a file. * :func:`~os.sync`: Force write of everything to disk.
* Additional new posix functions: | trusted_official_docs | CPython Docs | the kernel to make optimizations. * :func:`~os.posix_fallocate`: Ensures that enough disk space is allocated for a file. * :func:`~os.sync`: Force write of everything to disk.
* Additional new posix functions: | the kernel to make optimizations. * :func:`~os.posix_fallocate`: Ensures that enough disk space is allocated for a file. * :func:`~os.sync`: Force write of everything to disk.
* Additional new posix functions: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d6f5d3e0-4f40-4cec-a947-2973c6df07ea | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,538 | supabase-export-v2 | 68f7c9b7067f5c3e | :class:`http.server` now produces valid ``HTML 4.01 strict`` output. (Contributed by Ezio Melotti in :issue:`13295`.)
:class:`http.client.HTTPResponse` now has a
:meth:`~http.client.HTTPResponse.readinto` method, which means it can be used
as an :class:`io.RawIOBase` class. (Contributed by John Kuhn in
:issue:`13464`.) | trusted_official_docs | CPython Docs | :class:`http.server` now produces valid ``HTML 4.01 strict`` output. (Contributed by Ezio Melotti in :issue:`13295`.)
:class:`http.client.HTTPResponse` now has a
:meth:`~http.client.HTTPResponse.readinto` method, which means it can be used
as an :class:`io.RawIOBase` class. (Contributed by John Kuhn in
:issue:`13464`.) | :class:`http.server` now produces valid ``HTML 4.01 strict`` output. (Contributed by Ezio Melotti in :issue:`13295`.)
:class:`http.client.HTTPResponse` now has a
:meth:`~http.client.HTTPResponse.readinto` method, which means it can be used
as an :class:`io.RawIOBase` class. (Contributed by John Kuhn in
:issue:`13464`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d7c91786-2cb0-4b0d-be50-c58c791b5470 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,584 | supabase-export-v2 | 3edb541feac8952b | be used to get or set process niceness/priority in a fashion similar to :func:`os.nice` but extended to all processes instead of just the current one.
(Patch submitted by Giampaolo Rodolà in :issue:`10784`.) | trusted_official_docs | CPython Docs | be used to get or set process niceness/priority in a fashion similar to :func:`os.nice` but extended to all processes instead of just the current one.
(Patch submitted by Giampaolo Rodolà in :issue:`10784`.) | be used to get or set process niceness/priority in a fashion similar to :func:`os.nice` but extended to all processes instead of just the current one.
(Patch submitted by Giampaolo Rodolà in :issue:`10784`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d8011207-8c78-4bbf-ba3a-6cba2ffa8605 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,540 | supabase-export-v2 | 347191f5d053880b | html ----
:class:`html.parser.HTMLParser` is now able to parse broken markup without
raising errors, therefore the *strict* argument of the constructor and the
:exc:`!HTMLParseError` exception are now deprecated. The ability to parse broken markup is the result of a number of bug fixes that
are also available on the la... | trusted_official_docs | CPython Docs | html ----
:class:`html.parser.HTMLParser` is now able to parse broken markup without
raising errors, therefore the *strict* argument of the constructor and the
:exc:`!HTMLParseError` exception are now deprecated. The ability to parse broken markup is the result of a number of bug fixes that
are also available on the la... | html ----
:class:`html.parser.HTMLParser` is now able to parse broken markup without
raising errors, therefore the *strict* argument of the constructor and the
:exc:`!HTMLParseError` exception are now deprecated. The ability to parse broken markup is the result of a number of bug fixes that
are also available on the la... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d8e35811-5f2e-450a-902b-3912a5fbfd0c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,592 | supabase-export-v2 | 5449b3bd55e4f781 | * New functions to control the file system:
* :func:`~os.posix_fadvise`: Announces an intention to access data in a
specific pattern thus allowing the kernel to make optimizations. * :func:`~os.posix_fallocate`: Ensures that enough disk space is allocated
for a file. * :func:`~os.sync`: Force write of everything to d... | trusted_official_docs | CPython Docs | * New functions to control the file system:
* :func:`~os.posix_fadvise`: Announces an intention to access data in a
specific pattern thus allowing the kernel to make optimizations. * :func:`~os.posix_fallocate`: Ensures that enough disk space is allocated
for a file. * :func:`~os.sync`: Force write of everything to d... | * New functions to control the file system:
* :func:`~os.posix_fadvise`: Announces an intention to access data in a
specific pattern thus allowing the kernel to make optimizations. * :func:`~os.posix_fallocate`: Ensures that enough disk space is allocated
for a file. * :func:`~os.sync`: Force write of everything to d... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d9e23663-0df0-44ad-ac2f-81537b9736d3 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,778 | supabase-export-v2 | 4346eca8d49d52f0 | Building C extensions ---------------------
* The range of possible file names for C extensions has been narrowed. Very rarely used spellings have been suppressed: under POSIX, files
named ``xxxmodule.so``, ``xxxmodule.abi3.so`` and
``xxxmodule.cpython-*.so`` are no longer recognized as implementing
the ``xxx`` modu... | trusted_official_docs | CPython Docs | Building C extensions ---------------------
* The range of possible file names for C extensions has been narrowed. Very rarely used spellings have been suppressed: under POSIX, files
named ``xxxmodule.so``, ``xxxmodule.abi3.so`` and
``xxxmodule.cpython-*.so`` are no longer recognized as implementing
the ``xxx`` modu... | Building C extensions ---------------------
* The range of possible file names for C extensions has been narrowed. Very rarely used spellings have been suppressed: under POSIX, files
named ``xxxmodule.so``, ``xxxmodule.abi3.so`` and
``xxxmodule.cpython-*.so`` are no longer recognized as implementing
the ``xxx`` modu... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
dc2dd77e-83ee-4310-9800-b65153edd336 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,477 | supabase-export-v2 | d588b7c61d9757b0 | floating-point arithmetic. Since the precision is user configurable, the exact figures may vary. For example, in integer bignum arithmetic the differences can be significantly higher.
The following table is meant as an illustration. Benchmarks are available
at https://www.bytereef.org/mpdecimal/quickstart.html. | trusted_official_docs | CPython Docs | floating-point arithmetic. Since the precision is user configurable, the exact figures may vary. For example, in integer bignum arithmetic the differences can be significantly higher.
The following table is meant as an illustration. Benchmarks are available
at https://www.bytereef.org/mpdecimal/quickstart.html. | floating-point arithmetic. Since the precision is user configurable, the exact figures may vary. For example, in integer bignum arithmetic the differences can be significantly higher.
The following table is meant as an illustration. Benchmarks are available
at https://www.bytereef.org/mpdecimal/quickstart.html. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
df119fed-bf6c-405f-a404-bd925f697432 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,730 | supabase-export-v2 | 03717dda34223e4d | new :func:`time.perf_counter` or :func:`time.process_time` function instead, depending on your requirements, to have a well defined behaviour. * The :func:`!os.stat_float_times` function is deprecated. * :mod:`abc` module:
* :class:`abc.abstractproperty` has been deprecated, use :class:`property`
with :func:`abc.abstr... | trusted_official_docs | CPython Docs | new :func:`time.perf_counter` or :func:`time.process_time` function instead, depending on your requirements, to have a well defined behaviour. * The :func:`!os.stat_float_times` function is deprecated. * :mod:`abc` module:
* :class:`abc.abstractproperty` has been deprecated, use :class:`property`
with :func:`abc.abstr... | new :func:`time.perf_counter` or :func:`time.process_time` function instead, depending on your requirements, to have a well defined behaviour. * The :func:`!os.stat_float_times` function is deprecated. * :mod:`abc` module:
* :class:`abc.abstractproperty` has been deprecated, use :class:`property`
with :func:`abc.abstr... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
df167a8c-27ba-4524-bdc5-9d25982338ba | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,775 | supabase-export-v2 | 2de56ea5ce8e5a91 | if you only have been using high-level functions such as :c:func:`PyUnicode_Concat()`, :c:func:`PyUnicode_Join` or :c:func:`PyUnicode_FromFormat()`, your code will automatically take advantage of the new unicode representations.
* :c:func:`PyImport_GetMagicNumber` now returns ``-1`` upon failure. | trusted_official_docs | CPython Docs | if you only have been using high-level functions such as :c:func:`PyUnicode_Concat()`, :c:func:`PyUnicode_Join` or :c:func:`PyUnicode_FromFormat()`, your code will automatically take advantage of the new unicode representations.
* :c:func:`PyImport_GetMagicNumber` now returns ``-1`` upon failure. | if you only have been using high-level functions such as :c:func:`PyUnicode_Concat()`, :c:func:`PyUnicode_Join` or :c:func:`PyUnicode_FromFormat()`, your code will automatically take advantage of the new unicode representations.
* :c:func:`PyImport_GetMagicNumber` now returns ``-1`` upon failure. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e1b723a6-f163-41d2-809b-8d786314c7ee | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,732 | supabase-export-v2 | 35e17791e70315c4 | * :mod:`importlib` package:
* :meth:`importlib.abc.SourceLoader.path_mtime` is now deprecated in favour of
:meth:`importlib.abc.SourceLoader.path_stats` as bytecode files now store
both the modification time and size of the source file the bytecode file was
compiled from. | trusted_official_docs | CPython Docs | * :mod:`importlib` package:
* :meth:`importlib.abc.SourceLoader.path_mtime` is now deprecated in favour of
:meth:`importlib.abc.SourceLoader.path_stats` as bytecode files now store
both the modification time and size of the source file the bytecode file was
compiled from. | * :mod:`importlib` package:
* :meth:`importlib.abc.SourceLoader.path_mtime` is now deprecated in favour of
:meth:`importlib.abc.SourceLoader.path_stats` as bytecode files now store
both the modification time and size of the source file the bytecode file was
compiled from. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e259294b-93eb-43cc-a3be-43f84a5475c6 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,268 | supabase-export-v2 | ede570c790f1a6b2 | strings in struct module syntax are supported. Views with unrecognised format strings are still permitted, but will always compare as unequal, regardless of view contents.
* For further changes see `Build and C API Changes`_ and `Porting C code`_. | trusted_official_docs | CPython Docs | strings in struct module syntax are supported. Views with unrecognised format strings are still permitted, but will always compare as unequal, regardless of view contents.
* For further changes see `Build and C API Changes`_ and `Porting C code`_. | strings in struct module syntax are supported. Views with unrecognised format strings are still permitted, but will always compare as unequal, regardless of view contents.
* For further changes see `Build and C API Changes`_ and `Porting C code`_. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e309a575-c4d1-453d-8e01-212dd9d98e5e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,300 | supabase-export-v2 | 5cdd3c5e91c279a5 | request Python 3 when Python 2 is also installed, or ``-2.6`` to specifically request an earlier Python version when a more recent version is installed).
In addition to the launcher, the Windows installer now includes an
option to add the newly installed Python to the system PATH. (Contributed
by Brian Curtin in :issue... | trusted_official_docs | CPython Docs | request Python 3 when Python 2 is also installed, or ``-2.6`` to specifically request an earlier Python version when a more recent version is installed).
In addition to the launcher, the Windows installer now includes an
option to add the newly installed Python to the system PATH. (Contributed
by Brian Curtin in :issue... | request Python 3 when Python 2 is also installed, or ``-2.6`` to specifically request an earlier Python version when a more recent version is installed).
In addition to the launcher, the Windows installer now includes an
option to add the newly installed Python to the system PATH. (Contributed
by Brian Curtin in :issue... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e439699a-f441-4335-997c-e798999a3918 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,308 | supabase-export-v2 | 8ffad3c277bfd7a9 | The hierarchy of exceptions raised by operating system errors is now both simplified and finer-grained.
You don't have to worry anymore about choosing the appropriate exception
type between :exc:`OSError`, :exc:`IOError`, :exc:`EnvironmentError`,
:exc:`WindowsError`, :exc:`!mmap.error`, :exc:`socket.error` or
:exc:`sel... | trusted_official_docs | CPython Docs | The hierarchy of exceptions raised by operating system errors is now both simplified and finer-grained.
You don't have to worry anymore about choosing the appropriate exception
type between :exc:`OSError`, :exc:`IOError`, :exc:`EnvironmentError`,
:exc:`WindowsError`, :exc:`!mmap.error`, :exc:`socket.error` or
:exc:`sel... | The hierarchy of exceptions raised by operating system errors is now both simplified and finer-grained.
You don't have to worry anymore about choosing the appropriate exception
type between :exc:`OSError`, :exc:`IOError`, :exc:`EnvironmentError`,
:exc:`WindowsError`, :exc:`!mmap.error`, :exc:`socket.error` or
:exc:`sel... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e4b1df0a-4843-48be-9c89-2c1fdd247e37 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,736 | supabase-export-v2 | 1d7fb1c01c254d4b | Unicode functions and methods using :c:type:`Py_UNICODE` and :c:expr:`Py_UNICODE*` types:
* :c:macro:`!PyUnicode_FromUnicode`: use :c:func:`PyUnicode_FromWideChar` or
:c:func:`PyUnicode_FromKindAndData`
* :c:macro:`!PyUnicode_AS_UNICODE`, :c:func:`!PyUnicode_AsUnicode`,
:c:func:`!PyUnicode_AsUnicodeAndSize`: use :c:f... | trusted_official_docs | CPython Docs | Unicode functions and methods using :c:type:`Py_UNICODE` and :c:expr:`Py_UNICODE*` types:
* :c:macro:`!PyUnicode_FromUnicode`: use :c:func:`PyUnicode_FromWideChar` or
:c:func:`PyUnicode_FromKindAndData`
* :c:macro:`!PyUnicode_AS_UNICODE`, :c:func:`!PyUnicode_AsUnicode`,
:c:func:`!PyUnicode_AsUnicodeAndSize`: use :c:f... | Unicode functions and methods using :c:type:`Py_UNICODE` and :c:expr:`Py_UNICODE*` types:
* :c:macro:`!PyUnicode_FromUnicode`: use :c:func:`PyUnicode_FromWideChar` or
:c:func:`PyUnicode_FromKindAndData`
* :c:macro:`!PyUnicode_AS_UNICODE`, :c:func:`!PyUnicode_AsUnicode`,
:c:func:`!PyUnicode_AsUnicodeAndSize`: use :c:f... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e8528b08-badd-4dfb-829f-106dfc1ce02e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,370 | supabase-export-v2 | ac3dd1132218a4a7 | module exposes details specific to the implementation of the currently running interpreter. The initial set of attributes on :data:`sys.implementation` are ``name``, ``version``, ``hexversion``, and ``cache_tag``.
The intention of ``sys.implementation`` is to consolidate into one namespace
the implementation-specific d... | trusted_official_docs | CPython Docs | module exposes details specific to the implementation of the currently running interpreter. The initial set of attributes on :data:`sys.implementation` are ``name``, ``version``, ``hexversion``, and ``cache_tag``.
The intention of ``sys.implementation`` is to consolidate into one namespace
the implementation-specific d... | module exposes details specific to the implementation of the currently running interpreter. The initial set of attributes on :data:`sys.implementation` are ``name``, ``version``, ``hexversion``, and ``cache_tag``.
The intention of ``sys.implementation`` is to consolidate into one namespace
the implementation-specific d... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e89d0c86-6115-43ca-b3c7-e48307f79dc0 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,485 | supabase-export-v2 | 84033f819a58d1fc | +============================+================+=========================+ | :const:`~decimal.MAX_PREC` | ``425000000`` | ``999999999999999999`` | +----------------------------+----------------+-------------------------+ | :const:`~decimal.MAX_EMAX` | ``425000000`` | ``999999999999999999`` | +---------------------------... | trusted_official_docs | CPython Docs | +============================+================+=========================+ | :const:`~decimal.MAX_PREC` | ``425000000`` | ``999999999999999999`` | +----------------------------+----------------+-------------------------+ | :const:`~decimal.MAX_EMAX` | ``425000000`` | ``999999999999999999`` | +---------------------------... | +============================+================+=========================+ | :const:`~decimal.MAX_PREC` | ``425000000`` | ``999999999999999999`` | +----------------------------+----------------+-------------------------+ | :const:`~decimal.MAX_EMAX` | ``425000000`` | ``999999999999999999`` | +---------------------------... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e8d1ef4c-1648-4638-a43f-87464c930bf2 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,569 | supabase-export-v2 | 0de159814e42e5c4 | attribute :data:`multiprocessing.Process.sentinel` allows a program to wait on multiple :class:`~multiprocessing.Process` objects at one time using the appropriate OS primitives (for example, :mod:`select` on posix systems).
New methods :meth:`multiprocessing.pool.Pool.starmap` and
:meth:`~multiprocessing.pool.Pool.sta... | trusted_official_docs | CPython Docs | attribute :data:`multiprocessing.Process.sentinel` allows a program to wait on multiple :class:`~multiprocessing.Process` objects at one time using the appropriate OS primitives (for example, :mod:`select` on posix systems).
New methods :meth:`multiprocessing.pool.Pool.starmap` and
:meth:`~multiprocessing.pool.Pool.sta... | attribute :data:`multiprocessing.Process.sentinel` allows a program to wait on multiple :class:`~multiprocessing.Process` objects at one time using the appropriate OS primitives (for example, :mod:`select` on posix systems).
New methods :meth:`multiprocessing.pool.Pool.starmap` and
:meth:`~multiprocessing.pool.Pool.sta... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e93b289a-ea6c-42d7-abf5-8cadea2e6c05 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,551 | supabase-export-v2 | 75439ff6bb684b04 | io --
The :func:`~io.open` function has a new ``'x'`` mode that can be used to
exclusively create a new file, and raise a :exc:`FileExistsError` if the file
already exists. It is based on the C11 'x' mode to fopen(). | trusted_official_docs | CPython Docs | io --
The :func:`~io.open` function has a new ``'x'`` mode that can be used to
exclusively create a new file, and raise a :exc:`FileExistsError` if the file
already exists. It is based on the C11 'x' mode to fopen(). | io --
The :func:`~io.open` function has a new ``'x'`` mode that can be used to
exclusively create a new file, and raise a :exc:`FileExistsError` if the file
already exists. It is based on the C11 'x' mode to fopen(). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e9cf2c4b-5a23-4f6d-9e62-34b34a1cbf1e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,258 | supabase-export-v2 | a89b634ce5f2a020 | * All native single character format specifiers in struct module syntax (optionally prefixed with '@') are now supported.
* With some restrictions, the cast() method allows changing of format and
shape of C-contiguous arrays. | trusted_official_docs | CPython Docs | * All native single character format specifiers in struct module syntax (optionally prefixed with '@') are now supported.
* With some restrictions, the cast() method allows changing of format and
shape of C-contiguous arrays. | * All native single character format specifiers in struct module syntax (optionally prefixed with '@') are now supported.
* With some restrictions, the cast() method allows changing of format and
shape of C-contiguous arrays. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ec3e42ef-a420-42c1-9dc2-6b520a35a696 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,755 | supabase-export-v2 | 4d55b671f424e443 | and :data:`sys.path_hooks` now have finders on them by default, you will most likely want to use :meth:`list.insert` instead of :meth:`list.append` to add to those lists.
* Because ``None`` is now inserted into :data:`sys.path_importer_cache`, if you
are clearing out entries in the dictionary of paths that do not have... | trusted_official_docs | CPython Docs | and :data:`sys.path_hooks` now have finders on them by default, you will most likely want to use :meth:`list.insert` instead of :meth:`list.append` to add to those lists.
* Because ``None`` is now inserted into :data:`sys.path_importer_cache`, if you
are clearing out entries in the dictionary of paths that do not have... | and :data:`sys.path_hooks` now have finders on them by default, you will most likely want to use :meth:`list.insert` instead of :meth:`list.append` to add to those lists.
* Because ``None`` is now inserted into :data:`sys.path_importer_cache`, if you
are clearing out entries in the dictionary of paths that do not have... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ed30ec27-b85d-44bf-9e48-dc8a5511b5ec | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,243 | supabase-export-v2 | c33d3bd9fbd90ac9 | the system-wide site packages. Their concept and implementation are inspired by the popular ``virtualenv`` third-party package, but benefit from tighter integration with the interpreter core.
This PEP adds the :mod:`venv` module for programmatic access, and the
``pyvenv`` script for command-line access and
administrati... | trusted_official_docs | CPython Docs | the system-wide site packages. Their concept and implementation are inspired by the popular ``virtualenv`` third-party package, but benefit from tighter integration with the interpreter core.
This PEP adds the :mod:`venv` module for programmatic access, and the
``pyvenv`` script for command-line access and
administrati... | the system-wide site packages. Their concept and implementation are inspired by the popular ``virtualenv`` third-party package, but benefit from tighter integration with the interpreter core.
This PEP adds the :mod:`venv` module for programmatic access, and the
``pyvenv`` script for command-line access and
administrati... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ed667de7-0fba-41ab-8d72-1722f9d3bb42 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,612 | supabase-export-v2 | cd7568ba32bcb6a6 | any) and then return immediately. This is useful in case you want to use the :class:`~sched.scheduler` in non-blocking applications. (Contributed by Giampaolo Rodolà in :issue:`13449`.)
* :class:`~sched.scheduler` class can now be safely used in multi-threaded
environments. (Contributed by Josiah Carlson and Giampaolo... | trusted_official_docs | CPython Docs | any) and then return immediately. This is useful in case you want to use the :class:`~sched.scheduler` in non-blocking applications. (Contributed by Giampaolo Rodolà in :issue:`13449`.)
* :class:`~sched.scheduler` class can now be safely used in multi-threaded
environments. (Contributed by Josiah Carlson and Giampaolo... | any) and then return immediately. This is useful in case you want to use the :class:`~sched.scheduler` in non-blocking applications. (Contributed by Giampaolo Rodolà in :issue:`13449`.)
* :class:`~sched.scheduler` class can now be safely used in multi-threaded
environments. (Contributed by Josiah Carlson and Giampaolo... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eda809a7-66d8-4344-8960-fa9921edcd4b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,756 | supabase-export-v2 | b6f148b89cf73772 | on older versions of Python that re-insert ``None`` into :data:`sys.path_importer_cache` where it represents the use of implicit finders, but semantically it should not change anything.
* :class:`!importlib.abc.Finder` no longer specifies a ``find_module()`` abstract
method that must be implemented. If you were relyin... | trusted_official_docs | CPython Docs | on older versions of Python that re-insert ``None`` into :data:`sys.path_importer_cache` where it represents the use of implicit finders, but semantically it should not change anything.
* :class:`!importlib.abc.Finder` no longer specifies a ``find_module()`` abstract
method that must be implemented. If you were relyin... | on older versions of Python that re-insert ``None`` into :data:`sys.path_importer_cache` where it represents the use of implicit finders, but semantically it should not change anything.
* :class:`!importlib.abc.Finder` no longer specifies a ``find_module()`` abstract
method that must be implemented. If you were relyin... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
edbf5d1b-9a06-4af4-a4fb-68ee35ddcc3f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,660 | supabase-export-v2 | bc9d60822f45d53c | an SSL socket, thanks to its new :meth:`~ssl.SSLSocket.compression` method. The new attribute :const:`~ssl.OP_NO_COMPRESSION` can be used to disable compression. (Contributed by Antoine Pitrou in :issue:`13634`.)
* Support has been added for the Next Protocol Negotiation extension using
the :meth:`ssl.SSLContext.set_n... | trusted_official_docs | CPython Docs | an SSL socket, thanks to its new :meth:`~ssl.SSLSocket.compression` method. The new attribute :const:`~ssl.OP_NO_COMPRESSION` can be used to disable compression. (Contributed by Antoine Pitrou in :issue:`13634`.)
* Support has been added for the Next Protocol Negotiation extension using
the :meth:`ssl.SSLContext.set_n... | an SSL socket, thanks to its new :meth:`~ssl.SSLSocket.compression` method. The new attribute :const:`~ssl.OP_NO_COMPRESSION` can be used to disable compression. (Contributed by Antoine Pitrou in :issue:`13634`.)
* Support has been added for the Next Protocol Negotiation extension using
the :meth:`ssl.SSLContext.set_n... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
edc32af9-7c72-4852-b31c-140152673f80 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,380 | supabase-export-v2 | 026ff92b1f68baad | manipulates import or calls import programmatically, the code changes that might possibly be required are covered in the `Porting Python code`_ section of this document.
New APIs
--------
One of the large benefits of this work is the exposure of what goes into
making the import statement work. That means the various im... | trusted_official_docs | CPython Docs | manipulates import or calls import programmatically, the code changes that might possibly be required are covered in the `Porting Python code`_ section of this document.
New APIs
--------
One of the large benefits of this work is the exposure of what goes into
making the import statement work. That means the various im... | manipulates import or calls import programmatically, the code changes that might possibly be required are covered in the `Porting Python code`_ section of this document.
New APIs
--------
One of the large benefits of this work is the exposure of what goes into
making the import statement work. That means the various im... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
edcbb9c2-c3f3-4ce5-a228-078e1263c915 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,461 | supabase-export-v2 | 122ef9728a94db57 | a new :class:`~collections.ChainMap` class to allow treating a number of mappings as a single unit. (Written by Raymond Hettinger for :issue:`11089`, made public in :issue:`11297`.)
The abstract base classes have been moved in a new :mod:`collections.abc`
module, to better differentiate between the abstract and the con... | trusted_official_docs | CPython Docs | a new :class:`~collections.ChainMap` class to allow treating a number of mappings as a single unit. (Written by Raymond Hettinger for :issue:`11089`, made public in :issue:`11297`.)
The abstract base classes have been moved in a new :mod:`collections.abc`
module, to better differentiate between the abstract and the con... | a new :class:`~collections.ChainMap` class to allow treating a number of mappings as a single unit. (Written by Raymond Hettinger for :issue:`11089`, made public in :issue:`11297`.)
The abstract base classes have been moved in a new :mod:`collections.abc`
module, to better differentiate between the abstract and the con... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
edde372b-8f98-4468-ac41-edad4aee637c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,447 | supabase-export-v2 | 1994b9c9609888ba | (such as those produced by the :program:`pbzip2` tool). :class:`bz2.BZ2File` can now also be used to create this type of file, using the ``'a'`` (append) mode.
(Contributed by Nir Aides in :issue:`1625`.) | trusted_official_docs | CPython Docs | (such as those produced by the :program:`pbzip2` tool). :class:`bz2.BZ2File` can now also be used to create this type of file, using the ``'a'`` (append) mode.
(Contributed by Nir Aides in :issue:`1625`.) | (such as those produced by the :program:`pbzip2` tool). :class:`bz2.BZ2File` can now also be used to create this type of file, using the ``'a'`` (append) mode.
(Contributed by Nir Aides in :issue:`1625`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eece11da-7256-448a-85d5-2240056dcf96 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,541 | supabase-export-v2 | 7abafc258d68bcc1 | fix releases of Python 2.7/3.2. (Contributed by Ezio Melotti in :issue:`15114`, and :issue:`14538`, :issue:`13993`, :issue:`13960`, :issue:`13358`, :issue:`1745761`, :issue:`755670`, :issue:`13357`, :issue:`12629`, :issue:`1200313`, :issue:`670664`, :issue:`13273`, :issue:`12888`, :issue:`7311`.)
A new :data:`~html.ent... | trusted_official_docs | CPython Docs | fix releases of Python 2.7/3.2. (Contributed by Ezio Melotti in :issue:`15114`, and :issue:`14538`, :issue:`13993`, :issue:`13960`, :issue:`13358`, :issue:`1745761`, :issue:`755670`, :issue:`13357`, :issue:`12629`, :issue:`1200313`, :issue:`670664`, :issue:`13273`, :issue:`12888`, :issue:`7311`.)
A new :data:`~html.ent... | fix releases of Python 2.7/3.2. (Contributed by Ezio Melotti in :issue:`15114`, and :issue:`14538`, :issue:`13993`, :issue:`13960`, :issue:`13358`, :issue:`1745761`, :issue:`755670`, :issue:`13357`, :issue:`12629`, :issue:`1200313`, :issue:`670664`, :issue:`13273`, :issue:`12888`, :issue:`7311`.)
A new :data:`~html.ent... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f1cb9222-fd1e-4f3c-b2fe-0a0c8c5f78fa | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,588 | supabase-export-v2 | 36dd0fd8bf4b6173 | * The new :func:`os.get_terminal_size` function queries the size of the terminal attached to a file descriptor. See also :func:`shutil.get_terminal_size`. (Contributed by Zbigniew Jędrzejewski-Szmek in :issue:`13609`.)
.. XXX sort out this mess after beta1 | trusted_official_docs | CPython Docs | * The new :func:`os.get_terminal_size` function queries the size of the terminal attached to a file descriptor. See also :func:`shutil.get_terminal_size`. (Contributed by Zbigniew Jędrzejewski-Szmek in :issue:`13609`.)
.. XXX sort out this mess after beta1 | * The new :func:`os.get_terminal_size` function queries the size of the terminal attached to a file descriptor. See also :func:`shutil.get_terminal_size`. (Contributed by Zbigniew Jędrzejewski-Szmek in :issue:`13609`.)
.. XXX sort out this mess after beta1 | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f59e054d-d228-466a-88d3-78b10d9254ef | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,499 | supabase-export-v2 | 84b505a42559dff6 | only to a ``Bytes`` ``generator``, and means that non-ASCII may be used where allowed by the protocol (or where it exists in the original input).
raise_on_defect Causes a ``parser`` to raise error when defects are
encountered instead of adding them to the ``Message``
object's ``defects`` list. =============== =======... | trusted_official_docs | CPython Docs | only to a ``Bytes`` ``generator``, and means that non-ASCII may be used where allowed by the protocol (or where it exists in the original input).
raise_on_defect Causes a ``parser`` to raise error when defects are
encountered instead of adding them to the ``Message``
object's ``defects`` list. =============== =======... | only to a ``Bytes`` ``generator``, and means that non-ASCII may be used where allowed by the protocol (or where it exists in the original input).
raise_on_defect Causes a ``parser`` to raise error when defects are
encountered instead of adding them to the ``Message``
object's ``defects`` list. =============== =======... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f5b260fb-eb7b-434e-b043-0ea7e1fae175 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,484 | supabase-export-v2 | 91e0f43c5130f80c | * The C module has the following context limits, depending on the machine architecture:
+----------------------------+----------------+-------------------------+
| | 32-bit | 64-bit |
+============================+================+=========================+
| :const:`~decimal.MAX_PREC` | ``425000000`` | ``9999999999... | trusted_official_docs | CPython Docs | * The C module has the following context limits, depending on the machine architecture:
+----------------------------+----------------+-------------------------+
| | 32-bit | 64-bit |
+============================+================+=========================+
| :const:`~decimal.MAX_PREC` | ``425000000`` | ``9999999999... | * The C module has the following context limits, depending on the machine architecture:
+----------------------------+----------------+-------------------------+
| | 32-bit | 64-bit |
+============================+================+=========================+
| :const:`~decimal.MAX_PREC` | ``425000000`` | ``9999999999... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f5df8311-9196-4a67-bda3-54e30558f1ed | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,733 | supabase-export-v2 | 1d31f09c1897911a | in favour of :meth:`importlib.abc.SourceLoader.path_stats` as bytecode files now store both the modification time and size of the source file the bytecode file was compiled from.
Deprecated functions and types of the C API
------------------------------------------- | trusted_official_docs | CPython Docs | in favour of :meth:`importlib.abc.SourceLoader.path_stats` as bytecode files now store both the modification time and size of the source file the bytecode file was compiled from.
Deprecated functions and types of the C API
------------------------------------------- | in favour of :meth:`importlib.abc.SourceLoader.path_stats` as bytecode files now store both the modification time and size of the source file the bytecode file was compiled from.
Deprecated functions and types of the C API
------------------------------------------- | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f6c11df4-863b-468b-aa7b-67bf6a0564d7 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,671 | supabase-export-v2 | 59a54f1031a5e487 | Command strings can now be bytes objects on posix platforms. (Contributed by Victor Stinner in :issue:`8513`.)
A new constant :const:`~subprocess.DEVNULL` allows suppressing output in a
platform-independent fashion. (Contributed by Ross Lagerwall in
:issue:`5870`.) | trusted_official_docs | CPython Docs | Command strings can now be bytes objects on posix platforms. (Contributed by Victor Stinner in :issue:`8513`.)
A new constant :const:`~subprocess.DEVNULL` allows suppressing output in a
platform-independent fashion. (Contributed by Ross Lagerwall in
:issue:`5870`.) | Command strings can now be bytes objects on posix platforms. (Contributed by Victor Stinner in :issue:`8513`.)
A new constant :const:`~subprocess.DEVNULL` allows suppressing output in a
platform-independent fashion. (Contributed by Ross Lagerwall in
:issue:`5870`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f756b598-7122-43d7-b114-9177722b460c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,528 | supabase-export-v2 | 6c09745cfedeb878 | useful to take advantage of firewalls that know how to handle NAT with non-secure FTP without opening fixed ports. (Contributed by Giampaolo Rodolà in :issue:`12139`.)
* Added :meth:`ftplib.FTP.mlsd` method which provides a parsable directory
listing format and deprecates :meth:`ftplib.FTP.nlst` and
:meth:`ftplib.FTP... | trusted_official_docs | CPython Docs | useful to take advantage of firewalls that know how to handle NAT with non-secure FTP without opening fixed ports. (Contributed by Giampaolo Rodolà in :issue:`12139`.)
* Added :meth:`ftplib.FTP.mlsd` method which provides a parsable directory
listing format and deprecates :meth:`ftplib.FTP.nlst` and
:meth:`ftplib.FTP... | useful to take advantage of firewalls that know how to handle NAT with non-secure FTP without opening fixed ports. (Contributed by Giampaolo Rodolà in :issue:`12139`.)
* Added :meth:`ftplib.FTP.mlsd` method which provides a parsable directory
listing format and deprecates :meth:`ftplib.FTP.nlst` and
:meth:`ftplib.FTP... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f7660e8e-2349-4ba9-b21b-c4e804941852 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,586 | supabase-export-v2 | eaec46bae953bb81 | overwriting the destination. With :func:`os.rename`, an existing destination file is overwritten under POSIX, but raises an error under Windows. (Contributed by Antoine Pitrou in :issue:`8828`.)
* The stat family of functions (:func:`~os.stat`, :func:`~os.fstat`,
and :func:`~os.lstat`) now support reading a file's tim... | trusted_official_docs | CPython Docs | overwriting the destination. With :func:`os.rename`, an existing destination file is overwritten under POSIX, but raises an error under Windows. (Contributed by Antoine Pitrou in :issue:`8828`.)
* The stat family of functions (:func:`~os.stat`, :func:`~os.fstat`,
and :func:`~os.lstat`) now support reading a file's tim... | overwriting the destination. With :func:`os.rename`, an existing destination file is overwritten under POSIX, but raises an error under Windows. (Contributed by Antoine Pitrou in :issue:`8828`.)
* The stat family of functions (:func:`~os.stat`, :func:`~os.fstat`,
and :func:`~os.lstat`) now support reading a file's tim... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
faab4fa9-87b9-4c4a-873a-3ae3f1444dac | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,771 | supabase-export-v2 | 6bfa7a1cbd0314c0 | Porting C code --------------
* In the course of changes to the buffer API the undocumented
:c:member:`!smalltable` member of the
:c:type:`Py_buffer` structure has been removed and the
layout of the :c:type:`!PyMemoryViewObject` has changed. | trusted_official_docs | CPython Docs | Porting C code --------------
* In the course of changes to the buffer API the undocumented
:c:member:`!smalltable` member of the
:c:type:`Py_buffer` structure has been removed and the
layout of the :c:type:`!PyMemoryViewObject` has changed. | Porting C code --------------
* In the course of changes to the buffer API the undocumented
:c:member:`!smalltable` member of the
:c:type:`Py_buffer` structure has been removed and the
layout of the :c:type:`!PyMemoryViewObject` has changed. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fb345370-b5ce-472e-a3a2-7f7141e0570e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,728 | supabase-export-v2 | 7fb49df4c08921cd | Deprecated Python modules, functions and methods ------------------------------------------------
* Passing a non-empty string to ``object.__format__()`` is deprecated, and
will produce a :exc:`TypeError` in Python 3.4 (:issue:`9856`). * The ``unicode_internal`` codec has been deprecated because of the
:pep:`393`, us... | trusted_official_docs | CPython Docs | Deprecated Python modules, functions and methods ------------------------------------------------
* Passing a non-empty string to ``object.__format__()`` is deprecated, and
will produce a :exc:`TypeError` in Python 3.4 (:issue:`9856`). * The ``unicode_internal`` codec has been deprecated because of the
:pep:`393`, us... | Deprecated Python modules, functions and methods ------------------------------------------------
* Passing a non-empty string to ``object.__format__()`` is deprecated, and
will produce a :exc:`TypeError` in Python 3.4 (:issue:`9856`). * The ``unicode_internal`` codec has been deprecated because of the
:pep:`393`, us... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fde1dc25-845a-4bcb-9de3-f881bfdca60e | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,637 | supabase-export-v2 | ec5fda0d1f2bc9a5 | :class:`~smtplib.SMTP` now supports the context management protocol, allowing an ``SMTP`` instance to be used in a ``with`` statement. (Contributed by Giampaolo Rodolà in :issue:`11289`.)
The :class:`~smtplib.SMTP_SSL` constructor and the :meth:`~smtplib.SMTP.starttls`
method now accept an SSLContext parameter to contr... | trusted_official_docs | CPython Docs | :class:`~smtplib.SMTP` now supports the context management protocol, allowing an ``SMTP`` instance to be used in a ``with`` statement. (Contributed by Giampaolo Rodolà in :issue:`11289`.)
The :class:`~smtplib.SMTP_SSL` constructor and the :meth:`~smtplib.SMTP.starttls`
method now accept an SSLContext parameter to contr... | :class:`~smtplib.SMTP` now supports the context management protocol, allowing an ``SMTP`` instance to be used in a ``with`` statement. (Contributed by Giampaolo Rodolà in :issue:`11289`.)
The :class:`~smtplib.SMTP_SSL` constructor and the :meth:`~smtplib.SMTP.starttls`
method now accept an SSLContext parameter to contr... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fdf73f8d-0113-4b0b-b602-20084be0abf9 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,577 | supabase-export-v2 | 5adf3fd2dbad731a | into userspace buffers. :func:`~os.sendfile` can be used to efficiently copy data from a file on disk to a network socket, e.g. for downloading a file.
(Patch submitted by Ross Lagerwall and Giampaolo Rodolà in :issue:`10882`.) | trusted_official_docs | CPython Docs | into userspace buffers. :func:`~os.sendfile` can be used to efficiently copy data from a file on disk to a network socket, e.g. for downloading a file.
(Patch submitted by Ross Lagerwall and Giampaolo Rodolà in :issue:`10882`.) | into userspace buffers. :func:`~os.sendfile` can be used to efficiently copy data from a file on disk to a network socket, e.g. for downloading a file.
(Patch submitted by Ross Lagerwall and Giampaolo Rodolà in :issue:`10882`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fe30f374-77c7-40bc-beae-a08c296c46a9 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,590 | supabase-export-v2 | 644a57b70542da62 | * New functions to support Linux extended attributes (:issue:`12720`): :func:`~os.getxattr`, :func:`~os.listxattr`, :func:`~os.removexattr`, :func:`~os.setxattr`.
* New interface to the scheduler. These functions
control how a process is allocated CPU time by the operating system. New
functions:
:func:`~os.sched_get... | trusted_official_docs | CPython Docs | * New functions to support Linux extended attributes (:issue:`12720`): :func:`~os.getxattr`, :func:`~os.listxattr`, :func:`~os.removexattr`, :func:`~os.setxattr`.
* New interface to the scheduler. These functions
control how a process is allocated CPU time by the operating system. New
functions:
:func:`~os.sched_get... | * New functions to support Linux extended attributes (:issue:`12720`): :func:`~os.getxattr`, :func:`~os.listxattr`, :func:`~os.removexattr`, :func:`~os.setxattr`.
* New interface to the scheduler. These functions
control how a process is allocated CPU time by the operating system. New
functions:
:func:`~os.sched_get... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fea22eae-c581-4d75-8991-0738ba1c381d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,511 | supabase-export-v2 | bc305c897f1f043f | 24, 465484, tzinfo=datetime.timezone(datetime.timedelta(-1, 72000), 'EDT')) >>> m['Date'] 'Fri, 25 May 2012 21:44:27 -0400' >>> print(m) To: =?utf-8?q?=C3=89ric?= <foo@example.com> Date: Fri, 25 May 2012 21:44:27 -0400
You will note that the unicode display name is automatically encoded as
``utf-8`` when the message is... | trusted_official_docs | CPython Docs | 24, 465484, tzinfo=datetime.timezone(datetime.timedelta(-1, 72000), 'EDT')) >>> m['Date'] 'Fri, 25 May 2012 21:44:27 -0400' >>> print(m) To: =?utf-8?q?=C3=89ric?= <foo@example.com> Date: Fri, 25 May 2012 21:44:27 -0400
You will note that the unicode display name is automatically encoded as
``utf-8`` when the message is... | 24, 465484, tzinfo=datetime.timezone(datetime.timedelta(-1, 72000), 'EDT')) >>> m['Date'] 'Fri, 25 May 2012 21:44:27 -0400' >>> print(m) To: =?utf-8?q?=C3=89ric?= <foo@example.com> Date: Fri, 25 May 2012 21:44:27 -0400
You will note that the unicode display name is automatically encoded as
``utf-8`` when the message is... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ff586fdb-2bb0-4665-92c8-1b2e1f1e2e45 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.3.rst | unknown | e55be37b-f927-41ae-9e81-fd37f5e5c8d2 | 61,646 | supabase-export-v2 | 4c9061553af03741 | * The :class:`~socket.socket` class now supports the ``PF_SYSTEM`` protocol family on OS X. (Contributed by Michael Goderbauer in :issue:`13777`.)
* New function :func:`~socket.sethostname` allows the hostname to be set
on Unix systems if the calling process has sufficient privileges. (Contributed by Ross Lagerwall in... | trusted_official_docs | CPython Docs | * The :class:`~socket.socket` class now supports the ``PF_SYSTEM`` protocol family on OS X. (Contributed by Michael Goderbauer in :issue:`13777`.)
* New function :func:`~socket.sethostname` allows the hostname to be set
on Unix systems if the calling process has sufficient privileges. (Contributed by Ross Lagerwall in... | * The :class:`~socket.socket` class now supports the ``PF_SYSTEM`` protocol family on OS X. (Contributed by Michael Goderbauer in :issue:`13777`.)
* New function :func:`~socket.sethostname` allows the hostname to be set
on Unix systems if the calling process has sufficient privileges. (Contributed by Ross Lagerwall in... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
01a22aae-95b5-4195-accf-72910beda954 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,364 | supabase-export-v2 | 46c43832ccad1b09 | while in Python 3.7.0 it didn't read any of them due to :issue:`34247`). If this behavior is unwanted, set :c:data:`Py_IgnoreEnvironmentFlag` to 1 before calling :c:func:`Py_Initialize`.
In 3.7.1 the C API for Context Variables
:ref:`was updated <contextvarsobjects_pointertype_change>` to use
:c:type:`PyObject` pointer... | trusted_official_docs | CPython Docs | while in Python 3.7.0 it didn't read any of them due to :issue:`34247`). If this behavior is unwanted, set :c:data:`Py_IgnoreEnvironmentFlag` to 1 before calling :c:func:`Py_Initialize`.
In 3.7.1 the C API for Context Variables
:ref:`was updated <contextvarsobjects_pointertype_change>` to use
:c:type:`PyObject` pointer... | while in Python 3.7.0 it didn't read any of them due to :issue:`34247`). If this behavior is unwanted, set :c:data:`Py_IgnoreEnvironmentFlag` to 1 before calling :c:func:`Py_Initialize`.
In 3.7.1 the C API for Context Variables
:ref:`was updated <contextvarsobjects_pointertype_change>` to use
:c:type:`PyObject` pointer... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
022a92fb-74fc-4fb1-a642-0617d6286068 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,317 | supabase-export-v2 | 6c9a8c53e49d6eae | * The :func:`locale.localeconv` function now temporarily sets the ``LC_CTYPE`` locale to the value of ``LC_NUMERIC`` in some cases. (Contributed by Victor Stinner in :issue:`31900`.)
* :meth:`pkgutil.walk_packages` now raises a :exc:`ValueError` if *path* is
a string. Previously an empty list was returned. (Contribute... | trusted_official_docs | CPython Docs | * The :func:`locale.localeconv` function now temporarily sets the ``LC_CTYPE`` locale to the value of ``LC_NUMERIC`` in some cases. (Contributed by Victor Stinner in :issue:`31900`.)
* :meth:`pkgutil.walk_packages` now raises a :exc:`ValueError` if *path* is
a string. Previously an empty list was returned. (Contribute... | * The :func:`locale.localeconv` function now temporarily sets the ``LC_CTYPE`` locale to the value of ``LC_NUMERIC`` in some cases. (Contributed by Victor Stinner in :issue:`31900`.)
* :meth:`pkgutil.walk_packages` now raises a :exc:`ValueError` if *path* is
a string. Previously an empty list was returned. (Contribute... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
02558c37-dff5-4112-9285-ddb48eeb3195 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,189 | supabase-export-v2 | 80d5a6f8c1b6d349 | :c:func:`PyOS_AfterFork` is deprecated in favour of the new functions :c:func:`PyOS_BeforeFork`, :c:func:`PyOS_AfterFork_Parent` and :c:func:`PyOS_AfterFork_Child`. (Contributed by Antoine Pitrou in :issue:`16500`.)
The ``PyExc_RecursionErrorInst`` singleton that was part of the public API
has been removed as its membe... | trusted_official_docs | CPython Docs | :c:func:`PyOS_AfterFork` is deprecated in favour of the new functions :c:func:`PyOS_BeforeFork`, :c:func:`PyOS_AfterFork_Parent` and :c:func:`PyOS_AfterFork_Child`. (Contributed by Antoine Pitrou in :issue:`16500`.)
The ``PyExc_RecursionErrorInst`` singleton that was part of the public API
has been removed as its membe... | :c:func:`PyOS_AfterFork` is deprecated in favour of the new functions :c:func:`PyOS_BeforeFork`, :c:func:`PyOS_AfterFork_Parent` and :c:func:`PyOS_AfterFork_Child`. (Contributed by Antoine Pitrou in :issue:`16500`.)
The ``PyExc_RecursionErrorInst`` singleton that was part of the public API
has been removed as its membe... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
02f8787c-7044-4c95-8d10-c9a68bf7df34 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,927 | supabase-export-v2 | 6066765e0a6d42f4 | :class:`types.TracebackType` can now be instantiated from Python code, and the :attr:`~traceback.tb_next` attribute on :ref:`tracebacks <traceback-objects>` is now writable. (Contributed by Nathaniel J. Smith in :issue:`30579`.)
* When using the :option:`-m` switch, ``sys.path[0]`` is now eagerly expanded
to the full ... | trusted_official_docs | CPython Docs | :class:`types.TracebackType` can now be instantiated from Python code, and the :attr:`~traceback.tb_next` attribute on :ref:`tracebacks <traceback-objects>` is now writable. (Contributed by Nathaniel J. Smith in :issue:`30579`.)
* When using the :option:`-m` switch, ``sys.path[0]`` is now eagerly expanded
to the full ... | :class:`types.TracebackType` can now be instantiated from Python code, and the :attr:`~traceback.tb_next` attribute on :ref:`tracebacks <traceback-objects>` is now writable. (Contributed by Nathaniel J. Smith in :issue:`30579`.)
* When using the :option:`-m` switch, ``sys.path[0]`` is now eagerly expanded
to the full ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
03eb67fb-e44e-47eb-b1af-3bad4c37af07 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,305 | supabase-export-v2 | 996d9e4b29bdc8f2 | Changes in Python Behavior --------------------------
* :keyword:`async` and :keyword:`await` names are now reserved keywords. Code using these names as identifiers will now raise a :exc:`SyntaxError`. (Contributed by Jelle Zijlstra in :issue:`30406`.) | trusted_official_docs | CPython Docs | Changes in Python Behavior --------------------------
* :keyword:`async` and :keyword:`await` names are now reserved keywords. Code using these names as identifiers will now raise a :exc:`SyntaxError`. (Contributed by Jelle Zijlstra in :issue:`30406`.) | Changes in Python Behavior --------------------------
* :keyword:`async` and :keyword:`await` names are now reserved keywords. Code using these names as identifiers will now raise a :exc:`SyntaxError`. (Contributed by Jelle Zijlstra in :issue:`30406`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
03ee169f-fe78-46b5-a69e-d16251fe3bf8 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,073 | supabase-export-v2 | 287b329ed47252fe | The mode argument of :func:`os.makedirs` no longer affects the file permission bits of newly created intermediate-level directories. (Contributed by Serhiy Storchaka in :issue:`19930`.)
:func:`os.dup2` now returns the new file descriptor. Previously, ``None``
was always returned. (Contributed by Benjamin Peterson in :i... | trusted_official_docs | CPython Docs | The mode argument of :func:`os.makedirs` no longer affects the file permission bits of newly created intermediate-level directories. (Contributed by Serhiy Storchaka in :issue:`19930`.)
:func:`os.dup2` now returns the new file descriptor. Previously, ``None``
was always returned. (Contributed by Benjamin Peterson in :i... | The mode argument of :func:`os.makedirs` no longer affects the file permission bits of newly created intermediate-level directories. (Contributed by Serhiy Storchaka in :issue:`19930`.)
:func:`os.dup2` now returns the new file descriptor. Previously, ``None``
was always returned. (Contributed by Benjamin Peterson in :i... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
049308c4-83c6-4ab6-89f8-1f0a02412d41 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,375 | supabase-export-v2 | 56d25e464796645d | stripped from the URL by the parser :func:`urllib.parse` preventing such attacks. The removal characters are controlled by a new module level variable ``urllib.parse._UNSAFE_URL_BYTES_TO_REMOVE``. (See :gh:`88048`)
Notable security feature in 3.7.14
================================== | trusted_official_docs | CPython Docs | stripped from the URL by the parser :func:`urllib.parse` preventing such attacks. The removal characters are controlled by a new module level variable ``urllib.parse._UNSAFE_URL_BYTES_TO_REMOVE``. (See :gh:`88048`)
Notable security feature in 3.7.14
================================== | stripped from the URL by the parser :func:`urllib.parse` preventing such attacks. The removal characters are controlled by a new module level variable ``urllib.parse._UNSAFE_URL_BYTES_TO_REMOVE``. (See :gh:`88048`)
Notable security feature in 3.7.14
================================== | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
049707e5-a808-4f37-9ba3-51e475a365fe | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,201 | supabase-export-v2 | 3543c881d7b42a1e | module on non-OSX UNIX platforms. An installed copy of libffi is now required when building ``_ctypes`` on such platforms. (Contributed by Zachary Ware in :issue:`27979`.)
The Windows build process no longer depends on Subversion to pull in external
sources, a Python script is used to download zipfiles from GitHub inst... | trusted_official_docs | CPython Docs | module on non-OSX UNIX platforms. An installed copy of libffi is now required when building ``_ctypes`` on such platforms. (Contributed by Zachary Ware in :issue:`27979`.)
The Windows build process no longer depends on Subversion to pull in external
sources, a Python script is used to download zipfiles from GitHub inst... | module on non-OSX UNIX platforms. An installed copy of libffi is now required when building ``_ctypes`` on such platforms. (Contributed by Zachary Ware in :issue:`27979`.)
The Windows build process no longer depends on Subversion to pull in external
sources, a Python script is used to download zipfiles from GitHub inst... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
04fcc8f4-1454-4ddb-88ab-166bbced2162 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,196 | supabase-export-v2 | cd34b25c898b1426 | :c:func:`Py_DecodeLocale`, :c:func:`Py_EncodeLocale` now use the UTF-8 encoding when the :ref:`UTF-8 mode <whatsnew37-pep540>` is enabled. (Contributed by Victor Stinner in :issue:`29240`.)
:c:func:`PyUnicode_DecodeLocaleAndSize` and :c:func:`PyUnicode_EncodeLocale`
now use the current locale encoding for ``surrogatees... | trusted_official_docs | CPython Docs | :c:func:`Py_DecodeLocale`, :c:func:`Py_EncodeLocale` now use the UTF-8 encoding when the :ref:`UTF-8 mode <whatsnew37-pep540>` is enabled. (Contributed by Victor Stinner in :issue:`29240`.)
:c:func:`PyUnicode_DecodeLocaleAndSize` and :c:func:`PyUnicode_EncodeLocale`
now use the current locale encoding for ``surrogatees... | :c:func:`Py_DecodeLocale`, :c:func:`Py_EncodeLocale` now use the UTF-8 encoding when the :ref:`UTF-8 mode <whatsnew37-pep540>` is enabled. (Contributed by Victor Stinner in :issue:`29240`.)
:c:func:`PyUnicode_DecodeLocaleAndSize` and :c:func:`PyUnicode_EncodeLocale`
now use the current locale encoding for ``surrogatees... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
05d0ec64-540b-45c7-bab5-201eb13a978a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,330 | supabase-export-v2 | ef9cdc4d3882f098 | of the string. The previous behavior can be restored by changing the pattern to ``r'\s+'``. A :exc:`FutureWarning` was emitted for such patterns since Python 3.5.
For patterns that match both empty and non-empty strings, the result of
searching for all matches may also be changed in other cases. For example
in the st... | trusted_official_docs | CPython Docs | of the string. The previous behavior can be restored by changing the pattern to ``r'\s+'``. A :exc:`FutureWarning` was emitted for such patterns since Python 3.5.
For patterns that match both empty and non-empty strings, the result of
searching for all matches may also be changed in other cases. For example
in the st... | of the string. The previous behavior can be restored by changing the pattern to ``r'\s+'``. A :exc:`FutureWarning` was emitted for such patterns since Python 3.5.
For patterns that match both empty and non-empty strings, the result of
searching for all matches may also be changed in other cases. For example
in the st... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
073f0d71-bae7-416a-90ee-696ded186297 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,294 | supabase-export-v2 | 782a7226848e0276 | * :mod:`asyncio` no longer exports the :mod:`selectors` and :mod:`!_overlapped` modules as ``asyncio.selectors`` and ``asyncio._overlapped``. Replace ``from asyncio import selectors`` with ``import selectors``.
* Direct instantiation of :class:`ssl.SSLSocket` and :class:`ssl.SSLObject`
objects is now prohibited. The c... | trusted_official_docs | CPython Docs | * :mod:`asyncio` no longer exports the :mod:`selectors` and :mod:`!_overlapped` modules as ``asyncio.selectors`` and ``asyncio._overlapped``. Replace ``from asyncio import selectors`` with ``import selectors``.
* Direct instantiation of :class:`ssl.SSLSocket` and :class:`ssl.SSLObject`
objects is now prohibited. The c... | * :mod:`asyncio` no longer exports the :mod:`selectors` and :mod:`!_overlapped` modules as ``asyncio.selectors`` and ``asyncio._overlapped``. Replace ``from asyncio import selectors`` with ``import selectors``.
* Direct instantiation of :class:`ssl.SSLSocket` and :class:`ssl.SSLObject`
objects is now prohibited. The c... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
075d032d-78a5-4502-8693-df597ceaef6b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,238 | supabase-export-v2 | 5f991b8ead05fb50 | yield expressions. In Python 3.7, such expressions emit :exc:`DeprecationWarning` when compiled, in Python 3.8 this will be a :exc:`SyntaxError`. (Contributed by Serhiy Storchaka in :issue:`10544`.)
Returning a subclass of :class:`complex` from :meth:`object.__complex__` is
deprecated and will be an error in future Pyt... | trusted_official_docs | CPython Docs | yield expressions. In Python 3.7, such expressions emit :exc:`DeprecationWarning` when compiled, in Python 3.8 this will be a :exc:`SyntaxError`. (Contributed by Serhiy Storchaka in :issue:`10544`.)
Returning a subclass of :class:`complex` from :meth:`object.__complex__` is
deprecated and will be an error in future Pyt... | yield expressions. In Python 3.7, such expressions emit :exc:`DeprecationWarning` when compiled, in Python 3.8 this will be a :exc:`SyntaxError`. (Contributed by Serhiy Storchaka in :issue:`10544`.)
Returning a subclass of :class:`complex` from :meth:`object.__complex__` is
deprecated and will be an error in future Pyt... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
07940e93-0091-4e6f-8869-d03d1ba6b8f8 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,109 | supabase-export-v2 | f798925725638a40 | Consequently, OpenSSL 0.9.8 and 1.0.1 are no longer supported (see :ref:`37-platform-support-removals` for more details). The ssl module is mostly compatible with LibreSSL 2.7.2 and newer.
The ``ssl`` module no longer sends IP addresses in SNI TLS extension. (Contributed by Christian Heimes in :issue:`32185`.) | trusted_official_docs | CPython Docs | Consequently, OpenSSL 0.9.8 and 1.0.1 are no longer supported (see :ref:`37-platform-support-removals` for more details). The ssl module is mostly compatible with LibreSSL 2.7.2 and newer.
The ``ssl`` module no longer sends IP addresses in SNI TLS extension. (Contributed by Christian Heimes in :issue:`32185`.) | Consequently, OpenSSL 0.9.8 and 1.0.1 are no longer supported (see :ref:`37-platform-support-removals` for more details). The ssl module is mostly compatible with LibreSSL 2.7.2 and newer.
The ``ssl`` module no longer sends IP addresses in SNI TLS extension. (Contributed by Christian Heimes in :issue:`32185`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
089cf4b9-ad50-4b0b-bf53-e9155b929c8d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,958 | supabase-export-v2 | 4a410849401d6026 | a set of all existing ``Task`` instances in a given loop. The :meth:`!Task.current_task` and :meth:`!Task.all_tasks` methods have been deprecated. (Contributed by Andrew Svetlov in :issue:`32250`.)
* The new *provisional* :class:`~asyncio.BufferedProtocol` class allows
implementing streaming protocols with manual cont... | trusted_official_docs | CPython Docs | a set of all existing ``Task`` instances in a given loop. The :meth:`!Task.current_task` and :meth:`!Task.all_tasks` methods have been deprecated. (Contributed by Andrew Svetlov in :issue:`32250`.)
* The new *provisional* :class:`~asyncio.BufferedProtocol` class allows
implementing streaming protocols with manual cont... | a set of all existing ``Task`` instances in a given loop. The :meth:`!Task.current_task` and :meth:`!Task.all_tasks` methods have been deprecated. (Contributed by Andrew Svetlov in :issue:`32250`.)
* The new *provisional* :class:`~asyncio.BufferedProtocol` class allows
implementing streaming protocols with manual cont... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0978b7ed-d5a0-4968-bb9a-9d07349149fd | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,230 | supabase-export-v2 | cdeeb4257369391d | cases. It is now from 10x to 70x faster when comparing arrays holding values of the same integer type. (Contributed by Adrian Wielgosik in :issue:`24700`.)
The :func:`math.erf` and :func:`math.erfc` functions now use the (faster)
C library implementation on most platforms. (Contributed by Serhiy Storchaka in :issue:`26... | trusted_official_docs | CPython Docs | cases. It is now from 10x to 70x faster when comparing arrays holding values of the same integer type. (Contributed by Adrian Wielgosik in :issue:`24700`.)
The :func:`math.erf` and :func:`math.erfc` functions now use the (faster)
C library implementation on most platforms. (Contributed by Serhiy Storchaka in :issue:`26... | cases. It is now from 10x to 70x faster when comparing arrays holding values of the same integer type. (Contributed by Adrian Wielgosik in :issue:`24700`.)
The :func:`math.erf` and :func:`math.erfc` functions now use the (faster)
C library implementation on most platforms. (Contributed by Serhiy Storchaka in :issue:`26... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0a26d64c-fe08-4878-9d64-2b7ca14f31b9 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,141 | supabase-export-v2 | 11429f99972a4c85 | new :class:`~types.WrapperDescriptorType`, :class:`~types.MethodWrapperType`, :class:`~types.MethodDescriptorType`, and :class:`~types.ClassMethodDescriptorType` classes are now available. (Contributed by Manuel Krebber and Guido van Rossum in :issue:`29377`, and Serhiy Storchaka in :issue:`32265`.)
The new :func:`type... | trusted_official_docs | CPython Docs | new :class:`~types.WrapperDescriptorType`, :class:`~types.MethodWrapperType`, :class:`~types.MethodDescriptorType`, and :class:`~types.ClassMethodDescriptorType` classes are now available. (Contributed by Manuel Krebber and Guido van Rossum in :issue:`29377`, and Serhiy Storchaka in :issue:`32265`.)
The new :func:`type... | new :class:`~types.WrapperDescriptorType`, :class:`~types.MethodWrapperType`, :class:`~types.MethodDescriptorType`, and :class:`~types.ClassMethodDescriptorType` classes are now available. (Contributed by Manuel Krebber and Guido van Rossum in :issue:`29377`, and Serhiy Storchaka in :issue:`32265`.)
The new :func:`type... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0b5e5cb5-b97e-4975-ab4c-f720c0c0b780 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,028 | supabase-export-v2 | 0464b063770f05a9 | dialog (Options, Configure IDLE) has been partly rewritten to improve both appearance and function. (Contributed by Cheryl Sabella and Terry Jan Reedy in multiple issues.)
The font sample now includes a selection of non-Latin characters so that
users can better see the effect of selecting a particular font. (Contribute... | trusted_official_docs | CPython Docs | dialog (Options, Configure IDLE) has been partly rewritten to improve both appearance and function. (Contributed by Cheryl Sabella and Terry Jan Reedy in multiple issues.)
The font sample now includes a selection of non-Latin characters so that
users can better see the effect of selecting a particular font. (Contribute... | dialog (Options, Configure IDLE) has been partly rewritten to improve both appearance and function. (Contributed by Cheryl Sabella and Terry Jan Reedy in multiple issues.)
The font sample now includes a selection of non-Latin characters so that
users can better see the effect of selecting a particular font. (Contribute... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0b9c8344-31d4-44bf-aea9-9e6903188721 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,316 | supabase-export-v2 | b5829b1baba4b6f8 | child processes complete. Set the new :attr:`socketserver.ForkingMixIn.block_on_close <socketserver.ThreadingMixIn.block_on_close>` class attribute to ``False`` to get the pre-3.7 behaviour. (Contributed by Victor Stinner in :issue:`31151` and :issue:`33540`.)
* The :func:`locale.localeconv` function now temporarily se... | trusted_official_docs | CPython Docs | child processes complete. Set the new :attr:`socketserver.ForkingMixIn.block_on_close <socketserver.ThreadingMixIn.block_on_close>` class attribute to ``False`` to get the pre-3.7 behaviour. (Contributed by Victor Stinner in :issue:`31151` and :issue:`33540`.)
* The :func:`locale.localeconv` function now temporarily se... | child processes complete. Set the new :attr:`socketserver.ForkingMixIn.block_on_close <socketserver.ThreadingMixIn.block_on_close>` class attribute to ``False`` to get the pre-3.7 behaviour. (Contributed by Victor Stinner in :issue:`31151` and :issue:`33540`.)
* The :func:`locale.localeconv` function now temporarily se... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0bc59f60-aa27-447f-9bc7-bf207e56bd95 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,325 | supabase-export-v2 | 7ac21722716acf62 | * ``repr`` for :exc:`BaseException` has changed to not include the trailing comma. Most exceptions are affected by this change. (Contributed by Serhiy Storchaka in :issue:`30399`.)
* ``repr`` for :class:`datetime.timedelta` has changed to include the keyword
arguments in the output. (Contributed by Utkarsh Upadhyay in... | trusted_official_docs | CPython Docs | * ``repr`` for :exc:`BaseException` has changed to not include the trailing comma. Most exceptions are affected by this change. (Contributed by Serhiy Storchaka in :issue:`30399`.)
* ``repr`` for :class:`datetime.timedelta` has changed to include the keyword
arguments in the output. (Contributed by Utkarsh Upadhyay in... | * ``repr`` for :exc:`BaseException` has changed to not include the trailing comma. Most exceptions are affected by this change. (Contributed by Serhiy Storchaka in :issue:`30399`.)
* ``repr`` for :class:`datetime.timedelta` has changed to include the keyword
arguments in the output. (Contributed by Utkarsh Upadhyay in... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0e5c8ccc-382c-4dba-b77a-5ff77596ab62 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,188 | supabase-export-v2 | 077c7a01ad9f4e92 | Added functions :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices`. (Contributed by Serhiy Storchaka in :issue:`27867`.)
:c:func:`PyOS_AfterFork` is deprecated in favour of the new functions
:c:func:`PyOS_BeforeFork`, :c:func:`PyOS_AfterFork_Parent` and
:c:func:`PyOS_AfterFork_Child`. (Contributed by Antoine ... | trusted_official_docs | CPython Docs | Added functions :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices`. (Contributed by Serhiy Storchaka in :issue:`27867`.)
:c:func:`PyOS_AfterFork` is deprecated in favour of the new functions
:c:func:`PyOS_BeforeFork`, :c:func:`PyOS_AfterFork_Parent` and
:c:func:`PyOS_AfterFork_Child`. (Contributed by Antoine ... | Added functions :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices`. (Contributed by Serhiy Storchaka in :issue:`27867`.)
:c:func:`PyOS_AfterFork` is deprecated in favour of the new functions
:c:func:`PyOS_BeforeFork`, :c:func:`PyOS_AfterFork_Parent` and
:c:func:`PyOS_AfterFork_Child`. (Contributed by Antoine ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0e675f92-4d63-4572-b7c3-ada4759f8a4d | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,038 | supabase-export-v2 | bda95730874adb3d | New in 3.7.5:
Add optional line numbers for IDLE editor windows. Windows
open without line numbers unless set otherwise in the General
tab of the configuration dialog. Line numbers for an existing
window are shown and hidden in the Options menu. (Contributed by Tal Einat and Saimadhav Heblikar in :issue:`17535`.) | trusted_official_docs | CPython Docs | New in 3.7.5:
Add optional line numbers for IDLE editor windows. Windows
open without line numbers unless set otherwise in the General
tab of the configuration dialog. Line numbers for an existing
window are shown and hidden in the Options menu. (Contributed by Tal Einat and Saimadhav Heblikar in :issue:`17535`.) | New in 3.7.5:
Add optional line numbers for IDLE editor windows. Windows
open without line numbers unless set otherwise in the General
tab of the configuration dialog. Line numbers for an existing
window are shown and hidden in the Options menu. (Contributed by Tal Einat and Saimadhav Heblikar in :issue:`17535`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0eff4a0c-07ab-4e49-af30-33cda37fca8c | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,223 | supabase-export-v2 | 4ce58fa39e885d45 | The speed of the :func:`shutil.rmtree` function has been improved by 20--40% thanks to the use of the :func:`os.scandir` function. (Contributed by Serhiy Storchaka in :issue:`28564`.)
Optimized case-insensitive matching and searching of :mod:`regular
expressions <re>`. Searching some patterns can now be up to 20 times ... | trusted_official_docs | CPython Docs | The speed of the :func:`shutil.rmtree` function has been improved by 20--40% thanks to the use of the :func:`os.scandir` function. (Contributed by Serhiy Storchaka in :issue:`28564`.)
Optimized case-insensitive matching and searching of :mod:`regular
expressions <re>`. Searching some patterns can now be up to 20 times ... | The speed of the :func:`shutil.rmtree` function has been improved by 20--40% thanks to the use of the :func:`os.scandir` function. (Contributed by Serhiy Storchaka in :issue:`28564`.)
Optimized case-insensitive matching and searching of :mod:`regular
expressions <re>`. Searching some patterns can now be up to 20 times ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
11b26fc9-4771-4ca1-8aa9-9115d71559f4 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,066 | supabase-export-v2 | e42bbe779125c63f | The new :meth:`Process.kill() <multiprocessing.Process.kill>` method can be used to terminate the process using the :data:`~signal.SIGKILL` signal on Unix. (Contributed by Vitor Pereira in :issue:`30794`.)
Non-daemonic threads created by :class:`~multiprocessing.Process` are now
joined on process exit. (Contributed by ... | trusted_official_docs | CPython Docs | The new :meth:`Process.kill() <multiprocessing.Process.kill>` method can be used to terminate the process using the :data:`~signal.SIGKILL` signal on Unix. (Contributed by Vitor Pereira in :issue:`30794`.)
Non-daemonic threads created by :class:`~multiprocessing.Process` are now
joined on process exit. (Contributed by ... | The new :meth:`Process.kill() <multiprocessing.Process.kill>` method can be used to terminate the process using the :data:`~signal.SIGKILL` signal on Unix. (Contributed by Vitor Pereira in :issue:`30794`.)
Non-daemonic threads created by :class:`~multiprocessing.Process` are now
joined on process exit. (Contributed by ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
11ef9258-52b8-4bf0-84a6-8269c4e83cda | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,217 | supabase-export-v2 | c554be844fdfb95b | :meth:`dict.copy` is now up to 5.5 times faster. (Contributed by Yury Selivanov in :issue:`31179`.)
:func:`hasattr` and :func:`getattr` are now about 4 times faster when
*name* is not found and *obj* does not override :meth:`object.__getattr__`
or :meth:`object.__getattribute__`. (Contributed by INADA Naoki in :issue:`... | trusted_official_docs | CPython Docs | :meth:`dict.copy` is now up to 5.5 times faster. (Contributed by Yury Selivanov in :issue:`31179`.)
:func:`hasattr` and :func:`getattr` are now about 4 times faster when
*name* is not found and *obj* does not override :meth:`object.__getattr__`
or :meth:`object.__getattribute__`. (Contributed by INADA Naoki in :issue:`... | :meth:`dict.copy` is now up to 5.5 times faster. (Contributed by Yury Selivanov in :issue:`31179`.)
:func:`hasattr` and :func:`getattr` are now about 4 times faster when
*name* is not found and *obj* does not override :meth:`object.__getattr__`
or :meth:`object.__getattribute__`. (Contributed by INADA Naoki in :issue:`... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1214263b-d391-4e18-9177-a95c336b7b64 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,162 | supabase-export-v2 | 47f4c71ca6f4c35a | * in :ref:`CPython debug builds <debug-build>`, all warnings are now displayed by default (the implicit filter list is empty)
(Contributed by Nick Coghlan and Victor Stinner in :issue:`20361`,
:issue:`32043`, and :issue:`32230`.) | trusted_official_docs | CPython Docs | * in :ref:`CPython debug builds <debug-build>`, all warnings are now displayed by default (the implicit filter list is empty)
(Contributed by Nick Coghlan and Victor Stinner in :issue:`20361`,
:issue:`32043`, and :issue:`32230`.) | * in :ref:`CPython debug builds <debug-build>`, all warnings are now displayed by default (the implicit filter list is empty)
(Contributed by Nick Coghlan and Victor Stinner in :issue:`20361`,
:issue:`32043`, and :issue:`32230`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
128a2633-4ac6-44c2-b40c-fc9bdf09520f | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,023 | supabase-export-v2 | 0768279d89782f47 | this parameter, the server serves the specified directory, by default it uses the current working directory. (Contributed by Stéphane Wirtel and Julien Palard in :issue:`28707`.)
The new :class:`ThreadingHTTPServer <http.server.ThreadingHTTPServer>` class
uses threads to handle requests using :class:`~socketserver.Thre... | trusted_official_docs | CPython Docs | this parameter, the server serves the specified directory, by default it uses the current working directory. (Contributed by Stéphane Wirtel and Julien Palard in :issue:`28707`.)
The new :class:`ThreadingHTTPServer <http.server.ThreadingHTTPServer>` class
uses threads to handle requests using :class:`~socketserver.Thre... | this parameter, the server serves the specified directory, by default it uses the current working directory. (Contributed by Stéphane Wirtel and Julien Palard in :issue:`28707`.)
The new :class:`ThreadingHTTPServer <http.server.ThreadingHTTPServer>` class
uses threads to handle requests using :class:`~socketserver.Thre... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
12bd3542-0cef-443c-890f-928fffc4086b | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,986 | supabase-export-v2 | eb7da387de545aa2 | compileall ----------
:func:`compileall.compile_dir` learned the new *invalidation_mode* parameter,
which can be used to enable
:ref:`hash-based .pyc invalidation <whatsnew37-pep552>`. The invalidation
mode can also be specified on the command line using the new
``--invalidation-mode`` argument. (Contributed by Benjami... | trusted_official_docs | CPython Docs | compileall ----------
:func:`compileall.compile_dir` learned the new *invalidation_mode* parameter,
which can be used to enable
:ref:`hash-based .pyc invalidation <whatsnew37-pep552>`. The invalidation
mode can also be specified on the command line using the new
``--invalidation-mode`` argument. (Contributed by Benjami... | compileall ----------
:func:`compileall.compile_dir` learned the new *invalidation_mode* parameter,
which can be used to enable
:ref:`hash-based .pyc invalidation <whatsnew37-pep552>`. The invalidation
mode can also be specified on the command line using the new
``--invalidation-mode`` argument. (Contributed by Benjami... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
146ae3b5-8e9e-4cbd-8d26-9a3849e6840a | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,997 | supabase-export-v2 | 76230cf1698175a6 | The :mod:`!crypt` module now supports the Blowfish hashing method. (Contributed by Serhiy Storchaka in :issue:`31664`.)
The :func:`!mksalt` function now allows specifying the number of rounds
for hashing. (Contributed by Serhiy Storchaka in :issue:`31702`.) | trusted_official_docs | CPython Docs | The :mod:`!crypt` module now supports the Blowfish hashing method. (Contributed by Serhiy Storchaka in :issue:`31664`.)
The :func:`!mksalt` function now allows specifying the number of rounds
for hashing. (Contributed by Serhiy Storchaka in :issue:`31702`.) | The :mod:`!crypt` module now supports the Blowfish hashing method. (Contributed by Serhiy Storchaka in :issue:`31664`.)
The :func:`!mksalt` function now allows specifying the number of rounds
for hashing. (Contributed by Serhiy Storchaka in :issue:`31702`.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
149d700c-6905-4d9e-9be9-391c070922ca | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,926 | supabase-export-v2 | 5caca5f259376d3b | * ``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather than ``format(str(self), '')``. (Contributed by Serhiy Storchaka in :issue:`28974`.)
* In order to better support dynamic creation of stack traces,
:class:`types.TracebackType` can now be instantiated from Python code, and
the :attr:`~traceback.tb_... | trusted_official_docs | CPython Docs | * ``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather than ``format(str(self), '')``. (Contributed by Serhiy Storchaka in :issue:`28974`.)
* In order to better support dynamic creation of stack traces,
:class:`types.TracebackType` can now be instantiated from Python code, and
the :attr:`~traceback.tb_... | * ``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather than ``format(str(self), '')``. (Contributed by Serhiy Storchaka in :issue:`28974`.)
* In order to better support dynamic creation of stack traces,
:class:`types.TracebackType` can now be instantiated from Python code, and
the :attr:`~traceback.tb_... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
156554e8-1adb-40d0-8c41-ab4660189052 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 61,875 | supabase-export-v2 | b4d51dbbfda639ad | PEP 562: Customization of Access to Module Attributes -----------------------------------------------------
Python 3.7 allows defining :meth:`~module.__getattr__` on modules and will call
it whenever a module attribute is otherwise not found. Defining
:meth:`~module.__dir__` on modules is now also allowed. | trusted_official_docs | CPython Docs | PEP 562: Customization of Access to Module Attributes -----------------------------------------------------
Python 3.7 allows defining :meth:`~module.__getattr__` on modules and will call
it whenever a module attribute is otherwise not found. Defining
:meth:`~module.__dir__` on modules is now also allowed. | PEP 562: Customization of Access to Module Attributes -----------------------------------------------------
Python 3.7 allows defining :meth:`~module.__getattr__` on modules and will call
it whenever a module attribute is otherwise not found. Defining
:meth:`~module.__dir__` on modules is now also allowed. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
16442f96-1a50-4f50-ae36-fa06f7a1ffe2 | CPython Docs | file://datasets/cpython/Doc/whatsnew/3.7.rst | unknown | cfa714a2-214d-4d23-b892-296ccd0a7199 | 62,276 | supabase-export-v2 | ddff42d238f56248 | or set to a value in the range between ``0x03050400`` and ``0x03060000`` (not inclusive), or is ``0x03060100`` or higher. (Contributed by Serhiy Storchaka in :issue:`27867`.)
:c:func:`PyOS_AfterFork` has been deprecated. Use :c:func:`PyOS_BeforeFork`,
:c:func:`PyOS_AfterFork_Parent` or :c:func:`PyOS_AfterFork_Child()` ... | trusted_official_docs | CPython Docs | or set to a value in the range between ``0x03050400`` and ``0x03060000`` (not inclusive), or is ``0x03060100`` or higher. (Contributed by Serhiy Storchaka in :issue:`27867`.)
:c:func:`PyOS_AfterFork` has been deprecated. Use :c:func:`PyOS_BeforeFork`,
:c:func:`PyOS_AfterFork_Parent` or :c:func:`PyOS_AfterFork_Child()` ... | or set to a value in the range between ``0x03050400`` and ``0x03060000`` (not inclusive), or is ``0x03060100`` or higher. (Contributed by Serhiy Storchaka in :issue:`27867`.)
:c:func:`PyOS_AfterFork` has been deprecated. Use :c:func:`PyOS_BeforeFork`,
:c:func:`PyOS_AfterFork_Parent` or :c:func:`PyOS_AfterFork_Child()` ... | 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.