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
a792f7a3-8002-4b54-93c2-4760349d907f
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,437
supabase-export-v2
5bd852ea264ff2d6
need to control lazy imports across their entire application. Library developers should generally not use this function as it affects the runtime execution of applications. In addition to the mode, lazy imports can be controlled via the filter provided by :func:`set_lazy_imports_filter`.
trusted_official_docs
CPython Docs
need to control lazy imports across their entire application. Library developers should generally not use this function as it affects the runtime execution of applications. In addition to the mode, lazy imports can be controlled via the filter provided by :func:`set_lazy_imports_filter`.
need to control lazy imports across their entire application. Library developers should generally not use this function as it affects the runtime execution of applications. In addition to the mode, lazy imports can be controlled via the filter provided by :func:`set_lazy_imports_filter`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
a832f179-b7cb-4dd2-90bd-28fd8c1e9bc1
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,520
supabase-export-v2
97de66e2cb43d879
caller is responsible for making sure that the file still exists whenever the remote process tries to read it and that it hasn't been overwritten. The remote process must be running a CPython interpreter of the same major and minor version as the local process. If either the local or remote interpreter is pre-release...
trusted_official_docs
CPython Docs
caller is responsible for making sure that the file still exists whenever the remote process tries to read it and that it hasn't been overwritten. The remote process must be running a CPython interpreter of the same major and minor version as the local process. If either the local or remote interpreter is pre-release...
caller is responsible for making sure that the file still exists whenever the remote process tries to read it and that it hasn't been overwritten. The remote process must be running a CPython interpreter of the same major and minor version as the local process. If either the local or remote interpreter is pre-release...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a857dff7-c5b9-45dc-ba5b-d427802c7e2d
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,184
supabase-export-v2
afc8930e040c792e
the :term:`filesystem error handler <filesystem encoding and error handler>` to convert between Unicode filenames and bytes filenames. The filesystem error handler is returned from :func:`getfilesystemencodeerrors`. For best compatibility, str should be used for filenames in all cases, although representing filenames ...
trusted_official_docs
CPython Docs
the :term:`filesystem error handler <filesystem encoding and error handler>` to convert between Unicode filenames and bytes filenames. The filesystem error handler is returned from :func:`getfilesystemencodeerrors`. For best compatibility, str should be used for filenames in all cases, although representing filenames ...
the :term:`filesystem error handler <filesystem encoding and error handler>` to convert between Unicode filenames and bytes filenames. The filesystem error handler is returned from :func:`getfilesystemencodeerrors`. For best compatibility, str should be used for filenames in all cases, although representing filenames ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
aaca3dab-0b6c-47d7-b32f-6a73418b5260
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,564
supabase-export-v2
d7679155e73a37ed
The name of the lock implementation: * ``"semaphore"``: a lock uses a semaphore * ``"mutex+cond"``: a lock uses a mutex and a condition variable * ``None`` if this information is unknown
trusted_official_docs
CPython Docs
The name of the lock implementation: * ``"semaphore"``: a lock uses a semaphore * ``"mutex+cond"``: a lock uses a mutex and a condition variable * ``None`` if this information is unknown
The name of the lock implementation: * ``"semaphore"``: a lock uses a semaphore * ``"mutex+cond"``: a lock uses a mutex and a condition variable * ``None`` if this information is unknown
python, official-docs, cpython, P0
Local_Trusted_Corpus
abc7aead-538a-42bf-a0c7-4045262a76d9
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,258
supabase-export-v2
1ea8444644a23110
operating system, rather than the version that is being emulated for the process. It is intended for use in logging rather than for feature detection. .. note:: *platform_version* derives the version from kernel32.dll which can be of a different version than the OS version. Please use :mod:`platform` module for achie...
trusted_official_docs
CPython Docs
operating system, rather than the version that is being emulated for the process. It is intended for use in logging rather than for feature detection. .. note:: *platform_version* derives the version from kernel32.dll which can be of a different version than the OS version. Please use :mod:`platform` module for achie...
operating system, rather than the version that is being emulated for the process. It is intended for use in logging rather than for feature detection. .. note:: *platform_version* derives the version from kernel32.dll which can be of a different version than the OS version. Please use :mod:`platform` module for achie...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ad8c5d3d-e6c0-46b4-8b86-4a26cec7c3e2
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,476
supabase-export-v2
5f7c1c0e43fe2d87
trace function should return a reference to itself, or to another function which would then be used as the local trace function for the scope. If there is any error occurred in the trace function, it will be unset, just like ``settrace(None)`` is called.
trusted_official_docs
CPython Docs
trace function should return a reference to itself, or to another function which would then be used as the local trace function for the scope. If there is any error occurred in the trace function, it will be unset, just like ``settrace(None)`` is called.
trace function should return a reference to itself, or to another function which would then be used as the local trace function for the scope. If there is any error occurred in the trace function, it will be unset, just like ``settrace(None)`` is called.
python, official-docs, cpython, P0
Local_Trusted_Corpus
ae3d593c-5ab1-4ad8-af63-fddcf2af9a4c
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,175
supabase-export-v2
ee81a6783aa6fdf7
.. function:: getandroidapilevel() Return the build-time API level of Android as an integer. This represents the minimum version of Android this build of Python can run on. For runtime version information, see :func:`platform.android_ver`.
trusted_official_docs
CPython Docs
.. function:: getandroidapilevel() Return the build-time API level of Android as an integer. This represents the minimum version of Android this build of Python can run on. For runtime version information, see :func:`platform.android_ver`.
.. function:: getandroidapilevel() Return the build-time API level of Android as an integer. This represents the minimum version of Android this build of Python can run on. For runtime version information, see :func:`platform.android_ver`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
b1299044-7326-400e-8dff-102f523ff77c
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,571
supabase-export-v2
b340b723c8343e7f
Handle an unraisable exception. Called when an exception has occurred but there is no way for Python to handle it. For example, when a destructor raises an exception or during garbage collection (:func:`gc.collect`).
trusted_official_docs
CPython Docs
Handle an unraisable exception. Called when an exception has occurred but there is no way for Python to handle it. For example, when a destructor raises an exception or during garbage collection (:func:`gc.collect`).
Handle an unraisable exception. Called when an exception has occurred but there is no way for Python to handle it. For example, when a destructor raises an exception or during garbage collection (:func:`gc.collect`).
python, official-docs, cpython, P0
Local_Trusted_Corpus
b1feacf7-4cd3-4279-8856-9b97bf1260ce
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,094
supabase-export-v2
ad1307a02cb94805
.. data:: exec_prefix A string giving the site-specific directory prefix where the platform-dependent Python files are installed; by default, this is also ``'/usr/local'``. This can be set at build time with the ``--exec-prefix`` argument to the :program:`configure` script. Specifically, all configuration files (e.g...
trusted_official_docs
CPython Docs
.. data:: exec_prefix A string giving the site-specific directory prefix where the platform-dependent Python files are installed; by default, this is also ``'/usr/local'``. This can be set at build time with the ``--exec-prefix`` argument to the :program:`configure` script. Specifically, all configuration files (e.g...
.. data:: exec_prefix A string giving the site-specific directory prefix where the platform-dependent Python files are installed; by default, this is also ``'/usr/local'``. This can be set at build time with the ``--exec-prefix`` argument to the :program:`configure` script. Specifically, all configuration files (e.g...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b2506cdb-bf8e-4e85-9c0e-bc9747e98643
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,397
supabase-export-v2
5aa008e5b7089699
.. data:: path_hooks A list of callables that take a path argument to try to create a :term:`finder` for the path. If a finder can be created, it is to be returned by the callable, else raise :exc:`ImportError`.
trusted_official_docs
CPython Docs
.. data:: path_hooks A list of callables that take a path argument to try to create a :term:`finder` for the path. If a finder can be created, it is to be returned by the callable, else raise :exc:`ImportError`.
.. data:: path_hooks A list of callables that take a path argument to try to create a :term:`finder` for the path. If a finder can be created, it is to be returned by the callable, else raise :exc:`ImportError`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
b4984b0c-b279-4841-b36d-7c0c7dd44355
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,025
supabase-export-v2
f533324c7523a6ac
.. function:: _current_frames() Return a dictionary mapping each thread's identifier to the topmost stack frame currently active in that thread at the time the function is called. Note that functions in the :mod:`traceback` module can build the call stack given such a frame.
trusted_official_docs
CPython Docs
.. function:: _current_frames() Return a dictionary mapping each thread's identifier to the topmost stack frame currently active in that thread at the time the function is called. Note that functions in the :mod:`traceback` module can build the call stack given such a frame.
.. function:: _current_frames() Return a dictionary mapping each thread's identifier to the topmost stack frame currently active in that thread at the time the function is called. Note that functions in the :mod:`traceback` module can build the call stack given such a frame.
python, official-docs, cpython, P0
Local_Trusted_Corpus
b5127b3e-5c3d-4afd-bfb1-c0494d15fc3e
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,052
supabase-export-v2
942e3557fdef8826
in ``builtins._``. If ``repr(value)`` is not encodable to ``sys.stdout.encoding`` with ``sys.stdout.errors`` error handler (which is probably ``'strict'``), encode it to ``sys.stdout.encoding`` with ``'backslashreplace'`` error handler. ``sys.displayhook`` is called on the result of evaluating an :term:`expression` en...
trusted_official_docs
CPython Docs
in ``builtins._``. If ``repr(value)`` is not encodable to ``sys.stdout.encoding`` with ``sys.stdout.errors`` error handler (which is probably ``'strict'``), encode it to ``sys.stdout.encoding`` with ``'backslashreplace'`` error handler. ``sys.displayhook`` is called on the result of evaluating an :term:`expression` en...
in ``builtins._``. If ``repr(value)`` is not encodable to ``sys.stdout.encoding`` with ``sys.stdout.errors`` error handler (which is probably ``'strict'``), encode it to ``sys.stdout.encoding`` with ``'backslashreplace'`` error handler. ``sys.displayhook`` is called on the result of evaluating an :term:`expression` en...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b519e837-ec88-4d7e-b718-261f8fe89063
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
12,981
supabase-export-v2
b0c6cd84cf6b95f0
the C API :c:func:`PySys_AddAuditHook` before initialising the runtime, and any modules allowing arbitrary memory modification (such as :mod:`ctypes`) should be completely removed or closely monitored. .. audit-event:: sys.addaudithook "" sys.addaudithook
trusted_official_docs
CPython Docs
the C API :c:func:`PySys_AddAuditHook` before initialising the runtime, and any modules allowing arbitrary memory modification (such as :mod:`ctypes`) should be completely removed or closely monitored. .. audit-event:: sys.addaudithook "" sys.addaudithook
the C API :c:func:`PySys_AddAuditHook` before initialising the runtime, and any modules allowing arbitrary memory modification (such as :mod:`ctypes`) should be completely removed or closely monitored. .. audit-event:: sys.addaudithook "" sys.addaudithook
python, official-docs, cpython, P0
Local_Trusted_Corpus
b5f63b2f-612d-4267-bb84-6f39eeb0fe49
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,090
supabase-export-v2
07a1f8197c289236
subclass of :exc:`BaseException`), the exception itself, and a :ref:`traceback object <traceback-objects>` which typically encapsulates the call stack at the point where the exception last occurred. .. index:: pair: object; traceback
trusted_official_docs
CPython Docs
subclass of :exc:`BaseException`), the exception itself, and a :ref:`traceback object <traceback-objects>` which typically encapsulates the call stack at the point where the exception last occurred. .. index:: pair: object; traceback
subclass of :exc:`BaseException`), the exception itself, and a :ref:`traceback object <traceback-objects>` which typically encapsulates the call stack at the point where the exception last occurred. .. index:: pair: object; traceback
python, official-docs, cpython, P0
Local_Trusted_Corpus
b66c7279-700d-45c7-a5a2-4aac6820ab69
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,472
supabase-export-v2
731edaa29981cbd0
.. index:: single: trace function single: debugger Set the system's trace function, which allows you to implement a Python source code debugger in Python. The function is thread-specific; for a debugger to support multiple threads, it must register a trace function using :func:`settrace` for each thread being debugg...
trusted_official_docs
CPython Docs
.. index:: single: trace function single: debugger Set the system's trace function, which allows you to implement a Python source code debugger in Python. The function is thread-specific; for a debugger to support multiple threads, it must register a trace function using :func:`settrace` for each thread being debugg...
.. index:: single: trace function single: debugger Set the system's trace function, which allows you to implement a Python source code debugger in Python. The function is thread-specific; for a debugger to support multiple threads, it must register a trace function using :func:`settrace` for each thread being debugg...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b6cb9de7-fa0b-489d-ab3f-a260305dc925
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,098
supabase-export-v2
0cbfb39cefe1a839
.. versionchanged:: 3.14 When running under a :ref:`virtual environment <venv-def>`, :data:`prefix` and :data:`exec_prefix` are now set to the virtual environment prefix by the :ref:`path initialization <sys-path-init>`, instead of :mod:`site`. This means that :data:`prefix` and :data:`exec_prefix` always point to ...
trusted_official_docs
CPython Docs
.. versionchanged:: 3.14 When running under a :ref:`virtual environment <venv-def>`, :data:`prefix` and :data:`exec_prefix` are now set to the virtual environment prefix by the :ref:`path initialization <sys-path-init>`, instead of :mod:`site`. This means that :data:`prefix` and :data:`exec_prefix` always point to ...
.. versionchanged:: 3.14 When running under a :ref:`virtual environment <venv-def>`, :data:`prefix` and :data:`exec_prefix` are now set to the virtual environment prefix by the :ref:`path initialization <sys-path-init>`, instead of :mod:`site`. This means that :data:`prefix` and :data:`exec_prefix` always point to ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b8dfe3b8-cd02-43c3-9390-fee090e2b6d8
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,051
supabase-export-v2
1263991756df6d47
.. function:: displayhook(value) If *value* is not ``None``, this function prints ``repr(value)`` to ``sys.stdout``, and saves *value* in ``builtins._``. If ``repr(value)`` is not encodable to ``sys.stdout.encoding`` with ``sys.stdout.errors`` error handler (which is probably ``'strict'``), encode it to ``sys.stdou...
trusted_official_docs
CPython Docs
.. function:: displayhook(value) If *value* is not ``None``, this function prints ``repr(value)`` to ``sys.stdout``, and saves *value* in ``builtins._``. If ``repr(value)`` is not encodable to ``sys.stdout.encoding`` with ``sys.stdout.errors`` error handler (which is probably ``'strict'``), encode it to ``sys.stdou...
.. function:: displayhook(value) If *value* is not ``None``, this function prints ``repr(value)`` to ``sys.stdout``, and saves *value* in ``builtins._``. If ``repr(value)`` is not encodable to ``sys.stdout.encoding`` with ``sys.stdout.errors`` error handler (which is probably ``'strict'``), encode it to ``sys.stdou...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b9586194-50af-483b-af0c-272d9972377a
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,525
supabase-export-v2
53387dcf7ef22c2f
.. audit-event:: cpython.remote_debugger_script script_path When the script is executed in the remote process, an :ref:`auditing event <auditing>` ``cpython.remote_debugger_script`` is raised with the path in the remote process. This event is raised in the remote process, not the one that called :func:`sys.remote_e...
trusted_official_docs
CPython Docs
.. audit-event:: cpython.remote_debugger_script script_path When the script is executed in the remote process, an :ref:`auditing event <auditing>` ``cpython.remote_debugger_script`` is raised with the path in the remote process. This event is raised in the remote process, not the one that called :func:`sys.remote_e...
.. audit-event:: cpython.remote_debugger_script script_path When the script is executed in the remote process, an :ref:`auditing event <auditing>` ``cpython.remote_debugger_script`` is raised with the path in the remote process. This event is raised in the remote process, not the one that called :func:`sys.remote_e...
python, official-docs, cpython, P0
Local_Trusted_Corpus
bb82bb69-4269-4d0a-8157-d73c33459ec2
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,408
supabase-export-v2
2215c4fcdbb79be7
.. versionchanged:: 3.3 On Linux, :data:`sys.platform` doesn't contain the major version anymore. It is always ``'linux'``, instead of ``'linux2'`` or ``'linux3'``. .. versionchanged:: 3.8 On AIX, :data:`sys.platform` doesn't contain the major version anymore. It is always ``'aix'``, instead of ``'aix5'`` or ``'aix7'`...
trusted_official_docs
CPython Docs
.. versionchanged:: 3.3 On Linux, :data:`sys.platform` doesn't contain the major version anymore. It is always ``'linux'``, instead of ``'linux2'`` or ``'linux3'``. .. versionchanged:: 3.8 On AIX, :data:`sys.platform` doesn't contain the major version anymore. It is always ``'aix'``, instead of ``'aix5'`` or ``'aix7'`...
.. versionchanged:: 3.3 On Linux, :data:`sys.platform` doesn't contain the major version anymore. It is always ``'linux'``, instead of ``'linux2'`` or ``'linux3'``. .. versionchanged:: 3.8 On AIX, :data:`sys.platform` doesn't contain the major version anymore. It is always ``'aix'``, instead of ``'aix5'`` or ``'aix7'`...
python, official-docs, cpython, P0
Local_Trusted_Corpus
bb8451f2-3ebc-4a07-b077-01d66cd49aa7
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,551
supabase-export-v2
10808ccce7cf13a0
a broken object. However, the preferred way to do this is to explicitly save the previous stream before replacing it, and restore the saved object. .. note:: Under some conditions ``stdin``, ``stdout`` and ``stderr`` as well as the original values ``__stdin__``, ``__stdout__`` and ``__stderr__`` can be ``None``. It ...
trusted_official_docs
CPython Docs
a broken object. However, the preferred way to do this is to explicitly save the previous stream before replacing it, and restore the saved object. .. note:: Under some conditions ``stdin``, ``stdout`` and ``stderr`` as well as the original values ``__stdin__``, ``__stdout__`` and ``__stderr__`` can be ``None``. It ...
a broken object. However, the preferred way to do this is to explicitly save the previous stream before replacing it, and restore the saved object. .. note:: Under some conditions ``stdin``, ``stdout`` and ``stderr`` as well as the original values ``__stdin__``, ``__stdout__`` and ``__stderr__`` can be ``None``. It ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
bc37cdf4-ac6b-44af-9363-3c6a79600be6
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,555
supabase-export-v2
8c31fdd2b531c2b4
and modules disabled at Python build are also listed. All module kinds are listed: pure Python, built-in, frozen and extension modules. Test modules are excluded. For packages, only the main package is listed: sub-packages and sub-modules are not listed. For example, the ``email`` package is listed, but the ``email.m...
trusted_official_docs
CPython Docs
and modules disabled at Python build are also listed. All module kinds are listed: pure Python, built-in, frozen and extension modules. Test modules are excluded. For packages, only the main package is listed: sub-packages and sub-modules are not listed. For example, the ``email`` package is listed, but the ``email.m...
and modules disabled at Python build are also listed. All module kinds are listed: pure Python, built-in, frozen and extension modules. Test modules are excluded. For packages, only the main package is listed: sub-packages and sub-modules are not listed. For example, the ``email`` package is listed, but the ``email.m...
python, official-docs, cpython, P0
Local_Trusted_Corpus
be634d42-897d-4eea-af2a-4c84e8e7a90c
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,409
supabase-export-v2
1e62b195504000d6
.. versionchanged:: 3.8 On AIX, :data:`sys.platform` doesn't contain the major version anymore. It is always ``'aix'``, instead of ``'aix5'`` or ``'aix7'``. .. versionchanged:: 3.13 On Android, :data:`sys.platform` now returns ``'android'`` rather than ``'linux'``.
trusted_official_docs
CPython Docs
.. versionchanged:: 3.8 On AIX, :data:`sys.platform` doesn't contain the major version anymore. It is always ``'aix'``, instead of ``'aix5'`` or ``'aix7'``. .. versionchanged:: 3.13 On Android, :data:`sys.platform` now returns ``'android'`` rather than ``'linux'``.
.. versionchanged:: 3.8 On AIX, :data:`sys.platform` doesn't contain the major version anymore. It is always ``'aix'``, instead of ``'aix5'`` or ``'aix7'``. .. versionchanged:: 3.13 On Android, :data:`sys.platform` now returns ``'android'`` rather than ``'linux'``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
be6dc0a4-fcea-44b0-b77a-ee5f1c9ad529
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,165
supabase-export-v2
6b72a04ef962cc8c
.. data:: float_repr_style A string indicating how the :func:`repr` function behaves for floats. If the string has value ``'short'`` then for a finite float ``x``, ``repr(x)`` aims to produce a short string with the property that ``float(repr(x)) == x``. This is the usual behaviour in Python 3.1 and later. Otherwis...
trusted_official_docs
CPython Docs
.. data:: float_repr_style A string indicating how the :func:`repr` function behaves for floats. If the string has value ``'short'`` then for a finite float ``x``, ``repr(x)`` aims to produce a short string with the property that ``float(repr(x)) == x``. This is the usual behaviour in Python 3.1 and later. Otherwis...
.. data:: float_repr_style A string indicating how the :func:`repr` function behaves for floats. If the string has value ``'short'`` then for a finite float ``x``, ``repr(x)`` aims to produce a short string with the property that ``float(repr(x)) == x``. This is the usual behaviour in Python 3.1 and later. Otherwis...
python, official-docs, cpython, P0
Local_Trusted_Corpus
bed61e85-891a-4dad-847b-2c230d344b91
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,356
supabase-export-v2
86d0201fae80ac5a
.. data:: last_exc This variable is not always defined; it is set to the exception instance when an exception is not handled and the interpreter prints an error message and a stack traceback. Its intended use is to allow an interactive user to import a debugger module and engage in post-mortem debugging without havi...
trusted_official_docs
CPython Docs
.. data:: last_exc This variable is not always defined; it is set to the exception instance when an exception is not handled and the interpreter prints an error message and a stack traceback. Its intended use is to allow an interactive user to import a debugger module and engage in post-mortem debugging without havi...
.. data:: last_exc This variable is not always defined; it is set to the exception instance when an exception is not handled and the interpreter prints an error message and a stack traceback. Its intended use is to allow an interactive user to import a debugger module and engage in post-mortem debugging without havi...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c15da695-b483-4ca4-8a78-0c84568847c5
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,600
supabase-export-v2
13896b8164b53d09
.. data:: _xoptions A dictionary of the various implementation-specific flags passed through the :option:`-X` command-line option. Option names are either mapped to their values, if given explicitly, or to :const:`True`. Example:
trusted_official_docs
CPython Docs
.. data:: _xoptions A dictionary of the various implementation-specific flags passed through the :option:`-X` command-line option. Option names are either mapped to their values, if given explicitly, or to :const:`True`. Example:
.. data:: _xoptions A dictionary of the various implementation-specific flags passed through the :option:`-X` command-line option. Option names are either mapped to their values, if given explicitly, or to :const:`True`. Example:
python, official-docs, cpython, P0
Local_Trusted_Corpus
c43cd42f-3e55-4918-8e32-d64867d96498
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,595
supabase-export-v2
7627a0a547339609
.. data:: winver The version number used to form registry keys on Windows platforms. This is stored as string resource 1000 in the Python DLL. The value is normally the major and minor versions of the running Python interpreter. It is provided in the :mod:`!sys` module for informational purposes; modifying this valu...
trusted_official_docs
CPython Docs
.. data:: winver The version number used to form registry keys on Windows platforms. This is stored as string resource 1000 in the Python DLL. The value is normally the major and minor versions of the running Python interpreter. It is provided in the :mod:`!sys` module for informational purposes; modifying this valu...
.. data:: winver The version number used to form registry keys on Windows platforms. This is stored as string resource 1000 in the Python DLL. The value is normally the major and minor versions of the running Python interpreter. It is provided in the :mod:`!sys` module for informational purposes; modifying this valu...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c5c6d3d4-7f5e-4de9-ada0-cd2950f5d99e
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,219
supabase-export-v2
fa70b22710343a7d
If given, *default* will be returned if the object does not provide means to retrieve the size. Otherwise a :exc:`TypeError` will be raised. :func:`getsizeof` calls the object's ``__sizeof__`` method and adds an additional garbage collector overhead if the object is managed by the garbage collector.
trusted_official_docs
CPython Docs
If given, *default* will be returned if the object does not provide means to retrieve the size. Otherwise a :exc:`TypeError` will be raised. :func:`getsizeof` calls the object's ``__sizeof__`` method and adds an additional garbage collector overhead if the object is managed by the garbage collector.
If given, *default* will be returned if the object does not provide means to retrieve the size. Otherwise a :exc:`TypeError` will be raised. :func:`getsizeof` calls the object's ``__sizeof__`` method and adds an additional garbage collector overhead if the object is managed by the garbage collector.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c62af6f9-18a1-424f-ae14-667db5141972
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,542
supabase-export-v2
606f4ca2f2392f75
be overridden by setting the environment variable PYTHONLEGACYWINDOWSSTDIO before starting Python. In that case, the console codepages are used as for any other character device. Under all platforms, you can override the character encoding by setting the :envvar:`PYTHONIOENCODING` environment variable before starting...
trusted_official_docs
CPython Docs
be overridden by setting the environment variable PYTHONLEGACYWINDOWSSTDIO before starting Python. In that case, the console codepages are used as for any other character device. Under all platforms, you can override the character encoding by setting the :envvar:`PYTHONIOENCODING` environment variable before starting...
be overridden by setting the environment variable PYTHONLEGACYWINDOWSSTDIO before starting Python. In that case, the console codepages are used as for any other character device. Under all platforms, you can override the character encoding by setting the :envvar:`PYTHONIOENCODING` environment variable before starting...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c70e5ff7-a3f1-49e4-bdb8-29e04e144ec7
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,104
supabase-export-v2
adaa7490fab8eb27
and results in an exit code of 1. In particular, ``sys.exit("some error message")`` is a quick way to exit a program when an error occurs. Since :func:`exit` ultimately "only" raises an exception, it will only exit the process when called from the main thread, and the exception is not intercepted. Cleanup actions spe...
trusted_official_docs
CPython Docs
and results in an exit code of 1. In particular, ``sys.exit("some error message")`` is a quick way to exit a program when an error occurs. Since :func:`exit` ultimately "only" raises an exception, it will only exit the process when called from the main thread, and the exception is not intercepted. Cleanup actions spe...
and results in an exit code of 1. In particular, ``sys.exit("some error message")`` is a quick way to exit a program when an error occurs. Since :func:`exit` ultimately "only" raises an exception, it will only exit the process when called from the main thread, and the exception is not intercepted. Cleanup actions spe...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c79ffdbd-5a6b-4c2c-9900-77025d4505c6
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,384
supabase-export-v2
1babfe24bfd9cd08
.. data:: modules This is a dictionary that maps module names to modules which have already been loaded. This can be manipulated to force reloading of modules and other tricks. However, replacing the dictionary will not necessarily work as expected and deleting essential items from the dictionary may cause Python to ...
trusted_official_docs
CPython Docs
.. data:: modules This is a dictionary that maps module names to modules which have already been loaded. This can be manipulated to force reloading of modules and other tricks. However, replacing the dictionary will not necessarily work as expected and deleting essential items from the dictionary may cause Python to ...
.. data:: modules This is a dictionary that maps module names to modules which have already been loaded. This can be manipulated to force reloading of modules and other tricks. However, replacing the dictionary will not necessarily work as expected and deleting essential items from the dictionary may cause Python to ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c7ec678e-b490-4d59-8521-93a9e9e670ad
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,055
supabase-export-v2
e8843878dea26074
text = repr(value) try: sys.stdout.write(text) except UnicodeEncodeError: bytes = text.encode(sys.stdout.encoding, 'backslashreplace') if hasattr(sys.stdout, 'buffer'): sys.stdout.buffer.write(bytes) else: text = bytes.decode(sys.stdout.encoding, 'strict') sys.stdout.write(text) sys.stdout.write("\n") builtins._ = valu...
trusted_official_docs
CPython Docs
text = repr(value) try: sys.stdout.write(text) except UnicodeEncodeError: bytes = text.encode(sys.stdout.encoding, 'backslashreplace') if hasattr(sys.stdout, 'buffer'): sys.stdout.buffer.write(bytes) else: text = bytes.decode(sys.stdout.encoding, 'strict') sys.stdout.write(text) sys.stdout.write("\n") builtins._ = valu...
text = repr(value) try: sys.stdout.write(text) except UnicodeEncodeError: bytes = text.encode(sys.stdout.encoding, 'backslashreplace') if hasattr(sys.stdout, 'buffer'): sys.stdout.buffer.write(bytes) else: text = bytes.decode(sys.stdout.encoding, 'strict') sys.stdout.write(text) sys.stdout.write("\n") builtins._ = valu...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c9bf1e18-a739-4902-9df5-5e087abf52a0
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,200
supabase-export-v2
3474fbeb20665ed5
Returns the current lazy imports mode as a string. * ``"normal"``: Only imports explicitly marked with the ``lazy`` keyword are lazy * ``"all"``: All top-level imports are potentially lazy * ``"none"``: All lazy imports are suppressed (even explicitly marked ones)
trusted_official_docs
CPython Docs
Returns the current lazy imports mode as a string. * ``"normal"``: Only imports explicitly marked with the ``lazy`` keyword are lazy * ``"all"``: All top-level imports are potentially lazy * ``"none"``: All lazy imports are suppressed (even explicitly marked ones)
Returns the current lazy imports mode as a string. * ``"normal"``: Only imports explicitly marked with the ``lazy`` keyword are lazy * ``"all"``: All top-level imports are potentially lazy * ``"none"``: All lazy imports are suppressed (even explicitly marked ones)
python, official-docs, cpython, P0
Local_Trusted_Corpus
ca2e59b1-2178-463a-a142-75a75eff76db
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,191
supabase-export-v2
2f6a19d1effa1828
.. function:: getfilesystemencodeerrors() Get the :term:`filesystem error handler <filesystem encoding and error handler>`: the error handler used with the :term:`filesystem encoding <filesystem encoding and error handler>` to convert between Unicode filenames and bytes filenames. The filesystem encoding is returned...
trusted_official_docs
CPython Docs
.. function:: getfilesystemencodeerrors() Get the :term:`filesystem error handler <filesystem encoding and error handler>`: the error handler used with the :term:`filesystem encoding <filesystem encoding and error handler>` to convert between Unicode filenames and bytes filenames. The filesystem encoding is returned...
.. function:: getfilesystemencodeerrors() Get the :term:`filesystem error handler <filesystem encoding and error handler>`: the error handler used with the :term:`filesystem encoding <filesystem encoding and error handler>` to convert between Unicode filenames and bytes filenames. The filesystem encoding is returned...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ca35eb9d-e2f1-4a8b-9f5f-de94b88e2e69
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,256
supabase-export-v2
77e9e767a7ea16e4
| | | controller. | +---------------------------------------+---------------------------------+ | ``3`` (VER_NT_SERVER) | The system is a server, but not | | | a domain controller. | +---------------------------------------+---------------------------------+ This function wraps the Win32 :c:func:`!GetVersionEx` functio...
trusted_official_docs
CPython Docs
| | | controller. | +---------------------------------------+---------------------------------+ | ``3`` (VER_NT_SERVER) | The system is a server, but not | | | a domain controller. | +---------------------------------------+---------------------------------+ This function wraps the Win32 :c:func:`!GetVersionEx` functio...
| | | controller. | +---------------------------------------+---------------------------------+ | ``3`` (VER_NT_SERVER) | The system is a server, but not | | | a domain controller. | +---------------------------------------+---------------------------------+ This function wraps the Win32 :c:func:`!GetVersionEx` functio...
python, official-docs, cpython, P0
Local_Trusted_Corpus
cbc37489-292c-424d-88d9-e4555034a6eb
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,160
supabase-export-v2
2fa922e4b4fdd57e
All other values for :c:macro:`!FLT_ROUNDS` characterize implementation-defined rounding behavior. The attribute :attr:`sys.float_info.dig` needs further explanation. If ``s`` is any string representing a decimal number with at most :attr:`!sys.float_info.dig` significant digits, then converting ``s`` to a float and...
trusted_official_docs
CPython Docs
All other values for :c:macro:`!FLT_ROUNDS` characterize implementation-defined rounding behavior. The attribute :attr:`sys.float_info.dig` needs further explanation. If ``s`` is any string representing a decimal number with at most :attr:`!sys.float_info.dig` significant digits, then converting ``s`` to a float and...
All other values for :c:macro:`!FLT_ROUNDS` characterize implementation-defined rounding behavior. The attribute :attr:`sys.float_info.dig` needs further explanation. If ``s`` is any string representing a decimal number with at most :attr:`!sys.float_info.dig` significant digits, then converting ``s`` to a float and...
python, official-docs, cpython, P0
Local_Trusted_Corpus
cc1df451-8237-4e7b-80d4-5af126c8d302
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,475
supabase-export-v2
39eee3f7f9c51b49
it should return a reference to a local trace function to be used for the new scope, or ``None`` if the scope shouldn't be traced. The local trace function should return a reference to itself, or to another function which would then be used as the local trace function for the scope.
trusted_official_docs
CPython Docs
it should return a reference to a local trace function to be used for the new scope, or ``None`` if the scope shouldn't be traced. The local trace function should return a reference to itself, or to another function which would then be used as the local trace function for the scope.
it should return a reference to a local trace function to be used for the new scope, or ``None`` if the scope shouldn't be traced. The local trace function should return a reference to itself, or to another function which would then be used as the local trace function for the scope.
python, official-docs, cpython, P0
Local_Trusted_Corpus
cc1fb146-bdbe-4f9e-a5f1-94b6bed19a53
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,554
supabase-export-v2
5e35b978dca34bd9
A frozenset of strings containing the names of standard library modules. It is the same on all platforms. Modules which are not available on some platforms and modules disabled at Python build are also listed. All module kinds are listed: pure Python, built-in, frozen and extension modules. Test modules are excluded.
trusted_official_docs
CPython Docs
A frozenset of strings containing the names of standard library modules. It is the same on all platforms. Modules which are not available on some platforms and modules disabled at Python build are also listed. All module kinds are listed: pure Python, built-in, frozen and extension modules. Test modules are excluded.
A frozenset of strings containing the names of standard library modules. It is the same on all platforms. Modules which are not available on some platforms and modules disabled at Python build are also listed. All module kinds are listed: pure Python, built-in, frozen and extension modules. Test modules are excluded.
python, official-docs, cpython, P0
Local_Trusted_Corpus
cccb4643-d166-4b66-a75c-91a88485a5ab
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,057
supabase-export-v2
64fb444b0607c86d
.. data:: dont_write_bytecode If this is true, Python won't try to write ``.pyc`` files on the import of source modules. This value is initially set to ``True`` or ``False`` depending on the :option:`-B` command line option and the :envvar:`PYTHONDONTWRITEBYTECODE` environment variable, but you can set it yourself ...
trusted_official_docs
CPython Docs
.. data:: dont_write_bytecode If this is true, Python won't try to write ``.pyc`` files on the import of source modules. This value is initially set to ``True`` or ``False`` depending on the :option:`-B` command line option and the :envvar:`PYTHONDONTWRITEBYTECODE` environment variable, but you can set it yourself ...
.. data:: dont_write_bytecode If this is true, Python won't try to write ``.pyc`` files on the import of source modules. This value is initially set to ``True`` or ``False`` depending on the :option:`-B` command line option and the :envvar:`PYTHONDONTWRITEBYTECODE` environment variable, but you can set it yourself ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
cd16cdb9-9be5-4019-8b58-88e6e0e42c31
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,346
supabase-export-v2
47b1efc209d41510
.. function:: _jit.is_enabled() Return ``True`` if JIT compilation is enabled for the current Python process (implies :func:`sys._jit.is_available`), and ``False`` otherwise. If JIT compilation is available, this can be controlled by setting the :envvar:`PYTHON_JIT` environment variable to ``0`` (disabled) or ``1`` ...
trusted_official_docs
CPython Docs
.. function:: _jit.is_enabled() Return ``True`` if JIT compilation is enabled for the current Python process (implies :func:`sys._jit.is_available`), and ``False`` otherwise. If JIT compilation is available, this can be controlled by setting the :envvar:`PYTHON_JIT` environment variable to ``0`` (disabled) or ``1`` ...
.. function:: _jit.is_enabled() Return ``True`` if JIT compilation is enabled for the current Python process (implies :func:`sys._jit.is_available`), and ``False`` otherwise. If JIT compilation is available, this can be controlled by setting the :envvar:`PYTHON_JIT` environment variable to ``0`` (disabled) or ``1`` ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
cd6a5492-e014-47fa-a825-ec2ca801e7ff
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,036
supabase-export-v2
08ec57b69095080f
.. function:: breakpointhook() This hook function is called by built-in :func:`breakpoint`. By default, it drops you into the :mod:`pdb` debugger, but it can be set to any other function so that you can choose which debugger gets used.
trusted_official_docs
CPython Docs
.. function:: breakpointhook() This hook function is called by built-in :func:`breakpoint`. By default, it drops you into the :mod:`pdb` debugger, but it can be set to any other function so that you can choose which debugger gets used.
.. function:: breakpointhook() This hook function is called by built-in :func:`breakpoint`. By default, it drops you into the :mod:`pdb` debugger, but it can be set to any other function so that you can choose which debugger gets used.
python, official-docs, cpython, P0
Local_Trusted_Corpus
ce8a60da-af2f-451b-86e9-bdcd45616e56
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,156
supabase-export-v2
b5ae6279b0f38ea8
* - .. attribute:: float_info.min_10_exp - :c:macro:`!DBL_MIN_10_EXP` - The minimum integer *e* such that ``10**e`` is a normalized float. * - .. attribute:: float_info.radix - :c:macro:`!FLT_RADIX` - The radix of exponent representation.
trusted_official_docs
CPython Docs
* - .. attribute:: float_info.min_10_exp - :c:macro:`!DBL_MIN_10_EXP` - The minimum integer *e* such that ``10**e`` is a normalized float. * - .. attribute:: float_info.radix - :c:macro:`!FLT_RADIX` - The radix of exponent representation.
* - .. attribute:: float_info.min_10_exp - :c:macro:`!DBL_MIN_10_EXP` - The minimum integer *e* such that ``10**e`` is a normalized float. * - .. attribute:: float_info.radix - :c:macro:`!FLT_RADIX` - The radix of exponent representation.
python, official-docs, cpython, P0
Local_Trusted_Corpus
cefb57f9-4a52-444e-9821-5516249fcc28
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,498
supabase-export-v2
2af9c9b7ad967dc1
.. versionadded:: 3.6 See :pep:`525` for more details, and for a reference example of a *finalizer* method see the implementation of ``asyncio.Loop.shutdown_asyncgens`` in :source:`Lib/asyncio/base_events.py` .. note:: This function has been added on a provisional basis (see :pep:`411` for details.)
trusted_official_docs
CPython Docs
.. versionadded:: 3.6 See :pep:`525` for more details, and for a reference example of a *finalizer* method see the implementation of ``asyncio.Loop.shutdown_asyncgens`` in :source:`Lib/asyncio/base_events.py` .. note:: This function has been added on a provisional basis (see :pep:`411` for details.)
.. versionadded:: 3.6 See :pep:`525` for more details, and for a reference example of a *finalizer* method see the implementation of ``asyncio.Loop.shutdown_asyncgens`` in :source:`Lib/asyncio/base_events.py` .. note:: This function has been added on a provisional basis (see :pep:`411` for details.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
cf20d1e6-0e70-4d31-9407-f2f3fb2a4621
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,489
supabase-export-v2
590043cdf934020d
.. impl-detail:: The :func:`settrace` function is intended only for implementing debuggers, profilers, coverage tools and the like. Its behavior is part of the implementation platform, rather than part of the language definition, and thus may not be available in all Python implementations.
trusted_official_docs
CPython Docs
.. impl-detail:: The :func:`settrace` function is intended only for implementing debuggers, profilers, coverage tools and the like. Its behavior is part of the implementation platform, rather than part of the language definition, and thus may not be available in all Python implementations.
.. impl-detail:: The :func:`settrace` function is intended only for implementing debuggers, profilers, coverage tools and the like. Its behavior is part of the implementation platform, rather than part of the language definition, and thus may not be available in all Python implementations.
python, official-docs, cpython, P0
Local_Trusted_Corpus
cfac8dac-f1d8-4d92-aabb-88988b298f27
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,253
supabase-export-v2
151f4d7fc5ca5e45
also be accessed by name, so ``sys.getwindowsversion()[0]`` is equivalent to ``sys.getwindowsversion().major``. For compatibility with prior versions, only the first 5 elements are retrievable by indexing. *platform* will be ``2`` (VER_PLATFORM_WIN32_NT).
trusted_official_docs
CPython Docs
also be accessed by name, so ``sys.getwindowsversion()[0]`` is equivalent to ``sys.getwindowsversion().major``. For compatibility with prior versions, only the first 5 elements are retrievable by indexing. *platform* will be ``2`` (VER_PLATFORM_WIN32_NT).
also be accessed by name, so ``sys.getwindowsversion()[0]`` is equivalent to ``sys.getwindowsversion().major``. For compatibility with prior versions, only the first 5 elements are retrievable by indexing. *platform* will be ``2`` (VER_PLATFORM_WIN32_NT).
python, official-docs, cpython, P0
Local_Trusted_Corpus
cffce33a-4b49-4d0e-9d08-1ef24f1c6b15
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,300
supabase-export-v2
d4e731f72ef882c5
*name* is the implementation's identifier, e.g. ``'cpython'``. The actual string is defined by the Python implementation, but it is guaranteed to be lower case. *version* is a named tuple, in the same format as :data:`sys.version_info`. It represents the version of the Python *implementation*. This has a distinct mea...
trusted_official_docs
CPython Docs
*name* is the implementation's identifier, e.g. ``'cpython'``. The actual string is defined by the Python implementation, but it is guaranteed to be lower case. *version* is a named tuple, in the same format as :data:`sys.version_info`. It represents the version of the Python *implementation*. This has a distinct mea...
*name* is the implementation's identifier, e.g. ``'cpython'``. The actual string is defined by the Python implementation, but it is guaranteed to be lower case. *version* is a named tuple, in the same format as :data:`sys.version_info`. It represents the version of the Python *implementation*. This has a distinct mea...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d0543b8b-4c14-4e54-87e8-eb9051ec3fcb
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,030
supabase-export-v2
0f5745ea8cd5c392
.. function:: _current_exceptions() Return a dictionary mapping each thread's identifier to the topmost exception currently active in that thread at the time the function is called. If a thread is not currently handling an exception, it is not included in the result dictionary.
trusted_official_docs
CPython Docs
.. function:: _current_exceptions() Return a dictionary mapping each thread's identifier to the topmost exception currently active in that thread at the time the function is called. If a thread is not currently handling an exception, it is not included in the result dictionary.
.. function:: _current_exceptions() Return a dictionary mapping each thread's identifier to the topmost exception currently active in that thread at the time the function is called. If a thread is not currently handling an exception, it is not included in the result dictionary.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d0ee2482-e845-4ece-9500-0f0f6c7d0926
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,013
supabase-export-v2
116b2919005cb74b
.. function:: call_tracing(func, args) Call ``func(*args)``, while tracing is enabled. The tracing state is saved, and restored afterwards. This is intended to be called from a debugger from a checkpoint, to recursively debug or profile some other code.
trusted_official_docs
CPython Docs
.. function:: call_tracing(func, args) Call ``func(*args)``, while tracing is enabled. The tracing state is saved, and restored afterwards. This is intended to be called from a debugger from a checkpoint, to recursively debug or profile some other code.
.. function:: call_tracing(func, args) Call ``func(*args)``, while tracing is enabled. The tracing state is saved, and restored afterwards. This is intended to be called from a debugger from a checkpoint, to recursively debug or profile some other code.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d19d098b-f3a5-453b-a204-4b3dcb8e5eda
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,464
supabase-export-v2
8f59b8acafe600c3
maximum depth of the Python interpreter stack to *limit*. This limit prevents infinite recursion from causing an overflow of the C stack and crashing Python. The highest possible limit is platform-dependent. A user may need to set the limit higher when they have a program that requires deep recursion and a platform t...
trusted_official_docs
CPython Docs
maximum depth of the Python interpreter stack to *limit*. This limit prevents infinite recursion from causing an overflow of the C stack and crashing Python. The highest possible limit is platform-dependent. A user may need to set the limit higher when they have a program that requires deep recursion and a platform t...
maximum depth of the Python interpreter stack to *limit*. This limit prevents infinite recursion from causing an overflow of the C stack and crashing Python. The highest possible limit is platform-dependent. A user may need to set the limit higher when they have a program that requires deep recursion and a platform t...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d2c720d1-2051-4a49-8772-1595eb0b2689
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,201
supabase-export-v2
700b5b3cbc16fbb7
with the ``lazy`` keyword are lazy * ``"all"``: All top-level imports are potentially lazy * ``"none"``: All lazy imports are suppressed (even explicitly marked ones) See also :func:`set_lazy_imports` and :pep:`810`.
trusted_official_docs
CPython Docs
with the ``lazy`` keyword are lazy * ``"all"``: All top-level imports are potentially lazy * ``"none"``: All lazy imports are suppressed (even explicitly marked ones) See also :func:`set_lazy_imports` and :pep:`810`.
with the ``lazy`` keyword are lazy * ``"all"``: All top-level imports are potentially lazy * ``"none"``: All lazy imports are suppressed (even explicitly marked ones) See also :func:`set_lazy_imports` and :pep:`810`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d35a4c28-2555-4596-a471-068024d0e8e6
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,076
supabase-export-v2
53d2b2a388162cf8
This function prints out a given traceback and exception to ``sys.stderr``. When an exception other than :exc:`SystemExit` is raised and uncaught, the interpreter calls ``sys.excepthook`` with three arguments, the exception class, exception instance, and a traceback object. In an interactive session this happens just...
trusted_official_docs
CPython Docs
This function prints out a given traceback and exception to ``sys.stderr``. When an exception other than :exc:`SystemExit` is raised and uncaught, the interpreter calls ``sys.excepthook`` with three arguments, the exception class, exception instance, and a traceback object. In an interactive session this happens just...
This function prints out a given traceback and exception to ``sys.stderr``. When an exception other than :exc:`SystemExit` is raised and uncaught, the interpreter calls ``sys.excepthook`` with three arguments, the exception class, exception instance, and a traceback object. In an interactive session this happens just...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d368c2d8-fdd3-4b09-b829-fd80d6146694
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,540
supabase-export-v2
e3a9ee677fe19132
* The encoding and error handling are is initialized from :c:member:`PyConfig.stdio_encoding` and :c:member:`PyConfig.stdio_errors`. On Windows, UTF-8 is used for the console device. Non-character devices such as disk files and pipes use the system locale encoding (i.e. the ANSI codepage). Non-console character devi...
trusted_official_docs
CPython Docs
* The encoding and error handling are is initialized from :c:member:`PyConfig.stdio_encoding` and :c:member:`PyConfig.stdio_errors`. On Windows, UTF-8 is used for the console device. Non-character devices such as disk files and pipes use the system locale encoding (i.e. the ANSI codepage). Non-console character devi...
* The encoding and error handling are is initialized from :c:member:`PyConfig.stdio_encoding` and :c:member:`PyConfig.stdio_errors`. On Windows, UTF-8 is used for the console device. Non-character devices such as disk files and pipes use the system locale encoding (i.e. the ANSI codepage). Non-console character devi...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d3d2c6d2-5993-41fe-b860-6bf966ccdbb1
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,400
supabase-export-v2
34867bddf4107b46
.. data:: path_importer_cache A dictionary acting as a cache for :term:`finder` objects. The keys are paths that have been passed to :data:`sys.path_hooks` and the values are the finders that are found. If a path is a valid file system path but no finder is found on :data:`sys.path_hooks` then ``None`` is stored.
trusted_official_docs
CPython Docs
.. data:: path_importer_cache A dictionary acting as a cache for :term:`finder` objects. The keys are paths that have been passed to :data:`sys.path_hooks` and the values are the finders that are found. If a path is a valid file system path but no finder is found on :data:`sys.path_hooks` then ``None`` is stored.
.. data:: path_importer_cache A dictionary acting as a cache for :term:`finder` objects. The keys are paths that have been passed to :data:`sys.path_hooks` and the values are the finders that are found. If a path is a valid file system path but no finder is found on :data:`sys.path_hooks` then ``None`` is stored.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d4e9363d-78d3-439c-b788-498091b7c2ce
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,189
supabase-export-v2
f08d009e86c3c58a
.. versionchanged:: 3.6 Windows is no longer guaranteed to return ``'mbcs'``. See :pep:`529` and :func:`_enablelegacywindowsfsencoding` for more information. .. versionchanged:: 3.7 Return ``'utf-8'`` if the :ref:`Python UTF-8 Mode <utf8-mode>` is enabled.
trusted_official_docs
CPython Docs
.. versionchanged:: 3.6 Windows is no longer guaranteed to return ``'mbcs'``. See :pep:`529` and :func:`_enablelegacywindowsfsencoding` for more information. .. versionchanged:: 3.7 Return ``'utf-8'`` if the :ref:`Python UTF-8 Mode <utf8-mode>` is enabled.
.. versionchanged:: 3.6 Windows is no longer guaranteed to return ``'mbcs'``. See :pep:`529` and :func:`_enablelegacywindowsfsencoding` for more information. .. versionchanged:: 3.7 Return ``'utf-8'`` if the :ref:`Python UTF-8 Mode <utf8-mode>` is enabled.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d59a42da-0b80-4dff-addb-8787427e6a76
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,590
supabase-export-v2
ae021c3307c16668
.. data:: version_info A tuple containing the five components of the version number: *major*, *minor*, *micro*, *releaselevel*, and *serial*. All values except *releaselevel* are integers; the release level is ``'alpha'``, ``'beta'``, ``'candidate'``, or ``'final'``. The ``version_info`` value corresponding to the P...
trusted_official_docs
CPython Docs
.. data:: version_info A tuple containing the five components of the version number: *major*, *minor*, *micro*, *releaselevel*, and *serial*. All values except *releaselevel* are integers; the release level is ``'alpha'``, ``'beta'``, ``'candidate'``, or ``'final'``. The ``version_info`` value corresponding to the P...
.. data:: version_info A tuple containing the five components of the version number: *major*, *minor*, *micro*, *releaselevel*, and *serial*. All values except *releaselevel* are integers; the release level is ``'alpha'``, ``'beta'``, ``'candidate'``, or ``'final'``. The ``version_info`` value corresponding to the P...
python, official-docs, cpython, P0
Local_Trusted_Corpus
dab2dd38-29df-437d-b20f-de996cd0731c
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,574
supabase-export-v2
26c90c54fff9b67d
be ``None``. * :attr:`!exc_traceback`: Exception traceback, can be ``None``. * :attr:`!err_msg`: Error message, can be ``None``. * :attr:`!object`: Object causing the exception, can be ``None``. The default hook formats :attr:`!err_msg` and :attr:`!object` as: ``f'{err_msg}: {object!r}'``; use "Exception ignored in" e...
trusted_official_docs
CPython Docs
be ``None``. * :attr:`!exc_traceback`: Exception traceback, can be ``None``. * :attr:`!err_msg`: Error message, can be ``None``. * :attr:`!object`: Object causing the exception, can be ``None``. The default hook formats :attr:`!err_msg` and :attr:`!object` as: ``f'{err_msg}: {object!r}'``; use "Exception ignored in" e...
be ``None``. * :attr:`!exc_traceback`: Exception traceback, can be ``None``. * :attr:`!err_msg`: Error message, can be ``None``. * :attr:`!object`: Object causing the exception, can be ``None``. The default hook formats :attr:`!err_msg` and :attr:`!object` as: ``f'{err_msg}: {object!r}'``; use "Exception ignored in" e...
python, official-docs, cpython, P0
Local_Trusted_Corpus
dbc75ac8-4eca-471d-b8bd-7ed30df16b5f
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,500
supabase-export-v2
67fa4bbf06bc24bd
.. function:: set_coroutine_origin_tracking_depth(depth) Allows enabling or disabling coroutine origin tracking. When enabled, the ``cr_origin`` attribute on coroutine objects will contain a tuple of (filename, line number, function name) tuples describing the traceback where the coroutine object was created, with ...
trusted_official_docs
CPython Docs
.. function:: set_coroutine_origin_tracking_depth(depth) Allows enabling or disabling coroutine origin tracking. When enabled, the ``cr_origin`` attribute on coroutine objects will contain a tuple of (filename, line number, function name) tuples describing the traceback where the coroutine object was created, with ...
.. function:: set_coroutine_origin_tracking_depth(depth) Allows enabling or disabling coroutine origin tracking. When enabled, the ``cr_origin`` attribute on coroutine objects will contain a tuple of (filename, line number, function name) tuples describing the traceback where the coroutine object was created, with ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
dbd59b5d-41f6-473e-a748-6e3df730d7af
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
12,996
supabase-export-v2
af94e3ac0f0a4fec
event. The number and types of arguments for a given event are considered a public and stable API and should not be modified between releases. For example, one auditing event is named ``os.chdir``. This event has one argument called *path* that will contain the requested new working directory.
trusted_official_docs
CPython Docs
event. The number and types of arguments for a given event are considered a public and stable API and should not be modified between releases. For example, one auditing event is named ``os.chdir``. This event has one argument called *path* that will contain the requested new working directory.
event. The number and types of arguments for a given event are considered a public and stable API and should not be modified between releases. For example, one auditing event is named ``os.chdir``. This event has one argument called *path* that will contain the requested new working directory.
python, official-docs, cpython, P0
Local_Trusted_Corpus
dcb380d8-abc4-4eb1-ba20-79407b17bcd2
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,168
supabase-export-v2
ec90c06557f34122
.. function:: getallocatedblocks() Return the number of memory blocks currently allocated by the interpreter, regardless of their size. This function is mainly useful for tracking and debugging memory leaks. Because of the interpreter's internal caches, the result can vary from call to call; you may have to call :f...
trusted_official_docs
CPython Docs
.. function:: getallocatedblocks() Return the number of memory blocks currently allocated by the interpreter, regardless of their size. This function is mainly useful for tracking and debugging memory leaks. Because of the interpreter's internal caches, the result can vary from call to call; you may have to call :f...
.. function:: getallocatedblocks() Return the number of memory blocks currently allocated by the interpreter, regardless of their size. This function is mainly useful for tracking and debugging memory leaks. Because of the interpreter's internal caches, the result can vary from call to call; you may have to call :f...
python, official-docs, cpython, P0
Local_Trusted_Corpus
def39d2c-712c-47a7-a1d6-a05bf6196b6b
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,303
supabase-export-v2
72abf544d6dc50a0
However, a Python implementation may use some other value if appropriate. If ``cache_tag`` is set to ``None``, it indicates that module caching should be disabled. *supports_isolated_interpreters* is a boolean value, whether this implementation supports multiple isolated interpreters. It is ``True`` for CPython on mos...
trusted_official_docs
CPython Docs
However, a Python implementation may use some other value if appropriate. If ``cache_tag`` is set to ``None``, it indicates that module caching should be disabled. *supports_isolated_interpreters* is a boolean value, whether this implementation supports multiple isolated interpreters. It is ``True`` for CPython on mos...
However, a Python implementation may use some other value if appropriate. If ``cache_tag`` is set to ``None``, it indicates that module caching should be disabled. *supports_isolated_interpreters* is a boolean value, whether this implementation supports multiple isolated interpreters. It is ``True`` for CPython on mos...
python, official-docs, cpython, P0
Local_Trusted_Corpus
df40ed73-6f51-4b24-8d28-cd5bc832e2cb
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,521
supabase-export-v2
50b28ab74dc89f27
either the local or remote interpreter is pre-release (alpha, beta, or release candidate) then the local and remote interpreters must be the same exact version. See :ref:`remote-debugging` for more information about the remote debugging mechanism.
trusted_official_docs
CPython Docs
either the local or remote interpreter is pre-release (alpha, beta, or release candidate) then the local and remote interpreters must be the same exact version. See :ref:`remote-debugging` for more information about the remote debugging mechanism.
either the local or remote interpreter is pre-release (alpha, beta, or release candidate) then the local and remote interpreters must be the same exact version. See :ref:`remote-debugging` for more information about the remote debugging mechanism.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e031c38a-b16b-437a-ac0e-41cae5d61083
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,393
supabase-export-v2
d4e4c85e9bc02c36
a symbolic link, resolve symbolic links. * ``python -c code`` and ``python`` (REPL) command lines: prepend an empty string, which means the current working directory. To not prepend this potentially unsafe path, use the :option:`-P` command line option or the :envvar:`PYTHONSAFEPATH` environment variable.
trusted_official_docs
CPython Docs
a symbolic link, resolve symbolic links. * ``python -c code`` and ``python`` (REPL) command lines: prepend an empty string, which means the current working directory. To not prepend this potentially unsafe path, use the :option:`-P` command line option or the :envvar:`PYTHONSAFEPATH` environment variable.
a symbolic link, resolve symbolic links. * ``python -c code`` and ``python`` (REPL) command lines: prepend an empty string, which means the current working directory. To not prepend this potentially unsafe path, use the :option:`-P` command line option or the :envvar:`PYTHONSAFEPATH` environment variable.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e0c3fd78-57bb-4af8-a4af-18a550ffd0d2
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,538
supabase-export-v2
cea034a6a1f472f6
the output of :func:`print` and :term:`expression` statements and for the prompts of :func:`input`; * The interpreter's own prompts and its error messages go to ``stderr``. These streams are regular :term:`text files <text file>` like those returned by the :func:`open` function. Their parameters are chosen as follows...
trusted_official_docs
CPython Docs
the output of :func:`print` and :term:`expression` statements and for the prompts of :func:`input`; * The interpreter's own prompts and its error messages go to ``stderr``. These streams are regular :term:`text files <text file>` like those returned by the :func:`open` function. Their parameters are chosen as follows...
the output of :func:`print` and :term:`expression` statements and for the prompts of :func:`input`; * The interpreter's own prompts and its error messages go to ``stderr``. These streams are regular :term:`text files <text file>` like those returned by the :func:`open` function. Their parameters are chosen as follows...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e18e82ab-a022-4139-98a5-f412d4eef329
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,482
supabase-export-v2
31947cfe6360721c
the value that will be returned, or ``None`` if the event is caused by an exception being raised. The trace function's return value is ignored. ``'exception'`` An exception has occurred. The local trace function is called; *arg* is a tuple ``(exception, value, traceback)``; the return value specifies the new local t...
trusted_official_docs
CPython Docs
the value that will be returned, or ``None`` if the event is caused by an exception being raised. The trace function's return value is ignored. ``'exception'`` An exception has occurred. The local trace function is called; *arg* is a tuple ``(exception, value, traceback)``; the return value specifies the new local t...
the value that will be returned, or ``None`` if the event is caused by an exception being raised. The trace function's return value is ignored. ``'exception'`` An exception has occurred. The local trace function is called; *arg* is a tuple ``(exception, value, traceback)``; the return value specifies the new local t...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e1ca4ce6-38fc-4fca-8647-1efdba3d7cac
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,006
supabase-export-v2
7963eba3db4674bb
Equivalent to :data:`prefix`, but referring to the base Python installation. When running under :ref:`virtual environment <venv-def>`, :data:`prefix` gets overwritten to the virtual environment prefix. :data:`base_prefix`, conversely, does not change, and always points to the base Python installation. Refer to :ref:`...
trusted_official_docs
CPython Docs
Equivalent to :data:`prefix`, but referring to the base Python installation. When running under :ref:`virtual environment <venv-def>`, :data:`prefix` gets overwritten to the virtual environment prefix. :data:`base_prefix`, conversely, does not change, and always points to the base Python installation. Refer to :ref:`...
Equivalent to :data:`prefix`, but referring to the base Python installation. When running under :ref:`virtual environment <venv-def>`, :data:`prefix` gets overwritten to the virtual environment prefix. :data:`base_prefix`, conversely, does not change, and always points to the base Python installation. Refer to :ref:`...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e457e700-530e-40df-8f1d-b82cb4c288af
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,581
supabase-export-v2
6cce70955fab3a3d
a custom hook can create a reference cycle. It should be cleared explicitly to break the reference cycle when the exception is no longer needed. Storing :attr:`!object` using a custom hook can resurrect it if it is set to an object which is being finalized. Avoid storing :attr:`!object` after the custom hook complete...
trusted_official_docs
CPython Docs
a custom hook can create a reference cycle. It should be cleared explicitly to break the reference cycle when the exception is no longer needed. Storing :attr:`!object` using a custom hook can resurrect it if it is set to an object which is being finalized. Avoid storing :attr:`!object` after the custom hook complete...
a custom hook can create a reference cycle. It should be cleared explicitly to break the reference cycle when the exception is no longer needed. Storing :attr:`!object` using a custom hook can resurrect it if it is set to an object which is being finalized. Avoid storing :attr:`!object` after the custom hook complete...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e57ca86d-0559-4b38-a354-bb1d6862223d
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
12,987
supabase-export-v2
b1aba4834da08c17
.. impl-detail:: When tracing is enabled (see :func:`settrace`), Python hooks are only traced if the callable has a ``__cantrace__`` member that is set to a true value. Otherwise, trace functions will skip the hook.
trusted_official_docs
CPython Docs
.. impl-detail:: When tracing is enabled (see :func:`settrace`), Python hooks are only traced if the callable has a ``__cantrace__`` member that is set to a true value. Otherwise, trace functions will skip the hook.
.. impl-detail:: When tracing is enabled (see :func:`settrace`), Python hooks are only traced if the callable has a ``__cantrace__`` member that is set to a true value. Otherwise, trace functions will skip the hook.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e66d9e27-90f0-443c-b655-7ed9bc088b4d
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,014
supabase-export-v2
a17063e5c44cf6dd
is saved, and restored afterwards. This is intended to be called from a debugger from a checkpoint, to recursively debug or profile some other code. Tracing is suspended while calling a tracing function set by :func:`settrace` or :func:`setprofile` to avoid infinite recursion. :func:`!call_tracing` enables explicit re...
trusted_official_docs
CPython Docs
is saved, and restored afterwards. This is intended to be called from a debugger from a checkpoint, to recursively debug or profile some other code. Tracing is suspended while calling a tracing function set by :func:`settrace` or :func:`setprofile` to avoid infinite recursion. :func:`!call_tracing` enables explicit re...
is saved, and restored afterwards. This is intended to be called from a debugger from a checkpoint, to recursively debug or profile some other code. Tracing is suspended while calling a tracing function set by :func:`settrace` or :func:`setprofile` to avoid infinite recursion. :func:`!call_tracing` enables explicit re...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e6f39320-775b-4377-9a44-720106f78174
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,556
supabase-export-v2
c6c4f90513e0b1ee
listed: sub-packages and sub-modules are not listed. For example, the ``email`` package is listed, but the ``email.mime`` sub-package and the ``email.message`` sub-module are not listed. See also the :data:`sys.builtin_module_names` list.
trusted_official_docs
CPython Docs
listed: sub-packages and sub-modules are not listed. For example, the ``email`` package is listed, but the ``email.mime`` sub-package and the ``email.message`` sub-module are not listed. See also the :data:`sys.builtin_module_names` list.
listed: sub-packages and sub-modules are not listed. For example, the ``email`` package is listed, but the ``email.mime`` sub-package and the ``email.message`` sub-module are not listed. See also the :data:`sys.builtin_module_names` list.
python, official-docs, cpython, P0
Local_Trusted_Corpus
ea548974-556e-4f62-8b29-8adbe2e52e3a
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,501
supabase-export-v2
cc1ca9a64d7467b3
number, function name) tuples describing the traceback where the coroutine object was created, with the most recent call first. When disabled, ``cr_origin`` will be ``None``. To enable, pass a *depth* value greater than zero; this sets the number of frames whose information will be captured. To disable, set *depth* t...
trusted_official_docs
CPython Docs
number, function name) tuples describing the traceback where the coroutine object was created, with the most recent call first. When disabled, ``cr_origin`` will be ``None``. To enable, pass a *depth* value greater than zero; this sets the number of frames whose information will be captured. To disable, set *depth* t...
number, function name) tuples describing the traceback where the coroutine object was created, with the most recent call first. When disabled, ``cr_origin`` will be ``None``. To enable, pass a *depth* value greater than zero; this sets the number of frames whose information will be captured. To disable, set *depth* t...
python, official-docs, cpython, P0
Local_Trusted_Corpus
eb169814-54c8-4adb-87c7-2daf7d4fd245
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
12,983
supabase-export-v2
efa7132ac97844df
not be added and the exception suppressed. As a result, callers cannot assume that their hook has been added unless they control all existing hooks. See the :ref:`audit events table <audit-events>` for all events raised by CPython, and :pep:`578` for the original design discussion.
trusted_official_docs
CPython Docs
not be added and the exception suppressed. As a result, callers cannot assume that their hook has been added unless they control all existing hooks. See the :ref:`audit events table <audit-events>` for all events raised by CPython, and :pep:`578` for the original design discussion.
not be added and the exception suppressed. As a result, callers cannot assume that their hook has been added unless they control all existing hooks. See the :ref:`audit events table <audit-events>` for all events raised by CPython, and :pep:`578` for the original design discussion.
python, official-docs, cpython, P0
Local_Trusted_Corpus
ebc3be97-0adf-426c-9848-8be8f0182443
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,421
supabase-export-v2
4fafc284fe2acdd9
.. note:: If a :ref:`virtual environment <venv-def>` is in effect, this :data:`prefix` will point to the virtual environment. The value for the Python installation will still be available, via :data:`base_prefix`. Refer to :ref:`sys-path-init-virtual-environments` for more information.
trusted_official_docs
CPython Docs
.. note:: If a :ref:`virtual environment <venv-def>` is in effect, this :data:`prefix` will point to the virtual environment. The value for the Python installation will still be available, via :data:`base_prefix`. Refer to :ref:`sys-path-init-virtual-environments` for more information.
.. note:: If a :ref:`virtual environment <venv-def>` is in effect, this :data:`prefix` will point to the virtual environment. The value for the Python installation will still be available, via :data:`base_prefix`. Refer to :ref:`sys-path-init-virtual-environments` for more information.
python, official-docs, cpython, P0
Local_Trusted_Corpus
ec4d41ce-9023-4e04-817c-16eb7b1eb0aa
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,539
supabase-export-v2
4ae6c8689ddfeb5e
These streams are regular :term:`text files <text file>` like those returned by the :func:`open` function. Their parameters are chosen as follows: * The encoding and error handling are is initialized from :c:member:`PyConfig.stdio_encoding` and :c:member:`PyConfig.stdio_errors`.
trusted_official_docs
CPython Docs
These streams are regular :term:`text files <text file>` like those returned by the :func:`open` function. Their parameters are chosen as follows: * The encoding and error handling are is initialized from :c:member:`PyConfig.stdio_encoding` and :c:member:`PyConfig.stdio_errors`.
These streams are regular :term:`text files <text file>` like those returned by the :func:`open` function. Their parameters are chosen as follows: * The encoding and error handling are is initialized from :c:member:`PyConfig.stdio_encoding` and :c:member:`PyConfig.stdio_errors`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
ec5a9113-f984-46cc-8984-8f940a647336
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,226
supabase-export-v2
c931e9bdae0c73ed
is deeper than the call stack, :exc:`ValueError` is raised. The default for *depth* is zero, returning the frame at the top of the call stack. .. audit-event:: sys._getframe frame sys._getframe
trusted_official_docs
CPython Docs
is deeper than the call stack, :exc:`ValueError` is raised. The default for *depth* is zero, returning the frame at the top of the call stack. .. audit-event:: sys._getframe frame sys._getframe
is deeper than the call stack, :exc:`ValueError` is raised. The default for *depth* is zero, returning the frame at the top of the call stack. .. audit-event:: sys._getframe frame sys._getframe
python, official-docs, cpython, P0
Local_Trusted_Corpus
ec646599-1405-4bf9-b533-ea0f0fe29200
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,473
supabase-export-v2
b7783b793bf3db12
is thread-specific; for a debugger to support multiple threads, it must register a trace function using :func:`settrace` for each thread being debugged or use :func:`threading.settrace`. Trace functions should have three arguments: *frame*, *event*, and *arg*. *frame* is the :ref:`current stack frame <frame-objects>`....
trusted_official_docs
CPython Docs
is thread-specific; for a debugger to support multiple threads, it must register a trace function using :func:`settrace` for each thread being debugged or use :func:`threading.settrace`. Trace functions should have three arguments: *frame*, *event*, and *arg*. *frame* is the :ref:`current stack frame <frame-objects>`....
is thread-specific; for a debugger to support multiple threads, it must register a trace function using :func:`settrace` for each thread being debugged or use :func:`threading.settrace`. Trace functions should have three arguments: *frame*, *event*, and *arg*. *frame* is the :ref:`current stack frame <frame-objects>`....
python, official-docs, cpython, P0
Local_Trusted_Corpus
ed5a17e3-7220-40ec-9728-67749618d910
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,145
supabase-export-v2
dc9c5deb1718cadb
* - attribute - float.h macro - explanation * - .. attribute:: float_info.epsilon - :c:macro:`!DBL_EPSILON` - difference between 1.0 and the least value greater than 1.0 that is representable as a float.
trusted_official_docs
CPython Docs
* - attribute - float.h macro - explanation * - .. attribute:: float_info.epsilon - :c:macro:`!DBL_EPSILON` - difference between 1.0 and the least value greater than 1.0 that is representable as a float.
* - attribute - float.h macro - explanation * - .. attribute:: float_info.epsilon - :c:macro:`!DBL_EPSILON` - difference between 1.0 and the least value greater than 1.0 that is representable as a float.
python, official-docs, cpython, P0
Local_Trusted_Corpus
ed7338af-419f-4fbc-a0ea-913a862b806a
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,078
supabase-export-v2
a8b191ce2f88ec8b
.. audit-event:: sys.excepthook hook,type,value,traceback sys.excepthook Raise an auditing event ``sys.excepthook`` with arguments ``hook``, ``type``, ``value``, ``traceback`` when an uncaught exception occurs. If no hook has been set, ``hook`` may be ``None``. If any hook raises an exception derived from :class:`Run...
trusted_official_docs
CPython Docs
.. audit-event:: sys.excepthook hook,type,value,traceback sys.excepthook Raise an auditing event ``sys.excepthook`` with arguments ``hook``, ``type``, ``value``, ``traceback`` when an uncaught exception occurs. If no hook has been set, ``hook`` may be ``None``. If any hook raises an exception derived from :class:`Run...
.. audit-event:: sys.excepthook hook,type,value,traceback sys.excepthook Raise an auditing event ``sys.excepthook`` with arguments ``hook``, ``type``, ``value``, ``traceback`` when an uncaught exception occurs. If no hook has been set, ``hook`` may be ``None``. If any hook raises an exception derived from :class:`Run...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ee575912-0e7d-4d37-ae4d-d840d401bc41
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,082
supabase-export-v2
c43411bcae2aa523
.. data:: __breakpointhook__ __displayhook__ __excepthook__ __unraisablehook__ These objects contain the original values of ``breakpointhook``, ``displayhook``, ``excepthook``, and ``unraisablehook`` at the start of the program. They are saved so that ``breakpointhook``, ``displayhook`` and ``excepthook``, ``unraisa...
trusted_official_docs
CPython Docs
.. data:: __breakpointhook__ __displayhook__ __excepthook__ __unraisablehook__ These objects contain the original values of ``breakpointhook``, ``displayhook``, ``excepthook``, and ``unraisablehook`` at the start of the program. They are saved so that ``breakpointhook``, ``displayhook`` and ``excepthook``, ``unraisa...
.. data:: __breakpointhook__ __displayhook__ __excepthook__ __unraisablehook__ These objects contain the original values of ``breakpointhook``, ``displayhook``, ``excepthook``, and ``unraisablehook`` at the start of the program. They are saved so that ``breakpointhook``, ``displayhook`` and ``excepthook``, ``unraisa...
python, official-docs, cpython, P0
Local_Trusted_Corpus
efe2f518-0fc7-4ce3-ba84-2802763379a4
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,387
supabase-export-v2
5195f8ef181ad072
The list of the original command line arguments passed to the Python executable. The elements of :data:`sys.orig_argv` are the arguments to the Python interpreter, while the elements of :data:`sys.argv` are the arguments to the user's program. Arguments consumed by the interpreter itself will be present in :data:`sys....
trusted_official_docs
CPython Docs
The list of the original command line arguments passed to the Python executable. The elements of :data:`sys.orig_argv` are the arguments to the Python interpreter, while the elements of :data:`sys.argv` are the arguments to the user's program. Arguments consumed by the interpreter itself will be present in :data:`sys....
The list of the original command line arguments passed to the Python executable. The elements of :data:`sys.orig_argv` are the arguments to the Python interpreter, while the elements of :data:`sys.argv` are the arguments to the user's program. Arguments consumed by the interpreter itself will be present in :data:`sys....
python, official-docs, cpython, P0
Local_Trusted_Corpus
f0447830-8b61-4063-9e09-8b423a01db08
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,218
supabase-export-v2
bfa3a76b86af72cd
Only the memory consumption directly attributed to the object is accounted for, not the memory consumption of objects it refers to. If given, *default* will be returned if the object does not provide means to retrieve the size. Otherwise a :exc:`TypeError` will be raised.
trusted_official_docs
CPython Docs
Only the memory consumption directly attributed to the object is accounted for, not the memory consumption of objects it refers to. If given, *default* will be returned if the object does not provide means to retrieve the size. Otherwise a :exc:`TypeError` will be raised.
Only the memory consumption directly attributed to the object is accounted for, not the memory consumption of objects it refers to. If given, *default* will be returned if the object does not provide means to retrieve the size. Otherwise a :exc:`TypeError` will be raised.
python, official-docs, cpython, P0
Local_Trusted_Corpus
f19c198f-cf5c-44a0-b6da-7ae9dfa0c44a
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,044
supabase-export-v2
1d72517470bc0e27
Print low-level information to stderr about the state of CPython's memory allocator. If Python is :ref:`built in debug mode <debug-build>` (:option:`configure --with-pydebug option <--with-pydebug>`), it also performs some expensive internal consistency checks.
trusted_official_docs
CPython Docs
Print low-level information to stderr about the state of CPython's memory allocator. If Python is :ref:`built in debug mode <debug-build>` (:option:`configure --with-pydebug option <--with-pydebug>`), it also performs some expensive internal consistency checks.
Print low-level information to stderr about the state of CPython's memory allocator. If Python is :ref:`built in debug mode <debug-build>` (:option:`configure --with-pydebug option <--with-pydebug>`), it also performs some expensive internal consistency checks.
python, official-docs, cpython, P0
Local_Trusted_Corpus
f3c82736-24cb-44d3-a2ba-626fdfd55c53
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,341
supabase-export-v2
44dbd948535dc452
.. impl-detail:: JIT compilation is an *experimental implementation detail* of CPython. ``sys._jit`` is not guaranteed to exist or behave the same way in all Python implementations, versions, or build configurations.
trusted_official_docs
CPython Docs
.. impl-detail:: JIT compilation is an *experimental implementation detail* of CPython. ``sys._jit`` is not guaranteed to exist or behave the same way in all Python implementations, versions, or build configurations.
.. impl-detail:: JIT compilation is an *experimental implementation detail* of CPython. ``sys._jit`` is not guaranteed to exist or behave the same way in all Python implementations, versions, or build configurations.
python, official-docs, cpython, P0
Local_Trusted_Corpus
f4573ac3-a924-47cf-85e2-bc686e9378e1
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,446
supabase-export-v2
f5f50c3fa98dd914
from .spam import eggs`` passes ``package.spam``) * *fromlist* is the tuple of names being imported (for ``from ... import`` statements), or ``None`` for regular imports The filter should return ``True`` to allow the import to be lazy, or ``False`` to force an eager import.
trusted_official_docs
CPython Docs
from .spam import eggs`` passes ``package.spam``) * *fromlist* is the tuple of names being imported (for ``from ... import`` statements), or ``None`` for regular imports The filter should return ``True`` to allow the import to be lazy, or ``False`` to force an eager import.
from .spam import eggs`` passes ``package.spam``) * *fromlist* is the tuple of names being imported (for ``from ... import`` statements), or ``None`` for regular imports The filter should return ``True`` to allow the import to be lazy, or ``False`` to force an eager import.
python, official-docs, cpython, P0
Local_Trusted_Corpus
f47dfec3-a54c-4d79-a581-91b7a8bc2c2a
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,216
supabase-export-v2
13c34170fe3c63ee
.. function:: getsizeof(object[, default]) Return the size of an object in bytes. The object can be any type of object. All built-in objects will return correct results, but this does not have to hold true for third-party extensions as it is implementation specific.
trusted_official_docs
CPython Docs
.. function:: getsizeof(object[, default]) Return the size of an object in bytes. The object can be any type of object. All built-in objects will return correct results, but this does not have to hold true for third-party extensions as it is implementation specific.
.. function:: getsizeof(object[, default]) Return the size of an object in bytes. The object can be any type of object. All built-in objects will return correct results, but this does not have to hold true for third-party extensions as it is implementation specific.
python, official-docs, cpython, P0
Local_Trusted_Corpus
f6b82382-04b2-4527-8a22-7ef8efab83ac
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,426
supabase-export-v2
3cc242c2173dc4cf
.. index:: single: interpreter prompts single: prompts, interpreter single: >>>; interpreter prompt single: ...; interpreter prompt Strings specifying the primary and secondary prompt of the interpreter. These are only defined if the interpreter is in interactive mode. Their initial values in this case are ``'>>> '``...
trusted_official_docs
CPython Docs
.. index:: single: interpreter prompts single: prompts, interpreter single: >>>; interpreter prompt single: ...; interpreter prompt Strings specifying the primary and secondary prompt of the interpreter. These are only defined if the interpreter is in interactive mode. Their initial values in this case are ``'>>> '``...
.. index:: single: interpreter prompts single: prompts, interpreter single: >>>; interpreter prompt single: ...; interpreter prompt Strings specifying the primary and secondary prompt of the interpreter. These are only defined if the interpreter is in interactive mode. Their initial values in this case are ``'>>> '``...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f8d22188-a98b-4807-90ff-ac5ed63f3faf
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,526
supabase-export-v2
8efde1f063cf0105
<auditing>` ``cpython.remote_debugger_script`` is raised with the path in the remote process. This event is raised in the remote process, not the one that called :func:`sys.remote_exec`. .. availability:: Unix, Windows. .. versionadded:: 3.14 See :pep:`768` for more details.
trusted_official_docs
CPython Docs
<auditing>` ``cpython.remote_debugger_script`` is raised with the path in the remote process. This event is raised in the remote process, not the one that called :func:`sys.remote_exec`. .. availability:: Unix, Windows. .. versionadded:: 3.14 See :pep:`768` for more details.
<auditing>` ``cpython.remote_debugger_script`` is raised with the path in the remote process. This event is raised in the remote process, not the one that called :func:`sys.remote_exec`. .. availability:: Unix, Windows. .. versionadded:: 3.14 See :pep:`768` for more details.
python, official-docs, cpython, P0
Local_Trusted_Corpus
faa00109-2000-4edb-ac5f-0780b34500f2
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
12,963
supabase-export-v2
d7f0a15ea1fc99ae
some systems support both 32- and 64-bit builds. The available entries are the same on all platforms; e.g. *pointer_size* is available even on 64-bit-only architectures. The following attributes are available:
trusted_official_docs
CPython Docs
some systems support both 32- and 64-bit builds. The available entries are the same on all platforms; e.g. *pointer_size* is available even on 64-bit-only architectures. The following attributes are available:
some systems support both 32- and 64-bit builds. The available entries are the same on all platforms; e.g. *pointer_size* is available even on 64-bit-only architectures. The following attributes are available:
python, official-docs, cpython, P0
Local_Trusted_Corpus
fae2692b-10db-4368-8fc6-84584dac81c9
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,330
supabase-export-v2
51b6d054938a0383
compare. Normally, the names used in Python programs are automatically interned, and the dictionaries used to hold module, class or instance attributes have interned keys. Interned strings are not :term:`immortal`; you must keep a reference to the return value of :func:`intern` around to benefit from it.
trusted_official_docs
CPython Docs
compare. Normally, the names used in Python programs are automatically interned, and the dictionaries used to hold module, class or instance attributes have interned keys. Interned strings are not :term:`immortal`; you must keep a reference to the return value of :func:`intern` around to benefit from it.
compare. Normally, the names used in Python programs are automatically interned, and the dictionaries used to hold module, class or instance attributes have interned keys. Interned strings are not :term:`immortal`; you must keep a reference to the return value of :func:`intern` around to benefit from it.
python, official-docs, cpython, P0
Local_Trusted_Corpus
fe1cf600-f40c-4a66-aa20-37b297fcdd4c
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,541
supabase-export-v2
e05a9b7f14e79f1b
codepages at startup, respectively for stdin and stdout/stderr. This defaults to the system :term:`locale encoding` if the process is not initially attached to a console. The special behaviour of the console can be overridden by setting the environment variable PYTHONLEGACYWINDOWSSTDIO before starting Python. In that...
trusted_official_docs
CPython Docs
codepages at startup, respectively for stdin and stdout/stderr. This defaults to the system :term:`locale encoding` if the process is not initially attached to a console. The special behaviour of the console can be overridden by setting the environment variable PYTHONLEGACYWINDOWSSTDIO before starting Python. In that...
codepages at startup, respectively for stdin and stdout/stderr. This defaults to the system :term:`locale encoding` if the process is not initially attached to a console. The special behaviour of the console can be overridden by setting the environment variable PYTHONLEGACYWINDOWSSTDIO before starting Python. In that...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ffb7ff7d-f851-4366-bf68-653bf0d8e735
CPython Docs
file://datasets/cpython/Doc/library/sys.rst
unknown
7e51531c-cb3f-4d3e-a4d6-a6670eb7c560
13,296
supabase-export-v2
ffaa53dbbb610f75
result of passing it to the built-in :func:`hex` function. The :term:`named tuple` :data:`sys.version_info` may be used for a more human-friendly encoding of the same information. More details of ``hexversion`` can be found at :ref:`apiabiversion`.
trusted_official_docs
CPython Docs
result of passing it to the built-in :func:`hex` function. The :term:`named tuple` :data:`sys.version_info` may be used for a more human-friendly encoding of the same information. More details of ``hexversion`` can be found at :ref:`apiabiversion`.
result of passing it to the built-in :func:`hex` function. The :term:`named tuple` :data:`sys.version_info` may be used for a more human-friendly encoding of the same information. More details of ``hexversion`` can be found at :ref:`apiabiversion`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
56b8ef67-8679-426a-b381-ab3e5e5ae409
CPython Docs
file://datasets/cpython/Doc/library/cgi.rst
unknown
e5d894df-50c9-43a4-be43-5242d908670f
13,612
supabase-export-v2
500ec03b2c3595cb
on PyPI can be used instead: :pypi:`legacy-cgi`. This is a copy of the cgi module, no longer maintained or supported by the core Python team. The last version of Python that provided the :mod:`!cgi` module was `Python 3.12 <https://docs.python.org/3.12/library/cgi.html>`_.
trusted_official_docs
CPython Docs
on PyPI can be used instead: :pypi:`legacy-cgi`. This is a copy of the cgi module, no longer maintained or supported by the core Python team. The last version of Python that provided the :mod:`!cgi` module was `Python 3.12 <https://docs.python.org/3.12/library/cgi.html>`_.
on PyPI can be used instead: :pypi:`legacy-cgi`. This is a copy of the cgi module, no longer maintained or supported by the core Python team. The last version of Python that provided the :mod:`!cgi` module was `Python 3.12 <https://docs.python.org/3.12/library/cgi.html>`_.
python, official-docs, cpython, P0
Local_Trusted_Corpus
cff78512-681f-4542-90d1-b868bec633dc
CPython Docs
file://datasets/cpython/Doc/library/cgi.rst
unknown
e5d894df-50c9-43a4-be43-5242d908670f
13,611
supabase-export-v2
2e508c579ede431b
part of the Python standard library. It was :ref:`removed in Python 3.13 <whatsnew313-pep594>` after being deprecated in Python 3.11. The removal was decided in :pep:`594`. A fork of the module on PyPI can be used instead: :pypi:`legacy-cgi`. This is a copy of the cgi module, no longer maintained or supported by the co...
trusted_official_docs
CPython Docs
part of the Python standard library. It was :ref:`removed in Python 3.13 <whatsnew313-pep594>` after being deprecated in Python 3.11. The removal was decided in :pep:`594`. A fork of the module on PyPI can be used instead: :pypi:`legacy-cgi`. This is a copy of the cgi module, no longer maintained or supported by the co...
part of the Python standard library. It was :ref:`removed in Python 3.13 <whatsnew313-pep594>` after being deprecated in Python 3.11. The removal was decided in :pep:`594`. A fork of the module on PyPI can be used instead: :pypi:`legacy-cgi`. This is a copy of the cgi module, no longer maintained or supported by the co...
python, official-docs, cpython, P0
Local_Trusted_Corpus
04ffa3c0-0bca-4967-b9ad-663ae70d7ee0
CPython Docs
file://datasets/cpython/Doc/library/calendar.rst
unknown
1a655c14-ac94-44f1-af6a-407c4714cd86
13,637
supabase-export-v2
82ed2f2c91f869f2
.. method:: itermonthdays(year, month) Return an iterator for the month *month* in the year *year* similar to :meth:`itermonthdates`, but not restricted by the :class:`datetime.date` range. Days returned will simply be day of the month numbers. For the days outside of the specified month, the day number is ``0``.
trusted_official_docs
CPython Docs
.. method:: itermonthdays(year, month) Return an iterator for the month *month* in the year *year* similar to :meth:`itermonthdates`, but not restricted by the :class:`datetime.date` range. Days returned will simply be day of the month numbers. For the days outside of the specified month, the day number is ``0``.
.. method:: itermonthdays(year, month) Return an iterator for the month *month* in the year *year* similar to :meth:`itermonthdates`, but not restricted by the :class:`datetime.date` range. Days returned will simply be day of the month numbers. For the days outside of the specified month, the day number is ``0``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
080beb94-ed6e-42e8-af15-3ac6277bcf2c
CPython Docs
file://datasets/cpython/Doc/library/calendar.rst
unknown
1a655c14-ac94-44f1-af6a-407c4714cd86
13,832
supabase-export-v2
401c5898ce6454d2
The number of lines for each week in terminal rows. The date is printed top-aligned. Any value lower than 1 is ignored. Defaults to 1. .. option:: --spacing SPACING, -s SPACING
trusted_official_docs
CPython Docs
The number of lines for each week in terminal rows. The date is printed top-aligned. Any value lower than 1 is ignored. Defaults to 1. .. option:: --spacing SPACING, -s SPACING
The number of lines for each week in terminal rows. The date is printed top-aligned. Any value lower than 1 is ignored. Defaults to 1. .. option:: --spacing SPACING, -s SPACING
python, official-docs, cpython, P0
Local_Trusted_Corpus
09c8daec-6f89-410e-8d90-e9ec52209bbe
CPython Docs
file://datasets/cpython/Doc/library/calendar.rst
unknown
1a655c14-ac94-44f1-af6a-407c4714cd86
13,691
supabase-export-v2
69b50154dcb1738a
.. method:: formatmonthname(theyear, themonth, withyear=True) Return a month name as an HTML table row. If *withyear* is true the year will be included in the row, otherwise just the month name will be used.
trusted_official_docs
CPython Docs
.. method:: formatmonthname(theyear, themonth, withyear=True) Return a month name as an HTML table row. If *withyear* is true the year will be included in the row, otherwise just the month name will be used.
.. method:: formatmonthname(theyear, themonth, withyear=True) Return a month name as an HTML table row. If *withyear* is true the year will be included in the row, otherwise just the month name will be used.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0b98a04e-0b3e-48b9-a994-b0c2257c3ce6
CPython Docs
file://datasets/cpython/Doc/library/calendar.rst
unknown
1a655c14-ac94-44f1-af6a-407c4714cd86
13,649
supabase-export-v2
0aea571b2d96a1cb
.. method:: monthdays2calendar(year, month) Return a list of the weeks in the month *month* of the *year* as full weeks. Weeks are lists of seven tuples of day numbers and weekday numbers.
trusted_official_docs
CPython Docs
.. method:: monthdays2calendar(year, month) Return a list of the weeks in the month *month* of the *year* as full weeks. Weeks are lists of seven tuples of day numbers and weekday numbers.
.. method:: monthdays2calendar(year, month) Return a list of the weeks in the month *month* of the *year* as full weeks. Weeks are lists of seven tuples of day numbers and weekday numbers.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0e0503d1-7996-46f9-8091-91a75229ca5d
CPython Docs
file://datasets/cpython/Doc/library/calendar.rst
unknown
1a655c14-ac94-44f1-af6a-407c4714cd86
13,773
supabase-export-v2
96072819b3f8aa68
.. data:: month_abbr A sequence that represents the abbreviated months of the year in the current locale. This follows normal convention of January being month number 1, so it has a length of 13 and ``month_abbr[0]`` is the empty string.
trusted_official_docs
CPython Docs
.. data:: month_abbr A sequence that represents the abbreviated months of the year in the current locale. This follows normal convention of January being month number 1, so it has a length of 13 and ``month_abbr[0]`` is the empty string.
.. data:: month_abbr A sequence that represents the abbreviated months of the year in the current locale. This follows normal convention of January being month number 1, so it has a length of 13 and ``month_abbr[0]`` is the empty string.
python, official-docs, cpython, P0
Local_Trusted_Corpus
11bf2e00-dfdf-4b67-9cad-edb299b1e4e5
CPython Docs
file://datasets/cpython/Doc/library/calendar.rst
unknown
1a655c14-ac94-44f1-af6a-407c4714cd86
13,653
supabase-export-v2
a83e059415820b64
.. method:: yeardatescalendar(year, width=3) Return the data for the specified year ready for formatting. The return value is a list of month rows. Each month row contains up to *width* months (defaulting to 3). Each month contains between 4 and 6 weeks and each week contains 1--7 days. Days are :class:`datetime.dat...
trusted_official_docs
CPython Docs
.. method:: yeardatescalendar(year, width=3) Return the data for the specified year ready for formatting. The return value is a list of month rows. Each month row contains up to *width* months (defaulting to 3). Each month contains between 4 and 6 weeks and each week contains 1--7 days. Days are :class:`datetime.dat...
.. method:: yeardatescalendar(year, width=3) Return the data for the specified year ready for formatting. The return value is a list of month rows. Each month row contains up to *width* months (defaulting to 3). Each month contains between 4 and 6 weeks and each week contains 1--7 days. Days are :class:`datetime.dat...
python, official-docs, cpython, P0
Local_Trusted_Corpus
15029b1d-0ca4-4931-816c-c9c2b191fbf8
CPython Docs
file://datasets/cpython/Doc/library/calendar.rst
unknown
1a655c14-ac94-44f1-af6a-407c4714cd86
13,826
supabase-export-v2
9bef00be63035a6b
.. option:: month The month of the specified :option:`year` to print the calendar for. Must be a number between 1 and 12. Defaults to printing a calendar for the full year.
trusted_official_docs
CPython Docs
.. option:: month The month of the specified :option:`year` to print the calendar for. Must be a number between 1 and 12. Defaults to printing a calendar for the full year.
.. option:: month The month of the specified :option:`year` to print the calendar for. Must be a number between 1 and 12. Defaults to printing a calendar for the full year.
python, official-docs, cpython, P0
Local_Trusted_Corpus
17c40b92-8f80-4cd6-ab1e-20bd7cdfb2ac
CPython Docs
file://datasets/cpython/Doc/library/calendar.rst
unknown
1a655c14-ac94-44f1-af6a-407c4714cd86
13,809
supabase-export-v2
442f35203694c56a
25 26 27 20 21 22 23 24 25 26 24 25 26 27 28 29 30 28 29 27 28 29 30 31 31 April May June Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su 1 2 1 2 3 4 5 6 7 1 2 3 4 3 4 5 6 7 8 9 8 9 10 11 12 13 14 5 6 7 8 9 10 11 10 11 12 13 14 15 16 15 16 17 18 19 20 21 12 13 14 15 16 17 18 17 18 19 20 21 22 23 22 ...
trusted_official_docs
CPython Docs
25 26 27 20 21 22 23 24 25 26 24 25 26 27 28 29 30 28 29 27 28 29 30 31 31 April May June Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su 1 2 1 2 3 4 5 6 7 1 2 3 4 3 4 5 6 7 8 9 8 9 10 11 12 13 14 5 6 7 8 9 10 11 10 11 12 13 14 15 16 15 16 17 18 19 20 21 12 13 14 15 16 17 18 17 18 19 20 21 22 23 22 ...
25 26 27 20 21 22 23 24 25 26 24 25 26 27 28 29 30 28 29 27 28 29 30 31 31 April May June Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su 1 2 1 2 3 4 5 6 7 1 2 3 4 3 4 5 6 7 8 9 8 9 10 11 12 13 14 5 6 7 8 9 10 11 10 11 12 13 14 15 16 15 16 17 18 19 20 21 12 13 14 15 16 17 18 17 18 19 20 21 22 23 22 ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
23deb9e0-b5da-416d-8ea1-ceacabf67103
CPython Docs
file://datasets/cpython/Doc/library/calendar.rst
unknown
1a655c14-ac94-44f1-af6a-407c4714cd86
13,776
supabase-export-v2
4e5ae567771e3624
.. caution:: In locales with alternative month names forms, the :data:`!month_abbr` sequence may not be suitable when a month name stands by itself and not as part of a date. Use :data:`standalone_month_abbr` for a form suitable for standalone use.
trusted_official_docs
CPython Docs
.. caution:: In locales with alternative month names forms, the :data:`!month_abbr` sequence may not be suitable when a month name stands by itself and not as part of a date. Use :data:`standalone_month_abbr` for a form suitable for standalone use.
.. caution:: In locales with alternative month names forms, the :data:`!month_abbr` sequence may not be suitable when a month name stands by itself and not as part of a date. Use :data:`standalone_month_abbr` for a form suitable for standalone use.
python, official-docs, cpython, P0
Local_Trusted_Corpus