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
5a560f43-f107-4a27-b932-febaf48dccbc
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,596
supabase-export-v2
fed3e34c7a2662b2
* :func:`~os.times` and :func:`~os.uname`: Return type changed from a tuple to a tuple-like object with named attributes. * Some platforms now support additional constants for the :func:`~os.lseek` function, such as ``os.SEEK_HOLE`` and ``os.SEEK_DATA``.
trusted_official_docs
CPython Docs
* :func:`~os.times` and :func:`~os.uname`: Return type changed from a tuple to a tuple-like object with named attributes. * Some platforms now support additional constants for the :func:`~os.lseek` function, such as ``os.SEEK_HOLE`` and ``os.SEEK_DATA``.
* :func:`~os.times` and :func:`~os.uname`: Return type changed from a tuple to a tuple-like object with named attributes. * Some platforms now support additional constants for the :func:`~os.lseek` function, such as ``os.SEEK_HOLE`` and ``os.SEEK_DATA``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
5bc58cef-205e-4706-a885-31842851b323
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,662
supabase-export-v2
0834ec09d3785589
* SSL errors can now be introspected more easily thanks to :attr:`~ssl.SSLError.library` and :attr:`~ssl.SSLError.reason` attributes. (Contributed by Antoine Pitrou in :issue:`14837`.) * The :func:`~ssl.get_server_certificate` function now supports IPv6. (Contributed by Charles-François Natali in :issue:`11811`.)
trusted_official_docs
CPython Docs
* SSL errors can now be introspected more easily thanks to :attr:`~ssl.SSLError.library` and :attr:`~ssl.SSLError.reason` attributes. (Contributed by Antoine Pitrou in :issue:`14837`.) * The :func:`~ssl.get_server_certificate` function now supports IPv6. (Contributed by Charles-François Natali in :issue:`11811`.)
* SSL errors can now be introspected more easily thanks to :attr:`~ssl.SSLError.library` and :attr:`~ssl.SSLError.reason` attributes. (Contributed by Antoine Pitrou in :issue:`14837`.) * The :func:`~ssl.get_server_certificate` function now supports IPv6. (Contributed by Charles-François Natali in :issue:`11811`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
5bccce47-aab1-42aa-ab23-94e13e5d810a
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,500
supabase-export-v2
0a86476986017486
raise_on_defect Causes a ``parser`` to raise error when defects are encountered instead of adding them to the ``Message`` object's ``defects`` list. =============== ======================================================= A new policy instance, with new settings, is created using the :meth:`~email.policy.Policy.clone` m...
trusted_official_docs
CPython Docs
raise_on_defect Causes a ``parser`` to raise error when defects are encountered instead of adding them to the ``Message`` object's ``defects`` list. =============== ======================================================= A new policy instance, with new settings, is created using the :meth:`~email.policy.Policy.clone` m...
raise_on_defect Causes a ``parser`` to raise error when defects are encountered instead of adding them to the ``Message`` object's ``defects`` list. =============== ======================================================= A new policy instance, with new settings, is created using the :meth:`~email.policy.Policy.clone` m...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5e30035f-0224-4011-8f93-65de1dc3a928
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,490
supabase-export-v2
724d1b3cf263aed7
* Pickling a :class:`~decimal.Context` produces a different output in order to have a common interchange format for the Python and C versions. * The order of arguments in the :class:`~decimal.Context` constructor has been changed to match the order displayed by :func:`repr`.
trusted_official_docs
CPython Docs
* Pickling a :class:`~decimal.Context` produces a different output in order to have a common interchange format for the Python and C versions. * The order of arguments in the :class:`~decimal.Context` constructor has been changed to match the order displayed by :func:`repr`.
* Pickling a :class:`~decimal.Context` produces a different output in order to have a common interchange format for the Python and C versions. * The order of arguments in the :class:`~decimal.Context` constructor has been changed to match the order displayed by :func:`repr`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
5f02c288-2d2d-4595-834e-f46f5e3972e0
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,286
supabase-export-v2
06d6500197282235
The :c:func:`!PyUnicode_GetMax` function still returns either ``0xFFFF`` or ``0x10FFFF`` for backward compatibility, and it should not be used with the new Unicode API (see :issue:`13054`). * The :file:`./configure` flag ``--with-wide-unicode`` has been removed.
trusted_official_docs
CPython Docs
The :c:func:`!PyUnicode_GetMax` function still returns either ``0xFFFF`` or ``0x10FFFF`` for backward compatibility, and it should not be used with the new Unicode API (see :issue:`13054`). * The :file:`./configure` flag ``--with-wide-unicode`` has been removed.
The :c:func:`!PyUnicode_GetMax` function still returns either ``0xFFFF`` or ``0x10FFFF`` for backward compatibility, and it should not be used with the new Unicode API (see :issue:`13054`). * The :file:`./configure` flag ``--with-wide-unicode`` has been removed.
python, official-docs, cpython, P0
Local_Trusted_Corpus
601d88fd-b9fe-4fc1-b010-71b10b613b54
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,242
supabase-export-v2
e21983a630da02b9
PEP 405: Virtual Environments ============================= Virtual environments help create separate Python setups while sharing a system-wide base install, for ease of maintenance. Virtual environments have their own set of private site packages (i.e. locally installed libraries), and are optionally segregated from t...
trusted_official_docs
CPython Docs
PEP 405: Virtual Environments ============================= Virtual environments help create separate Python setups while sharing a system-wide base install, for ease of maintenance. Virtual environments have their own set of private site packages (i.e. locally installed libraries), and are optionally segregated from t...
PEP 405: Virtual Environments ============================= Virtual environments help create separate Python setups while sharing a system-wide base install, for ease of maintenance. Virtual environments have their own set of private site packages (i.e. locally installed libraries), and are optionally segregated from t...
python, official-docs, cpython, P0
Local_Trusted_Corpus
603ce7dc-ef3c-4557-ba7e-46ae78ea1578
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,549
supabase-export-v2
909674746da73512
This function reports the current binding of local variables in the generator's stack frame, making it easier to verify correct internal state when testing generators. (Contributed by Meador Inge in :issue:`15153`.)
trusted_official_docs
CPython Docs
This function reports the current binding of local variables in the generator's stack frame, making it easier to verify correct internal state when testing generators. (Contributed by Meador Inge in :issue:`15153`.)
This function reports the current binding of local variables in the generator's stack frame, making it easier to verify correct internal state when testing generators. (Contributed by Meador Inge in :issue:`15153`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
61d857b0-8330-491b-865a-bc5e136c4f82
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,663
supabase-export-v2
e096ccb7c988da54
* The :func:`~ssl.get_server_certificate` function now supports IPv6. (Contributed by Charles-François Natali in :issue:`11811`.) * New attribute :const:`~ssl.OP_CIPHER_SERVER_PREFERENCE` allows setting SSLv3 server sockets to use the server's cipher ordering preference rather than the client's (:issue:`13635`).
trusted_official_docs
CPython Docs
* The :func:`~ssl.get_server_certificate` function now supports IPv6. (Contributed by Charles-François Natali in :issue:`11811`.) * New attribute :const:`~ssl.OP_CIPHER_SERVER_PREFERENCE` allows setting SSLv3 server sockets to use the server's cipher ordering preference rather than the client's (:issue:`13635`).
* The :func:`~ssl.get_server_certificate` function now supports IPv6. (Contributed by Charles-François Natali in :issue:`11811`.) * New attribute :const:`~ssl.OP_CIPHER_SERVER_PREFERENCE` allows setting SSLv3 server sockets to use the server's cipher ordering preference rather than the client's (:issue:`13635`).
python, official-docs, cpython, P0
Local_Trusted_Corpus
65a2ef3c-7005-403b-b458-2efac80c7e75
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,623
supabase-export-v2
135893ae4930c44b
timestamps with nanosecond precision on platforms that support it. They also preserve file "extended attributes" on Linux. (Contributed by Larry Hastings in :issue:`14127` and :issue:`15238`.) * Several functions now take an optional ``symlinks`` argument: when that parameter is true, symlinks aren't dereferenced and ...
trusted_official_docs
CPython Docs
timestamps with nanosecond precision on platforms that support it. They also preserve file "extended attributes" on Linux. (Contributed by Larry Hastings in :issue:`14127` and :issue:`15238`.) * Several functions now take an optional ``symlinks`` argument: when that parameter is true, symlinks aren't dereferenced and ...
timestamps with nanosecond precision on platforms that support it. They also preserve file "extended attributes" on Linux. (Contributed by Larry Hastings in :issue:`14127` and :issue:`15238`.) * Several functions now take an optional ``symlinks`` argument: when that parameter is true, symlinks aren't dereferenced and ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6624c2a4-8a67-42b3-9f2e-b754a7fe4abf
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,280
supabase-export-v2
32ee093c71b16354
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. * With the death of narrow builds, the problems specific to narrow builds have also been fixed, for example:
trusted_official_docs
CPython Docs
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. * With the death of narrow builds, the problems specific to narrow builds have also been fixed, for example:
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. * With the death of narrow builds, the problems specific to narrow builds have also been fixed, for example:
python, official-docs, cpython, P0
Local_Trusted_Corpus
671afc02-bc7e-4eb3-beeb-dd196fc203f4
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,709
supabase-export-v2
2da627afc7e0189a
* Thanks to :pep:`393`, some operations on Unicode strings have been optimized: * the memory footprint is divided by 2 to 4 depending on the text * encode an ASCII string to UTF-8 doesn't need to encode characters anymore, the UTF-8 representation is shared with the ASCII representation * the UTF-8 encoder has been ...
trusted_official_docs
CPython Docs
* Thanks to :pep:`393`, some operations on Unicode strings have been optimized: * the memory footprint is divided by 2 to 4 depending on the text * encode an ASCII string to UTF-8 doesn't need to encode characters anymore, the UTF-8 representation is shared with the ASCII representation * the UTF-8 encoder has been ...
* Thanks to :pep:`393`, some operations on Unicode strings have been optimized: * the memory footprint is divided by 2 to 4 depending on the text * encode an ASCII string to UTF-8 doesn't need to encode characters anymore, the UTF-8 representation is shared with the ASCII representation * the UTF-8 encoder has been ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6879de4b-07ff-4947-bdfb-b141efa39c21
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,526
supabase-export-v2
e845c589b00f92d3
ftplib ------ * :class:`ftplib.FTP` now accepts 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 Giampaolo Rodolà in :issue:`8594`.)
trusted_official_docs
CPython Docs
ftplib ------ * :class:`ftplib.FTP` now accepts 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 Giampaolo Rodolà in :issue:`8594`.)
ftplib ------ * :class:`ftplib.FTP` now accepts 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 Giampaolo Rodolà in :issue:`8594`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
6939d899-5c07-4893-b7aa-e8e2c4bca73d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,502
supabase-export-v2
c7afc830f18587fc
mypolicy = compat32.clone(linesep='\r\n') Policies can be used to make the generation of messages in the format needed by your application simpler. Instead of having to remember to specify ``linesep='\r\n'`` in all the places you call a ``generator``, you can specify it once, when you set the policy used by the ``parse...
trusted_official_docs
CPython Docs
mypolicy = compat32.clone(linesep='\r\n') Policies can be used to make the generation of messages in the format needed by your application simpler. Instead of having to remember to specify ``linesep='\r\n'`` in all the places you call a ``generator``, you can specify it once, when you set the policy used by the ``parse...
mypolicy = compat32.clone(linesep='\r\n') Policies can be used to make the generation of messages in the format needed by your application simpler. Instead of having to remember to specify ``linesep='\r\n'`` in all the places you call a ``generator``, you can specify it once, when you set the policy used by the ``parse...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6bf986ae-db5f-4a90-bac6-3d88a2aa4fae
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,619
supabase-export-v2
eef5e53bd10d29e3
shlex ----- The previously undocumented helper function ``quote`` from the :mod:`!pipes` modules has been moved to the :mod:`shlex` module and documented. :func:`~shlex.quote` properly escapes all characters in a string that might be otherwise given special meaning by the shell.
trusted_official_docs
CPython Docs
shlex ----- The previously undocumented helper function ``quote`` from the :mod:`!pipes` modules has been moved to the :mod:`shlex` module and documented. :func:`~shlex.quote` properly escapes all characters in a string that might be otherwise given special meaning by the shell.
shlex ----- The previously undocumented helper function ``quote`` from the :mod:`!pipes` modules has been moved to the :mod:`shlex` module and documented. :func:`~shlex.quote` properly escapes all characters in a string that might be otherwise given special meaning by the shell.
python, official-docs, cpython, P0
Local_Trusted_Corpus
6e8e0499-d246-4d2b-82ee-48a1fdfc1a9d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,666
supabase-export-v2
161a6504407c913d
The undocumented tarfile.filemode function has been moved to :func:`stat.filemode`. It can be used to convert a file's mode to a string of the form '-rwxrwxrwx'. (Contributed by Giampaolo Rodolà in :issue:`14807`.)
trusted_official_docs
CPython Docs
The undocumented tarfile.filemode function has been moved to :func:`stat.filemode`. It can be used to convert a file's mode to a string of the form '-rwxrwxrwx'. (Contributed by Giampaolo Rodolà in :issue:`14807`.)
The undocumented tarfile.filemode function has been moved to :func:`stat.filemode`. It can be used to convert a file's mode to a string of the form '-rwxrwxrwx'. (Contributed by Giampaolo Rodolà in :issue:`14807`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
737006f0-54eb-4046-8192-a4fa476a4ea7
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,443
supabase-export-v2
090c40fd2f046d16
The :mod:`bz2` module has been rewritten from scratch. In the process, several new features have been added: * New :func:`bz2.open` function: open a bzip2-compressed file in binary or text mode.
trusted_official_docs
CPython Docs
The :mod:`bz2` module has been rewritten from scratch. In the process, several new features have been added: * New :func:`bz2.open` function: open a bzip2-compressed file in binary or text mode.
The :mod:`bz2` module has been rewritten from scratch. In the process, several new features have been added: * New :func:`bz2.open` function: open a bzip2-compressed file in binary or text mode.
python, official-docs, cpython, P0
Local_Trusted_Corpus
755fc58e-fafa-4918-a85c-611445d374e3
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,463
supabase-export-v2
173de0d3f8f94315
.. XXX addition of __slots__ to ABCs not recorded here: internal detail The :class:`~collections.Counter` class now supports the unary ``+`` and ``-`` operators, as well as the in-place operators ``+=``, ``-=``, ``|=``, and ``&=``. (Contributed by Raymond Hettinger in :issue:`13121`.)
trusted_official_docs
CPython Docs
.. XXX addition of __slots__ to ABCs not recorded here: internal detail The :class:`~collections.Counter` class now supports the unary ``+`` and ``-`` operators, as well as the in-place operators ``+=``, ``-=``, ``|=``, and ``&=``. (Contributed by Raymond Hettinger in :issue:`13121`.)
.. XXX addition of __slots__ to ABCs not recorded here: internal detail The :class:`~collections.Counter` class now supports the unary ``+`` and ``-`` operators, as well as the in-place operators ``+=``, ``-=``, ``|=``, and ``&=``. (Contributed by Raymond Hettinger in :issue:`13121`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
7710dc56-b35d-4efa-a897-97f68d5e667e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,622
supabase-export-v2
2566a57d30f4fd08
Sandro Tosi in :issue:`12191`.) * :func:`shutil.get_terminal_size`: returns the size of the terminal window to which the interpreter is attached. (Contributed by Zbigniew Jędrzejewski-Szmek in :issue:`13609`.) * :func:`~shutil.copy2` and :func:`~shutil.copystat` now preserve file timestamps with nanosecond precision o...
trusted_official_docs
CPython Docs
Sandro Tosi in :issue:`12191`.) * :func:`shutil.get_terminal_size`: returns the size of the terminal window to which the interpreter is attached. (Contributed by Zbigniew Jędrzejewski-Szmek in :issue:`13609`.) * :func:`~shutil.copy2` and :func:`~shutil.copystat` now preserve file timestamps with nanosecond precision o...
Sandro Tosi in :issue:`12191`.) * :func:`shutil.get_terminal_size`: returns the size of the terminal window to which the interpreter is attached. (Contributed by Zbigniew Jędrzejewski-Szmek in :issue:`13609`.) * :func:`~shutil.copy2` and :func:`~shutil.copystat` now preserve file timestamps with nanosecond precision o...
python, official-docs, cpython, P0
Local_Trusted_Corpus
77951520-2486-4763-8bfa-29a71d7b4310
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,735
supabase-export-v2
7709c730892c1cd2
The :c:type:`Py_UNICODE` has been deprecated by :pep:`393` and will be removed in Python 4. All functions using this type are deprecated: Unicode functions and methods using :c:type:`Py_UNICODE` and :c:expr:`Py_UNICODE*` types:
trusted_official_docs
CPython Docs
The :c:type:`Py_UNICODE` has been deprecated by :pep:`393` and will be removed in Python 4. All functions using this type are deprecated: Unicode functions and methods using :c:type:`Py_UNICODE` and :c:expr:`Py_UNICODE*` types:
The :c:type:`Py_UNICODE` has been deprecated by :pep:`393` and will be removed in Python 4. All functions using this type are deprecated: Unicode functions and methods using :c:type:`Py_UNICODE` and :c:expr:`Py_UNICODE*` types:
python, official-docs, cpython, P0
Local_Trusted_Corpus
780222ff-7d33-40f7-ae3e-11cbbf38a8b3
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,630
supabase-export-v2
15bf6a1c975faed4
of a nul byte into the wakeup file descriptor. So it is possible to wait more than one signal and know which signals were raised. * :func:`signal.signal` and :func:`signal.siginterrupt` raise an OSError, instead of a RuntimeError: OSError has an errno attribute.
trusted_official_docs
CPython Docs
of a nul byte into the wakeup file descriptor. So it is possible to wait more than one signal and know which signals were raised. * :func:`signal.signal` and :func:`signal.siginterrupt` raise an OSError, instead of a RuntimeError: OSError has an errno attribute.
of a nul byte into the wakeup file descriptor. So it is possible to wait more than one signal and know which signals were raised. * :func:`signal.signal` and :func:`signal.siginterrupt` raise an OSError, instead of a RuntimeError: OSError has an errno attribute.
python, official-docs, cpython, P0
Local_Trusted_Corpus
782ca314-8599-4041-bb1e-89d65c63058e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,315
supabase-export-v2
4fa3d5ded8995706
from errno import ENOENT, EACCES, EPERM try: with open("document.txt") as f: content = f.read() except IOError as err: if err.errno == ENOENT: print("document.txt file is missing") elif err.errno in (EACCES, EPERM): print("You are not allowed to read document.txt") else: raise
trusted_official_docs
CPython Docs
from errno import ENOENT, EACCES, EPERM try: with open("document.txt") as f: content = f.read() except IOError as err: if err.errno == ENOENT: print("document.txt file is missing") elif err.errno in (EACCES, EPERM): print("You are not allowed to read document.txt") else: raise
from errno import ENOENT, EACCES, EPERM try: with open("document.txt") as f: content = f.read() except IOError as err: if err.errno == ENOENT: print("document.txt file is missing") elif err.errno in (EACCES, EPERM): print("You are not allowed to read document.txt") else: raise
python, official-docs, cpython, P0
Local_Trusted_Corpus
786a2d93-f32d-4c3a-a121-c8d701e5a9a7
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,451
supabase-export-v2
561ad6025e626e95
``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. A new Windows-only codec has been added: ``cp65001`` (:issue:`13216`). It is the Windows code page 65001 (Windows UTF-8, ``CP_UTF8``). For ...
trusted_official_docs
CPython Docs
``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. A new Windows-only codec has been added: ``cp65001`` (:issue:`13216`). It is the Windows code page 65001 (Windows UTF-8, ``CP_UTF8``). For ...
``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. A new Windows-only codec has been added: ``cp65001`` (:issue:`13216`). It is the Windows code page 65001 (Windows UTF-8, ``CP_UTF8``). For ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
78f99020-30b7-4454-8242-56206828ecf1
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,517
supabase-export-v2
451ab16b3bff1fdc
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['cc'].addresses (Address(display_name='Bob', username='bob', domain='example.com'), Address(display_name='Sally', username='sally', domain='example.com'), Addre...
trusted_official_docs
CPython Docs
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['cc'].addresses (Address(display_name='Bob', username='bob', domain='example.com'), Address(display_name='Sally', username='sally', domain='example.com'), Addre...
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['cc'].addresses (Address(display_name='Bob', username='bob', domain='example.com'), Address(display_name='Sally', username='sally', domain='example.com'), Addre...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7976dcbb-dafb-4c5c-98dd-b3d4b985dad4
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,339
supabase-export-v2
e42baee69dbe97ac
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 8, in __getattr__ AttributeError: x No debugging capability is lost, as the original exception context remains available if needed (for example, if an intervening library has incorrectly suppressed valuable underlying details)::
trusted_official_docs
CPython Docs
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 8, in __getattr__ AttributeError: x No debugging capability is lost, as the original exception context remains available if needed (for example, if an intervening library has incorrectly suppressed valuable underlying details)::
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 8, in __getattr__ AttributeError: x No debugging capability is lost, as the original exception context remains available if needed (for example, if an intervening library has incorrectly suppressed valuable underlying details)::
python, official-docs, cpython, P0
Local_Trusted_Corpus
7abfa910-8586-48c5-9e7a-4c805244732d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,760
supabase-export-v2
27b230e6d3a69e21
Any code that depended on the previous buggy behavior that preserved the non-``ASCII`` unicode in the formatted output string will need to be changed (:issue:`1690608`). * :meth:`poplib.POP3.quit` may now raise protocol errors like all other ``poplib`` methods. Code that assumes ``quit`` does not raise :exc:`poplib.e...
trusted_official_docs
CPython Docs
Any code that depended on the previous buggy behavior that preserved the non-``ASCII`` unicode in the formatted output string will need to be changed (:issue:`1690608`). * :meth:`poplib.POP3.quit` may now raise protocol errors like all other ``poplib`` methods. Code that assumes ``quit`` does not raise :exc:`poplib.e...
Any code that depended on the previous buggy behavior that preserved the non-``ASCII`` unicode in the formatted output string will need to be changed (:issue:`1690608`). * :meth:`poplib.POP3.quit` may now raise protocol errors like all other ``poplib`` methods. Code that assumes ``quit`` does not raise :exc:`poplib.e...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7ae6a4da-244e-4fb3-b0aa-28a12cf8482e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,348
supabase-export-v2
b1000fbfae727435
PEP 3155: Qualified name for classes and functions ================================================== Functions and class objects have a new :attr:`~definition.__qualname__` attribute representing the "path" from the module top-level to their definition. For global functions and classes, this is the same as :attr:`~def...
trusted_official_docs
CPython Docs
PEP 3155: Qualified name for classes and functions ================================================== Functions and class objects have a new :attr:`~definition.__qualname__` attribute representing the "path" from the module top-level to their definition. For global functions and classes, this is the same as :attr:`~def...
PEP 3155: Qualified name for classes and functions ================================================== Functions and class objects have a new :attr:`~definition.__qualname__` attribute representing the "path" from the module top-level to their definition. For global functions and classes, this is the same as :attr:`~def...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7b1890c4-a307-47c8-8f6b-868b5ab4db95
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,297
supabase-export-v2
0cc53ce9f0297673
PEP 397: Python Launcher for Windows ==================================== The Python 3.3 Windows installer now includes a ``py`` launcher application that can be used to launch Python applications in a version independent fashion.
trusted_official_docs
CPython Docs
PEP 397: Python Launcher for Windows ==================================== The Python 3.3 Windows installer now includes a ``py`` launcher application that can be used to launch Python applications in a version independent fashion.
PEP 397: Python Launcher for Windows ==================================== The Python 3.3 Windows installer now includes a ``py`` launcher application that can be used to launch Python applications in a version independent fashion.
python, official-docs, cpython, P0
Local_Trusted_Corpus
7c36886d-4f26-487b-a919-25b148b4cc78
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,507
supabase-export-v2
8156ffb422a3d4d5
.. tabularcolumns:: |l|L| =============== ======================================================= refold_source Controls whether or not headers parsed by a :mod:`~email.parser` are refolded by the :mod:`~email.generator`. It can be ``none``, ``long``, or ``all``. The default is ``long``, which means that source hea...
trusted_official_docs
CPython Docs
.. tabularcolumns:: |l|L| =============== ======================================================= refold_source Controls whether or not headers parsed by a :mod:`~email.parser` are refolded by the :mod:`~email.generator`. It can be ``none``, ``long``, or ``all``. The default is ``long``, which means that source hea...
.. tabularcolumns:: |l|L| =============== ======================================================= refold_source Controls whether or not headers parsed by a :mod:`~email.parser` are refolded by the :mod:`~email.generator`. It can be ``none``, ``long``, or ``all``. The default is ``long``, which means that source hea...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7cf0e14c-2f0c-4e6c-b0cf-d168dce4a90a
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,783
supabase-export-v2
ce33db1daf6e4a42
(:issue:`10998`, contributed by Éric Araujo.) * When :program:`python` is started with :option:`-S`, ``import site`` will no longer add site-specific paths to the module search paths. In previous versions, it did.
trusted_official_docs
CPython Docs
(:issue:`10998`, contributed by Éric Araujo.) * When :program:`python` is started with :option:`-S`, ``import site`` will no longer add site-specific paths to the module search paths. In previous versions, it did.
(:issue:`10998`, contributed by Éric Araujo.) * When :program:`python` is started with :option:`-S`, ``import site`` will no longer add site-specific paths to the module search paths. In previous versions, it did.
python, official-docs, cpython, P0
Local_Trusted_Corpus
7d339a86-d6de-4574-93f7-7c38d28b64f6
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,329
supabase-export-v2
9f64ba5867bc3de1
acc.send(None) # Finish the first tally >>> for i in range(5): ... acc.send(i) ... >>> acc.send(None) # Finish the second tally >>> tallies [6, 10] The main principle driving this change is to allow even generators that are designed to be used with the ``send`` and ``throw`` methods to be split into multiple subgenerat...
trusted_official_docs
CPython Docs
acc.send(None) # Finish the first tally >>> for i in range(5): ... acc.send(i) ... >>> acc.send(None) # Finish the second tally >>> tallies [6, 10] The main principle driving this change is to allow even generators that are designed to be used with the ``send`` and ``throw`` methods to be split into multiple subgenerat...
acc.send(None) # Finish the first tally >>> for i in range(5): ... acc.send(i) ... >>> acc.send(None) # Finish the second tally >>> tallies [6, 10] The main principle driving this change is to allow even generators that are designed to be used with the ``send`` and ``throw`` methods to be split into multiple subgenerat...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7f76b438-08ed-4651-a325-d0ea9eda1711
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,758
supabase-export-v2
20533afa28bee024
:func:`pkgutil.iter_importers` and :func:`pkgutil.walk_packages` functions special case the standard import hooks so they are still supported even though they do not provide the non-standard ``iter_modules()`` method. * A longstanding RFC-compliance bug (:issue:`1079`) in the parsing done by :func:`email.header.decode...
trusted_official_docs
CPython Docs
:func:`pkgutil.iter_importers` and :func:`pkgutil.walk_packages` functions special case the standard import hooks so they are still supported even though they do not provide the non-standard ``iter_modules()`` method. * A longstanding RFC-compliance bug (:issue:`1079`) in the parsing done by :func:`email.header.decode...
:func:`pkgutil.iter_importers` and :func:`pkgutil.walk_packages` functions special case the standard import hooks so they are still supported even though they do not provide the non-standard ``iter_modules()`` method. * A longstanding RFC-compliance bug (:issue:`1079`) in the parsing done by :func:`email.header.decode...
python, official-docs, cpython, P0
Local_Trusted_Corpus
816f2389-432c-458e-8ce6-d173d3bce37a
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,613
supabase-export-v2
a2004b5e8bc6d60f
* :class:`~sched.scheduler` class can now be safely used in multi-threaded environments. (Contributed by Josiah Carlson and Giampaolo Rodolà in :issue:`8684`.) * *timefunc* and *delayfunct* parameters of :class:`~sched.scheduler` class constructor are now optional and defaults to :func:`time.time` and :func:`time.sle...
trusted_official_docs
CPython Docs
* :class:`~sched.scheduler` class can now be safely used in multi-threaded environments. (Contributed by Josiah Carlson and Giampaolo Rodolà in :issue:`8684`.) * *timefunc* and *delayfunct* parameters of :class:`~sched.scheduler` class constructor are now optional and defaults to :func:`time.time` and :func:`time.sle...
* :class:`~sched.scheduler` class can now be safely used in multi-threaded environments. (Contributed by Josiah Carlson and Giampaolo Rodolà in :issue:`8684`.) * *timefunc* and *delayfunct* parameters of :class:`~sched.scheduler` class constructor are now optional and defaults to :func:`time.time` and :func:`time.sle...
python, official-docs, cpython, P0
Local_Trusted_Corpus
825232fc-5be4-4302-86b8-c35361eae306
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,721
supabase-export-v2
7c6e6dcb64b9acc8
* :c:func:`PyUnicode_FromKindAndData` * :c:func:`PyUnicode_AsUCS4`, :c:func:`PyUnicode_AsUCS4Copy` * :c:macro:`PyUnicode_DATA`, :c:macro:`PyUnicode_1BYTE_DATA`, :c:macro:`PyUnicode_2BYTE_DATA`, :c:macro:`PyUnicode_4BYTE_DATA` * :c:macro:`PyUnicode_KIND` with :c:enum:`!PyUnicode_Kind` enum: :c:data:`!PyUnicode_WCHAR_KIN...
trusted_official_docs
CPython Docs
* :c:func:`PyUnicode_FromKindAndData` * :c:func:`PyUnicode_AsUCS4`, :c:func:`PyUnicode_AsUCS4Copy` * :c:macro:`PyUnicode_DATA`, :c:macro:`PyUnicode_1BYTE_DATA`, :c:macro:`PyUnicode_2BYTE_DATA`, :c:macro:`PyUnicode_4BYTE_DATA` * :c:macro:`PyUnicode_KIND` with :c:enum:`!PyUnicode_Kind` enum: :c:data:`!PyUnicode_WCHAR_KIN...
* :c:func:`PyUnicode_FromKindAndData` * :c:func:`PyUnicode_AsUCS4`, :c:func:`PyUnicode_AsUCS4Copy` * :c:macro:`PyUnicode_DATA`, :c:macro:`PyUnicode_1BYTE_DATA`, :c:macro:`PyUnicode_2BYTE_DATA`, :c:macro:`PyUnicode_4BYTE_DATA` * :c:macro:`PyUnicode_KIND` with :c:enum:`!PyUnicode_Kind` enum: :c:data:`!PyUnicode_WCHAR_KIN...
python, official-docs, cpython, P0
Local_Trusted_Corpus
82587dab-c46d-4e50-bda9-7d4fb942c206
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,261
supabase-export-v2
25301f5a6c0b81d6
* Multi-dimensional comparisons are supported for any array type. * One-dimensional memoryviews of hashable (read-only) types with formats B, b or c are now hashable. (Contributed by Antoine Pitrou in :issue:`13411`.)
trusted_official_docs
CPython Docs
* Multi-dimensional comparisons are supported for any array type. * One-dimensional memoryviews of hashable (read-only) types with formats B, b or c are now hashable. (Contributed by Antoine Pitrou in :issue:`13411`.)
* Multi-dimensional comparisons are supported for any array type. * One-dimensional memoryviews of hashable (read-only) types with formats B, b or c are now hashable. (Contributed by Antoine Pitrou in :issue:`13411`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
8360a3be-fb10-4fc8-9501-3a2359d47d39
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,784
supabase-export-v2
1649eeeea248d68e
* When :program:`python` is started with :option:`-S`, ``import site`` will no longer add site-specific paths to the module search paths. In previous versions, it did. (:issue:`11591`, contributed by Carl Meyer with editions by Éric Araujo.)
trusted_official_docs
CPython Docs
* When :program:`python` is started with :option:`-S`, ``import site`` will no longer add site-specific paths to the module search paths. In previous versions, it did. (:issue:`11591`, contributed by Carl Meyer with editions by Éric Araujo.)
* When :program:`python` is started with :option:`-S`, ``import site`` will no longer add site-specific paths to the module search paths. In previous versions, it did. (:issue:`11591`, contributed by Carl Meyer with editions by Éric Araujo.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
8367f497-6696-43f3-b5a0-3e2e433611fe
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,422
supabase-export-v2
78afe3993aa262dd
$ python -q -X faulthandler >>> import ctypes >>> ctypes.string_at(0) Fatal Python error: Segmentation fault Current thread 0x00007fb899f39700: File "/home/python/cpython/Lib/ctypes/__init__.py", line 486 in string_at File "<stdin>", line 1 in <module> Segmentation fault
trusted_official_docs
CPython Docs
$ python -q -X faulthandler >>> import ctypes >>> ctypes.string_at(0) Fatal Python error: Segmentation fault Current thread 0x00007fb899f39700: File "/home/python/cpython/Lib/ctypes/__init__.py", line 486 in string_at File "<stdin>", line 1 in <module> Segmentation fault
$ python -q -X faulthandler >>> import ctypes >>> ctypes.string_at(0) Fatal Python error: Segmentation fault Current thread 0x00007fb899f39700: File "/home/python/cpython/Lib/ctypes/__init__.py", line 486 in string_at File "<stdin>", line 1 in <module> Segmentation fault
python, official-docs, cpython, P0
Local_Trusted_Corpus
84268801-80d9-4f25-af68-f7948054afcf
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,416
supabase-export-v2
39f2515e9109c3db
gets a new :meth:`~str.casefold` method: return a casefolded copy of the string, casefolded strings may be used for caseless matching. For example, ``'ß'.casefold()`` returns ``'ss'``. * The sequence documentation has been substantially rewritten to better explain the binary/text sequence distinction and to provide sp...
trusted_official_docs
CPython Docs
gets a new :meth:`~str.casefold` method: return a casefolded copy of the string, casefolded strings may be used for caseless matching. For example, ``'ß'.casefold()`` returns ``'ss'``. * The sequence documentation has been substantially rewritten to better explain the binary/text sequence distinction and to provide sp...
gets a new :meth:`~str.casefold` method: return a casefolded copy of the string, casefolded strings may be used for caseless matching. For example, ``'ß'.casefold()`` returns ``'ss'``. * The sequence documentation has been substantially rewritten to better explain the binary/text sequence distinction and to provide sp...
python, official-docs, cpython, P0
Local_Trusted_Corpus
842b993e-ac1c-4e08-804f-9fb38197f5d5
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,309
supabase-export-v2
6fdcb06d51914649
:exc:`EnvironmentError`, :exc:`WindowsError`, :exc:`!mmap.error`, :exc:`socket.error` or :exc:`select.error`. All these exception types are now only one: :exc:`OSError`. The other names are kept as aliases for compatibility reasons. Also, it is now easier to catch a specific error condition. Instead of inspecting the `...
trusted_official_docs
CPython Docs
:exc:`EnvironmentError`, :exc:`WindowsError`, :exc:`!mmap.error`, :exc:`socket.error` or :exc:`select.error`. All these exception types are now only one: :exc:`OSError`. The other names are kept as aliases for compatibility reasons. Also, it is now easier to catch a specific error condition. Instead of inspecting the `...
:exc:`EnvironmentError`, :exc:`WindowsError`, :exc:`!mmap.error`, :exc:`socket.error` or :exc:`select.error`. All these exception types are now only one: :exc:`OSError`. The other names are kept as aliases for compatibility reasons. Also, it is now easier to catch a specific error condition. Instead of inspecting the `...
python, official-docs, cpython, P0
Local_Trusted_Corpus
88f014dd-b333-4dda-a92f-31169d3870fd
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,566
supabase-export-v2
53e8e814a6a00a80
The new :func:`multiprocessing.connection.wait` function allows polling multiple objects (such as connections, sockets and pipes) with a timeout. (Contributed by Richard Oudkerk in :issue:`12328`.) :class:`multiprocessing.connection.Connection` objects can now be transferred over multiprocessing connections. (Contribut...
trusted_official_docs
CPython Docs
The new :func:`multiprocessing.connection.wait` function allows polling multiple objects (such as connections, sockets and pipes) with a timeout. (Contributed by Richard Oudkerk in :issue:`12328`.) :class:`multiprocessing.connection.Connection` objects can now be transferred over multiprocessing connections. (Contribut...
The new :func:`multiprocessing.connection.wait` function allows polling multiple objects (such as connections, sockets and pipes) with a timeout. (Contributed by Richard Oudkerk in :issue:`12328`.) :class:`multiprocessing.connection.Connection` objects can now be transferred over multiprocessing connections. (Contribut...
python, official-docs, cpython, P0
Local_Trusted_Corpus
894a19c3-7f0f-4f66-a14f-fbdf84b2aaa6
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,415
supabase-export-v2
89ff892d7d7a68f1
Builtin functions and types =========================== * :func:`open` gets a new *opener* parameter: the underlying file descriptor for the file object is then obtained by calling *opener* with (*file*, *flags*). It can be used to use custom flags like :const:`os.O_CLOEXEC` for example. The ``'x'`` mode was added: ...
trusted_official_docs
CPython Docs
Builtin functions and types =========================== * :func:`open` gets a new *opener* parameter: the underlying file descriptor for the file object is then obtained by calling *opener* with (*file*, *flags*). It can be used to use custom flags like :const:`os.O_CLOEXEC` for example. The ``'x'`` mode was added: ...
Builtin functions and types =========================== * :func:`open` gets a new *opener* parameter: the underlying file descriptor for the file object is then obtained by calling *opener* with (*file*, *flags*). It can be used to use custom flags like :const:`os.O_CLOEXEC` for example. The ``'x'`` mode was added: ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
8b27f871-acfb-4655-92d5-13168909efd1
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,430
supabase-export-v2
f79115c076ca366d
abc --- Improved support for abstract base classes containing descriptors composed with abstract 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.
trusted_official_docs
CPython Docs
abc --- Improved support for abstract base classes containing descriptors composed with abstract 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.
abc --- Improved support for abstract base classes containing descriptors composed with abstract 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.
python, official-docs, cpython, P0
Local_Trusted_Corpus
8bb69d0d-0210-42f4-9d73-7fd389cf34cc
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,266
supabase-export-v2
9c4756a4c39b173d
* The representation of empty shape, strides and suboffsets is now an empty tuple instead of ``None``. * Accessing a memoryview element with format 'B' (unsigned bytes) now returns an integer (in accordance with the struct module syntax). For returning a bytes object the view must be cast to 'c' first.
trusted_official_docs
CPython Docs
* The representation of empty shape, strides and suboffsets is now an empty tuple instead of ``None``. * Accessing a memoryview element with format 'B' (unsigned bytes) now returns an integer (in accordance with the struct module syntax). For returning a bytes object the view must be cast to 'c' first.
* The representation of empty shape, strides and suboffsets is now an empty tuple instead of ``None``. * Accessing a memoryview element with format 'B' (unsigned bytes) now returns an integer (in accordance with the struct module syntax). For returning a bytes object the view must be cast to 'c' first.
python, official-docs, cpython, P0
Local_Trusted_Corpus
901a7b1a-2f7a-47cd-b678-13ad3d75ae88
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,262
supabase-export-v2
5c831e9c67fb3f18
* One-dimensional memoryviews of hashable (read-only) types with formats B, b or c are now hashable. (Contributed by Antoine Pitrou in :issue:`13411`.) * Arbitrary slicing of any 1-D arrays type is supported. For example, it is now possible to reverse a memoryview in *O*\ (1) by using a negative step.
trusted_official_docs
CPython Docs
* One-dimensional memoryviews of hashable (read-only) types with formats B, b or c are now hashable. (Contributed by Antoine Pitrou in :issue:`13411`.) * Arbitrary slicing of any 1-D arrays type is supported. For example, it is now possible to reverse a memoryview in *O*\ (1) by using a negative step.
* One-dimensional memoryviews of hashable (read-only) types with formats B, b or c are now hashable. (Contributed by Antoine Pitrou in :issue:`13411`.) * Arbitrary slicing of any 1-D arrays type is supported. For example, it is now possible to reverse a memoryview in *O*\ (1) by using a negative step.
python, official-docs, cpython, P0
Local_Trusted_Corpus
919946d7-b103-48a8-bcae-adbac36ce75e
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,494
supabase-export-v2
31fc74f37de0a406
sub-objects created by the ``parser``. By default a ``generator`` will use the policy of the ``Message`` object it is serializing. The default policy is :data:`~email.policy.compat32`. The minimum set of controls implemented by all ``policy`` objects are:
trusted_official_docs
CPython Docs
sub-objects created by the ``parser``. By default a ``generator`` will use the policy of the ``Message`` object it is serializing. The default policy is :data:`~email.policy.compat32`. The minimum set of controls implemented by all ``policy`` objects are:
sub-objects created by the ``parser``. By default a ``generator`` will use the policy of the ``Message`` object it is serializing. The default policy is :data:`~email.policy.compat32`. The minimum set of controls implemented by all ``policy`` objects are:
python, official-docs, cpython, P0
Local_Trusted_Corpus
91cdaea7-27d6-45b9-8d73-fd19fc924a28
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,222
supabase-export-v2
e9bcff63ea5819f2
This saves the maintainer the effort of going through the Mercurial log when researching a change. This article explains the new features in Python 3.3, compared to 3.2. Python 3.3 was released on September 29, 2012. For full details, see the `changelog <https://docs.python.org/3.3/whatsnew/changelog.html>`_.
trusted_official_docs
CPython Docs
This saves the maintainer the effort of going through the Mercurial log when researching a change. This article explains the new features in Python 3.3, compared to 3.2. Python 3.3 was released on September 29, 2012. For full details, see the `changelog <https://docs.python.org/3.3/whatsnew/changelog.html>`_.
This saves the maintainer the effort of going through the Mercurial log when researching a change. This article explains the new features in Python 3.3, compared to 3.2. Python 3.3 was released on September 29, 2012. For full details, see the `changelog <https://docs.python.org/3.3/whatsnew/changelog.html>`_.
python, official-docs, cpython, P0
Local_Trusted_Corpus
92db63fa-dd62-4a2f-9579-794b71ca739b
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,274
supabase-export-v2
59a80253306ed75d
PEP 393: Flexible String Representation ======================================= The Unicode string type is changed to support multiple internal representations, depending on the character with the largest Unicode ordinal (1, 2, or 4 bytes) in the represented string. This allows a space-efficient representation in commo...
trusted_official_docs
CPython Docs
PEP 393: Flexible String Representation ======================================= The Unicode string type is changed to support multiple internal representations, depending on the character with the largest Unicode ordinal (1, 2, or 4 bytes) in the represented string. This allows a space-efficient representation in commo...
PEP 393: Flexible String Representation ======================================= The Unicode string type is changed to support multiple internal representations, depending on the character with the largest Unicode ordinal (1, 2, or 4 bytes) in the represented string. This allows a space-efficient representation in commo...
python, official-docs, cpython, P0
Local_Trusted_Corpus
93ccb31a-ee46-4826-bcbc-b2303eefcb35
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,313
supabase-export-v2
b5467f10ef87536a
* :exc:`BrokenPipeError` * :exc:`ConnectionAbortedError` * :exc:`ConnectionRefusedError` * :exc:`ConnectionResetError` Thanks to the new exceptions, common usages of the :mod:`errno` can now be avoided. For example, the following code written for Python 3.2::
trusted_official_docs
CPython Docs
* :exc:`BrokenPipeError` * :exc:`ConnectionAbortedError` * :exc:`ConnectionRefusedError` * :exc:`ConnectionResetError` Thanks to the new exceptions, common usages of the :mod:`errno` can now be avoided. For example, the following code written for Python 3.2::
* :exc:`BrokenPipeError` * :exc:`ConnectionAbortedError` * :exc:`ConnectionRefusedError` * :exc:`ConnectionResetError` Thanks to the new exceptions, common usages of the :mod:`errno` can now be avoided. For example, the following code written for Python 3.2::
python, official-docs, cpython, P0
Local_Trusted_Corpus
9416c76c-1fef-4a11-b2a7-226e0816b1a5
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,656
supabase-export-v2
be516f4c81b3b49e
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`.) * :meth:`~ssl.SSLContext.load_cert_chain` now accepts a *password* argument to be used if the private key is encrypted. (Contributed by Adam Simpkins in ...
trusted_official_docs
CPython Docs
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`.) * :meth:`~ssl.SSLContext.load_cert_chain` now accepts a *password* argument to be used if the private key is encrypted. (Contributed by Adam Simpkins in ...
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`.) * :meth:`~ssl.SSLContext.load_cert_chain` now accepts a *password* argument to be used if the private key is encrypted. (Contributed by Adam Simpkins in ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
961da29b-bbc6-41c9-9a35-835129738b54
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,695
supabase-export-v2
dfa9da264cc8d438
:meth:`.assertRaises`, :meth:`.assertRaisesRegex`, :meth:`.assertWarns`, and :meth:`.assertWarnsRegex` now accept a keyword argument *msg* when used as context managers. (Contributed by Ezio Melotti and Winston Ewert in :issue:`10775`.) :meth:`unittest.TestCase.run` now returns the :class:`~unittest.TestResult` object.
trusted_official_docs
CPython Docs
:meth:`.assertRaises`, :meth:`.assertRaisesRegex`, :meth:`.assertWarns`, and :meth:`.assertWarnsRegex` now accept a keyword argument *msg* when used as context managers. (Contributed by Ezio Melotti and Winston Ewert in :issue:`10775`.) :meth:`unittest.TestCase.run` now returns the :class:`~unittest.TestResult` object.
:meth:`.assertRaises`, :meth:`.assertRaisesRegex`, :meth:`.assertWarns`, and :meth:`.assertWarnsRegex` now accept a keyword argument *msg* when used as context managers. (Contributed by Ezio Melotti and Winston Ewert in :issue:`10775`.) :meth:`unittest.TestCase.run` now returns the :class:`~unittest.TestResult` object.
python, official-docs, cpython, P0
Local_Trusted_Corpus
963814ac-92fe-42d3-958c-bc51317e48ff
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,510
supabase-export-v2
c0cc792c9998714f
Date headers have additional attributes that give you access to the parsed data of the header. This means you can now do things like this:: >>> m = Message(policy=SMTP) >>> m['To'] = 'Éric <foo@example.com>' >>> m['to'] 'Éric <foo@example.com>' >>> m['to'].addresses (Address(display_name='Éric', username='foo', do...
trusted_official_docs
CPython Docs
Date headers have additional attributes that give you access to the parsed data of the header. This means you can now do things like this:: >>> m = Message(policy=SMTP) >>> m['To'] = 'Éric <foo@example.com>' >>> m['to'] 'Éric <foo@example.com>' >>> m['to'].addresses (Address(display_name='Éric', username='foo', do...
Date headers have additional attributes that give you access to the parsed data of the header. This means you can now do things like this:: >>> m = Message(policy=SMTP) >>> m['To'] = 'Éric <foo@example.com>' >>> m['to'] 'Éric <foo@example.com>' >>> m['to'].addresses (Address(display_name='Éric', username='foo', do...
python, official-docs, cpython, P0
Local_Trusted_Corpus
96cc83fb-7531-45c5-abf1-dfa1cea0ba37
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,317
supabase-export-v2
4fb13b9e258b9b89
can now be written without the :mod:`errno` import and without manual inspection of exception attributes:: try: with open("document.txt") as f: content = f.read() except FileNotFoundError: print("document.txt file is missing") except PermissionError: print("You are not allowed to read document.txt")
trusted_official_docs
CPython Docs
can now be written without the :mod:`errno` import and without manual inspection of exception attributes:: try: with open("document.txt") as f: content = f.read() except FileNotFoundError: print("document.txt file is missing") except PermissionError: print("You are not allowed to read document.txt")
can now be written without the :mod:`errno` import and without manual inspection of exception attributes:: try: with open("document.txt") as f: content = f.read() except FileNotFoundError: print("document.txt file is missing") except PermissionError: print("You are not allowed to read document.txt")
python, official-docs, cpython, P0
Local_Trusted_Corpus
97b877a5-0b2d-4701-9a41-f97a9783e9f6
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,497
supabase-export-v2
27cc3f013527919b
=============== ======================================================= max_line_length The maximum length, excluding the linesep character(s), individual lines may have when a ``Message`` is serialized. Defaults to 78. linesep The character used to separate individual lines when a ``Message`` is serialized. Defaults ...
trusted_official_docs
CPython Docs
=============== ======================================================= max_line_length The maximum length, excluding the linesep character(s), individual lines may have when a ``Message`` is serialized. Defaults to 78. linesep The character used to separate individual lines when a ``Message`` is serialized. Defaults ...
=============== ======================================================= max_line_length The maximum length, excluding the linesep character(s), individual lines may have when a ``Message`` is serialized. Defaults to 78. linesep The character used to separate individual lines when a ``Message`` is serialized. Defaults ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
98b36abf-08cf-4c73-aed4-e7f25763145f
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,476
supabase-export-v2
10d4cec4aa012300
the decimal module integrates the high speed libmpdec library for arbitrary precision correctly rounded decimal floating-point arithmetic. libmpdec conforms to IBM's General Decimal Arithmetic Specification. Performance gains range from 10x for database applications to 100x for numerically intensive applications. These...
trusted_official_docs
CPython Docs
the decimal module integrates the high speed libmpdec library for arbitrary precision correctly rounded decimal floating-point arithmetic. libmpdec conforms to IBM's General Decimal Arithmetic Specification. Performance gains range from 10x for database applications to 100x for numerically intensive applications. These...
the decimal module integrates the high speed libmpdec library for arbitrary precision correctly rounded decimal floating-point arithmetic. libmpdec conforms to IBM's General Decimal Arithmetic Specification. Performance gains range from 10x for database applications to 100x for numerically intensive applications. These...
python, official-docs, cpython, P0
Local_Trusted_Corpus
99c7c55f-40eb-4c9d-8df2-5779d641f7d9
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,331
supabase-export-v2
c6c09687308b1d89
.. seealso:: :pep:`380` - Syntax for Delegating to a Subgenerator PEP written 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
trusted_official_docs
CPython Docs
.. seealso:: :pep:`380` - Syntax for Delegating to a Subgenerator PEP written 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
.. seealso:: :pep:`380` - Syntax for Delegating to a Subgenerator PEP written 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
python, official-docs, cpython, P0
Local_Trusted_Corpus
99d949ba-8003-4318-b661-004806858a76
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,475
supabase-export-v2
69b70805af523947
:issue:`7652` - integrate fast native decimal arithmetic. C-module and libmpdec written by Stefan Krah. The new C version of the decimal module integrates the high speed libmpdec library for arbitrary precision correctly rounded decimal floating-point arithmetic. libmpdec conforms to IBM's General Decimal Arithmetic Sp...
trusted_official_docs
CPython Docs
:issue:`7652` - integrate fast native decimal arithmetic. C-module and libmpdec written by Stefan Krah. The new C version of the decimal module integrates the high speed libmpdec library for arbitrary precision correctly rounded decimal floating-point arithmetic. libmpdec conforms to IBM's General Decimal Arithmetic Sp...
:issue:`7652` - integrate fast native decimal arithmetic. C-module and libmpdec written by Stefan Krah. The new C version of the decimal module integrates the high speed libmpdec library for arbitrary precision correctly rounded decimal floating-point arithmetic. libmpdec conforms to IBM's General Decimal Arithmetic Sp...
python, official-docs, cpython, P0
Local_Trusted_Corpus
99e456a9-3d8b-4ddd-bb91-2addfce542e2
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,504
supabase-export-v2
c0ce9a651aec7097
Provisional Policy with New Header API ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ While the policy framework is worthwhile all by itself, the main motivation for introducing it is to allow the creation of new policies that implement new features for the email package in a way that maintains backward compatibility for those...
trusted_official_docs
CPython Docs
Provisional Policy with New Header API ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ While the policy framework is worthwhile all by itself, the main motivation for introducing it is to allow the creation of new policies that implement new features for the email package in a way that maintains backward compatibility for those...
Provisional Policy with New Header API ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ While the policy framework is worthwhile all by itself, the main motivation for introducing it is to allow the creation of new policies that implement new features for the email package in a way that maintains backward compatibility for those...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9c583a52-1c31-4698-a32b-1a250c4f5065
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,298
supabase-export-v2
f16b76e005755cbc
The Python 3.3 Windows installer now includes a ``py`` launcher application that can be used to launch Python applications in a version independent fashion. This launcher is invoked implicitly when double-clicking ``*.py`` files. If only a single Python version is installed on the system, that version will be used to r...
trusted_official_docs
CPython Docs
The Python 3.3 Windows installer now includes a ``py`` launcher application that can be used to launch Python applications in a version independent fashion. This launcher is invoked implicitly when double-clicking ``*.py`` files. If only a single Python version is installed on the system, that version will be used to r...
The Python 3.3 Windows installer now includes a ``py`` launcher application that can be used to launch Python applications in a version independent fashion. This launcher is invoked implicitly when double-clicking ``*.py`` files. If only a single Python version is installed on the system, that version will be used to r...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9d126cef-d30a-490e-aba6-d6b2eaf0d598
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,749
supabase-export-v2
ad3953836c73bfe6
version used to build Python. Replace sys.platform == 'linux2' with sys.platform.startswith('linux'), or directly sys.platform == 'linux' if you don't need to support older Python versions. * :issue:`13847`, :issue:`14180`: :mod:`time` and :mod:`datetime`: :exc:`OverflowError` is now raised instead of :exc:`ValueError...
trusted_official_docs
CPython Docs
version used to build Python. Replace sys.platform == 'linux2' with sys.platform.startswith('linux'), or directly sys.platform == 'linux' if you don't need to support older Python versions. * :issue:`13847`, :issue:`14180`: :mod:`time` and :mod:`datetime`: :exc:`OverflowError` is now raised instead of :exc:`ValueError...
version used to build Python. Replace sys.platform == 'linux2' with sys.platform.startswith('linux'), or directly sys.platform == 'linux' if you don't need to support older Python versions. * :issue:`13847`, :issue:`14180`: :mod:`time` and :mod:`datetime`: :exc:`OverflowError` is now raised instead of :exc:`ValueError...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9d1a30f8-289e-4952-bd7f-328a14b65e5f
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,255
supabase-export-v2
c1504118bdfab670
checks the consumer's request type. Many new features have been added, most of them work in full generality for non-contiguous arrays and arrays with suboffsets. The documentation has been updated, clearly spelling out responsibilities for both exporters and consumers. Buffer request flags are grouped into basic and co...
trusted_official_docs
CPython Docs
checks the consumer's request type. Many new features have been added, most of them work in full generality for non-contiguous arrays and arrays with suboffsets. The documentation has been updated, clearly spelling out responsibilities for both exporters and consumers. Buffer request flags are grouped into basic and co...
checks the consumer's request type. Many new features have been added, most of them work in full generality for non-contiguous arrays and arrays with suboffsets. The documentation has been updated, clearly spelling out responsibilities for both exporters and consumers. Buffer request flags are grouped into basic and co...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9e11b475-a047-4f6a-bdf4-47f0545e737b
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,397
supabase-export-v2
58b0fca8f1ae504a
* 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. (Contributed by Ezio Melotti in :issue:`12753`.)
trusted_official_docs
CPython Docs
* 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. (Contributed by Ezio Melotti in :issue:`12753`.)
* 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. (Contributed by Ezio Melotti in :issue:`12753`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
9e20a26c-a670-4890-9ae9-de6c87716dbf
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,425
supabase-export-v2
abd715651408830c
provides tools for creating and manipulating objects representing IPv4 and IPv6 addresses, networks and interfaces (i.e. an IP address associated with a specific IP subnet). (Contributed by Google and Peter Moody in :pep:`3144`.)
trusted_official_docs
CPython Docs
provides tools for creating and manipulating objects representing IPv4 and IPv6 addresses, networks and interfaces (i.e. an IP address associated with a specific IP subnet). (Contributed by Google and Peter Moody in :pep:`3144`.)
provides tools for creating and manipulating objects representing IPv4 and IPv6 addresses, networks and interfaces (i.e. an IP address associated with a specific IP subnet). (Contributed by Google and Peter Moody in :pep:`3144`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
a045c35f-33da-40e0-872b-933a0ac91cb0
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,582
supabase-export-v2
b8ae5dade297e52f
for their path argument: :func:`~os.chdir`, :func:`~os.chmod`, :func:`~os.chown`, :func:`~os.execve`, :func:`~os.listdir`, :func:`~os.pathconf`, :func:`~os.path.exists`, :func:`~os.stat`, :func:`~os.statvfs`, :func:`~os.utime`. Platform support for this can be checked via the :data:`os.supports_fd` set. * :func:`~os.ac...
trusted_official_docs
CPython Docs
for their path argument: :func:`~os.chdir`, :func:`~os.chmod`, :func:`~os.chown`, :func:`~os.execve`, :func:`~os.listdir`, :func:`~os.pathconf`, :func:`~os.path.exists`, :func:`~os.stat`, :func:`~os.statvfs`, :func:`~os.utime`. Platform support for this can be checked via the :data:`os.supports_fd` set. * :func:`~os.ac...
for their path argument: :func:`~os.chdir`, :func:`~os.chmod`, :func:`~os.chown`, :func:`~os.execve`, :func:`~os.listdir`, :func:`~os.pathconf`, :func:`~os.path.exists`, :func:`~os.stat`, :func:`~os.statvfs`, :func:`~os.utime`. Platform support for this can be checked via the :data:`os.supports_fd` set. * :func:`~os.ac...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a05be817-475e-4ad5-b0b6-e3378196f66f
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,379
supabase-export-v2
ff29d17dbfb24eab
to use, helping to end any VM-specific deviations in import semantics. And finally it eases the maintenance of import, allowing for future growth to occur. For the common user, there should be no visible change in semantics. For those whose code currently manipulates import or calls import programmatically, the code ch...
trusted_official_docs
CPython Docs
to use, helping to end any VM-specific deviations in import semantics. And finally it eases the maintenance of import, allowing for future growth to occur. For the common user, there should be no visible change in semantics. For those whose code currently manipulates import or calls import programmatically, the code ch...
to use, helping to end any VM-specific deviations in import semantics. And finally it eases the maintenance of import, allowing for future growth to occur. For the common user, there should be no visible change in semantics. For those whose code currently manipulates import or calls import programmatically, the code ch...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a0f3c625-3285-4e2d-9d14-37f55fe26c0a
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,657
supabase-export-v2
a0d289bc2dddf8d8
* :meth:`~ssl.SSLContext.load_cert_chain` now accepts a *password* argument to be used if the private key is encrypted. (Contributed by Adam Simpkins in :issue:`12803`.) * Diffie-Hellman key exchange, both regular and Elliptic Curve-based, is now supported through the :meth:`~ssl.SSLContext.load_dh_params` and :meth:...
trusted_official_docs
CPython Docs
* :meth:`~ssl.SSLContext.load_cert_chain` now accepts a *password* argument to be used if the private key is encrypted. (Contributed by Adam Simpkins in :issue:`12803`.) * Diffie-Hellman key exchange, both regular and Elliptic Curve-based, is now supported through the :meth:`~ssl.SSLContext.load_dh_params` and :meth:...
* :meth:`~ssl.SSLContext.load_cert_chain` now accepts a *password* argument to be used if the private key is encrypted. (Contributed by Adam Simpkins in :issue:`12803`.) * Diffie-Hellman key exchange, both regular and Elliptic Curve-based, is now supported through the :meth:`~ssl.SSLContext.load_dh_params` and :meth:...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a3454832-07b5-4a12-80e9-4637bcc20a60
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,355
supabase-export-v2
9100a89a201e52cb
>>> def outer(): ... def inner(): ... pass ... return inner ... >>> outer().__name__ 'inner' >>> outer().__qualname__ 'outer.<locals>.inner' The string representation of those objects is also changed to include the new, more precise information::
trusted_official_docs
CPython Docs
>>> def outer(): ... def inner(): ... pass ... return inner ... >>> outer().__name__ 'inner' >>> outer().__qualname__ 'outer.<locals>.inner' The string representation of those objects is also changed to include the new, more precise information::
>>> def outer(): ... def inner(): ... pass ... return inner ... >>> outer().__name__ 'inner' >>> outer().__qualname__ 'outer.<locals>.inner' The string representation of those objects is also changed to include the new, more precise information::
python, official-docs, cpython, P0
Local_Trusted_Corpus
a3ebf87d-0c14-4169-933d-2a8cda3f588a
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,383
supabase-export-v2
08725672380c97bc
finders, :class:`importlib.machinery.FileFinder` exposes the mechanism used to search for source and bytecode files of a module. Previously this class was an implicit member of :data:`sys.path_hooks`. For loaders, the new abstract base class :class:`importlib.abc.FileLoader` helps write a loader that uses the file syst...
trusted_official_docs
CPython Docs
finders, :class:`importlib.machinery.FileFinder` exposes the mechanism used to search for source and bytecode files of a module. Previously this class was an implicit member of :data:`sys.path_hooks`. For loaders, the new abstract base class :class:`importlib.abc.FileLoader` helps write a loader that uses the file syst...
finders, :class:`importlib.machinery.FileFinder` exposes the mechanism used to search for source and bytecode files of a module. Previously this class was an implicit member of :data:`sys.path_hooks`. For loaders, the new abstract base class :class:`importlib.abc.FileLoader` helps write a loader that uses the file syst...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a3f1d09b-0be8-487d-a9f0-ab4eb98b0ab3
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,629
supabase-export-v2
d4aa7158d80f118d
functions; * :func:`~signal.sigwait`: wait a signal; * :func:`~signal.sigwaitinfo`: wait for a signal, returning detailed information about it; * :func:`~signal.sigtimedwait`: like :func:`~signal.sigwaitinfo` but with a timeout. * The signal handler writes the signal number as a single byte instead of a nul byte into ...
trusted_official_docs
CPython Docs
functions; * :func:`~signal.sigwait`: wait a signal; * :func:`~signal.sigwaitinfo`: wait for a signal, returning detailed information about it; * :func:`~signal.sigtimedwait`: like :func:`~signal.sigwaitinfo` but with a timeout. * The signal handler writes the signal number as a single byte instead of a nul byte into ...
functions; * :func:`~signal.sigwait`: wait a signal; * :func:`~signal.sigwaitinfo`: wait for a signal, returning detailed information about it; * :func:`~signal.sigtimedwait`: like :func:`~signal.sigwaitinfo` but with a timeout. * The signal handler writes the signal number as a single byte instead of a nul byte into ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a46faae4-c62d-4da4-b89b-014da18c1d45
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,432
supabase-export-v2
8e057e0c66789fa5
use :class:`property` with :func:`abc.abstractmethod` instead. * :class:`abc.abstractclassmethod` has been deprecated, use :class:`classmethod` with :func:`abc.abstractmethod` instead. * :class:`abc.abstractstaticmethod` has been deprecated, use :class:`staticmethod` with :func:`abc.abstractmethod` instead. (Contribute...
trusted_official_docs
CPython Docs
use :class:`property` with :func:`abc.abstractmethod` instead. * :class:`abc.abstractclassmethod` has been deprecated, use :class:`classmethod` with :func:`abc.abstractmethod` instead. * :class:`abc.abstractstaticmethod` has been deprecated, use :class:`staticmethod` with :func:`abc.abstractmethod` instead. (Contribute...
use :class:`property` with :func:`abc.abstractmethod` instead. * :class:`abc.abstractclassmethod` has been deprecated, use :class:`classmethod` with :func:`abc.abstractmethod` instead. * :class:`abc.abstractstaticmethod` has been deprecated, use :class:`staticmethod` with :func:`abc.abstractmethod` instead. (Contribute...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a5fa293a-67b2-4a27-b0da-23f7d4620eb8
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,446
supabase-export-v2
8bf414fd5dd9023f
(Contributed by Nadeem Vawda in :issue:`5863`.) * :class:`bz2.BZ2File` and :func:`bz2.decompress` can now decompress multi-stream inputs (such as those produced by the :program:`pbzip2` tool). :class:`bz2.BZ2File` can now also be used to create this type of file, using the ``'a'`` (append) mode.
trusted_official_docs
CPython Docs
(Contributed by Nadeem Vawda in :issue:`5863`.) * :class:`bz2.BZ2File` and :func:`bz2.decompress` can now decompress multi-stream inputs (such as those produced by the :program:`pbzip2` tool). :class:`bz2.BZ2File` can now also be used to create this type of file, using the ``'a'`` (append) mode.
(Contributed by Nadeem Vawda in :issue:`5863`.) * :class:`bz2.BZ2File` and :func:`bz2.decompress` can now decompress multi-stream inputs (such as those produced by the :program:`pbzip2` tool). :class:`bz2.BZ2File` can now also be used to create this type of file, using the ``'a'`` (append) mode.
python, official-docs, cpython, P0
Local_Trusted_Corpus
a6176330-6317-47b8-8b0f-a9b2d86d2bb7
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,614
supabase-export-v2
0e52b689c295c769
* *timefunc* and *delayfunct* parameters of :class:`~sched.scheduler` class constructor are now optional and defaults to :func:`time.time` and :func:`time.sleep` respectively. (Contributed by Chris Clark in :issue:`13245`.) * :meth:`~sched.scheduler.enter` and :meth:`~sched.scheduler.enterabs` *argument* parameter is ...
trusted_official_docs
CPython Docs
* *timefunc* and *delayfunct* parameters of :class:`~sched.scheduler` class constructor are now optional and defaults to :func:`time.time` and :func:`time.sleep` respectively. (Contributed by Chris Clark in :issue:`13245`.) * :meth:`~sched.scheduler.enter` and :meth:`~sched.scheduler.enterabs` *argument* parameter is ...
* *timefunc* and *delayfunct* parameters of :class:`~sched.scheduler` class constructor are now optional and defaults to :func:`time.time` and :func:`time.sleep` respectively. (Contributed by Chris Clark in :issue:`13245`.) * :meth:`~sched.scheduler.enter` and :meth:`~sched.scheduler.enterabs` *argument* parameter is ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a878ed1d-802c-4816-beb5-7372f9f2abf7
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,285
supabase-export-v2
74aa937bae434d3b
* all other functions in the standard library now correctly handle non-BMP code points. * The value of :data:`sys.maxunicode` is now always ``1114111`` (``0x10FFFF`` in hexadecimal). The :c:func:`!PyUnicode_GetMax` function still returns either ``0xFFFF`` or ``0x10FFFF`` for backward compatibility, and it should not...
trusted_official_docs
CPython Docs
* all other functions in the standard library now correctly handle non-BMP code points. * The value of :data:`sys.maxunicode` is now always ``1114111`` (``0x10FFFF`` in hexadecimal). The :c:func:`!PyUnicode_GetMax` function still returns either ``0xFFFF`` or ``0x10FFFF`` for backward compatibility, and it should not...
* all other functions in the standard library now correctly handle non-BMP code points. * The value of :data:`sys.maxunicode` is now always ``1114111`` (``0x10FFFF`` in hexadecimal). The :c:func:`!PyUnicode_GetMax` function still returns either ``0xFFFF`` or ``0x10FFFF`` for backward compatibility, and it should not...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a8c0c40e-1348-4819-a43e-9a8d631d2fe1
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,402
supabase-export-v2
575a8952e413aca2
(Contributed by Petri Lehtinen in :issue:`12170`.) * 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`.)
trusted_official_docs
CPython Docs
(Contributed by Petri Lehtinen in :issue:`12170`.) * 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`.)
(Contributed by Petri Lehtinen in :issue:`12170`.) * 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`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
aa621fa6-dd56-4687-bf99-57d4ca36e138
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,390
supabase-export-v2
bfab418166381333
have been updated people will be able to rely on the existence of the attribute. Until such time, though, import is setting the module post-load. Loaders are also now expected to set the ``__package__`` attribute from :pep:`366`. Once again, import itself is already setting this on all loaders from :mod:`importlib` and...
trusted_official_docs
CPython Docs
have been updated people will be able to rely on the existence of the attribute. Until such time, though, import is setting the module post-load. Loaders are also now expected to set the ``__package__`` attribute from :pep:`366`. Once again, import itself is already setting this on all loaders from :mod:`importlib` and...
have been updated people will be able to rely on the existence of the attribute. Until such time, though, import is setting the module post-load. Loaders are also now expected to set the ``__package__`` attribute from :pep:`366`. Once again, import itself is already setting this on all loaders from :mod:`importlib` and...
python, official-docs, cpython, P0
Local_Trusted_Corpus
acaee9a1-272d-48c9-88bf-25f05813f78b
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,267
supabase-export-v2
895a8908079d0b0f
bytes) now returns an integer (in accordance with the struct module syntax). For returning a bytes object the view must be cast to 'c' first. * memoryview comparisons now use the logical structure of the operands and compare all array elements by value. All format strings in struct module syntax are supported. Views ...
trusted_official_docs
CPython Docs
bytes) now returns an integer (in accordance with the struct module syntax). For returning a bytes object the view must be cast to 'c' first. * memoryview comparisons now use the logical structure of the operands and compare all array elements by value. All format strings in struct module syntax are supported. Views ...
bytes) now returns an integer (in accordance with the struct module syntax). For returning a bytes object the view must be cast to 'c' first. * memoryview comparisons now use the logical structure of the operands and compare all array elements by value. All format strings in struct module syntax are supported. Views ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ad6da7f0-64b8-4e41-b470-6e52e596d8bd
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,546
supabase-export-v2
dd9de3f007b9d830
inspect ------- A new :func:`~inspect.getclosurevars` function has been added. This function reports the current binding of all names referenced from 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.
trusted_official_docs
CPython Docs
inspect ------- A new :func:`~inspect.getclosurevars` function has been added. This function reports the current binding of all names referenced from 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.
inspect ------- A new :func:`~inspect.getclosurevars` function has been added. This function reports the current binding of all names referenced from 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.
python, official-docs, cpython, P0
Local_Trusted_Corpus
b0a6bd6a-b687-467c-b435-36c1986006d9
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,772
supabase-export-v2
16518f5bccfa4774
of changes to the buffer API the undocumented :c:member:`!smalltable` member of the :c:type:`Py_buffer` structure has been removed and the layout of the :c:type:`!PyMemoryViewObject` has changed. All extensions relying on the relevant parts in ``memoryobject.h`` or ``object.h`` must be rebuilt.
trusted_official_docs
CPython Docs
of changes to the buffer API the undocumented :c:member:`!smalltable` member of the :c:type:`Py_buffer` structure has been removed and the layout of the :c:type:`!PyMemoryViewObject` has changed. All extensions relying on the relevant parts in ``memoryobject.h`` or ``object.h`` must be rebuilt.
of changes to the buffer API the undocumented :c:member:`!smalltable` member of the :c:type:`Py_buffer` structure has been removed and the layout of the :c:type:`!PyMemoryViewObject` has changed. All extensions relying on the relevant parts in ``memoryobject.h`` or ``object.h`` must be rebuilt.
python, official-docs, cpython, P0
Local_Trusted_Corpus
b169cf65-9fd3-4312-9019-e525ba124c5a
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,601
supabase-export-v2
b7fe4c073a9a497a
Tab-completion is now available not only for command names, but also their arguments. For example, for the ``break`` command, function and file names are completed. (Contributed by Georg Brandl in :issue:`14210`)
trusted_official_docs
CPython Docs
Tab-completion is now available not only for command names, but also their arguments. For example, for the ``break`` command, function and file names are completed. (Contributed by Georg Brandl in :issue:`14210`)
Tab-completion is now available not only for command names, but also their arguments. For example, for the ``break`` command, function and file names are completed. (Contributed by Georg Brandl in :issue:`14210`)
python, official-docs, cpython, P0
Local_Trusted_Corpus
b1712e9f-99a5-4dfb-8526-636cec740a0d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,761
supabase-export-v2
add561d44ce0810e
Code that assumes ``quit`` does not raise :exc:`poplib.error_proto` errors may need to be changed if errors on ``quit`` are encountered by a particular application (:issue:`11291`). * The ``strict`` argument to :class:`email.parser.Parser`, deprecated since Python 2.4, has finally been removed.
trusted_official_docs
CPython Docs
Code that assumes ``quit`` does not raise :exc:`poplib.error_proto` errors may need to be changed if errors on ``quit`` are encountered by a particular application (:issue:`11291`). * The ``strict`` argument to :class:`email.parser.Parser`, deprecated since Python 2.4, has finally been removed.
Code that assumes ``quit`` does not raise :exc:`poplib.error_proto` errors may need to be changed if errors on ``quit`` are encountered by a particular application (:issue:`11291`). * The ``strict`` argument to :class:`email.parser.Parser`, deprecated since Python 2.4, has finally been removed.
python, official-docs, cpython, P0
Local_Trusted_Corpus
b376e58d-6c4f-44ad-b122-7ecd93f5dd13
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,413
supabase-export-v2
204cf3acefb4ad3e
per-module lock. This correctly serializes importation of a given module from multiple threads (preventing the exposure of incompletely initialized modules), while eliminating the aforementioned annoyances. (Contributed by Antoine Pitrou in :issue:`9260`.)
trusted_official_docs
CPython Docs
per-module lock. This correctly serializes importation of a given module from multiple threads (preventing the exposure of incompletely initialized modules), while eliminating the aforementioned annoyances. (Contributed by Antoine Pitrou in :issue:`9260`.)
per-module lock. This correctly serializes importation of a given module from multiple threads (preventing the exposure of incompletely initialized modules), while eliminating the aforementioned annoyances. (Contributed by Antoine Pitrou in :issue:`9260`.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
b41b8fdf-dfd1-489f-aaa0-00973e533619
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,751
supabase-export-v2
182a6c5b7958fac7
Python source file or sourceless bytecode file, make sure to call :func:`importlib.invalidate_caches` to clear out the cache for the finders to notice the new file. * :exc:`ImportError` now uses the full name of the module that was attempted to be imported. Doctests that check ImportErrors' message will need to be up...
trusted_official_docs
CPython Docs
Python source file or sourceless bytecode file, make sure to call :func:`importlib.invalidate_caches` to clear out the cache for the finders to notice the new file. * :exc:`ImportError` now uses the full name of the module that was attempted to be imported. Doctests that check ImportErrors' message will need to be up...
Python source file or sourceless bytecode file, make sure to call :func:`importlib.invalidate_caches` to clear out the cache for the finders to notice the new file. * :exc:`ImportError` now uses the full name of the module that was attempted to be imported. Doctests that check ImportErrors' message will need to be up...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b6010dc3-0601-4ed9-9a15-d13e6351b3a8
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,702
supabase-export-v2
9510cf1c6ec9a16e
xml.etree.ElementTree --------------------- The :mod:`xml.etree.ElementTree` module now imports its C accelerator by default; there is no longer a need to explicitly import :mod:`!xml.etree.cElementTree` (this module stays for backwards compatibility, but is now deprecated). In addition, the ``iter`` family of methods ...
trusted_official_docs
CPython Docs
xml.etree.ElementTree --------------------- The :mod:`xml.etree.ElementTree` module now imports its C accelerator by default; there is no longer a need to explicitly import :mod:`!xml.etree.cElementTree` (this module stays for backwards compatibility, but is now deprecated). In addition, the ``iter`` family of methods ...
xml.etree.ElementTree --------------------- The :mod:`xml.etree.ElementTree` module now imports its C accelerator by default; there is no longer a need to explicitly import :mod:`!xml.etree.cElementTree` (this module stays for backwards compatibility, but is now deprecated). In addition, the ``iter`` family of methods ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b7266840-3d1c-4ed2-b2b1-bda091717bd3
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,384
supabase-export-v2
da8b4bf595ea5ab8
mechanism for a module's code. The loader for source files (:class:`importlib.machinery.SourceFileLoader`), sourceless bytecode files (:class:`importlib.machinery.SourcelessFileLoader`), and extension modules (:class:`importlib.machinery.ExtensionFileLoader`) are now available for direct use. :exc:`ImportError` now has...
trusted_official_docs
CPython Docs
mechanism for a module's code. The loader for source files (:class:`importlib.machinery.SourceFileLoader`), sourceless bytecode files (:class:`importlib.machinery.SourcelessFileLoader`), and extension modules (:class:`importlib.machinery.ExtensionFileLoader`) are now available for direct use. :exc:`ImportError` now has...
mechanism for a module's code. The loader for source files (:class:`importlib.machinery.SourceFileLoader`), sourceless bytecode files (:class:`importlib.machinery.SourcelessFileLoader`), and extension modules (:class:`importlib.machinery.ExtensionFileLoader`) are now available for direct use. :exc:`ImportError` now has...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b771c0a5-d5b2-444c-9d88-ea1da41e2fb7
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,324
supabase-export-v2
193b92b56ce98682
and placed in another generator. Additionally, the subgenerator is allowed to return with a value, and the value is made available to the delegating generator. While designed primarily for use in delegating to a subgenerator, the ``yield from`` expression actually allows delegation to arbitrary subiterators.
trusted_official_docs
CPython Docs
and placed in another generator. Additionally, the subgenerator is allowed to return with a value, and the value is made available to the delegating generator. While designed primarily for use in delegating to a subgenerator, the ``yield from`` expression actually allows delegation to arbitrary subiterators.
and placed in another generator. Additionally, the subgenerator is allowed to return with a value, and the value is made available to the delegating generator. While designed primarily for use in delegating to a subgenerator, the ``yield from`` expression actually allows delegation to arbitrary subiterators.
python, official-docs, cpython, P0
Local_Trusted_Corpus
b7a916c0-af21-4881-acaa-12a2aaa7741d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,624
supabase-export-v2
02aad708d049429d
is true, symlinks aren't dereferenced and the operation instead acts on the symlink itself (or creates one, if relevant). (Contributed by Hynek Schlawack in :issue:`12715`.) * When copying files to a different file system, :func:`~shutil.move` now handles symlinks the way the posix ``mv`` command does, recreating the ...
trusted_official_docs
CPython Docs
is true, symlinks aren't dereferenced and the operation instead acts on the symlink itself (or creates one, if relevant). (Contributed by Hynek Schlawack in :issue:`12715`.) * When copying files to a different file system, :func:`~shutil.move` now handles symlinks the way the posix ``mv`` command does, recreating the ...
is true, symlinks aren't dereferenced and the operation instead acts on the symlink itself (or creates one, if relevant). (Contributed by Hynek Schlawack in :issue:`12715`.) * When copying files to a different file system, :func:`~shutil.move` now handles symlinks the way the posix ``mv`` command does, recreating the ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b879f153-a8b7-4542-9126-440a758f0a80
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,576
supabase-export-v2
ace7312093459b4d
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. * The :mod:`os` module has a new :func:`~os.sendfile` function which provides an efficient "zero-copy" way for copying data from...
trusted_official_docs
CPython Docs
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. * The :mod:`os` module has a new :func:`~os.sendfile` function which provides an efficient "zero-copy" way for copying data from...
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. * The :mod:`os` module has a new :func:`~os.sendfile` function which provides an efficient "zero-copy" way for copying data from...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b8cfd334-b080-4d97-ad5b-9ddf5226efc0
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,400
supabase-export-v2
29b600e037bf9cb9
* Equality comparisons on :func:`range` objects now return a result reflecting the equality of the underlying sequences generated by those range objects. (:issue:`13201`) * The ``count()``, ``find()``, ``rfind()``, ``index()`` and ``rindex()`` methods of :class:`bytes` and :class:`bytearray` objects now accept an int...
trusted_official_docs
CPython Docs
* Equality comparisons on :func:`range` objects now return a result reflecting the equality of the underlying sequences generated by those range objects. (:issue:`13201`) * The ``count()``, ``find()``, ``rfind()``, ``index()`` and ``rindex()`` methods of :class:`bytes` and :class:`bytearray` objects now accept an int...
* Equality comparisons on :func:`range` objects now return a result reflecting the equality of the underlying sequences generated by those range objects. (:issue:`13201`) * The ``count()``, ``find()``, ``rfind()``, ``index()`` and ``rindex()`` methods of :class:`bytes` and :class:`bytearray` objects now accept an int...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ba9612a7-2d54-4e95-a337-8fe4da6f49a1
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,754
supabase-export-v2
4e3d320b26932419
* :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 an error. * Because :data:`sys.meta_path` and :data:`sys.path_hooks` now have finders on them by default, you will most likely want to use :meth:`list.insert` instead of :meth...
trusted_official_docs
CPython Docs
* :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 an error. * Because :data:`sys.meta_path` and :data:`sys.path_hooks` now have finders on them by default, you will most likely want to use :meth:`list.insert` instead of :meth...
* :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 an error. * Because :data:`sys.meta_path` and :data:`sys.path_hooks` now have finders on them by default, you will most likely want to use :meth:`list.insert` instead of :meth...
python, official-docs, cpython, P0
Local_Trusted_Corpus
baadff79-4102-4e68-8afd-cda352648bae
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,412
supabase-export-v2
81a1b27feabae46a
a module would trigger code execution in a different thread as a side-effect. Clumsy workarounds were sometimes employed, such as the :c:func:`!PyImport_ImportModuleNoBlock` C API function. In Python 3.3, importing a module takes a per-module lock. This correctly serializes importation of a given module from multiple t...
trusted_official_docs
CPython Docs
a module would trigger code execution in a different thread as a side-effect. Clumsy workarounds were sometimes employed, such as the :c:func:`!PyImport_ImportModuleNoBlock` C API function. In Python 3.3, importing a module takes a per-module lock. This correctly serializes importation of a given module from multiple t...
a module would trigger code execution in a different thread as a side-effect. Clumsy workarounds were sometimes employed, such as the :c:func:`!PyImport_ImportModuleNoBlock` C API function. In Python 3.3, importing a module takes a per-module lock. This correctly serializes importation of a given module from multiple t...
python, official-docs, cpython, P0
Local_Trusted_Corpus
bb1a54cd-52a1-487c-9ce3-9ac44cedfa03
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,373
supabase-export-v2
b5e15e8e313595f6
SimpleNamespace --------------- The implementation of ``sys.implementation`` also introduces a new type to Python: :class:`types.SimpleNamespace`. In contrast to a mapping-based namespace, like :class:`dict`, ``SimpleNamespace`` is attribute-based, like :class:`object`. However, unlike ``object``, ``SimpleNamespace`` i...
trusted_official_docs
CPython Docs
SimpleNamespace --------------- The implementation of ``sys.implementation`` also introduces a new type to Python: :class:`types.SimpleNamespace`. In contrast to a mapping-based namespace, like :class:`dict`, ``SimpleNamespace`` is attribute-based, like :class:`object`. However, unlike ``object``, ``SimpleNamespace`` i...
SimpleNamespace --------------- The implementation of ``sys.implementation`` also introduces a new type to Python: :class:`types.SimpleNamespace`. In contrast to a mapping-based namespace, like :class:`dict`, ``SimpleNamespace`` is attribute-based, like :class:`object`. However, unlike ``object``, ``SimpleNamespace`` i...
python, official-docs, cpython, P0
Local_Trusted_Corpus
bb825e14-68f8-4a2c-b4e5-dcd425c3feb7
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,725
supabase-export-v2
79751296edef4f1e
OS/2 and VMS are no longer supported due to the lack of a maintainer. Windows 2000 and Windows platforms which set ``COMSPEC`` to ``command.com`` are no longer supported due to maintenance burden.
trusted_official_docs
CPython Docs
OS/2 and VMS are no longer supported due to the lack of a maintainer. Windows 2000 and Windows platforms which set ``COMSPEC`` to ``command.com`` are no longer supported due to maintenance burden.
OS/2 and VMS are no longer supported due to the lack of a maintainer. Windows 2000 and Windows platforms which set ``COMSPEC`` to ``command.com`` are no longer supported due to maintenance burden.
python, official-docs, cpython, P0
Local_Trusted_Corpus
bbbdc6a5-dd74-4f62-b5b3-5b4d23bccae7
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,578
supabase-export-v2
3a7ac09f288baf2f
(Patch submitted by Ross Lagerwall and Giampaolo Rodolà in :issue:`10882`.) * To avoid race conditions like symlink attacks and issues with temporary files and directories, it is more reliable (and also faster) to manipulate file descriptors instead of file names. Python 3.3 enhances existing functions and introduce...
trusted_official_docs
CPython Docs
(Patch submitted by Ross Lagerwall and Giampaolo Rodolà in :issue:`10882`.) * To avoid race conditions like symlink attacks and issues with temporary files and directories, it is more reliable (and also faster) to manipulate file descriptors instead of file names. Python 3.3 enhances existing functions and introduce...
(Patch submitted by Ross Lagerwall and Giampaolo Rodolà in :issue:`10882`.) * To avoid race conditions like symlink attacks and issues with temporary files and directories, it is more reliable (and also faster) to manipulate file descriptors instead of file names. Python 3.3 enhances existing functions and introduce...
python, official-docs, cpython, P0
Local_Trusted_Corpus
be4ffeb8-9201-4cf7-b023-ea81587370a8
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,776
supabase-export-v2
8120221eb927b6e9
* :c:func:`PyImport_GetMagicNumber` now returns ``-1`` upon failure. * As a negative value for the *level* argument to :func:`__import__` is no longer valid, the same now holds for :c:func:`PyImport_ImportModuleLevel`. This also means that the value of *level* used by :c:func:`PyImport_ImportModuleEx` is now ``0`` in...
trusted_official_docs
CPython Docs
* :c:func:`PyImport_GetMagicNumber` now returns ``-1`` upon failure. * As a negative value for the *level* argument to :func:`__import__` is no longer valid, the same now holds for :c:func:`PyImport_ImportModuleLevel`. This also means that the value of *level* used by :c:func:`PyImport_ImportModuleEx` is now ``0`` in...
* :c:func:`PyImport_GetMagicNumber` now returns ``-1`` upon failure. * As a negative value for the *level* argument to :func:`__import__` is no longer valid, the same now holds for :c:func:`PyImport_ImportModuleLevel`. This also means that the value of *level* used by :c:func:`PyImport_ImportModuleEx` is now ``0`` in...
python, official-docs, cpython, P0
Local_Trusted_Corpus
bed52e65-d8c5-4170-b46e-ab35d8f5e630
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,399
supabase-export-v2
952b53fa7ad7ab9f
* Unicode database updated to UCD version 6.1.0 * Equality comparisons on :func:`range` objects now return a result reflecting the equality of the underlying sequences generated by those range objects. (:issue:`13201`)
trusted_official_docs
CPython Docs
* Unicode database updated to UCD version 6.1.0 * Equality comparisons on :func:`range` objects now return a result reflecting the equality of the underlying sequences generated by those range objects. (:issue:`13201`)
* Unicode database updated to UCD version 6.1.0 * Equality comparisons on :func:`range` objects now return a result reflecting the equality of the underlying sequences generated by those range objects. (:issue:`13201`)
python, official-docs, cpython, P0
Local_Trusted_Corpus
c0d02f17-2832-4f66-a4c1-b98763fed9cb
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,378
supabase-export-v2
0199be879952b669
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 __loader__ and __package__ The :func:`__import__` function is now powered by :func:`importlib.__import__`. This work leads to the completion of "...
trusted_official_docs
CPython Docs
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 __loader__ and __package__ The :func:`__import__` function is now powered by :func:`importlib.__import__`. This work leads to the completion of "...
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 __loader__ and __package__ The :func:`__import__` function is now powered by :func:`importlib.__import__`. This work leads to the completion of "...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c1694ef3-3fba-4cd0-a0c9-6ecd4bc4e8f1
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,580
supabase-export-v2
57d1aa74a1cb68cc
:func:`~os.fwalk` function similar to :func:`~os.walk` except that it also yields file descriptors referring to the directories visited. This is especially useful to avoid symlink races. - The following functions get new optional *dir_fd* (:ref:`paths relative to directory descriptors <dir_fd>`) and/or *follow_symlink...
trusted_official_docs
CPython Docs
:func:`~os.fwalk` function similar to :func:`~os.walk` except that it also yields file descriptors referring to the directories visited. This is especially useful to avoid symlink races. - The following functions get new optional *dir_fd* (:ref:`paths relative to directory descriptors <dir_fd>`) and/or *follow_symlink...
:func:`~os.fwalk` function similar to :func:`~os.walk` except that it also yields file descriptors referring to the directories visited. This is especially useful to avoid symlink races. - The following functions get new optional *dir_fd* (:ref:`paths relative to directory descriptors <dir_fd>`) and/or *follow_symlink...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c1ae6732-7416-4b27-adbc-b01d79af9d54
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,424
supabase-export-v2
7c0b5ed33736cd82
ipaddress --------- The new :mod:`ipaddress` module provides tools for creating and manipulating objects representing IPv4 and IPv6 addresses, networks and interfaces (i.e. an IP address associated with a specific IP subnet).
trusted_official_docs
CPython Docs
ipaddress --------- The new :mod:`ipaddress` module provides tools for creating and manipulating objects representing IPv4 and IPv6 addresses, networks and interfaces (i.e. an IP address associated with a specific IP subnet).
ipaddress --------- The new :mod:`ipaddress` module provides tools for creating and manipulating objects representing IPv4 and IPv6 addresses, networks and interfaces (i.e. an IP address associated with a specific IP subnet).
python, official-docs, cpython, P0
Local_Trusted_Corpus
c30d2f93-94a4-4c37-9e31-a8277cc1f18d
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,750
supabase-export-v2
817ac49e7a70ea3b
:exc:`OverflowError` is now raised instead of :exc:`ValueError` if a timestamp is out of range. :exc:`OSError` is now raised if C functions :c:func:`gmtime` or :c:func:`localtime` failed. * The default finders used by import now utilize a cache of what is contained within a specific directory. If you create a Python s...
trusted_official_docs
CPython Docs
:exc:`OverflowError` is now raised instead of :exc:`ValueError` if a timestamp is out of range. :exc:`OSError` is now raised if C functions :c:func:`gmtime` or :c:func:`localtime` failed. * The default finders used by import now utilize a cache of what is contained within a specific directory. If you create a Python s...
:exc:`OverflowError` is now raised instead of :exc:`ValueError` if a timestamp is out of range. :exc:`OSError` is now raised if C functions :c:func:`gmtime` or :c:func:`localtime` failed. * The default finders used by import now utilize a cache of what is contained within a specific directory. If you create a Python s...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c3626120-75ab-4fe3-ac41-a3c8570f70db
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,548
supabase-export-v2
2220395eeabf837d
(Contributed by Meador Inge and Nick Coghlan in :issue:`13062`.) A new :func:`~inspect.getgeneratorlocals` function has been added. This function reports the current binding of local variables in the generator's stack frame, making it easier to verify correct internal state when testing generators.
trusted_official_docs
CPython Docs
(Contributed by Meador Inge and Nick Coghlan in :issue:`13062`.) A new :func:`~inspect.getgeneratorlocals` function has been added. This function reports the current binding of local variables in the generator's stack frame, making it easier to verify correct internal state when testing generators.
(Contributed by Meador Inge and Nick Coghlan in :issue:`13062`.) A new :func:`~inspect.getgeneratorlocals` function has been added. This function reports the current binding of local variables in the generator's stack frame, making it easier to verify correct internal state when testing generators.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c37d02bc-aa7a-48a5-abfe-a6bf06e271b2
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,625
supabase-export-v2
a792248eee47fdbc
the symlink rather than copying the target file contents. (Contributed by Jonathan Niehof in :issue:`9993`.) :func:`~shutil.move` now also returns the ``dst`` argument as its result. * :func:`~shutil.rmtree` is now resistant to symlink attacks on platforms which support the new ``dir_fd`` parameter in :func:`os.open` ...
trusted_official_docs
CPython Docs
the symlink rather than copying the target file contents. (Contributed by Jonathan Niehof in :issue:`9993`.) :func:`~shutil.move` now also returns the ``dst`` argument as its result. * :func:`~shutil.rmtree` is now resistant to symlink attacks on platforms which support the new ``dir_fd`` parameter in :func:`os.open` ...
the symlink rather than copying the target file contents. (Contributed by Jonathan Niehof in :issue:`9993`.) :func:`~shutil.move` now also returns the ``dst`` argument as its result. * :func:`~shutil.rmtree` is now resistant to symlink attacks on platforms which support the new ``dir_fd`` parameter in :func:`os.open` ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c44c267c-c3e1-49d7-99a5-4cc5929710bc
CPython Docs
file://datasets/cpython/Doc/whatsnew/3.3.rst
unknown
e55be37b-f927-41ae-9e81-fd37f5e5c8d2
61,766
supabase-export-v2
41dc32dcc38d0310
* The undocumented internal helper class ``SSLFakeFile`` has been removed from :mod:`smtplib`, since its functionality has long been provided directly by :meth:`socket.socket.makefile`. * Passing a negative value to :func:`time.sleep` on Windows now raises an error instead of sleeping forever. It has always raised an ...
trusted_official_docs
CPython Docs
* The undocumented internal helper class ``SSLFakeFile`` has been removed from :mod:`smtplib`, since its functionality has long been provided directly by :meth:`socket.socket.makefile`. * Passing a negative value to :func:`time.sleep` on Windows now raises an error instead of sleeping forever. It has always raised an ...
* The undocumented internal helper class ``SSLFakeFile`` has been removed from :mod:`smtplib`, since its functionality has long been provided directly by :meth:`socket.socket.makefile`. * Passing a negative value to :func:`time.sleep` on Windows now raises an error instead of sleeping forever. It has always raised an ...
python, official-docs, cpython, P0
Local_Trusted_Corpus