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
0d2c6103-24ac-4421-a026-cd7de0698209
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,648
supabase-export-v2
e077fabfc462d389
socketserver ------------ :class:`~socketserver.BaseServer` now has an overridable method :meth:`~socketserver.BaseServer.service_actions` that is called by the :meth:`~socketserver.BaseServer.serve_forever` method in the service loop. :class:`~socketserver.ForkingMixIn` now uses this to clean up zombie child processes...
trusted_official_docs
CPython Docs
socketserver ------------ :class:`~socketserver.BaseServer` now has an overridable method :meth:`~socketserver.BaseServer.service_actions` that is called by the :meth:`~socketserver.BaseServer.serve_forever` method in the service loop. :class:`~socketserver.ForkingMixIn` now uses this to clean up zombie child processes...
socketserver ------------ :class:`~socketserver.BaseServer` now has an overridable method :meth:`~socketserver.BaseServer.service_actions` that is called by the :meth:`~socketserver.BaseServer.serve_forever` method in the service loop. :class:`~socketserver.ForkingMixIn` now uses this to clean up zombie child processes...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0ed85c74-c72e-4577-abee-1dbc86fd4d44
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,591
supabase-export-v2
9691716d03c0e10a
functions control how a process is allocated CPU time by the operating system. New functions: :func:`~os.sched_get_priority_max`, :func:`~os.sched_get_priority_min`, :func:`~os.sched_getaffinity`, :func:`~os.sched_getparam`, :func:`~os.sched_getscheduler`, :func:`~os.sched_rr_get_interval`, :func:`~os.sched_setaffinity...
trusted_official_docs
CPython Docs
functions control how a process is allocated CPU time by the operating system. New functions: :func:`~os.sched_get_priority_max`, :func:`~os.sched_get_priority_min`, :func:`~os.sched_getaffinity`, :func:`~os.sched_getparam`, :func:`~os.sched_getscheduler`, :func:`~os.sched_rr_get_interval`, :func:`~os.sched_setaffinity...
functions control how a process is allocated CPU time by the operating system. New functions: :func:`~os.sched_get_priority_max`, :func:`~os.sched_get_priority_min`, :func:`~os.sched_getaffinity`, :func:`~os.sched_getparam`, :func:`~os.sched_getscheduler`, :func:`~os.sched_rr_get_interval`, :func:`~os.sched_setaffinity...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0f1d458c-a731-4b92-93cb-5f2177d02034
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,765
supabase-export-v2
ad72370090b7eeff
* The deprecated ``Context._clamp`` attribute has been removed from the :mod:`decimal` module. It was previously replaced by the public attribute :attr:`~decimal.Context.clamp`. (See :issue:`8540`.) * The undocumented internal helper class ``SSLFakeFile`` has been removed from :mod:`smtplib`, since its functionality h...
trusted_official_docs
CPython Docs
* The deprecated ``Context._clamp`` attribute has been removed from the :mod:`decimal` module. It was previously replaced by the public attribute :attr:`~decimal.Context.clamp`. (See :issue:`8540`.) * The undocumented internal helper class ``SSLFakeFile`` has been removed from :mod:`smtplib`, since its functionality h...
* The deprecated ``Context._clamp`` attribute has been removed from the :mod:`decimal` module. It was previously replaced by the public attribute :attr:`~decimal.Context.clamp`. (See :issue:`8540`.) * The undocumented internal helper class ``SSLFakeFile`` has been removed from :mod:`smtplib`, since its functionality h...
python, official-docs, cpython, P0
Local_Trusted_Corpus
114fdc5c-c4dc-45a8-b500-21687ab3032a
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,583
supabase-export-v2
becc689a5c1565c6
on using the effective uid/gid rather than the real uid/gid in the access check. Platform support for this can be checked via the :data:`~os.supports_effective_ids` set. * The :mod:`os` module has two new functions: :func:`~os.getpriority` and :func:`~os.setpriority`. They can be used to get or set process niceness/p...
trusted_official_docs
CPython Docs
on using the effective uid/gid rather than the real uid/gid in the access check. Platform support for this can be checked via the :data:`~os.supports_effective_ids` set. * The :mod:`os` module has two new functions: :func:`~os.getpriority` and :func:`~os.setpriority`. They can be used to get or set process niceness/p...
on using the effective uid/gid rather than the real uid/gid in the access check. Platform support for this can be checked via the :data:`~os.supports_effective_ids` set. * The :mod:`os` module has two new functions: :func:`~os.getpriority` and :func:`~os.setpriority`. They can be used to get or set process niceness/p...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1155454d-905b-423f-b11b-36ae69967ba5
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,299
supabase-export-v2
e8da78181ed241d6
are installed, the most recent version is used by default, but this can be overridden by including a Unix-style "shebang line" in the Python script. The launcher can also be used explicitly from the command line as the ``py`` application. Running ``py`` follows the same version selection rules as implicitly launching s...
trusted_official_docs
CPython Docs
are installed, the most recent version is used by default, but this can be overridden by including a Unix-style "shebang line" in the Python script. The launcher can also be used explicitly from the command line as the ``py`` application. Running ``py`` follows the same version selection rules as implicitly launching s...
are installed, the most recent version is used by default, but this can be overridden by including a Unix-style "shebang line" in the Python script. The launcher can also be used explicitly from the command line as the ``py`` application. Running ``py`` follows the same version selection rules as implicitly launching s...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1182917f-5ca9-4ae3-93b0-6059f0dbf6e8
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,645
supabase-export-v2
22c774ae4a2161e8
* The :class:`~socket.socket` class now supports the PF_RDS protocol family (https://en.wikipedia.org/wiki/Reliable_Datagram_Sockets and `https://oss.oracle.com/projects/rds <https://web.archive.org/web/20130115155505/https://oss.oracle.com/projects/rds/>`__). * The :class:`~socket.socket` class now supports the ``PF_S...
trusted_official_docs
CPython Docs
* The :class:`~socket.socket` class now supports the PF_RDS protocol family (https://en.wikipedia.org/wiki/Reliable_Datagram_Sockets and `https://oss.oracle.com/projects/rds <https://web.archive.org/web/20130115155505/https://oss.oracle.com/projects/rds/>`__). * The :class:`~socket.socket` class now supports the ``PF_S...
* The :class:`~socket.socket` class now supports the PF_RDS protocol family (https://en.wikipedia.org/wiki/Reliable_Datagram_Sockets and `https://oss.oracle.com/projects/rds <https://web.archive.org/web/20130115155505/https://oss.oracle.com/projects/rds/>`__). * The :class:`~socket.socket` class now supports the ``PF_S...
python, official-docs, cpython, P0
Local_Trusted_Corpus
15bfe28e-d616-4f79-9745-fd63d08de24d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,431
supabase-export-v2
4691f0fa72d038c8
methods. The recommended approach to declaring abstract descriptors is now to provide :attr:`!__isabstractmethod__` as a dynamically updated property. The built-in descriptors have been updated accordingly. * :class:`abc.abstractproperty` has been deprecated, use :class:`property` with :func:`abc.abstractmethod` inste...
trusted_official_docs
CPython Docs
methods. The recommended approach to declaring abstract descriptors is now to provide :attr:`!__isabstractmethod__` as a dynamically updated property. The built-in descriptors have been updated accordingly. * :class:`abc.abstractproperty` has been deprecated, use :class:`property` with :func:`abc.abstractmethod` inste...
methods. The recommended approach to declaring abstract descriptors is now to provide :attr:`!__isabstractmethod__` as a dynamically updated property. The built-in descriptors have been updated accordingly. * :class:`abc.abstractproperty` has been deprecated, use :class:`property` with :func:`abc.abstractmethod` inste...
python, official-docs, cpython, P0
Local_Trusted_Corpus
15c47905-4cb5-41ac-977c-ce351a8ecde6
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,276
supabase-export-v2
7a0670b911258c00
On the Python side, there should be no downside to this change. On the C API side, :pep:`393` is fully backward compatible. The legacy API should remain available at least five years. Applications using the legacy API will not fully benefit of the memory reduction, or - worse - may use a bit more memory, because Python...
trusted_official_docs
CPython Docs
On the Python side, there should be no downside to this change. On the C API side, :pep:`393` is fully backward compatible. The legacy API should remain available at least five years. Applications using the legacy API will not fully benefit of the memory reduction, or - worse - may use a bit more memory, because Python...
On the Python side, there should be no downside to this change. On the C API side, :pep:`393` is fully backward compatible. The legacy API should remain available at least five years. Applications using the legacy API will not fully benefit of the memory reduction, or - worse - may use a bit more memory, because Python...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1715e1aa-fabc-4794-a2ee-a62122354605
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,633
supabase-export-v2
af350d198b8f2378
SMTP) and :rfc:`1870` (size extension). Per the standard, these extensions are enabled if and only if the client initiates the session with an ``EHLO`` command. (Initial ``ELHO`` support by Alberto Trevino. Size extension by Juhana Jauhiainen. Substantial additional work on the patch contributed by Michele Orrù and Dan...
trusted_official_docs
CPython Docs
SMTP) and :rfc:`1870` (size extension). Per the standard, these extensions are enabled if and only if the client initiates the session with an ``EHLO`` command. (Initial ``ELHO`` support by Alberto Trevino. Size extension by Juhana Jauhiainen. Substantial additional work on the patch contributed by Michele Orrù and Dan...
SMTP) and :rfc:`1870` (size extension). Per the standard, these extensions are enabled if and only if the client initiates the session with an ``EHLO`` command. (Initial ``ELHO`` support by Alberto Trevino. Size extension by Juhana Jauhiainen. Substantial additional work on the patch contributed by Michele Orrù and Dan...
python, official-docs, cpython, P0
Local_Trusted_Corpus
178fc255-7977-4dfb-9326-2dd767aaf248
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,683
supabase-export-v2
5121f2110ca875de
The :class:`threading.Thread` constructor now accepts a ``daemon`` keyword argument to override the default behavior of inheriting the ``daemon`` flag value from the parent thread (:issue:`6064`). The formerly private function ``_thread.get_ident`` is now available as the public function :func:`threading.get_ident`. Th...
trusted_official_docs
CPython Docs
The :class:`threading.Thread` constructor now accepts a ``daemon`` keyword argument to override the default behavior of inheriting the ``daemon`` flag value from the parent thread (:issue:`6064`). The formerly private function ``_thread.get_ident`` is now available as the public function :func:`threading.get_ident`. Th...
The :class:`threading.Thread` constructor now accepts a ``daemon`` keyword argument to override the default behavior of inheriting the ``daemon`` flag value from the parent thread (:issue:`6064`). The formerly private function ``_thread.get_ident`` is now available as the public function :func:`threading.get_ident`. Th...
python, official-docs, cpython, P0
Local_Trusted_Corpus
17ed8794-ec4d-45bb-a5cd-c3c12e80fdde
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,740
supabase-export-v2
64c3e0ccfb9c56b3
Encoders: * :c:func:`!PyUnicode_Encode`: use :c:func:`!PyUnicode_AsEncodedObject` * :c:func:`!PyUnicode_EncodeUTF7` * :c:func:`!PyUnicode_EncodeUTF8`: use :c:func:`PyUnicode_AsUTF8` or :c:func:`PyUnicode_AsUTF8String` * :c:func:`!PyUnicode_EncodeUTF32` * :c:func:`!PyUnicode_EncodeUTF16` * :c:func:`!PyUnicode_EncodeUni...
trusted_official_docs
CPython Docs
Encoders: * :c:func:`!PyUnicode_Encode`: use :c:func:`!PyUnicode_AsEncodedObject` * :c:func:`!PyUnicode_EncodeUTF7` * :c:func:`!PyUnicode_EncodeUTF8`: use :c:func:`PyUnicode_AsUTF8` or :c:func:`PyUnicode_AsUTF8String` * :c:func:`!PyUnicode_EncodeUTF32` * :c:func:`!PyUnicode_EncodeUTF16` * :c:func:`!PyUnicode_EncodeUni...
Encoders: * :c:func:`!PyUnicode_Encode`: use :c:func:`!PyUnicode_AsEncodedObject` * :c:func:`!PyUnicode_EncodeUTF7` * :c:func:`!PyUnicode_EncodeUTF8`: use :c:func:`PyUnicode_AsUTF8` or :c:func:`PyUnicode_AsUTF8String` * :c:func:`!PyUnicode_EncodeUTF32` * :c:func:`!PyUnicode_EncodeUTF16` * :c:func:`!PyUnicode_EncodeUni...
python, official-docs, cpython, P0
Local_Trusted_Corpus
17fdedf9-9ab8-4fd9-9472-3d1b0c37a14f
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,681
supabase-export-v2
11b3e944fbdb772a
threading --------- :class:`threading.Condition`, :class:`threading.Semaphore`, :class:`threading.BoundedSemaphore`, :class:`threading.Event`, and :class:`threading.Timer`, all of which used to be factory functions returning a class instance, are now classes and may be subclassed. (Contributed by Éric Araujo in :issue:...
trusted_official_docs
CPython Docs
threading --------- :class:`threading.Condition`, :class:`threading.Semaphore`, :class:`threading.BoundedSemaphore`, :class:`threading.Event`, and :class:`threading.Timer`, all of which used to be factory functions returning a class instance, are now classes and may be subclassed. (Contributed by Éric Araujo in :issue:...
threading --------- :class:`threading.Condition`, :class:`threading.Semaphore`, :class:`threading.BoundedSemaphore`, :class:`threading.Event`, and :class:`threading.Timer`, all of which used to be factory functions returning a class instance, are now classes and may be subclassed. (Contributed by Éric Araujo in :issue:...
python, official-docs, cpython, P0
Local_Trusted_Corpus
18ded46a-3dcf-4e19-8e84-a56bb82a8f39
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,595
supabase-export-v2
725bb15d7725ef59
to a file descriptor, where *buffers* is an arbitrary sequence of buffers. * :func:`~os.getgrouplist` (:issue:`9344`): Return list of group ids that specified user belongs to. * :func:`~os.times` and :func:`~os.uname`: Return type changed from a tuple to a tuple-like object with named attributes.
trusted_official_docs
CPython Docs
to a file descriptor, where *buffers* is an arbitrary sequence of buffers. * :func:`~os.getgrouplist` (:issue:`9344`): Return list of group ids that specified user belongs to. * :func:`~os.times` and :func:`~os.uname`: Return type changed from a tuple to a tuple-like object with named attributes.
to a file descriptor, where *buffers* is an arbitrary sequence of buffers. * :func:`~os.getgrouplist` (:issue:`9344`): Return list of group ids that specified user belongs to. * :func:`~os.times` and :func:`~os.uname`: Return type changed from a tuple to a tuple-like object with named attributes.
python, official-docs, cpython, P0
Local_Trusted_Corpus
18fe31e6-c4db-42e6-b354-9fa7530cec3e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,284
supabase-export-v2
2ce9608cf7ec007f
* indexing or slicing non-BMP characters returns the expected value, so ``'\U0010FFFF'[0]`` now returns ``'\U0010FFFF'`` and not ``'\uDBFF'``; * all other functions in the standard library now correctly handle non-BMP code points.
trusted_official_docs
CPython Docs
* indexing or slicing non-BMP characters returns the expected value, so ``'\U0010FFFF'[0]`` now returns ``'\U0010FFFF'`` and not ``'\uDBFF'``; * all other functions in the standard library now correctly handle non-BMP code points.
* indexing or slicing non-BMP characters returns the expected value, so ``'\U0010FFFF'[0]`` now returns ``'\U0010FFFF'`` and not ``'\uDBFF'``; * all other functions in the standard library now correctly handle non-BMP code points.
python, official-docs, cpython, P0
Local_Trusted_Corpus
1910ca00-4920-47d7-838d-4b03da9f777f
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,536
supabase-export-v2
16607e2f8928c129
http ---- :class:`http.server.BaseHTTPRequestHandler` now buffers the headers and writes them all at once when :meth:`~http.server.BaseHTTPRequestHandler.end_headers` is called. A new method :meth:`~http.server.BaseHTTPRequestHandler.flush_headers` can be used to directly manage when the accumulated headers are sent. (...
trusted_official_docs
CPython Docs
http ---- :class:`http.server.BaseHTTPRequestHandler` now buffers the headers and writes them all at once when :meth:`~http.server.BaseHTTPRequestHandler.end_headers` is called. A new method :meth:`~http.server.BaseHTTPRequestHandler.flush_headers` can be used to directly manage when the accumulated headers are sent. (...
http ---- :class:`http.server.BaseHTTPRequestHandler` now buffers the headers and writes them all at once when :meth:`~http.server.BaseHTTPRequestHandler.end_headers` is called. A new method :meth:`~http.server.BaseHTTPRequestHandler.flush_headers` can be used to directly manage when the accumulated headers are sent. (...
python, official-docs, cpython, P0
Local_Trusted_Corpus
19446ca9-448d-475b-b3db-2076ff83f893
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,581
supabase-export-v2
31af9a7c09214c85
:func:`~os.open`, :func:`~os.readlink`, :func:`~os.remove`, :func:`~os.rename`, :func:`~os.replace`, :func:`~os.rmdir`, :func:`~os.stat`, :func:`~os.symlink`, :func:`~os.unlink`, :func:`~os.utime`. Platform support for using these parameters can be checked via the sets :data:`os.supports_dir_fd` and :data:`os.supports_...
trusted_official_docs
CPython Docs
:func:`~os.open`, :func:`~os.readlink`, :func:`~os.remove`, :func:`~os.rename`, :func:`~os.replace`, :func:`~os.rmdir`, :func:`~os.stat`, :func:`~os.symlink`, :func:`~os.unlink`, :func:`~os.utime`. Platform support for using these parameters can be checked via the sets :data:`os.supports_dir_fd` and :data:`os.supports_...
:func:`~os.open`, :func:`~os.readlink`, :func:`~os.remove`, :func:`~os.rename`, :func:`~os.replace`, :func:`~os.rmdir`, :func:`~os.stat`, :func:`~os.symlink`, :func:`~os.unlink`, :func:`~os.utime`. Platform support for using these parameters can be checked via the sets :data:`os.supports_dir_fd` and :data:`os.supports_...
python, official-docs, cpython, P0
Local_Trusted_Corpus
19b3e776-4399-4479-a0fb-e5c76072b8ba
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,470
supabase-export-v2
033cabec448e88bd
get a wide character * The :mod:`curses` module has a new :meth:`~curses.unget_wch` function to push a wide character so the next :meth:`~curses.window.get_wch` will return it (Contributed by Iñigo Serna in :issue:`6755`.)
trusted_official_docs
CPython Docs
get a wide character * The :mod:`curses` module has a new :meth:`~curses.unget_wch` function to push a wide character so the next :meth:`~curses.window.get_wch` will return it (Contributed by Iñigo Serna in :issue:`6755`.)
get a wide character * The :mod:`curses` module has a new :meth:`~curses.unget_wch` function to push a wide character so the next :meth:`~curses.window.get_wch` will return it (Contributed by Iñigo Serna in :issue:`6755`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
1a4e03ac-4eb9-4f1a-b90f-fcf496033629
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,344
supabase-export-v2
f523d719d7baffe8
PEP 414: Explicit Unicode literals ====================================== To ease the transition from Python 2 for Unicode aware Python applications that make heavy use of Unicode literals, Python 3.3 once again supports the "``u``" prefix for string literals. This prefix has no semantic significance in Python 3, it is...
trusted_official_docs
CPython Docs
PEP 414: Explicit Unicode literals ====================================== To ease the transition from Python 2 for Unicode aware Python applications that make heavy use of Unicode literals, Python 3.3 once again supports the "``u``" prefix for string literals. This prefix has no semantic significance in Python 3, it is...
PEP 414: Explicit Unicode literals ====================================== To ease the transition from Python 2 for Unicode aware Python applications that make heavy use of Unicode literals, Python 3.3 once again supports the "``u``" prefix for string literals. This prefix has no semantic significance in Python 3, it is...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1baebff6-bd34-4841-a443-5cacb48095fb
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,597
supabase-export-v2
d9f7433890c9b91a
* Some platforms now support additional constants for the :func:`~os.lseek` function, such as ``os.SEEK_HOLE`` and ``os.SEEK_DATA``. * New constants :const:`~os.RTLD_LAZY`, :const:`~os.RTLD_NOW`, :const:`~os.RTLD_GLOBAL`, :const:`~os.RTLD_LOCAL`, :const:`~os.RTLD_NODELETE`, :const:`~os.RTLD_NOLOAD`, and :const:`~os.R...
trusted_official_docs
CPython Docs
* Some platforms now support additional constants for the :func:`~os.lseek` function, such as ``os.SEEK_HOLE`` and ``os.SEEK_DATA``. * New constants :const:`~os.RTLD_LAZY`, :const:`~os.RTLD_NOW`, :const:`~os.RTLD_GLOBAL`, :const:`~os.RTLD_LOCAL`, :const:`~os.RTLD_NODELETE`, :const:`~os.RTLD_NOLOAD`, and :const:`~os.R...
* Some platforms now support additional constants for the :func:`~os.lseek` function, such as ``os.SEEK_HOLE`` and ``os.SEEK_DATA``. * New constants :const:`~os.RTLD_LAZY`, :const:`~os.RTLD_NOW`, :const:`~os.RTLD_GLOBAL`, :const:`~os.RTLD_LOCAL`, :const:`~os.RTLD_NODELETE`, :const:`~os.RTLD_NOLOAD`, and :const:`~os.R...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1c91ce58-f479-4c10-bf52-58ea64af3dc5
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,323
supabase-export-v2
ea542aac7309b8cb
PEP 380: Syntax for Delegating to a Subgenerator ================================================ PEP 380 adds the ``yield from`` expression, allowing a :term:`generator` to delegate part of its operations to another generator. This allows a section of code containing :keyword:`yield` to be factored out and placed in a...
trusted_official_docs
CPython Docs
PEP 380: Syntax for Delegating to a Subgenerator ================================================ PEP 380 adds the ``yield from`` expression, allowing a :term:`generator` to delegate part of its operations to another generator. This allows a section of code containing :keyword:`yield` to be factored out and placed in a...
PEP 380: Syntax for Delegating to a Subgenerator ================================================ PEP 380 adds the ``yield from`` expression, allowing a :term:`generator` to delegate part of its operations to another generator. This allows a section of code containing :keyword:`yield` to be factored out and placed in a...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1cccb9ec-da73-4f80-9f3f-957de70816e6
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,392
supabase-export-v2
0ca0095b38cc4021
not directly exposed on :data:`sys.path_hooks` it could no longer be relied upon to always be available to use as a value representing no finder found. All other changes relate to semantic changes which should be taken into consideration when updating code for Python 3.3, and thus should be read about in the `Porting P...
trusted_official_docs
CPython Docs
not directly exposed on :data:`sys.path_hooks` it could no longer be relied upon to always be available to use as a value representing no finder found. All other changes relate to semantic changes which should be taken into consideration when updating code for Python 3.3, and thus should be read about in the `Porting P...
not directly exposed on :data:`sys.path_hooks` it could no longer be relied upon to always be available to use as a value representing no finder found. All other changes relate to semantic changes which should be taken into consideration when updating code for Python 3.3, and thus should be read about in the `Porting P...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1deec17e-8a81-482f-8adc-577636a4becf
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,773
supabase-export-v2
2e910bdf49574653
All extensions relying on the relevant parts in ``memoryobject.h`` or ``object.h`` must be rebuilt. * Due to :ref:`PEP 393 <pep-393>`, the :c:type:`Py_UNICODE` type and all functions using this type are deprecated (but will stay available for at least five years). If you were using low-level Unicode APIs to construc...
trusted_official_docs
CPython Docs
All extensions relying on the relevant parts in ``memoryobject.h`` or ``object.h`` must be rebuilt. * Due to :ref:`PEP 393 <pep-393>`, the :c:type:`Py_UNICODE` type and all functions using this type are deprecated (but will stay available for at least five years). If you were using low-level Unicode APIs to construc...
All extensions relying on the relevant parts in ``memoryobject.h`` or ``object.h`` must be rebuilt. * Due to :ref:`PEP 393 <pep-393>`, the :c:type:`Py_UNICODE` type and all functions using this type are deprecated (but will stay available for at least five years). If you were using low-level Unicode APIs to construc...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1ea86dc3-46ce-45d4-bd13-3182663cbb06
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,710
supabase-export-v2
a12b6fb5ef09546c
* the UTF-8 encoder has been optimized * repeating a single ASCII letter and getting a substring of an ASCII string is 4 times faster * UTF-8 is now 2x to 4x faster. UTF-16 encoding is now up to 10x faster.
trusted_official_docs
CPython Docs
* the UTF-8 encoder has been optimized * repeating a single ASCII letter and getting a substring of an ASCII string is 4 times faster * UTF-8 is now 2x to 4x faster. UTF-16 encoding is now up to 10x faster.
* the UTF-8 encoder has been optimized * repeating a single ASCII letter and getting a substring of an ASCII string is 4 times faster * UTF-8 is now 2x to 4x faster. UTF-16 encoding is now up to 10x faster.
python, official-docs, cpython, P0
Local_Trusted_Corpus
1ee60d3b-9a81-4d5c-a77c-68c57afbd362
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,411
supabase-export-v2
b5b9ca4784248994
A Finer-Grained Import Lock =========================== Previous versions of CPython have always relied on a global import lock. This led to unexpected annoyances, such as deadlocks when importing a module would trigger code execution in a different thread as a side-effect. Clumsy workarounds were sometimes employed, s...
trusted_official_docs
CPython Docs
A Finer-Grained Import Lock =========================== Previous versions of CPython have always relied on a global import lock. This led to unexpected annoyances, such as deadlocks when importing a module would trigger code execution in a different thread as a side-effect. Clumsy workarounds were sometimes employed, s...
A Finer-Grained Import Lock =========================== Previous versions of CPython have always relied on a global import lock. This led to unexpected annoyances, such as deadlocks when importing a module would trigger code execution in a different thread as a side-effect. Clumsy workarounds were sometimes employed, s...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1f51fea8-d4a9-43aa-a315-a65ea9b9069d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,757
supabase-export-v2
71c42efda80fcc3b
method's existence first. You will probably want to check for ``find_loader()`` first, though, in the case of working with :term:`path entry finders <path entry finder>`. * :mod:`pkgutil` has been converted to use :mod:`importlib` internally. This eliminates many edge cases where the old behaviour of the :pep:`302` im...
trusted_official_docs
CPython Docs
method's existence first. You will probably want to check for ``find_loader()`` first, though, in the case of working with :term:`path entry finders <path entry finder>`. * :mod:`pkgutil` has been converted to use :mod:`importlib` internally. This eliminates many edge cases where the old behaviour of the :pep:`302` im...
method's existence first. You will probably want to check for ``find_loader()`` first, though, in the case of working with :term:`path entry finders <path entry finder>`. * :mod:`pkgutil` has been converted to use :mod:`importlib` internally. This eliminates many edge cases where the old behaviour of the :pep:`302` im...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1fd5529a-f89d-46f8-92e6-597b99cba29b
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,327
supabase-export-v2
69f5b1e0427fe0ac
def g(x): ... yield from range(x, 0, -1) ... yield from range(x) ... >>> list(g(5)) [5, 4, 3, 2, 1, 0, 1, 2, 3, 4] However, unlike an ordinary loop, ``yield from`` allows subgenerators to receive sent and thrown values directly from the calling scope, and return a final value to the outer generator::
trusted_official_docs
CPython Docs
def g(x): ... yield from range(x, 0, -1) ... yield from range(x) ... >>> list(g(5)) [5, 4, 3, 2, 1, 0, 1, 2, 3, 4] However, unlike an ordinary loop, ``yield from`` allows subgenerators to receive sent and thrown values directly from the calling scope, and return a final value to the outer generator::
def g(x): ... yield from range(x, 0, -1) ... yield from range(x) ... >>> list(g(5)) [5, 4, 3, 2, 1, 0, 1, 2, 3, 4] However, unlike an ordinary loop, ``yield from`` allows subgenerators to receive sent and thrown values directly from the calling scope, and return a final value to the outer generator::
python, official-docs, cpython, P0
Local_Trusted_Corpus
20a2829b-d539-431e-9846-975436e5b833
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,326
supabase-export-v2
ff982634960842e4
For simple iterators, ``yield from iterable`` is essentially just a shortened form of ``for item in iterable: yield item``:: >>> def g(x): ... yield from range(x, 0, -1) ... yield from range(x) ... >>> list(g(5)) [5, 4, 3, 2, 1, 0, 1, 2, 3, 4]
trusted_official_docs
CPython Docs
For simple iterators, ``yield from iterable`` is essentially just a shortened form of ``for item in iterable: yield item``:: >>> def g(x): ... yield from range(x, 0, -1) ... yield from range(x) ... >>> list(g(5)) [5, 4, 3, 2, 1, 0, 1, 2, 3, 4]
For simple iterators, ``yield from iterable`` is essentially just a shortened form of ``for item in iterable: yield item``:: >>> def g(x): ... yield from range(x, 0, -1) ... yield from range(x) ... >>> list(g(5)) [5, 4, 3, 2, 1, 0, 1, 2, 3, 4]
python, official-docs, cpython, P0
Local_Trusted_Corpus
2173ed9e-5f6f-48d3-a138-094ee1c077c3
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,418
supabase-export-v2
07988e8d6c596073
faulthandler ------------ This new debug module :mod:`faulthandler` contains functions to dump Python tracebacks explicitly, on a fault (a crash like a segmentation fault), after a timeout, or on a user signal. Call :func:`faulthandler.enable` to install fault handlers for the :const:`~signal.SIGSEGV`, :const:`~signal....
trusted_official_docs
CPython Docs
faulthandler ------------ This new debug module :mod:`faulthandler` contains functions to dump Python tracebacks explicitly, on a fault (a crash like a segmentation fault), after a timeout, or on a user signal. Call :func:`faulthandler.enable` to install fault handlers for the :const:`~signal.SIGSEGV`, :const:`~signal....
faulthandler ------------ This new debug module :mod:`faulthandler` contains functions to dump Python tracebacks explicitly, on a fault (a crash like a segmentation fault), after a timeout, or on a user signal. Call :func:`faulthandler.enable` to install fault handlers for the :const:`~signal.SIGSEGV`, :const:`~signal....
python, official-docs, cpython, P0
Local_Trusted_Corpus
2190c3a3-59bf-4a15-83a3-998fdc9967d5
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,388
supabase-export-v2
5f7e320691ad6cc3
For potential required changes to code, see the `Porting Python code`_ section. Beyond the expanse of what :mod:`importlib` now exposes, there are other visible changes to import. The biggest is that :data:`sys.meta_path` and :data:`sys.path_hooks` now store all of the meta path finders and path entry hooks used by imp...
trusted_official_docs
CPython Docs
For potential required changes to code, see the `Porting Python code`_ section. Beyond the expanse of what :mod:`importlib` now exposes, there are other visible changes to import. The biggest is that :data:`sys.meta_path` and :data:`sys.path_hooks` now store all of the meta path finders and path entry hooks used by imp...
For potential required changes to code, see the `Porting Python code`_ section. Beyond the expanse of what :mod:`importlib` now exposes, there are other visible changes to import. The biggest is that :data:`sys.meta_path` and :data:`sys.path_hooks` now store all of the meta path finders and path entry hooks used by imp...
python, official-docs, cpython, P0
Local_Trusted_Corpus
21c1bfd8-5a8c-4c40-a28f-bf40232320d6
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,628
supabase-export-v2
343e6c551f32ee96
* The :mod:`signal` module has new functions: * :func:`~signal.pthread_sigmask`: fetch and/or change the signal mask of the calling thread (Contributed by Jean-Paul Calderone in :issue:`8407`); * :func:`~signal.pthread_kill`: send a signal to a thread; * :func:`~signal.sigpending`: examine pending functions; * :fun...
trusted_official_docs
CPython Docs
* The :mod:`signal` module has new functions: * :func:`~signal.pthread_sigmask`: fetch and/or change the signal mask of the calling thread (Contributed by Jean-Paul Calderone in :issue:`8407`); * :func:`~signal.pthread_kill`: send a signal to a thread; * :func:`~signal.sigpending`: examine pending functions; * :fun...
* The :mod:`signal` module has new functions: * :func:`~signal.pthread_sigmask`: fetch and/or change the signal mask of the calling thread (Contributed by Jean-Paul Calderone in :issue:`8407`); * :func:`~signal.pthread_kill`: send a signal to a thread; * :func:`~signal.sigpending`: examine pending functions; * :fun...
python, official-docs, cpython, P0
Local_Trusted_Corpus
21d266a8-4879-44c6-a880-b1e8a14b47d6
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,336
supabase-export-v2
bddaa08f51f33b46
Without the ``from None`` suffix to suppress the cause, the original exception would be displayed by default:: >>> class C: ... def __init__(self, extra): ... self._extra_attributes = extra ... def __getattr__(self, attr): ... try: ... return self._extra_attributes[attr] ... except KeyError: ... raise AttributeE...
trusted_official_docs
CPython Docs
Without the ``from None`` suffix to suppress the cause, the original exception would be displayed by default:: >>> class C: ... def __init__(self, extra): ... self._extra_attributes = extra ... def __getattr__(self, attr): ... try: ... return self._extra_attributes[attr] ... except KeyError: ... raise AttributeE...
Without the ``from None`` suffix to suppress the cause, the original exception would be displayed by default:: >>> class C: ... def __init__(self, extra): ... self._extra_attributes = extra ... def __getattr__(self, attr): ... try: ... return self._extra_attributes[attr] ... except KeyError: ... raise AttributeE...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2271a4c9-d334-4627-99e9-74e416b79977
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,275
supabase-export-v2
b55757e5a35a8d1a
to full UCS-4 on all systems. For compatibility with existing APIs, several representations may exist in parallel; over time, this compatibility should be phased out. On the Python side, there should be no downside to this change.
trusted_official_docs
CPython Docs
to full UCS-4 on all systems. For compatibility with existing APIs, several representations may exist in parallel; over time, this compatibility should be phased out. On the Python side, there should be no downside to this change.
to full UCS-4 on all systems. For compatibility with existing APIs, several representations may exist in parallel; over time, this compatibility should be phased out. On the Python side, there should be no downside to this change.
python, official-docs, cpython, P0
Local_Trusted_Corpus
2404278c-be89-4ad2-b659-deb579fdb608
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,292
supabase-export-v2
d3ed9a2d6005ef75
* non-BMP strings (``U+10000-U+10FFFF``) use 4 bytes per code point. The net effect is that for most applications, memory usage of string storage should decrease significantly - especially compared to former wide unicode builds - as, in many cases, strings will be pure ASCII even in international contexts (because many...
trusted_official_docs
CPython Docs
* non-BMP strings (``U+10000-U+10FFFF``) use 4 bytes per code point. The net effect is that for most applications, memory usage of string storage should decrease significantly - especially compared to former wide unicode builds - as, in many cases, strings will be pure ASCII even in international contexts (because many...
* non-BMP strings (``U+10000-U+10FFFF``) use 4 bytes per code point. The net effect is that for most applications, memory usage of string storage should decrease significantly - especially compared to former wide unicode builds - as, in many cases, strings will be pure ASCII even in international contexts (because many...
python, official-docs, cpython, P0
Local_Trusted_Corpus
260fe4aa-893f-4047-8478-5e9e80a4a908
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,369
supabase-export-v2
4192af6cf47edf59
PEP 421: Adding sys.implementation ================================== A new attribute on the :mod:`sys` 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``.
trusted_official_docs
CPython Docs
PEP 421: Adding sys.implementation ================================== A new attribute on the :mod:`sys` 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``.
PEP 421: Adding sys.implementation ================================== A new attribute on the :mod:`sys` 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``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
27262a21-f8f7-49d9-96dc-6879a44e4dfb
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,527
supabase-export-v2
0078ba486d30ebf3
specify the ``(host, port)`` to use as the source address in the bind call when creating the outgoing socket. (Contributed by Giampaolo Rodolà in :issue:`8594`.) * The :class:`~ftplib.FTP_TLS` class now provides a new :func:`~ftplib.FTP_TLS.ccc` function to revert control channel back to plaintext. This can be useful...
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 Giampaolo Rodolà in :issue:`8594`.) * The :class:`~ftplib.FTP_TLS` class now provides a new :func:`~ftplib.FTP_TLS.ccc` function to revert control channel back to plaintext. This can be useful...
specify the ``(host, port)`` to use as the source address in the bind call when creating the outgoing socket. (Contributed by Giampaolo Rodolà in :issue:`8594`.) * The :class:`~ftplib.FTP_TLS` class now provides a new :func:`~ftplib.FTP_TLS.ccc` function to revert control channel back to plaintext. This can be useful...
python, official-docs, cpython, P0
Local_Trusted_Corpus
286bc155-e200-45a1-ae82-9a37b806a5c2
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,658
supabase-export-v2
59eeb91affe48085
Diffie-Hellman key exchange, both regular and Elliptic Curve-based, is now supported through the :meth:`~ssl.SSLContext.load_dh_params` and :meth:`~ssl.SSLContext.set_ecdh_curve` methods. (Contributed by Antoine Pitrou in :issue:`13626` and :issue:`13627`.) * SSL sockets have a new :meth:`~ssl.SSLSocket.get_channel_bin...
trusted_official_docs
CPython Docs
Diffie-Hellman key exchange, both regular and Elliptic Curve-based, is now supported through the :meth:`~ssl.SSLContext.load_dh_params` and :meth:`~ssl.SSLContext.set_ecdh_curve` methods. (Contributed by Antoine Pitrou in :issue:`13626` and :issue:`13627`.) * SSL sockets have a new :meth:`~ssl.SSLSocket.get_channel_bin...
Diffie-Hellman key exchange, both regular and Elliptic Curve-based, is now supported through the :meth:`~ssl.SSLContext.load_dh_params` and :meth:`~ssl.SSLContext.set_ecdh_curve` methods. (Contributed by Antoine Pitrou in :issue:`13626` and :issue:`13627`.) * SSL sockets have a new :meth:`~ssl.SSLSocket.get_channel_bin...
python, official-docs, cpython, P0
Local_Trusted_Corpus
29c5bd6d-904f-4b0e-bcdd-36f8bb00f32d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,563
supabase-export-v2
07523671b52768c1
mmap ---- The :meth:`~mmap.mmap.read` method is now more compatible with other file-like objects: if the argument is omitted or specified as ``None``, it returns the bytes from the current file position to the end of the mapping. (Contributed by Petri Lehtinen in :issue:`12021`.)
trusted_official_docs
CPython Docs
mmap ---- The :meth:`~mmap.mmap.read` method is now more compatible with other file-like objects: if the argument is omitted or specified as ``None``, it returns the bytes from the current file position to the end of the mapping. (Contributed by Petri Lehtinen in :issue:`12021`.)
mmap ---- The :meth:`~mmap.mmap.read` method is now more compatible with other file-like objects: if the argument is omitted or specified as ``None``, it returns the bytes from the current file position to the end of the mapping. (Contributed by Petri Lehtinen in :issue:`12021`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
2c36f172-af26-4686-a587-9c3e6f409ecd
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,689
supabase-export-v2
7ae2af8118509c51
* :func:`~time.clock_getres`, :func:`~time.clock_gettime` and :func:`~time.clock_settime` functions with :samp:`CLOCK_{xxx}` constants. (Contributed by Victor Stinner in :issue:`10278`.) To improve cross platform consistency, :func:`~time.sleep` now raises a :exc:`ValueError` when passed a negative sleep value. Previou...
trusted_official_docs
CPython Docs
* :func:`~time.clock_getres`, :func:`~time.clock_gettime` and :func:`~time.clock_settime` functions with :samp:`CLOCK_{xxx}` constants. (Contributed by Victor Stinner in :issue:`10278`.) To improve cross platform consistency, :func:`~time.sleep` now raises a :exc:`ValueError` when passed a negative sleep value. Previou...
* :func:`~time.clock_getres`, :func:`~time.clock_gettime` and :func:`~time.clock_settime` functions with :samp:`CLOCK_{xxx}` constants. (Contributed by Victor Stinner in :issue:`10278`.) To improve cross platform consistency, :func:`~time.sleep` now raises a :exc:`ValueError` when passed a negative sleep value. Previou...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2ca84dfd-badb-455a-a8eb-7044d667dc23
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,558
supabase-export-v2
c6aa4724dfb8992d
The :func:`~logging.basicConfig` function now supports an optional ``handlers`` argument taking an iterable of handlers to be added to the root logger. A class level attribute :attr:`!append_nul` has been added to :class:`~logging.handlers.SysLogHandler` to allow control of the appending of the ``NUL`` (``\000``) byte ...
trusted_official_docs
CPython Docs
The :func:`~logging.basicConfig` function now supports an optional ``handlers`` argument taking an iterable of handlers to be added to the root logger. A class level attribute :attr:`!append_nul` has been added to :class:`~logging.handlers.SysLogHandler` to allow control of the appending of the ``NUL`` (``\000``) byte ...
The :func:`~logging.basicConfig` function now supports an optional ``handlers`` argument taking an iterable of handlers to be added to the root logger. A class level attribute :attr:`!append_nul` has been added to :class:`~logging.handlers.SysLogHandler` to allow control of the appending of the ``NUL`` (``\000``) byte ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2cd549bf-e8f0-405d-920d-1b254349e309
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,337
supabase-export-v2
3cf3c3761d731250
... return self._extra_attributes[attr] ... except KeyError: ... raise AttributeError(attr) ... >>> C({}).x Traceback (most recent call last): File "<stdin>", line 6, in __getattr__ KeyError: 'x' During handling of the above exception, another exception occurred:
trusted_official_docs
CPython Docs
... return self._extra_attributes[attr] ... except KeyError: ... raise AttributeError(attr) ... >>> C({}).x Traceback (most recent call last): File "<stdin>", line 6, in __getattr__ KeyError: 'x' During handling of the above exception, another exception occurred:
... return self._extra_attributes[attr] ... except KeyError: ... raise AttributeError(attr) ... >>> C({}).x Traceback (most recent call last): File "<stdin>", line 6, in __getattr__ KeyError: 'x' During handling of the above exception, another exception occurred:
python, official-docs, cpython, P0
Local_Trusted_Corpus
2d666c81-14d4-44f5-8cb0-5d32c1ff01b4
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,759
supabase-export-v2
a60be6451ab7437a
to work without change, since ``make_header`` continues to add whitespace between ``ASCII`` and non-``ASCII`` sections if it is not already present in the input strings. * :func:`email.utils.formataddr` now does the correct content transfer encoding when passed non-``ASCII`` display names. Any code that depended on t...
trusted_official_docs
CPython Docs
to work without change, since ``make_header`` continues to add whitespace between ``ASCII`` and non-``ASCII`` sections if it is not already present in the input strings. * :func:`email.utils.formataddr` now does the correct content transfer encoding when passed non-``ASCII`` display names. Any code that depended on t...
to work without change, since ``make_header`` continues to add whitespace between ``ASCII`` and non-``ASCII`` sections if it is not already present in the input strings. * :func:`email.utils.formataddr` now does the correct content transfer encoding when passed non-``ASCII`` display names. Any code that depended on t...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2e1f371b-0a38-4ae4-b1be-b97b228a6824
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,481
supabase-export-v2
5b06c53a41ce28e6
* The :exc:`~decimal.FloatOperation` signal optionally enables stricter semantics for mixing floats and Decimals. * If Python is compiled without threads, the C version automatically disables the expensive thread local context machinery. In this case, the variable :const:`~decimal.HAVE_THREADS` is set to ``False``.
trusted_official_docs
CPython Docs
* The :exc:`~decimal.FloatOperation` signal optionally enables stricter semantics for mixing floats and Decimals. * If Python is compiled without threads, the C version automatically disables the expensive thread local context machinery. In this case, the variable :const:`~decimal.HAVE_THREADS` is set to ``False``.
* The :exc:`~decimal.FloatOperation` signal optionally enables stricter semantics for mixing floats and Decimals. * If Python is compiled without threads, the C version automatically disables the expensive thread local context machinery. In this case, the variable :const:`~decimal.HAVE_THREADS` is set to ``False``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
2f0031af-9e92-4ade-b171-7a14bcd3117b
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,487
supabase-export-v2
0bf84a476381ed5b
and the result is NaN. In the latter case it is always possible to use :meth:`~decimal.Context.create_decimal` in order to obtain a rounded or inexact value. * The power function in decimal.py is always correctly rounded. In the C version, it is defined in terms of the correctly rounded :meth:`~decimal.Decimal.exp` a...
trusted_official_docs
CPython Docs
and the result is NaN. In the latter case it is always possible to use :meth:`~decimal.Context.create_decimal` in order to obtain a rounded or inexact value. * The power function in decimal.py is always correctly rounded. In the C version, it is defined in terms of the correctly rounded :meth:`~decimal.Decimal.exp` a...
and the result is NaN. In the latter case it is always possible to use :meth:`~decimal.Context.create_decimal` in order to obtain a rounded or inexact value. * The power function in decimal.py is always correctly rounded. In the C version, it is defined in terms of the correctly rounded :meth:`~decimal.Decimal.exp` a...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2f43612f-1949-439d-bad3-af202c2ad7c5
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,404
supabase-export-v2
d03bdf82909a1a79
* New methods have been added to :class:`list` and :class:`bytearray`: ``copy()`` and ``clear()`` (:issue:`10516`). Consequently, :class:`~collections.abc.MutableSequence` now also defines a :meth:`!clear` method (:issue:`11388`). * Raw bytes literals can now be written ``rb"..."`` as well as ``br"..."``.
trusted_official_docs
CPython Docs
* New methods have been added to :class:`list` and :class:`bytearray`: ``copy()`` and ``clear()`` (:issue:`10516`). Consequently, :class:`~collections.abc.MutableSequence` now also defines a :meth:`!clear` method (:issue:`11388`). * Raw bytes literals can now be written ``rb"..."`` as well as ``br"..."``.
* New methods have been added to :class:`list` and :class:`bytearray`: ``copy()`` and ``clear()`` (:issue:`10516`). Consequently, :class:`~collections.abc.MutableSequence` now also defines a :meth:`!clear` method (:issue:`11388`). * Raw bytes literals can now be written ``rb"..."`` as well as ``br"..."``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
3262fff1-6d9c-424e-b16c-943f514d5fdc
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,444
supabase-export-v2
b205c3a1708dba51
* New :func:`bz2.open` function: open a bzip2-compressed file in binary or text mode. * :class:`bz2.BZ2File` can now read from and write to arbitrary file-like objects, by means of its constructor's *fileobj* argument.
trusted_official_docs
CPython Docs
* New :func:`bz2.open` function: open a bzip2-compressed file in binary or text mode. * :class:`bz2.BZ2File` can now read from and write to arbitrary file-like objects, by means of its constructor's *fileobj* argument.
* New :func:`bz2.open` function: open a bzip2-compressed file in binary or text mode. * :class:`bz2.BZ2File` can now read from and write to arbitrary file-like objects, by means of its constructor's *fileobj* argument.
python, official-docs, cpython, P0
Local_Trusted_Corpus
33fc1400-74e0-45de-932f-c3a881dec610
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,478
supabase-export-v2
381741d151506c0e
The following table is meant as an illustration. Benchmarks are available at https://www.bytereef.org/mpdecimal/quickstart.html. +---------+-------------+--------------+-------------+ | | decimal.py | _decimal | speedup | +=========+=============+==============+=============+ | pi | 42.02s | 0.345s | 120x | +------...
trusted_official_docs
CPython Docs
The following table is meant as an illustration. Benchmarks are available at https://www.bytereef.org/mpdecimal/quickstart.html. +---------+-------------+--------------+-------------+ | | decimal.py | _decimal | speedup | +=========+=============+==============+=============+ | pi | 42.02s | 0.345s | 120x | +------...
The following table is meant as an illustration. Benchmarks are available at https://www.bytereef.org/mpdecimal/quickstart.html. +---------+-------------+--------------+-------------+ | | decimal.py | _decimal | speedup | +=========+=============+==============+=============+ | pi | 42.02s | 0.345s | 120x | +------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3484ac6c-6f14-47c1-b993-68e33af10a67
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,767
supabase-export-v2
b70448714bed962a
* Passing a negative value to :func:`time.sleep` on Windows now raises an error instead of sleeping forever. It has always raised an error on posix. * The ``ast.__version__`` constant has been removed. If you need to make decisions affected by the AST version, use :data:`sys.version_info` to make the decision.
trusted_official_docs
CPython Docs
* Passing a negative value to :func:`time.sleep` on Windows now raises an error instead of sleeping forever. It has always raised an error on posix. * The ``ast.__version__`` constant has been removed. If you need to make decisions affected by the AST version, use :data:`sys.version_info` to make the decision.
* Passing a negative value to :func:`time.sleep` on Windows now raises an error instead of sleeping forever. It has always raised an error on posix. * The ``ast.__version__`` constant has been removed. If you need to make decisions affected by the AST version, use :data:`sys.version_info` to make the decision.
python, official-docs, cpython, P0
Local_Trusted_Corpus
348d7d85-94f4-4bd2-ad2f-5f91f3c3555d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,655
supabase-export-v2
b749a041e9f5de9e
(Contributed by Victor Stinner in :issue:`12049`.) * The :mod:`ssl` module now exposes a finer-grained exception hierarchy in order to make it easier to inspect the various kinds of errors. (Contributed by Antoine Pitrou in :issue:`11183`.)
trusted_official_docs
CPython Docs
(Contributed by Victor Stinner in :issue:`12049`.) * The :mod:`ssl` module now exposes a finer-grained exception hierarchy in order to make it easier to inspect the various kinds of errors. (Contributed by Antoine Pitrou in :issue:`11183`.)
(Contributed by Victor Stinner in :issue:`12049`.) * The :mod:`ssl` module now exposes a finer-grained exception hierarchy in order to make it easier to inspect the various kinds of errors. (Contributed by Antoine Pitrou in :issue:`11183`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
362d8ce2-d549-4536-864e-697dddbbf3fa
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,377
supabase-export-v2
2ac5e77910e6a746
.. _importlib: Using importlib as the Implementation of Import =============================================== :issue:`2377` - Replace __import__ w/ importlib.__import__ :issue:`13959` - Re-implement parts of :mod:`!imp` in pure Python :issue:`14605` - Make import machinery explicit :issue:`14646` - Require loaders set...
trusted_official_docs
CPython Docs
.. _importlib: Using importlib as the Implementation of Import =============================================== :issue:`2377` - Replace __import__ w/ importlib.__import__ :issue:`13959` - Re-implement parts of :mod:`!imp` in pure Python :issue:`14605` - Make import machinery explicit :issue:`14646` - Require loaders set...
.. _importlib: Using importlib as the Implementation of Import =============================================== :issue:`2377` - Replace __import__ w/ importlib.__import__ :issue:`13959` - Re-implement parts of :mod:`!imp` in pure Python :issue:`14605` - Make import machinery explicit :issue:`14646` - Require loaders set...
python, official-docs, cpython, P0
Local_Trusted_Corpus
367520f5-e4d5-484d-aca5-ff5930e96a0e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,575
supabase-export-v2
df4f4e110cd94666
os -- * The :mod:`os` module has a new :func:`~os.pipe2` function that makes it possible to create a pipe with :const:`~os.O_CLOEXEC` or :const:`~os.O_NONBLOCK` flags set atomically. This is especially useful to avoid race conditions in multi-threaded programs.
trusted_official_docs
CPython Docs
os -- * The :mod:`os` module has a new :func:`~os.pipe2` function that makes it possible to create a pipe with :const:`~os.O_CLOEXEC` or :const:`~os.O_NONBLOCK` flags set atomically. This is especially useful to avoid race conditions in multi-threaded programs.
os -- * The :mod:`os` module has a new :func:`~os.pipe2` function that makes it possible to create a pipe with :const:`~os.O_CLOEXEC` or :const:`~os.O_NONBLOCK` flags set atomically. This is especially useful to avoid race conditions in multi-threaded programs.
python, official-docs, cpython, P0
Local_Trusted_Corpus
36e31c48-8f19-4ea1-bee6-d7c316f4f8d6
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,325
supabase-export-v2
11ba8a35f5245ae5
While designed primarily for use in delegating to a subgenerator, the ``yield from`` expression actually allows delegation to arbitrary subiterators. For simple iterators, ``yield from iterable`` is essentially just a shortened form of ``for item in iterable: yield item``::
trusted_official_docs
CPython Docs
While designed primarily for use in delegating to a subgenerator, the ``yield from`` expression actually allows delegation to arbitrary subiterators. For simple iterators, ``yield from iterable`` is essentially just a shortened form of ``for item in iterable: yield item``::
While designed primarily for use in delegating to a subgenerator, the ``yield from`` expression actually allows delegation to arbitrary subiterators. For simple iterators, ``yield from iterable`` is essentially just a shortened form of ``for item in iterable: yield item``::
python, official-docs, cpython, P0
Local_Trusted_Corpus
37dbf675-6780-45d5-82ea-a4d06c43a090
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,552
supabase-export-v2
ff9e38f6077c03bb
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(). (Contributed by David Townshend in :issue:`12760`.)
trusted_official_docs
CPython Docs
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(). (Contributed by David Townshend in :issue:`12760`.)
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(). (Contributed by David Townshend in :issue:`12760`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
3980b5e3-1efa-4f06-b543-27565fdf9cf2
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,508
supabase-export-v2
470e00196727522c
that source headers with a line longer than ``max_line_length`` get refolded. ``none`` means no line get refolded, and ``all`` means that all lines get refolded. header_factory A callable that take a ``name`` and ``value`` and produces a custom header object. =============== ===========================================...
trusted_official_docs
CPython Docs
that source headers with a line longer than ``max_line_length`` get refolded. ``none`` means no line get refolded, and ``all`` means that all lines get refolded. header_factory A callable that take a ``name`` and ``value`` and produces a custom header object. =============== ===========================================...
that source headers with a line longer than ``max_line_length`` get refolded. ``none`` means no line get refolded, and ``all`` means that all lines get refolded. header_factory A callable that take a ``name`` and ``value`` and produces a custom header object. =============== ===========================================...
python, official-docs, cpython, P0
Local_Trusted_Corpus
39bb69b4-90bf-4ec6-aadd-25eabd1a64f8
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,333
supabase-export-v2
66b6ceda6288c38e
PEP 409: Suppressing exception context ====================================== PEP 409 introduces new syntax that allows the display of the chained exception context to be disabled. This allows cleaner error messages in applications that convert between exception types::
trusted_official_docs
CPython Docs
PEP 409: Suppressing exception context ====================================== PEP 409 introduces new syntax that allows the display of the chained exception context to be disabled. This allows cleaner error messages in applications that convert between exception types::
PEP 409: Suppressing exception context ====================================== PEP 409 introduces new syntax that allows the display of the chained exception context to be disabled. This allows cleaner error messages in applications that convert between exception types::
python, official-docs, cpython, P0
Local_Trusted_Corpus
39f14c62-8255-4d02-a616-3add6f070329
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,553
supabase-export-v2
926e5b7e2b6e904f
(Contributed by David Townshend in :issue:`12760`.) The constructor of the :class:`~io.TextIOWrapper` class has a new *write_through* optional argument. If *write_through* is ``True``, calls to :meth:`!write` are guaranteed not to be buffered: any data written on the :class:`~io.TextIOWrapper` object is immediately han...
trusted_official_docs
CPython Docs
(Contributed by David Townshend in :issue:`12760`.) The constructor of the :class:`~io.TextIOWrapper` class has a new *write_through* optional argument. If *write_through* is ``True``, calls to :meth:`!write` are guaranteed not to be buffered: any data written on the :class:`~io.TextIOWrapper` object is immediately han...
(Contributed by David Townshend in :issue:`12760`.) The constructor of the :class:`~io.TextIOWrapper` class has a new *write_through* optional argument. If *write_through* is ``True``, calls to :meth:`!write` are guaranteed not to be buffered: any data written on the :class:`~io.TextIOWrapper` object is immediately han...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3a514c16-1fa0-4a55-b217-65e72e2d70c3
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,385
supabase-export-v2
990f5e8c9ff94f66
The message for failed imports will also provide the full name of the module now instead of just the tail end of the module's name. The :func:`importlib.invalidate_caches` function will now call the method with the same name on all finders cached in :data:`sys.path_importer_cache` to help clean up any stored state as n...
trusted_official_docs
CPython Docs
The message for failed imports will also provide the full name of the module now instead of just the tail end of the module's name. The :func:`importlib.invalidate_caches` function will now call the method with the same name on all finders cached in :data:`sys.path_importer_cache` to help clean up any stored state as n...
The message for failed imports will also provide the full name of the module now instead of just the tail end of the module's name. The :func:`importlib.invalidate_caches` function will now call the method with the same name on all finders cached in :data:`sys.path_importer_cache` to help clean up any stored state as n...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3b151125-7a87-4de1-a5f2-a73a7f59d00c
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,764
supabase-export-v2
13a290cdd871ce00
* The deprecated variable ``time.accept2dyear`` has been removed. * The deprecated ``Context._clamp`` attribute has been removed from the :mod:`decimal` module. It was previously replaced by the public attribute :attr:`~decimal.Context.clamp`. (See :issue:`8540`.)
trusted_official_docs
CPython Docs
* The deprecated variable ``time.accept2dyear`` has been removed. * The deprecated ``Context._clamp`` attribute has been removed from the :mod:`decimal` module. It was previously replaced by the public attribute :attr:`~decimal.Context.clamp`. (See :issue:`8540`.)
* The deprecated variable ``time.accept2dyear`` has been removed. * The deprecated ``Context._clamp`` attribute has been removed from the :mod:`decimal` module. It was previously replaced by the public attribute :attr:`~decimal.Context.clamp`. (See :issue:`8540`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
3b79b317-9101-47f1-a116-f3899454b22b
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,530
supabase-export-v2
00bd11cab5586535
functools --------- The :func:`functools.lru_cache` decorator now accepts a ``typed`` keyword argument (that defaults to ``False`` to ensure that it caches values of different types that compare equal in separate cache slots. (Contributed by Raymond Hettinger in :issue:`13227`.)
trusted_official_docs
CPython Docs
functools --------- The :func:`functools.lru_cache` decorator now accepts a ``typed`` keyword argument (that defaults to ``False`` to ensure that it caches values of different types that compare equal in separate cache slots. (Contributed by Raymond Hettinger in :issue:`13227`.)
functools --------- The :func:`functools.lru_cache` decorator now accepts a ``typed`` keyword argument (that defaults to ``False`` to ensure that it caches values of different types that compare equal in separate cache slots. (Contributed by Raymond Hettinger in :issue:`13227`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
3b9aeb51-4d84-4c0f-b646-6009aa013e29
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,365
supabase-export-v2
ba82d98ebeba88d2
PEP 362: Function Signature Object ================================== A new function :func:`inspect.signature` makes introspection of python callables easy and straightforward. A broad range of callables is supported: python functions, decorated or not, classes, and :func:`functools.partial` objects. New classes :class...
trusted_official_docs
CPython Docs
PEP 362: Function Signature Object ================================== A new function :func:`inspect.signature` makes introspection of python callables easy and straightforward. A broad range of callables is supported: python functions, decorated or not, classes, and :func:`functools.partial` objects. New classes :class...
PEP 362: Function Signature Object ================================== A new function :func:`inspect.signature` makes introspection of python callables easy and straightforward. A broad range of callables is supported: python functions, decorated or not, classes, and :func:`functools.partial` objects. New classes :class...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3cb38669-2b32-4723-96dd-5765ccce1edb
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,334
supabase-export-v2
bb89aa48e2905762
syntax that allows the display of the chained exception context to be disabled. This allows cleaner error messages in applications that convert between exception types:: >>> class D: ... def __init__(self, extra): ... self._extra_attributes = extra ... def __getattr__(self, attr): ... try: ... return self._extra_a...
trusted_official_docs
CPython Docs
syntax that allows the display of the chained exception context to be disabled. This allows cleaner error messages in applications that convert between exception types:: >>> class D: ... def __init__(self, extra): ... self._extra_attributes = extra ... def __getattr__(self, attr): ... try: ... return self._extra_a...
syntax that allows the display of the chained exception context to be disabled. This allows cleaner error messages in applications that convert between exception types:: >>> class D: ... def __init__(self, extra): ... self._extra_attributes = extra ... def __getattr__(self, attr): ... try: ... return self._extra_a...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3d765715-ae65-424f-bec5-aca00769d561
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,518
supabase-export-v2
dc3b23e7888feebb
>>> m2['cc'].addresses (Address(display_name='Bob', username='bob', domain='example.com'), Address(display_name='Sally', username='sally', domain='example.com'), Address(display_name='Bonzo', username='bonz', domain='laugh.com')) >>> m2['cc'].groups (Group(display_name='pals', addresses=(Address(display_name='Bob', use...
trusted_official_docs
CPython Docs
>>> m2['cc'].addresses (Address(display_name='Bob', username='bob', domain='example.com'), Address(display_name='Sally', username='sally', domain='example.com'), Address(display_name='Bonzo', username='bonz', domain='laugh.com')) >>> m2['cc'].groups (Group(display_name='pals', addresses=(Address(display_name='Bob', use...
>>> m2['cc'].addresses (Address(display_name='Bob', username='bob', domain='example.com'), Address(display_name='Sally', username='sally', domain='example.com'), Address(display_name='Bonzo', username='bonz', domain='laugh.com')) >>> m2['cc'].groups (Group(display_name='pals', addresses=(Address(display_name='Bob', use...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3dc0d846-555a-4f3c-ab54-412a01977f92
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,371
supabase-export-v2
c4dfc9e0ed85ba7a
``sys.implementation`` holds only a small portion of the implementation-specific data. Over time that ratio will shift in order to make the standard library more portable. One example of improved standard library portability is ``cache_tag``. As of Python 3.3, ``sys.implementation.cache_tag`` is used by :mod:`importlib...
trusted_official_docs
CPython Docs
``sys.implementation`` holds only a small portion of the implementation-specific data. Over time that ratio will shift in order to make the standard library more portable. One example of improved standard library portability is ``cache_tag``. As of Python 3.3, ``sys.implementation.cache_tag`` is used by :mod:`importlib...
``sys.implementation`` holds only a small portion of the implementation-specific data. Over time that ratio will shift in order to make the standard library more portable. One example of improved standard library portability is ``cache_tag``. As of Python 3.3, ``sys.implementation.cache_tag`` is used by :mod:`importlib...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3e3772f2-5927-4e21-bdc0-440f31670ef4
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,403
supabase-export-v2
9a4adffed0f1e0b9
* The ``rjust()``, ``ljust()``, and ``center()`` methods of :class:`bytes` and :class:`bytearray` now accept a :class:`bytearray` for the ``fill`` argument. (Contributed by Petri Lehtinen in :issue:`12380`.) * New methods have been added to :class:`list` and :class:`bytearray`: ``copy()`` and ``clear()`` (:issue:`1051...
trusted_official_docs
CPython Docs
* The ``rjust()``, ``ljust()``, and ``center()`` methods of :class:`bytes` and :class:`bytearray` now accept a :class:`bytearray` for the ``fill`` argument. (Contributed by Petri Lehtinen in :issue:`12380`.) * New methods have been added to :class:`list` and :class:`bytearray`: ``copy()`` and ``clear()`` (:issue:`1051...
* The ``rjust()``, ``ljust()``, and ``center()`` methods of :class:`bytes` and :class:`bytearray` now accept a :class:`bytearray` for the ``fill`` argument. (Contributed by Petri Lehtinen in :issue:`12380`.) * New methods have been added to :class:`list` and :class:`bytearray`: ``copy()`` and ``clear()`` (:issue:`1051...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3f9aa20e-7ef4-4392-b018-724e1eec732a
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,738
supabase-export-v2
1fc5f717a1b6d3b1
Functions and macros manipulating Py_UNICODE* strings: * :c:macro:`!Py_UNICODE_strlen()`: use :c:func:`PyUnicode_GetLength` or :c:macro:`PyUnicode_GET_LENGTH` * :c:macro:`!Py_UNICODE_strcat()`: use :c:func:`PyUnicode_CopyCharacters` or :c:func:`PyUnicode_FromFormat` * :c:macro:`!Py_UNICODE_strcpy()`, :c:macro:`!Py_UN...
trusted_official_docs
CPython Docs
Functions and macros manipulating Py_UNICODE* strings: * :c:macro:`!Py_UNICODE_strlen()`: use :c:func:`PyUnicode_GetLength` or :c:macro:`PyUnicode_GET_LENGTH` * :c:macro:`!Py_UNICODE_strcat()`: use :c:func:`PyUnicode_CopyCharacters` or :c:func:`PyUnicode_FromFormat` * :c:macro:`!Py_UNICODE_strcpy()`, :c:macro:`!Py_UN...
Functions and macros manipulating Py_UNICODE* strings: * :c:macro:`!Py_UNICODE_strlen()`: use :c:func:`PyUnicode_GetLength` or :c:macro:`PyUnicode_GET_LENGTH` * :c:macro:`!Py_UNICODE_strcat()`: use :c:func:`PyUnicode_CopyCharacters` or :c:func:`PyUnicode_FromFormat` * :c:macro:`!Py_UNICODE_strcpy()`, :c:macro:`!Py_UN...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4124a987-abae-450e-9e34-b9307f36c62f
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,587
supabase-export-v2
50ec23841d13fdfc
now support reading a file's timestamps with nanosecond precision. Symmetrically, :func:`~os.utime` can now write file timestamps with nanosecond precision. (Contributed by Larry Hastings in :issue:`14127`.) * The new :func:`os.get_terminal_size` function queries the size of the terminal attached to a file descriptor....
trusted_official_docs
CPython Docs
now support reading a file's timestamps with nanosecond precision. Symmetrically, :func:`~os.utime` can now write file timestamps with nanosecond precision. (Contributed by Larry Hastings in :issue:`14127`.) * The new :func:`os.get_terminal_size` function queries the size of the terminal attached to a file descriptor....
now support reading a file's timestamps with nanosecond precision. Symmetrically, :func:`~os.utime` can now write file timestamps with nanosecond precision. (Contributed by Larry Hastings in :issue:`14127`.) * The new :func:`os.get_terminal_size` function queries the size of the terminal attached to a file descriptor....
python, official-docs, cpython, P0
Local_Trusted_Corpus
43693bca-70d5-4cb9-8f0e-676253726c47
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,720
supabase-export-v2
e28c09ae00926fbd
* Low-level API: * :c:type:`Py_UCS1`, :c:type:`Py_UCS2`, :c:type:`Py_UCS4` types * :c:type:`PyASCIIObject` and :c:type:`PyCompactUnicodeObject` structures * :c:macro:`PyUnicode_READY` * :c:func:`PyUnicode_FromKindAndData` * :c:func:`PyUnicode_AsUCS4`, :c:func:`PyUnicode_AsUCS4Copy` * :c:macro:`PyUnicode_DATA`, :c:...
trusted_official_docs
CPython Docs
* Low-level API: * :c:type:`Py_UCS1`, :c:type:`Py_UCS2`, :c:type:`Py_UCS4` types * :c:type:`PyASCIIObject` and :c:type:`PyCompactUnicodeObject` structures * :c:macro:`PyUnicode_READY` * :c:func:`PyUnicode_FromKindAndData` * :c:func:`PyUnicode_AsUCS4`, :c:func:`PyUnicode_AsUCS4Copy` * :c:macro:`PyUnicode_DATA`, :c:...
* Low-level API: * :c:type:`Py_UCS1`, :c:type:`Py_UCS2`, :c:type:`Py_UCS4` types * :c:type:`PyASCIIObject` and :c:type:`PyCompactUnicodeObject` structures * :c:macro:`PyUnicode_READY` * :c:func:`PyUnicode_FromKindAndData` * :c:func:`PyUnicode_AsUCS4`, :c:func:`PyUnicode_AsUCS4Copy` * :c:macro:`PyUnicode_DATA`, :c:...
python, official-docs, cpython, P0
Local_Trusted_Corpus
438679f2-ae39-4890-89e1-6560382c0836
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,281
supabase-export-v2
082f87617baed602
* With the death of narrow builds, the problems specific to narrow builds have also been fixed, for example: * :func:`len` now always returns 1 for non-BMP characters, so ``len('\U0010FFFF') == 1``;
trusted_official_docs
CPython Docs
* With the death of narrow builds, the problems specific to narrow builds have also been fixed, for example: * :func:`len` now always returns 1 for non-BMP characters, so ``len('\U0010FFFF') == 1``;
* With the death of narrow builds, the problems specific to narrow builds have also been fixed, for example: * :func:`len` now always returns 1 for non-BMP characters, so ``len('\U0010FFFF') == 1``;
python, official-docs, cpython, P0
Local_Trusted_Corpus
45d20a62-5a05-4f12-8ca9-02edcffcbb7e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,230
supabase-export-v2
660ddf919fe0ddfc
New library modules: * :mod:`faulthandler` (helps debugging low-level crashes) * :mod:`ipaddress` (high-level objects representing IP addresses and masks) * :mod:`lzma` (compress data using the XZ / LZMA algorithm) * :mod:`unittest.mock` (replace parts of your system under test with mock objects) * :mod:`venv` (Python ...
trusted_official_docs
CPython Docs
New library modules: * :mod:`faulthandler` (helps debugging low-level crashes) * :mod:`ipaddress` (high-level objects representing IP addresses and masks) * :mod:`lzma` (compress data using the XZ / LZMA algorithm) * :mod:`unittest.mock` (replace parts of your system under test with mock objects) * :mod:`venv` (Python ...
New library modules: * :mod:`faulthandler` (helps debugging low-level crashes) * :mod:`ipaddress` (high-level objects representing IP addresses and masks) * :mod:`lzma` (compress data using the XZ / LZMA algorithm) * :mod:`unittest.mock` (replace parts of your system under test with mock objects) * :mod:`venv` (Python ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
46562109-257e-4c0f-951e-04e1917489a1
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,753
supabase-export-v2
da702be7b12fb368
index of 1, followed by another import using an index of 0. It is preferred, though, that you use :func:`importlib.import_module` rather than call :func:`__import__` directly. * :func:`__import__` no longer allows one to use an index value other than 0 for top-level modules. E.g. ``__import__('sys', level=1)`` is now ...
trusted_official_docs
CPython Docs
index of 1, followed by another import using an index of 0. It is preferred, though, that you use :func:`importlib.import_module` rather than call :func:`__import__` directly. * :func:`__import__` no longer allows one to use an index value other than 0 for top-level modules. E.g. ``__import__('sys', level=1)`` is now ...
index of 1, followed by another import using an index of 0. It is preferred, though, that you use :func:`importlib.import_module` rather than call :func:`__import__` directly. * :func:`__import__` no longer allows one to use an index value other than 0 for top-level modules. E.g. ``__import__('sys', level=1)`` is now ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
46a6ada3-7efa-4e64-8478-964934972b86
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,381
supabase-export-v2
1251c6d81f26ab69
into making the import statement work. That means the various importers that were once implicit are now fully exposed as part of the :mod:`importlib` package. The abstract base classes defined in :mod:`importlib.abc` have been expanded to properly delineate between :term:`meta path finders <meta path finder>` and :term...
trusted_official_docs
CPython Docs
into making the import statement work. That means the various importers that were once implicit are now fully exposed as part of the :mod:`importlib` package. The abstract base classes defined in :mod:`importlib.abc` have been expanded to properly delineate between :term:`meta path finders <meta path finder>` and :term...
into making the import statement work. That means the various importers that were once implicit are now fully exposed as part of the :mod:`importlib` package. The abstract base classes defined in :mod:`importlib.abc` have been expanded to properly delineate between :term:`meta path finders <meta path finder>` and :term...
python, official-docs, cpython, P0
Local_Trusted_Corpus
483b22f4-3a60-4f8a-bdf8-f2c1d034d32e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,419
supabase-export-v2
751250c93e7376f0
:const:`~signal.SIGBUS`, and :const:`~signal.SIGILL` signals. You can also enable them at startup by setting the :envvar:`PYTHONFAULTHANDLER` environment variable or by using :option:`-X` ``faulthandler`` command line option. Example of a segmentation fault on Linux:
trusted_official_docs
CPython Docs
:const:`~signal.SIGBUS`, and :const:`~signal.SIGILL` signals. You can also enable them at startup by setting the :envvar:`PYTHONFAULTHANDLER` environment variable or by using :option:`-X` ``faulthandler`` command line option. Example of a segmentation fault on Linux:
:const:`~signal.SIGBUS`, and :const:`~signal.SIGILL` signals. You can also enable them at startup by setting the :envvar:`PYTHONFAULTHANDLER` environment variable or by using :option:`-X` ``faulthandler`` command line option. Example of a segmentation fault on Linux:
python, official-docs, cpython, P0
Local_Trusted_Corpus
487dac4b-4ae1-4d7f-ac02-03581d5f8312
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,450
supabase-export-v2
d31061e205c30f94
codecs ------ The :mod:`~encodings.mbcs` codec has been rewritten to handle correctly ``replace`` and ``ignore`` error handlers on all Windows versions. The :mod:`~encodings.mbcs` codec now supports all error handlers, instead of only ``replace`` to encode and ``ignore`` to decode.
trusted_official_docs
CPython Docs
codecs ------ The :mod:`~encodings.mbcs` codec has been rewritten to handle correctly ``replace`` and ``ignore`` error handlers on all Windows versions. The :mod:`~encodings.mbcs` codec now supports all error handlers, instead of only ``replace`` to encode and ``ignore`` to decode.
codecs ------ The :mod:`~encodings.mbcs` codec has been rewritten to handle correctly ``replace`` and ``ignore`` error handlers on all Windows versions. The :mod:`~encodings.mbcs` codec now supports all error handlers, instead of only ``replace`` to encode and ``ignore`` to decode.
python, official-docs, cpython, P0
Local_Trusted_Corpus
48b37a7a-164f-4290-a00b-42e0e1cd9cfa
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,462
supabase-export-v2
b168c89e58fa8584
better differentiate between the abstract and the concrete collections classes. Aliases for ABCs are still present in the :mod:`collections` module to preserve existing imports. (:issue:`11085`) .. XXX addition of __slots__ to ABCs not recorded here: internal detail
trusted_official_docs
CPython Docs
better differentiate between the abstract and the concrete collections classes. Aliases for ABCs are still present in the :mod:`collections` module to preserve existing imports. (:issue:`11085`) .. XXX addition of __slots__ to ABCs not recorded here: internal detail
better differentiate between the abstract and the concrete collections classes. Aliases for ABCs are still present in the :mod:`collections` module to preserve existing imports. (:issue:`11085`) .. XXX addition of __slots__ to ABCs not recorded here: internal detail
python, official-docs, cpython, P0
Local_Trusted_Corpus
49591c99-139e-4764-8554-c004925be430
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,769
supabase-export-v2
313364cb70a5be6e
work around the fact that the :mod:`threading` module used factory functions by subclassing the private classes will need to change to subclass the now-public classes. * The undocumented debugging machinery in the threading module has been removed, simplifying the code. This should have no effect on production code, ...
trusted_official_docs
CPython Docs
work around the fact that the :mod:`threading` module used factory functions by subclassing the private classes will need to change to subclass the now-public classes. * The undocumented debugging machinery in the threading module has been removed, simplifying the code. This should have no effect on production code, ...
work around the fact that the :mod:`threading` module used factory functions by subclassing the private classes will need to change to subclass the now-public classes. * The undocumented debugging machinery in the threading module has been removed, simplifying the code. This should have no effect on production code, ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
49966e9d-65cd-4f57-b6b9-89dfaf71afa4
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,498
supabase-export-v2
60bf4e170504f38e
linesep The character used to separate individual lines when a ``Message`` is serialized. Defaults to ``\n``. cte_type ``7bit`` or ``8bit``. ``8bit`` applies 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).
trusted_official_docs
CPython Docs
linesep The character used to separate individual lines when a ``Message`` is serialized. Defaults to ``\n``. cte_type ``7bit`` or ``8bit``. ``8bit`` applies 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).
linesep The character used to separate individual lines when a ``Message`` is serialized. Defaults to ``\n``. cte_type ``7bit`` or ``8bit``. ``8bit`` applies 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).
python, official-docs, cpython, P0
Local_Trusted_Corpus
49ad6d1a-190c-4fa6-aa9a-7abe55eb5507
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,598
supabase-export-v2
652b6b9d49e1b97f
them. These are for use with the :func:`sys.setdlopenflags` function, and supersede the similar constants defined in :mod:`ctypes` and :mod:`!DLFCN`. (Contributed by Victor Stinner in :issue:`13226`.) * :func:`os.symlink` now accepts (and ignores) the ``target_is_directory`` keyword argument on non-Windows platforms, ...
trusted_official_docs
CPython Docs
them. These are for use with the :func:`sys.setdlopenflags` function, and supersede the similar constants defined in :mod:`ctypes` and :mod:`!DLFCN`. (Contributed by Victor Stinner in :issue:`13226`.) * :func:`os.symlink` now accepts (and ignores) the ``target_is_directory`` keyword argument on non-Windows platforms, ...
them. These are for use with the :func:`sys.setdlopenflags` function, and supersede the similar constants defined in :mod:`ctypes` and :mod:`!DLFCN`. (Contributed by Victor Stinner in :issue:`13226`.) * :func:`os.symlink` now accepts (and ignores) the ``target_is_directory`` keyword argument on non-Windows platforms, ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4a665efe-c592-4dfb-b520-8323f7c5ad14
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,705
supabase-export-v2
0c556eefe1db1d26
attribute :attr:`zlib.Decompress.eof` makes it possible to distinguish between a properly formed compressed stream and an incomplete or truncated one. (Contributed by Nadeem Vawda in :issue:`12646`.) New attribute :const:`zlib.ZLIB_RUNTIME_VERSION` reports the version string of the underlying ``zlib`` library that is l...
trusted_official_docs
CPython Docs
attribute :attr:`zlib.Decompress.eof` makes it possible to distinguish between a properly formed compressed stream and an incomplete or truncated one. (Contributed by Nadeem Vawda in :issue:`12646`.) New attribute :const:`zlib.ZLIB_RUNTIME_VERSION` reports the version string of the underlying ``zlib`` library that is l...
attribute :attr:`zlib.Decompress.eof` makes it possible to distinguish between a properly formed compressed stream and an incomplete or truncated one. (Contributed by Nadeem Vawda in :issue:`12646`.) New attribute :const:`zlib.ZLIB_RUNTIME_VERSION` reports the version string of the underlying ``zlib`` library that is l...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4e65b405-6945-407c-8327-6da2b4827f86
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,503
supabase-export-v2
cee53d40f52c9178
in the appropriate ``generator`` call. Or you can have custom policy instances for your different cases, and pass those in when you create the ``generator``. Provisional Policy with New Header API ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trusted_official_docs
CPython Docs
in the appropriate ``generator`` call. Or you can have custom policy instances for your different cases, and pass those in when you create the ``generator``. Provisional Policy with New Header API ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
in the appropriate ``generator`` call. Or you can have custom policy instances for your different cases, and pass those in when you create the ``generator``. Provisional Policy with New Header API ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
python, official-docs, cpython, P0
Local_Trusted_Corpus
4ea71144-1fae-4910-b21c-c9ceb0ed44ba
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,547
supabase-export-v2
40edd58957ea7a35
the function body and where those names were resolved, making it easier to verify correct internal state when testing code that relies on stateful closures. (Contributed by Meador Inge and Nick Coghlan in :issue:`13062`.)
trusted_official_docs
CPython Docs
the function body and where those names were resolved, making it easier to verify correct internal state when testing code that relies on stateful closures. (Contributed by Meador Inge and Nick Coghlan in :issue:`13062`.)
the function body and where those names were resolved, making it easier to verify correct internal state when testing code that relies on stateful closures. (Contributed by Meador Inge and Nick Coghlan in :issue:`13062`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
4fd043d8-7d89-4dfd-aae2-1264b7ca746f
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,659
supabase-export-v2
9c3dd9f1020a65ad
* SSL sockets have a new :meth:`~ssl.SSLSocket.get_channel_binding` method allowing the implementation of certain authentication mechanisms such as SCRAM-SHA-1-PLUS. (Contributed by Jacek Konieczny in :issue:`12551`.) * You can query the SSL compression algorithm used by an SSL socket, thanks to its new :meth:`~ssl.SS...
trusted_official_docs
CPython Docs
* SSL sockets have a new :meth:`~ssl.SSLSocket.get_channel_binding` method allowing the implementation of certain authentication mechanisms such as SCRAM-SHA-1-PLUS. (Contributed by Jacek Konieczny in :issue:`12551`.) * You can query the SSL compression algorithm used by an SSL socket, thanks to its new :meth:`~ssl.SS...
* SSL sockets have a new :meth:`~ssl.SSLSocket.get_channel_binding` method allowing the implementation of certain authentication mechanisms such as SCRAM-SHA-1-PLUS. (Contributed by Jacek Konieczny in :issue:`12551`.) * You can query the SSL compression algorithm used by an SSL socket, thanks to its new :meth:`~ssl.SS...
python, official-docs, cpython, P0
Local_Trusted_Corpus
502c2516-ad2b-42f9-8636-1b7d6f2c62f8
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,472
supabase-export-v2
85397ac64cfc92e4
datetime -------- * Equality comparisons between naive and aware :class:`~datetime.datetime` instances now return :const:`False` instead of raising :exc:`TypeError` (:issue:`15006`). * New :meth:`datetime.datetime.timestamp` method: Return POSIX timestamp corresponding to the :class:`~datetime.datetime` instance. * ...
trusted_official_docs
CPython Docs
datetime -------- * Equality comparisons between naive and aware :class:`~datetime.datetime` instances now return :const:`False` instead of raising :exc:`TypeError` (:issue:`15006`). * New :meth:`datetime.datetime.timestamp` method: Return POSIX timestamp corresponding to the :class:`~datetime.datetime` instance. * ...
datetime -------- * Equality comparisons between naive and aware :class:`~datetime.datetime` instances now return :const:`False` instead of raising :exc:`TypeError` (:issue:`15006`). * New :meth:`datetime.datetime.timestamp` method: Return POSIX timestamp corresponding to the :class:`~datetime.datetime` instance. * ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5035518e-04e1-4d97-bf99-4ac5eb3e5856
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,516
supabase-export-v2
adcee98ead0980e7
>>> m2 = message_from_string(str(m)) >>> m2['to'] 'Éric <foo@example.com>' When you parse a message, you can use the ``addresses`` and ``groups`` attributes of the header objects to access the groups and individual addresses::
trusted_official_docs
CPython Docs
>>> m2 = message_from_string(str(m)) >>> m2['to'] 'Éric <foo@example.com>' When you parse a message, you can use the ``addresses`` and ``groups`` attributes of the header objects to access the groups and individual addresses::
>>> m2 = message_from_string(str(m)) >>> m2['to'] 'Éric <foo@example.com>' When you parse a message, you can use the ``addresses`` and ``groups`` attributes of the header objects to access the groups and individual addresses::
python, official-docs, cpython, P0
Local_Trusted_Corpus
50a63c54-624e-4c29-9f6a-f8d297428435
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,332
supabase-export-v2
7abdfa36c0aba03a
by Greg Ewing; implementation by Greg Ewing, integrated into 3.3 by Renaud Blanch, Ryan Kelly and Nick Coghlan; documentation by Zbigniew Jędrzejewski-Szmek and Nick Coghlan PEP 409: Suppressing exception context ======================================
trusted_official_docs
CPython Docs
by Greg Ewing; implementation by Greg Ewing, integrated into 3.3 by Renaud Blanch, Ryan Kelly and Nick Coghlan; documentation by Zbigniew Jędrzejewski-Szmek and Nick Coghlan PEP 409: Suppressing exception context ======================================
by Greg Ewing; implementation by Greg Ewing, integrated into 3.3 by Renaud Blanch, Ryan Kelly and Nick Coghlan; documentation by Zbigniew Jędrzejewski-Szmek and Nick Coghlan PEP 409: Suppressing exception context ======================================
python, official-docs, cpython, P0
Local_Trusted_Corpus
50ed608f-d701-4a94-bedc-b27f7b12b1dd
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,632
supabase-export-v2
faeda01ede968445
smtpd ----- The :mod:`!smtpd` module now supports :rfc:`5321` (extended SMTP) and :rfc:`1870` (size extension). Per the standard, these extensions are enabled if and only if the client initiates the session with an ``EHLO`` command.
trusted_official_docs
CPython Docs
smtpd ----- The :mod:`!smtpd` module now supports :rfc:`5321` (extended SMTP) and :rfc:`1870` (size extension). Per the standard, these extensions are enabled if and only if the client initiates the session with an ``EHLO`` command.
smtpd ----- The :mod:`!smtpd` module now supports :rfc:`5321` (extended SMTP) and :rfc:`1870` (size extension). Per the standard, these extensions are enabled if and only if the client initiates the session with an ``EHLO`` command.
python, official-docs, cpython, P0
Local_Trusted_Corpus
512f8bf1-dfae-49dc-bf15-7cfa02512883
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,585
supabase-export-v2
1348407b7117a5a0
(Patch submitted by Giampaolo Rodolà in :issue:`10784`.) * The new :func:`os.replace` function allows cross-platform renaming of a file with 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 ...
trusted_official_docs
CPython Docs
(Patch submitted by Giampaolo Rodolà in :issue:`10784`.) * The new :func:`os.replace` function allows cross-platform renaming of a file with 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 ...
(Patch submitted by Giampaolo Rodolà in :issue:`10784`.) * The new :func:`os.replace` function allows cross-platform renaming of a file with 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 ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5158aee0-b070-49a8-85a4-f0d870504985
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,768
supabase-export-v2
499827014c00862d
* The ``ast.__version__`` constant has been removed. If you need to make decisions affected by the AST version, use :data:`sys.version_info` to make the decision. * Code that used to work around the fact that the :mod:`threading` module used factory functions by subclassing the private classes will need to change to ...
trusted_official_docs
CPython Docs
* The ``ast.__version__`` constant has been removed. If you need to make decisions affected by the AST version, use :data:`sys.version_info` to make the decision. * Code that used to work around the fact that the :mod:`threading` module used factory functions by subclassing the private classes will need to change to ...
* The ``ast.__version__`` constant has been removed. If you need to make decisions affected by the AST version, use :data:`sys.version_info` to make the decision. * Code that used to work around the fact that the :mod:`threading` module used factory functions by subclassing the private classes will need to change to ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
51e724db-b133-4f70-855d-d40ab7a5bbc5
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,391
supabase-export-v2
61c0b9bb46e95900
``__package__`` attribute from :pep:`366`. Once again, import itself is already setting this on all loaders from :mod:`importlib` and import itself is setting the attribute post-load. ``None`` is now inserted into :data:`sys.path_importer_cache` when no finder can be found on :data:`sys.path_hooks`. Since :class:`!imp....
trusted_official_docs
CPython Docs
``__package__`` attribute from :pep:`366`. Once again, import itself is already setting this on all loaders from :mod:`importlib` and import itself is setting the attribute post-load. ``None`` is now inserted into :data:`sys.path_importer_cache` when no finder can be found on :data:`sys.path_hooks`. Since :class:`!imp....
``__package__`` attribute from :pep:`366`. Once again, import itself is already setting this on all loaders from :mod:`importlib` and import itself is setting the attribute post-load. ``None`` is now inserted into :data:`sys.path_importer_cache` when no finder can be found on :data:`sys.path_hooks`. Since :class:`!imp....
python, official-docs, cpython, P0
Local_Trusted_Corpus
52368312-d5c3-431c-a6cc-6722457e2a0a
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,469
supabase-export-v2
fcc39b414aac96d1
curses ------ * If the :mod:`curses` module is linked to the ncursesw library, use Unicode functions when Unicode strings or characters are passed (e.g. :c:func:`!waddwstr`), and bytes functions otherwise (e.g. :c:func:`!waddstr`). * Use the locale encoding instead of ``utf-8`` to encode Unicode strings. * :class:`cur...
trusted_official_docs
CPython Docs
curses ------ * If the :mod:`curses` module is linked to the ncursesw library, use Unicode functions when Unicode strings or characters are passed (e.g. :c:func:`!waddwstr`), and bytes functions otherwise (e.g. :c:func:`!waddstr`). * Use the locale encoding instead of ``utf-8`` to encode Unicode strings. * :class:`cur...
curses ------ * If the :mod:`curses` module is linked to the ncursesw library, use Unicode functions when Unicode strings or characters are passed (e.g. :c:func:`!waddwstr`), and bytes functions otherwise (e.g. :c:func:`!waddstr`). * Use the locale encoding instead of ``utf-8`` to encode Unicode strings. * :class:`cur...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5268d516-c750-430a-85ac-c52631ecb302
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,279
supabase-export-v2
5890002ea32fa060
Changes introduced by :pep:`393` are the following: * Python now always supports the full range of Unicode code points, including non-BMP ones (i.e. from ``U+0000`` to ``U+10FFFF``). The distinction between narrow and wide builds no longer exists and Python now behaves like a wide build, even under Windows.
trusted_official_docs
CPython Docs
Changes introduced by :pep:`393` are the following: * Python now always supports the full range of Unicode code points, including non-BMP ones (i.e. from ``U+0000`` to ``U+10FFFF``). The distinction between narrow and wide builds no longer exists and Python now behaves like a wide build, even under Windows.
Changes introduced by :pep:`393` are the following: * Python now always supports the full range of Unicode code points, including non-BMP ones (i.e. from ``U+0000`` to ``U+10FFFF``). The distinction between narrow and wide builds no longer exists and Python now behaves like a wide build, even under Windows.
python, official-docs, cpython, P0
Local_Trusted_Corpus
533d0b52-f187-4cc1-9395-c4d4897c4937
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,254
supabase-export-v2
0ff9322a6e498981
Py_buffer struct that led to multiple crash reports. Additionally, several functions that crashed or returned incorrect results for non-contiguous or multi-dimensional input have been fixed. The memoryview object now has a PEP-3118 compliant getbufferproc() that checks the consumer's request type. Many new features hav...
trusted_official_docs
CPython Docs
Py_buffer struct that led to multiple crash reports. Additionally, several functions that crashed or returned incorrect results for non-contiguous or multi-dimensional input have been fixed. The memoryview object now has a PEP-3118 compliant getbufferproc() that checks the consumer's request type. Many new features hav...
Py_buffer struct that led to multiple crash reports. Additionally, several functions that crashed or returned incorrect results for non-contiguous or multi-dimensional input have been fixed. The memoryview object now has a PEP-3118 compliant getbufferproc() that checks the consumer's request type. Many new features hav...
python, official-docs, cpython, P0
Local_Trusted_Corpus
538fed37-6fcc-4d3c-806c-402789883d68
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,488
supabase-export-v2
a0a828a207801a5c
C version, it is defined in terms of the correctly rounded :meth:`~decimal.Decimal.exp` and :meth:`~decimal.Decimal.ln` functions, but the final result is only "almost always correctly rounded". * In the C version, the context dictionary containing the signals is a :class:`~collections.abc.MutableMapping`. For speed r...
trusted_official_docs
CPython Docs
C version, it is defined in terms of the correctly rounded :meth:`~decimal.Decimal.exp` and :meth:`~decimal.Decimal.ln` functions, but the final result is only "almost always correctly rounded". * In the C version, the context dictionary containing the signals is a :class:`~collections.abc.MutableMapping`. For speed r...
C version, it is defined in terms of the correctly rounded :meth:`~decimal.Decimal.exp` and :meth:`~decimal.Decimal.ln` functions, but the final result is only "almost always correctly rounded". * In the C version, the context dictionary containing the signals is a :class:`~collections.abc.MutableMapping`. For speed r...
python, official-docs, cpython, P0
Local_Trusted_Corpus
559654f8-aa6f-43bd-a3fe-101a2d36ee10
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,493
supabase-export-v2
78ab44bf72406e90
Policy Framework ~~~~~~~~~~~~~~~~ The email package now has a :mod:`~email.policy` framework. A :class:`~email.policy.Policy` is an object with several methods and properties that control how the email package behaves. The primary policy for Python 3.3 is the :class:`~email.policy.Compat32` policy, which provides backw...
trusted_official_docs
CPython Docs
Policy Framework ~~~~~~~~~~~~~~~~ The email package now has a :mod:`~email.policy` framework. A :class:`~email.policy.Policy` is an object with several methods and properties that control how the email package behaves. The primary policy for Python 3.3 is the :class:`~email.policy.Compat32` policy, which provides backw...
Policy Framework ~~~~~~~~~~~~~~~~ The email package now has a :mod:`~email.policy` framework. A :class:`~email.policy.Policy` is an object with several methods and properties that control how the email package behaves. The primary policy for Python 3.3 is the :class:`~email.policy.Compat32` policy, which provides backw...
python, official-docs, cpython, P0
Local_Trusted_Corpus
55a70698-8b4e-4c27-a9d2-165e91af4447
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,635
supabase-export-v2
998e23e2498ff28b
smtplib ------- The :class:`~smtplib.SMTP`, :class:`~smtplib.SMTP_SSL`, and :class:`~smtplib.LMTP` classes now accept a ``source_address`` keyword argument to 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`.)
trusted_official_docs
CPython Docs
smtplib ------- The :class:`~smtplib.SMTP`, :class:`~smtplib.SMTP_SSL`, and :class:`~smtplib.LMTP` classes now accept a ``source_address`` keyword argument to 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`.)
smtplib ------- The :class:`~smtplib.SMTP`, :class:`~smtplib.SMTP_SSL`, and :class:`~smtplib.LMTP` classes now accept a ``source_address`` keyword argument to 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`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
55f4b8ea-e4cb-493d-8584-dbf480148d41
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,396
supabase-export-v2
621fd979a5a75a35
Some smaller changes made to the core Python language are: * Added support for Unicode name aliases and named sequences. Both :func:`unicodedata.lookup` and ``'\N{...}'`` now resolve name aliases, and :func:`unicodedata.lookup` resolves named sequences too.
trusted_official_docs
CPython Docs
Some smaller changes made to the core Python language are: * Added support for Unicode name aliases and named sequences. Both :func:`unicodedata.lookup` and ``'\N{...}'`` now resolve name aliases, and :func:`unicodedata.lookup` resolves named sequences too.
Some smaller changes made to the core Python language are: * Added support for Unicode name aliases and named sequences. Both :func:`unicodedata.lookup` and ``'\N{...}'`` now resolve name aliases, and :func:`unicodedata.lookup` resolves named sequences too.
python, official-docs, cpython, P0
Local_Trusted_Corpus
5675dce5-6941-44df-a3df-5e9c86fff2f1
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,661
supabase-export-v2
feea1ed6c63835a3
* Support has been added for the Next Protocol Negotiation extension using the :meth:`ssl.SSLContext.set_npn_protocols` method. (Contributed by Colin Marc in :issue:`14204`.) * SSL errors can now be introspected more easily thanks to :attr:`~ssl.SSLError.library` and :attr:`~ssl.SSLError.reason` attributes. (Contribut...
trusted_official_docs
CPython Docs
* Support has been added for the Next Protocol Negotiation extension using the :meth:`ssl.SSLContext.set_npn_protocols` method. (Contributed by Colin Marc in :issue:`14204`.) * SSL errors can now be introspected more easily thanks to :attr:`~ssl.SSLError.library` and :attr:`~ssl.SSLError.reason` attributes. (Contribut...
* Support has been added for the Next Protocol Negotiation extension using the :meth:`ssl.SSLContext.set_npn_protocols` method. (Contributed by Colin Marc in :issue:`14204`.) * SSL errors can now be introspected more easily thanks to :attr:`~ssl.SSLError.library` and :attr:`~ssl.SSLError.reason` attributes. (Contribut...
python, official-docs, cpython, P0
Local_Trusted_Corpus
56865fd2-98e1-4726-860b-72a86c038cd3
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,537
supabase-export-v2
8e8f70c535fd35e2
:meth:`~http.server.BaseHTTPRequestHandler.end_headers` is called. A new method :meth:`~http.server.BaseHTTPRequestHandler.flush_headers` can be used to directly manage when the accumulated headers are sent. (Contributed by Andrew Schaaf in :issue:`3709`.) :class:`http.server` now produces valid ``HTML 4.01 strict`` ou...
trusted_official_docs
CPython Docs
:meth:`~http.server.BaseHTTPRequestHandler.end_headers` is called. A new method :meth:`~http.server.BaseHTTPRequestHandler.flush_headers` can be used to directly manage when the accumulated headers are sent. (Contributed by Andrew Schaaf in :issue:`3709`.) :class:`http.server` now produces valid ``HTML 4.01 strict`` ou...
:meth:`~http.server.BaseHTTPRequestHandler.end_headers` is called. A new method :meth:`~http.server.BaseHTTPRequestHandler.flush_headers` can be used to directly manage when the accumulated headers are sent. (Contributed by Andrew Schaaf in :issue:`3709`.) :class:`http.server` now produces valid ``HTML 4.01 strict`` ou...
python, official-docs, cpython, P0
Local_Trusted_Corpus
56a5e05f-d521-4f6c-8d7d-81dd7f19fa42
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,514
supabase-export-v2
42f1a8afc30e61e0
'sally', 'example.com')]), ... Address('Bonzo', addr_spec='bonz@laugh.com')] >>> print(m) To: =?utf-8?q?=C3=89ric?= <foo@example.com> Date: Fri, 25 May 2012 21:44:27 -0400 cc: pals: Bob <bob@example.com>, Sally <sally@example.com>;, Bonzo <bonz@laugh.com> Decoding to unicode is done automatically::
trusted_official_docs
CPython Docs
'sally', 'example.com')]), ... Address('Bonzo', addr_spec='bonz@laugh.com')] >>> print(m) To: =?utf-8?q?=C3=89ric?= <foo@example.com> Date: Fri, 25 May 2012 21:44:27 -0400 cc: pals: Bob <bob@example.com>, Sally <sally@example.com>;, Bonzo <bonz@laugh.com> Decoding to unicode is done automatically::
'sally', 'example.com')]), ... Address('Bonzo', addr_spec='bonz@laugh.com')] >>> print(m) To: =?utf-8?q?=C3=89ric?= <foo@example.com> Date: Fri, 25 May 2012 21:44:27 -0400 cc: pals: Bob <bob@example.com>, Sally <sally@example.com>;, Bonzo <bonz@laugh.com> Decoding to unicode is done automatically::
python, official-docs, cpython, P0
Local_Trusted_Corpus
57ea0abf-d010-44d3-a580-cdcb3ad9b587
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,335
supabase-export-v2
a1595d979ab0ae88
AttributeError(attr) from None ... >>> D({}).x Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 8, in __getattr__ AttributeError: x Without the ``from None`` suffix to suppress the cause, the original exception would be displayed by default::
trusted_official_docs
CPython Docs
AttributeError(attr) from None ... >>> D({}).x Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 8, in __getattr__ AttributeError: x Without the ``from None`` suffix to suppress the cause, the original exception would be displayed by default::
AttributeError(attr) from None ... >>> D({}).x Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 8, in __getattr__ AttributeError: x Without the ``from None`` suffix to suppress the cause, the original exception would be displayed by default::
python, official-docs, cpython, P0
Local_Trusted_Corpus
5908fd46-4764-44d7-aaf4-bbd168e11717
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,748
supabase-export-v2
e85bcb638824c479
* Hash randomization is enabled by default. Set the :envvar:`PYTHONHASHSEED` environment variable to ``0`` to disable hash randomization. See also the :meth:`object.__hash__` method. * :issue:`12326`: On Linux, sys.platform doesn't contain the major version anymore. It is now always 'linux', instead of 'linux2' or 'li...
trusted_official_docs
CPython Docs
* Hash randomization is enabled by default. Set the :envvar:`PYTHONHASHSEED` environment variable to ``0`` to disable hash randomization. See also the :meth:`object.__hash__` method. * :issue:`12326`: On Linux, sys.platform doesn't contain the major version anymore. It is now always 'linux', instead of 'linux2' or 'li...
* Hash randomization is enabled by default. Set the :envvar:`PYTHONHASHSEED` environment variable to ``0`` to disable hash randomization. See also the :meth:`object.__hash__` method. * :issue:`12326`: On Linux, sys.platform doesn't contain the major version anymore. It is now always 'linux', instead of 'linux2' or 'li...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5a002092-c4e0-470e-a08b-cae5445b2620
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,682
supabase-export-v2
cf918c90295612ed
all of which used to be factory functions returning a class instance, are now classes and may be subclassed. (Contributed by Éric Araujo in :issue:`10968`.) The :class:`threading.Thread` constructor now accepts a ``daemon`` keyword argument to override the default behavior of inheriting the ``daemon`` flag value from t...
trusted_official_docs
CPython Docs
all of which used to be factory functions returning a class instance, are now classes and may be subclassed. (Contributed by Éric Araujo in :issue:`10968`.) The :class:`threading.Thread` constructor now accepts a ``daemon`` keyword argument to override the default behavior of inheriting the ``daemon`` flag value from t...
all of which used to be factory functions returning a class instance, are now classes and may be subclassed. (Contributed by Éric Araujo in :issue:`10968`.) The :class:`threading.Thread` constructor now accepts a ``daemon`` keyword argument to override the default behavior of inheriting the ``daemon`` flag value from t...
python, official-docs, cpython, P0
Local_Trusted_Corpus