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
0640d602-0061-4b36-848c-9a080c94a074
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,386
supabase-export-v2
fd9d9bf24609e1b3
passed to the built-in :func:`compile` function. Accepts also a sequence of optimization levels which lead to multiple compilations of one :file:`.py` file in one call. The argument *workers* specifies how many workers are used to compile files in parallel. The default is to not use multiple workers. If the platform c...
trusted_official_docs
CPython Docs
passed to the built-in :func:`compile` function. Accepts also a sequence of optimization levels which lead to multiple compilations of one :file:`.py` file in one call. The argument *workers* specifies how many workers are used to compile files in parallel. The default is to not use multiple workers. If the platform c...
passed to the built-in :func:`compile` function. Accepts also a sequence of optimization levels which lead to multiple compilations of one :file:`.py` file in one call. The argument *workers* specifies how many workers are used to compile files in parallel. The default is to not use multiple workers. If the platform c...
python, official-docs, cpython, P0
Local_Trusted_Corpus
132eeedd-41f6-4d8b-9663-01c89bdd075f
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,337
supabase-export-v2
7ef50115a34ac7e2
.. option:: directory ... file ... Positional arguments are files to compile or directories that contain source files, traversed recursively. If no argument is given, behave as if the command line was :samp:`-l {<directories from sys.path>}`.
trusted_official_docs
CPython Docs
.. option:: directory ... file ... Positional arguments are files to compile or directories that contain source files, traversed recursively. If no argument is given, behave as if the command line was :samp:`-l {<directories from sys.path>}`.
.. option:: directory ... file ... Positional arguments are files to compile or directories that contain source files, traversed recursively. If no argument is given, behave as if the command line was :samp:`-l {<directories from sys.path>}`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
18ebf754-9c58-4068-8602-af9275fdb9f7
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,373
supabase-export-v2
dc49c8002e94f5c3
.. versionchanged:: 3.7 Added the ``--invalidation-mode`` option. .. versionchanged:: 3.9 Added the ``-s``, ``-p``, ``-e`` and ``--hardlink-dupes`` options. Raised the default recursion limit from 10 to :py:func:`sys.getrecursionlimit()`. Added the possibility to specify the ``-o`` option multiple times.
trusted_official_docs
CPython Docs
.. versionchanged:: 3.7 Added the ``--invalidation-mode`` option. .. versionchanged:: 3.9 Added the ``-s``, ``-p``, ``-e`` and ``--hardlink-dupes`` options. Raised the default recursion limit from 10 to :py:func:`sys.getrecursionlimit()`. Added the possibility to specify the ``-o`` option multiple times.
.. versionchanged:: 3.7 Added the ``--invalidation-mode`` option. .. versionchanged:: 3.9 Added the ``-s``, ``-p``, ``-e`` and ``--hardlink-dupes`` options. Raised the default recursion limit from 10 to :py:func:`sys.getrecursionlimit()`. Added the possibility to specify the ``-o`` option multiple times.
python, official-docs, cpython, P0
Local_Trusted_Corpus
1f1330f6-2897-482f-a45e-2bbd2f006e15
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,371
supabase-export-v2
8e2bb16f06cc6b13
.. versionchanged:: 3.2 Added the ``-i``, ``-b`` and ``-h`` options. .. versionchanged:: 3.5 Added the ``-j``, ``-r``, and ``-qq`` options. ``-q`` option was changed to a multilevel value. ``-b`` will always produce a byte-code file ending in ``.pyc``, never ``.pyo``.
trusted_official_docs
CPython Docs
.. versionchanged:: 3.2 Added the ``-i``, ``-b`` and ``-h`` options. .. versionchanged:: 3.5 Added the ``-j``, ``-r``, and ``-qq`` options. ``-q`` option was changed to a multilevel value. ``-b`` will always produce a byte-code file ending in ``.pyc``, never ``.pyo``.
.. versionchanged:: 3.2 Added the ``-i``, ``-b`` and ``-h`` options. .. versionchanged:: 3.5 Added the ``-j``, ``-r``, and ``-qq`` options. ``-q`` option was changed to a multilevel value. ``-b`` will always produce a byte-code file ending in ``.pyc``, never ``.pyo``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
28d9218e-d2fb-4e5d-beb5-fe1356e43dd7
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,383
supabase-export-v2
d9a457790a91daec
returns a true value, the file is skipped. This can be used to exclude files matching a regular expression, given as a :ref:`re.Pattern <re-objects>` object. If *quiet* is ``False`` or ``0`` (the default), the filenames and other information are printed to standard out. Set to ``1``, only errors are printed. Set to `...
trusted_official_docs
CPython Docs
returns a true value, the file is skipped. This can be used to exclude files matching a regular expression, given as a :ref:`re.Pattern <re-objects>` object. If *quiet* is ``False`` or ``0`` (the default), the filenames and other information are printed to standard out. Set to ``1``, only errors are printed. Set to `...
returns a true value, the file is skipped. This can be used to exclude files matching a regular expression, given as a :ref:`re.Pattern <re-objects>` object. If *quiet* is ``False`` or ``0`` (the default), the filenames and other information are printed to standard out. Set to ``1``, only errors are printed. Set to `...
python, official-docs, cpython, P0
Local_Trusted_Corpus
29559e2b-2e0e-4bcf-b71c-8190258a398e
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,374
supabase-export-v2
a8ebaaf788dbe316
``-s``, ``-p``, ``-e`` and ``--hardlink-dupes`` options. Raised the default recursion limit from 10 to :py:func:`sys.getrecursionlimit()`. Added the possibility to specify the ``-o`` option multiple times. There is no command-line option to control the optimization level used by the :func:`compile` function, because th...
trusted_official_docs
CPython Docs
``-s``, ``-p``, ``-e`` and ``--hardlink-dupes`` options. Raised the default recursion limit from 10 to :py:func:`sys.getrecursionlimit()`. Added the possibility to specify the ``-o`` option multiple times. There is no command-line option to control the optimization level used by the :func:`compile` function, because th...
``-s``, ``-p``, ``-e`` and ``--hardlink-dupes`` options. Raised the default recursion limit from 10 to :py:func:`sys.getrecursionlimit()`. Added the possibility to specify the ``-o`` option multiple times. There is no command-line option to control the optimization level used by the :func:`compile` function, because th...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2a02623a-36ad-4341-be14-d1aac665801d
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,416
supabase-export-v2
68f6647d4ba5ecea
.. function:: compile_path(skip_curdir=True, maxlevels=0, force=False, quiet=0, legacy=False, optimize=-1, invalidation_mode=None) Byte-compile all the :file:`.py` files found along ``sys.path``. Return a true value if all the files compiled successfully, and a false value otherwise.
trusted_official_docs
CPython Docs
.. function:: compile_path(skip_curdir=True, maxlevels=0, force=False, quiet=0, legacy=False, optimize=-1, invalidation_mode=None) Byte-compile all the :file:`.py` files found along ``sys.path``. Return a true value if all the files compiled successfully, and a false value otherwise.
.. function:: compile_path(skip_curdir=True, maxlevels=0, force=False, quiet=0, legacy=False, optimize=-1, invalidation_mode=None) Byte-compile all the :file:`.py` files found along ``sys.path``. Return a true value if all the files compiled successfully, and a false value otherwise.
python, official-docs, cpython, P0
Local_Trusted_Corpus
324c0657-04bc-4b1f-abd6-3eee79e0206f
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,372
supabase-export-v2
4c36543b3ed85371
``-j``, ``-r``, and ``-qq`` options. ``-q`` option was changed to a multilevel value. ``-b`` will always produce a byte-code file ending in ``.pyc``, never ``.pyo``. .. versionchanged:: 3.7 Added the ``--invalidation-mode`` option.
trusted_official_docs
CPython Docs
``-j``, ``-r``, and ``-qq`` options. ``-q`` option was changed to a multilevel value. ``-b`` will always produce a byte-code file ending in ``.pyc``, never ``.pyo``. .. versionchanged:: 3.7 Added the ``--invalidation-mode`` option.
``-j``, ``-r``, and ``-qq`` options. ``-q`` option was changed to a multilevel value. ``-b`` will always produce a byte-code file ending in ``.pyc``, never ``.pyo``. .. versionchanged:: 3.7 Added the ``--invalidation-mode`` option.
python, official-docs, cpython, P0
Local_Trusted_Corpus
33e3bf00-9e98-40c5-b15c-7210e0b9be51
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,351
supabase-export-v2
cea0aabc7adfde73
Prepend the given prefix to paths recorded in the ``.pyc`` files. Use ``-p /`` to make the paths absolute. This option can be used with ``-s`` but not with ``-d``.
trusted_official_docs
CPython Docs
Prepend the given prefix to paths recorded in the ``.pyc`` files. Use ``-p /`` to make the paths absolute. This option can be used with ``-s`` but not with ``-d``.
Prepend the given prefix to paths recorded in the ``.pyc`` files. Use ``-p /`` to make the paths absolute. This option can be used with ``-s`` but not with ``-d``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
344310e3-dca4-40c0-be9e-5dcaae43e9f8
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,401
supabase-export-v2
fdf83eb013c55ea9
Compile the file with path *fullname*. Return a true value if the file compiled successfully, and a false value otherwise. If *ddir* is given, it is prepended to the path to the file being compiled for use in compilation time tracebacks, and is also compiled in to the byte-code file, where it will be used in tracebac...
trusted_official_docs
CPython Docs
Compile the file with path *fullname*. Return a true value if the file compiled successfully, and a false value otherwise. If *ddir* is given, it is prepended to the path to the file being compiled for use in compilation time tracebacks, and is also compiled in to the byte-code file, where it will be used in tracebac...
Compile the file with path *fullname*. Return a true value if the file compiled successfully, and a false value otherwise. If *ddir* is given, it is prepended to the path to the file being compiled for use in compilation time tracebacks, and is also compiled in to the byte-code file, where it will be used in tracebac...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3ca2817a-e98d-451e-ba0e-31c09fc9ad46
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,403
supabase-export-v2
ea9b280b882948ca
file is not compiled and ``True`` is returned. This can be used to exclude files matching a regular expression, given as a :ref:`re.Pattern <re-objects>` object. If *quiet* is ``False`` or ``0`` (the default), the filenames and other information are printed to standard out. Set to ``1``, only errors are printed. Set ...
trusted_official_docs
CPython Docs
file is not compiled and ``True`` is returned. This can be used to exclude files matching a regular expression, given as a :ref:`re.Pattern <re-objects>` object. If *quiet* is ``False`` or ``0`` (the default), the filenames and other information are printed to standard out. Set to ``1``, only errors are printed. Set ...
file is not compiled and ``True`` is returned. This can be used to exclude files matching a regular expression, given as a :ref:`re.Pattern <re-objects>` object. If *quiet* is ``False`` or ``0`` (the default), the filenames and other information are printed to standard out. Set to ``1``, only errors are printed. Set ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
45829712-7f4c-4365-96e1-d58035730e4d
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,363
supabase-export-v2
af6a34a4f22e21f6
.. option:: --invalidation-mode [timestamp|checked-hash|unchecked-hash] Control how the generated byte-code files are invalidated at runtime. The ``timestamp`` value, means that ``.pyc`` files with the source timestamp and size embedded will be generated. The ``checked-hash`` and ``unchecked-hash`` values cause hash-...
trusted_official_docs
CPython Docs
.. option:: --invalidation-mode [timestamp|checked-hash|unchecked-hash] Control how the generated byte-code files are invalidated at runtime. The ``timestamp`` value, means that ``.pyc`` files with the source timestamp and size embedded will be generated. The ``checked-hash`` and ``unchecked-hash`` values cause hash-...
.. option:: --invalidation-mode [timestamp|checked-hash|unchecked-hash] Control how the generated byte-code files are invalidated at runtime. The ``timestamp`` value, means that ``.pyc`` files with the source timestamp and size embedded will be generated. The ``checked-hash`` and ``unchecked-hash`` values cause hash-...
python, official-docs, cpython, P0
Local_Trusted_Corpus
49f14ad1-61e4-4f87-92ee-6091d0522835
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,357
supabase-export-v2
02e61932ee05fe1f
.. option:: -b Write the byte-code files to their legacy locations and names, which may overwrite byte-code files created by another version of Python. The default is to write files to their :pep:`3147` locations and names, which allows byte-code files from multiple versions of Python to coexist.
trusted_official_docs
CPython Docs
.. option:: -b Write the byte-code files to their legacy locations and names, which may overwrite byte-code files created by another version of Python. The default is to write files to their :pep:`3147` locations and names, which allows byte-code files from multiple versions of Python to coexist.
.. option:: -b Write the byte-code files to their legacy locations and names, which may overwrite byte-code files created by another version of Python. The default is to write files to their :pep:`3147` locations and names, which allows byte-code files from multiple versions of Python to coexist.
python, official-docs, cpython, P0
Local_Trusted_Corpus
523c3734-863d-432c-bfcc-08630ca1776a
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,380
supabase-export-v2
1a72f26aef99b520
The *maxlevels* parameter is used to limit the depth of the recursion; it defaults to ``sys.getrecursionlimit()``. If *ddir* is given, it is prepended to the path to each file being compiled for use in compilation time tracebacks, and is also compiled in to the byte-code file, where it will be used in tracebacks and ...
trusted_official_docs
CPython Docs
The *maxlevels* parameter is used to limit the depth of the recursion; it defaults to ``sys.getrecursionlimit()``. If *ddir* is given, it is prepended to the path to each file being compiled for use in compilation time tracebacks, and is also compiled in to the byte-code file, where it will be used in tracebacks and ...
The *maxlevels* parameter is used to limit the depth of the recursion; it defaults to ``sys.getrecursionlimit()``. If *ddir* is given, it is prepended to the path to each file being compiled for use in compilation time tracebacks, and is also compiled in to the byte-code file, where it will be used in tracebacks and ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
71e7a918-601c-4d05-9aa3-df2f9076bcff
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,382
supabase-export-v2
c1d70cc8dd9fb374
If *force* is true, modules are re-compiled even if the timestamps are up to date. If *rx* is given, its ``search`` method is called on the complete path to each file considered for compilation, and if it returns a true value, the file is skipped. This can be used to exclude files matching a regular expression, give...
trusted_official_docs
CPython Docs
If *force* is true, modules are re-compiled even if the timestamps are up to date. If *rx* is given, its ``search`` method is called on the complete path to each file considered for compilation, and if it returns a true value, the file is skipped. This can be used to exclude files matching a regular expression, give...
If *force* is true, modules are re-compiled even if the timestamps are up to date. If *rx* is given, its ``search`` method is called on the complete path to each file considered for compilation, and if it returns a true value, the file is skipped. This can be used to exclude files matching a regular expression, give...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7341a649-2e87-4b59-a263-f547e8e941d8
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,389
supabase-export-v2
ed2ad7683cf767f4
The *stripdir*, *prependdir* and *limit_sl_dest* arguments correspond to the ``-s``, ``-p`` and ``-e`` options described above. They may be specified as ``str`` or :py:class:`os.PathLike`. If *hardlink_dupes* is true and two ``.pyc`` files with different optimization level have the same content, use hard links to cons...
trusted_official_docs
CPython Docs
The *stripdir*, *prependdir* and *limit_sl_dest* arguments correspond to the ``-s``, ``-p`` and ``-e`` options described above. They may be specified as ``str`` or :py:class:`os.PathLike`. If *hardlink_dupes* is true and two ``.pyc`` files with different optimization level have the same content, use hard links to cons...
The *stripdir*, *prependdir* and *limit_sl_dest* arguments correspond to the ``-s``, ``-p`` and ``-e`` options described above. They may be specified as ``str`` or :py:class:`os.PathLike`. If *hardlink_dupes* is true and two ``.pyc`` files with different optimization level have the same content, use hard links to cons...
python, official-docs, cpython, P0
Local_Trusted_Corpus
767f0754-7a27-471d-9fac-79aeb329cfb2
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,387
supabase-export-v2
943ccd3802b6dd9c
fallback. If *workers* is 0, the number of cores in the system is used. If *workers* is lower than ``0``, a :exc:`ValueError` will be raised. *invalidation_mode* should be a member of the :class:`py_compile.PycInvalidationMode` enum and controls how the generated pycs are invalidated at runtime.
trusted_official_docs
CPython Docs
fallback. If *workers* is 0, the number of cores in the system is used. If *workers* is lower than ``0``, a :exc:`ValueError` will be raised. *invalidation_mode* should be a member of the :class:`py_compile.PycInvalidationMode` enum and controls how the generated pycs are invalidated at runtime.
fallback. If *workers* is 0, the number of cores in the system is used. If *workers* is lower than ``0``, a :exc:`ValueError` will be raised. *invalidation_mode* should be a member of the :class:`py_compile.PycInvalidationMode` enum and controls how the generated pycs are invalidated at runtime.
python, official-docs, cpython, P0
Local_Trusted_Corpus
8827fc62-51ee-42c5-bc7b-7a16b76e134e
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,375
supabase-export-v2
5267721f3e79b2b5
command-line option to control the optimization level used by the :func:`compile` function, because the Python interpreter itself already provides the option: :program:`python -O -m compileall`. Similarly, the :func:`compile` function respects the :data:`sys.pycache_prefix` setting. The generated bytecode cache will on...
trusted_official_docs
CPython Docs
command-line option to control the optimization level used by the :func:`compile` function, because the Python interpreter itself already provides the option: :program:`python -O -m compileall`. Similarly, the :func:`compile` function respects the :data:`sys.pycache_prefix` setting. The generated bytecode cache will on...
command-line option to control the optimization level used by the :func:`compile` function, because the Python interpreter itself already provides the option: :program:`python -O -m compileall`. Similarly, the :func:`compile` function respects the :data:`sys.pycache_prefix` setting. The generated bytecode cache will on...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9393fb6a-dcf2-4093-9fac-fcc054b36fe0
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,359
supabase-export-v2
2edd62db1a293de4
.. option:: -r Control the maximum recursion level for subdirectories. If this is given, then ``-l`` option will not be taken into account. :program:`python -m compileall <directory> -r 0` is equivalent to :program:`python -m compileall <directory> -l`.
trusted_official_docs
CPython Docs
.. option:: -r Control the maximum recursion level for subdirectories. If this is given, then ``-l`` option will not be taken into account. :program:`python -m compileall <directory> -r 0` is equivalent to :program:`python -m compileall <directory> -l`.
.. option:: -r Control the maximum recursion level for subdirectories. If this is given, then ``-l`` option will not be taken into account. :program:`python -m compileall <directory> -r 0` is equivalent to :program:`python -m compileall <directory> -l`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
9c70fefe-6a02-4ce6-9f7d-87ef54e88f19
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,393
supabase-export-v2
42fa8397c739e645
.. versionchanged:: 3.5 *quiet* parameter was changed to a multilevel value. .. versionchanged:: 3.5 The *legacy* parameter only writes out ``.pyc`` files, not ``.pyo`` files no matter what the value of *optimize* is.
trusted_official_docs
CPython Docs
.. versionchanged:: 3.5 *quiet* parameter was changed to a multilevel value. .. versionchanged:: 3.5 The *legacy* parameter only writes out ``.pyc`` files, not ``.pyo`` files no matter what the value of *optimize* is.
.. versionchanged:: 3.5 *quiet* parameter was changed to a multilevel value. .. versionchanged:: 3.5 The *legacy* parameter only writes out ``.pyc`` files, not ``.pyo`` files no matter what the value of *optimize* is.
python, official-docs, cpython, P0
Local_Trusted_Corpus
a6f2c705-90bf-46b4-ab1a-62ab33742d30
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,355
supabase-export-v2
4d2ed34eb8ab0163
.. option:: -i list Read the file ``list`` and add each line that it contains to the list of files and directories to compile. If ``list`` is ``-``, read lines from ``stdin``.
trusted_official_docs
CPython Docs
.. option:: -i list Read the file ``list`` and add each line that it contains to the list of files and directories to compile. If ``list`` is ``-``, read lines from ``stdin``.
.. option:: -i list Read the file ``list`` and add each line that it contains to the list of files and directories to compile. If ``list`` is ``-``, read lines from ``stdin``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
a852a339-8ce6-45cb-92fa-f223bab87380
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,385
supabase-export-v2
42a5cb336c1fb487
of Python. The default is to write files to their :pep:`3147` locations and names, which allows byte-code files from multiple versions of Python to coexist. *optimize* specifies the optimization level for the compiler. It is passed to the built-in :func:`compile` function. Accepts also a sequence of optimization leve...
trusted_official_docs
CPython Docs
of Python. The default is to write files to their :pep:`3147` locations and names, which allows byte-code files from multiple versions of Python to coexist. *optimize* specifies the optimization level for the compiler. It is passed to the built-in :func:`compile` function. Accepts also a sequence of optimization leve...
of Python. The default is to write files to their :pep:`3147` locations and names, which allows byte-code files from multiple versions of Python to coexist. *optimize* specifies the optimization level for the compiler. It is passed to the built-in :func:`compile` function. Accepts also a sequence of optimization leve...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ab46df70-dbdc-46cd-b064-28e3aa59d201
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,365
supabase-export-v2
63b6a3817e5243fb
.. option:: -o level Compile with the given optimization level. May be used multiple times to compile for multiple levels at a time (for example, ``compileall -o 1 -o 2``).
trusted_official_docs
CPython Docs
.. option:: -o level Compile with the given optimization level. May be used multiple times to compile for multiple levels at a time (for example, ``compileall -o 1 -o 2``).
.. option:: -o level Compile with the given optimization level. May be used multiple times to compile for multiple levels at a time (for example, ``compileall -o 1 -o 2``).
python, official-docs, cpython, P0
Local_Trusted_Corpus
b675d468-7f4c-4093-bff7-55114314c8c3
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,399
supabase-export-v2
2bb6bc128c6f3708
.. versionchanged:: 3.9 Added *stripdir*, *prependdir*, *limit_sl_dest* and *hardlink_dupes* arguments. Default value of *maxlevels* was changed from ``10`` to ``sys.getrecursionlimit()`` .. function:: compile_file(fullname, ddir=None, force=False, rx=None, quiet=0, legacy=False, optimize=-1, invalidation_mode=None, *,...
trusted_official_docs
CPython Docs
.. versionchanged:: 3.9 Added *stripdir*, *prependdir*, *limit_sl_dest* and *hardlink_dupes* arguments. Default value of *maxlevels* was changed from ``10`` to ``sys.getrecursionlimit()`` .. function:: compile_file(fullname, ddir=None, force=False, rx=None, quiet=0, legacy=False, optimize=-1, invalidation_mode=None, *,...
.. versionchanged:: 3.9 Added *stripdir*, *prependdir*, *limit_sl_dest* and *hardlink_dupes* arguments. Default value of *maxlevels* was changed from ``10`` to ``sys.getrecursionlimit()`` .. function:: compile_file(fullname, ddir=None, force=False, rx=None, quiet=0, legacy=False, optimize=-1, invalidation_mode=None, *,...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c4857796-8c35-434e-a069-9903c731df41
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,390
supabase-export-v2
0d4cc76a4e7daeb3
If *hardlink_dupes* is true and two ``.pyc`` files with different optimization level have the same content, use hard links to consolidate duplicate files. .. versionchanged:: 3.2 Added the *legacy* and *optimize* parameter.
trusted_official_docs
CPython Docs
If *hardlink_dupes* is true and two ``.pyc`` files with different optimization level have the same content, use hard links to consolidate duplicate files. .. versionchanged:: 3.2 Added the *legacy* and *optimize* parameter.
If *hardlink_dupes* is true and two ``.pyc`` files with different optimization level have the same content, use hard links to consolidate duplicate files. .. versionchanged:: 3.2 Added the *legacy* and *optimize* parameter.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c796f33d-552e-48c6-8bb9-7d25bf911367
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,400
supabase-export-v2
30b2441aab3389cf
.. function:: compile_file(fullname, ddir=None, force=False, rx=None, quiet=0, legacy=False, optimize=-1, invalidation_mode=None, *, stripdir=None, prependdir=None, limit_sl_dest=None, hardlink_dupes=False) Compile the file with path *fullname*. Return a true value if the file compiled successfully, and a false value ...
trusted_official_docs
CPython Docs
.. function:: compile_file(fullname, ddir=None, force=False, rx=None, quiet=0, legacy=False, optimize=-1, invalidation_mode=None, *, stripdir=None, prependdir=None, limit_sl_dest=None, hardlink_dupes=False) Compile the file with path *fullname*. Return a true value if the file compiled successfully, and a false value ...
.. function:: compile_file(fullname, ddir=None, force=False, rx=None, quiet=0, legacy=False, optimize=-1, invalidation_mode=None, *, stripdir=None, prependdir=None, limit_sl_dest=None, hardlink_dupes=False) Compile the file with path *fullname*. Return a true value if the file compiled successfully, and a false value ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
cd8ddf5c-2190-4adf-b51d-9cb5ebb31cff
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,388
supabase-export-v2
180c4fb72e1a4d74
*invalidation_mode* should be a member of the :class:`py_compile.PycInvalidationMode` enum and controls how the generated pycs are invalidated at runtime. The *stripdir*, *prependdir* and *limit_sl_dest* arguments correspond to the ``-s``, ``-p`` and ``-e`` options described above. They may be specified as ``str`` or ...
trusted_official_docs
CPython Docs
*invalidation_mode* should be a member of the :class:`py_compile.PycInvalidationMode` enum and controls how the generated pycs are invalidated at runtime. The *stripdir*, *prependdir* and *limit_sl_dest* arguments correspond to the ``-s``, ``-p`` and ``-e`` options described above. They may be specified as ``str`` or ...
*invalidation_mode* should be a member of the :class:`py_compile.PycInvalidationMode` enum and controls how the generated pycs are invalidated at runtime. The *stripdir*, *prependdir* and *limit_sl_dest* arguments correspond to the ``-s``, ``-p`` and ``-e`` options described above. They may be specified as ``str`` or ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
cfe170b5-0edf-454b-97a5-6abffba8a5fb
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,345
supabase-export-v2
04b64b2b95a5bf52
.. option:: -d destdir Directory prepended to the path to each file being compiled. This will appear in compilation time tracebacks, and is also compiled in to the byte-code file, where it will be used in tracebacks and other messages in cases where the source file does not exist at the time the byte-code file is e...
trusted_official_docs
CPython Docs
.. option:: -d destdir Directory prepended to the path to each file being compiled. This will appear in compilation time tracebacks, and is also compiled in to the byte-code file, where it will be used in tracebacks and other messages in cases where the source file does not exist at the time the byte-code file is e...
.. option:: -d destdir Directory prepended to the path to each file being compiled. This will appear in compilation time tracebacks, and is also compiled in to the byte-code file, where it will be used in tracebacks and other messages in cases where the source file does not exist at the time the byte-code file is e...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d6ad9eeb-8a2f-4de6-b0da-6e50081eeaa5
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,381
supabase-export-v2
5c221d995340f96e
will be used in tracebacks and other messages in cases where the source file does not exist at the time the byte-code file is executed. If *force* is true, modules are re-compiled even if the timestamps are up to date.
trusted_official_docs
CPython Docs
will be used in tracebacks and other messages in cases where the source file does not exist at the time the byte-code file is executed. If *force* is true, modules are re-compiled even if the timestamps are up to date.
will be used in tracebacks and other messages in cases where the source file does not exist at the time the byte-code file is executed. If *force* is true, modules are re-compiled even if the timestamps are up to date.
python, official-docs, cpython, P0
Local_Trusted_Corpus
da020ee7-8c03-439e-982f-35cb3269bf48
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,402
supabase-export-v2
85ca5fb95db2506e
will be used in tracebacks and other messages in cases where the source file does not exist at the time the byte-code file is executed. If *rx* is given, its ``search`` method is passed the full path name to the file being compiled, and if it returns a true value, the file is not compiled and ``True`` is returned. Th...
trusted_official_docs
CPython Docs
will be used in tracebacks and other messages in cases where the source file does not exist at the time the byte-code file is executed. If *rx* is given, its ``search`` method is passed the full path name to the file being compiled, and if it returns a true value, the file is not compiled and ``True`` is returned. Th...
will be used in tracebacks and other messages in cases where the source file does not exist at the time the byte-code file is executed. If *rx* is given, its ``search`` method is passed the full path name to the file being compiled, and if it returns a true value, the file is not compiled and ``True`` is returned. Th...
python, official-docs, cpython, P0
Local_Trusted_Corpus
db6475dc-7844-47a6-af41-922b63a11932
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,379
supabase-export-v2
516a89619d63106d
named by *dir*, compiling all :file:`.py` files along the way. Return a true value if all the files compiled successfully, and a false value otherwise. The *maxlevels* parameter is used to limit the depth of the recursion; it defaults to ``sys.getrecursionlimit()``.
trusted_official_docs
CPython Docs
named by *dir*, compiling all :file:`.py` files along the way. Return a true value if all the files compiled successfully, and a false value otherwise. The *maxlevels* parameter is used to limit the depth of the recursion; it defaults to ``sys.getrecursionlimit()``.
named by *dir*, compiling all :file:`.py` files along the way. Return a true value if all the files compiled successfully, and a false value otherwise. The *maxlevels* parameter is used to limit the depth of the recursion; it defaults to ``sys.getrecursionlimit()``.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e1fe9fd0-6a70-4fc6-9d1a-a1a82cd3b4b8
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,330
supabase-export-v2
bb38eb420babf8e3
-------------- This module provides some utility functions to support installing Python libraries. These functions compile Python source files in a directory tree. This module can be used to create the cached byte-code files at library installation time, which makes them available for use even by users who don't have w...
trusted_official_docs
CPython Docs
-------------- This module provides some utility functions to support installing Python libraries. These functions compile Python source files in a directory tree. This module can be used to create the cached byte-code files at library installation time, which makes them available for use even by users who don't have w...
-------------- This module provides some utility functions to support installing Python libraries. These functions compile Python source files in a directory tree. This module can be used to create the cached byte-code files at library installation time, which makes them available for use even by users who don't have w...
python, official-docs, cpython, P0
Local_Trusted_Corpus
eb1c75df-0b5d-411c-a3ec-fa22e2e416a9
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,418
supabase-export-v2
23005f84694bdb19
not included in the search. All other parameters are passed to the :func:`compile_dir` function. Note that unlike the other compile functions, ``maxlevels`` defaults to ``0``. .. versionchanged:: 3.2 Added the *legacy* and *optimize* parameter.
trusted_official_docs
CPython Docs
not included in the search. All other parameters are passed to the :func:`compile_dir` function. Note that unlike the other compile functions, ``maxlevels`` defaults to ``0``. .. versionchanged:: 3.2 Added the *legacy* and *optimize* parameter.
not included in the search. All other parameters are passed to the :func:`compile_dir` function. Note that unlike the other compile functions, ``maxlevels`` defaults to ``0``. .. versionchanged:: 3.2 Added the *legacy* and *optimize* parameter.
python, official-docs, cpython, P0
Local_Trusted_Corpus
f4618afc-fa01-4a58-81cd-18c0d4da0abc
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,412
supabase-export-v2
f2a3b84805ef37fd
.. versionchanged:: 3.5 The *legacy* parameter only writes out ``.pyc`` files, not ``.pyo`` files no matter what the value of *optimize* is. .. versionchanged:: 3.7 The *invalidation_mode* parameter was added.
trusted_official_docs
CPython Docs
.. versionchanged:: 3.5 The *legacy* parameter only writes out ``.pyc`` files, not ``.pyo`` files no matter what the value of *optimize* is. .. versionchanged:: 3.7 The *invalidation_mode* parameter was added.
.. versionchanged:: 3.5 The *legacy* parameter only writes out ``.pyc`` files, not ``.pyo`` files no matter what the value of *optimize* is. .. versionchanged:: 3.7 The *invalidation_mode* parameter was added.
python, official-docs, cpython, P0
Local_Trusted_Corpus
f480ac46-0119-4f0f-8a4a-1fa70ccf9e6a
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,384
supabase-export-v2
1fb0e99ce314022a
default), the filenames and other information are printed to standard out. Set to ``1``, only errors are printed. Set to ``2``, all output is suppressed. If *legacy* is true, byte-code files are written to their legacy locations and names, which may overwrite byte-code files created by another version of Python. The ...
trusted_official_docs
CPython Docs
default), the filenames and other information are printed to standard out. Set to ``1``, only errors are printed. Set to ``2``, all output is suppressed. If *legacy* is true, byte-code files are written to their legacy locations and names, which may overwrite byte-code files created by another version of Python. The ...
default), the filenames and other information are printed to standard out. Set to ``1``, only errors are printed. Set to ``2``, all output is suppressed. If *legacy* is true, byte-code files are written to their legacy locations and names, which may overwrite byte-code files created by another version of Python. The ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f709bb40-144d-47a9-8d83-c827dc44df95
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,378
supabase-export-v2
3c31bd12e78b152b
.. function:: compile_dir(dir, maxlevels=sys.getrecursionlimit(), ddir=None, force=False, rx=None, quiet=0, legacy=False, optimize=-1, workers=1, invalidation_mode=None, *, stripdir=None, prependdir=None, limit_sl_dest=None, hardlink_dupes=False) Recursively descend the directory tree named by *dir*, compiling all :fil...
trusted_official_docs
CPython Docs
.. function:: compile_dir(dir, maxlevels=sys.getrecursionlimit(), ddir=None, force=False, rx=None, quiet=0, legacy=False, optimize=-1, workers=1, invalidation_mode=None, *, stripdir=None, prependdir=None, limit_sl_dest=None, hardlink_dupes=False) Recursively descend the directory tree named by *dir*, compiling all :fil...
.. function:: compile_dir(dir, maxlevels=sys.getrecursionlimit(), ddir=None, force=False, rx=None, quiet=0, legacy=False, optimize=-1, workers=1, invalidation_mode=None, *, stripdir=None, prependdir=None, limit_sl_dest=None, hardlink_dupes=False) Recursively descend the directory tree named by *dir*, compiling all :fil...
python, official-docs, cpython, P0
Local_Trusted_Corpus
fd3ec920-b178-4464-92d3-d93460ab67ed
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,417
supabase-export-v2
194d508541859ef1
Byte-compile all the :file:`.py` files found along ``sys.path``. Return a true value if all the files compiled successfully, and a false value otherwise. If *skip_curdir* is true (the default), the current directory is not included in the search. All other parameters are passed to the :func:`compile_dir` function. No...
trusted_official_docs
CPython Docs
Byte-compile all the :file:`.py` files found along ``sys.path``. Return a true value if all the files compiled successfully, and a false value otherwise. If *skip_curdir* is true (the default), the current directory is not included in the search. All other parameters are passed to the :func:`compile_dir` function. No...
Byte-compile all the :file:`.py` files found along ``sys.path``. Return a true value if all the files compiled successfully, and a false value otherwise. If *skip_curdir* is true (the default), the current directory is not included in the search. All other parameters are passed to the :func:`compile_dir` function. No...
python, official-docs, cpython, P0
Local_Trusted_Corpus
fe38e691-adf2-496a-ad9c-eb85cc0a08f1
CPython Docs
file://datasets/cpython/Doc/library/compileall.rst
unknown
8e0da5db-9761-4b3c-a376-5aba69513941
10,406
supabase-export-v2
9609b2390fd97ab7
passed to the built-in :func:`compile` function. Accepts also a sequence of optimization levels which lead to multiple compilations of one :file:`.py` file in one call. *invalidation_mode* should be a member of the :class:`py_compile.PycInvalidationMode` enum and controls how the generated pycs are invalidated at run...
trusted_official_docs
CPython Docs
passed to the built-in :func:`compile` function. Accepts also a sequence of optimization levels which lead to multiple compilations of one :file:`.py` file in one call. *invalidation_mode* should be a member of the :class:`py_compile.PycInvalidationMode` enum and controls how the generated pycs are invalidated at run...
passed to the built-in :func:`compile` function. Accepts also a sequence of optimization levels which lead to multiple compilations of one :file:`.py` file in one call. *invalidation_mode* should be a member of the :class:`py_compile.PycInvalidationMode` enum and controls how the generated pycs are invalidated at run...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0b32c468-c428-429d-8519-c16394d11902
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,443
supabase-export-v2
6371baa9e04b9924
and an internal HTTP :class:`Transport` instance otherwise. The optional third argument is an encoding, by default UTF-8. The optional fourth argument is a debugging flag. The following parameters govern the use of the returned proxy instance. If *allow_none* is true, the Python constant ``None`` will be translated int...
trusted_official_docs
CPython Docs
and an internal HTTP :class:`Transport` instance otherwise. The optional third argument is an encoding, by default UTF-8. The optional fourth argument is a debugging flag. The following parameters govern the use of the returned proxy instance. If *allow_none* is true, the Python constant ``None`` will be translated int...
and an internal HTTP :class:`Transport` instance otherwise. The optional third argument is an encoding, by default UTF-8. The optional fourth argument is a debugging flag. The following parameters govern the use of the returned proxy instance. If *allow_none* is true, the Python constant ``None`` will be translated int...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0c597ec3-b430-4ded-a3fb-6073f726895f
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,457
supabase-export-v2
453fab9b0295ee62
that isn't well-formed XML. If you have to pass arbitrary bytes via XML-RPC, use :class:`bytes` or :class:`bytearray` classes or the :class:`Binary` wrapper class described below. :class:`Server` is retained as an alias for :class:`ServerProxy` for backwards compatibility. New code should use :class:`ServerProxy`.
trusted_official_docs
CPython Docs
that isn't well-formed XML. If you have to pass arbitrary bytes via XML-RPC, use :class:`bytes` or :class:`bytearray` classes or the :class:`Binary` wrapper class described below. :class:`Server` is retained as an alias for :class:`ServerProxy` for backwards compatibility. New code should use :class:`ServerProxy`.
that isn't well-formed XML. If you have to pass arbitrary bytes via XML-RPC, use :class:`bytes` or :class:`bytearray` classes or the :class:`Binary` wrapper class described below. :class:`Server` is retained as an alias for :class:`ServerProxy` for backwards compatibility. New code should use :class:`ServerProxy`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0d22f8e3-a0dc-4e2f-8916-4267c219eea5
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,471
supabase-export-v2
e5eb2c82d5555d4f
.. method:: ServerProxy.system.methodSignature(name) This method takes one parameter, the name of a method implemented by the XML-RPC server. It returns an array of possible signatures for this method. A signature is an array of types. The first of these types is the return type of the method, the rest are parameter...
trusted_official_docs
CPython Docs
.. method:: ServerProxy.system.methodSignature(name) This method takes one parameter, the name of a method implemented by the XML-RPC server. It returns an array of possible signatures for this method. A signature is an array of types. The first of these types is the return type of the method, the rest are parameter...
.. method:: ServerProxy.system.methodSignature(name) This method takes one parameter, the name of a method implemented by the XML-RPC server. It returns an array of possible signatures for this method. A signature is an array of types. The first of these types is the return type of the method, the rest are parameter...
python, official-docs, cpython, P0
Local_Trusted_Corpus
115d6b1d-1ebb-48ba-9060-db58b59139ff
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,448
supabase-export-v2
28484687c6f9cefe
the connection process when invoking an XML-RPC method. You only need to use this if the remote server requires a Basic Authentication user and password. The returned instance is a proxy object with methods that can be used to invoke corresponding RPC calls on the remote server. If the remote server supports the intr...
trusted_official_docs
CPython Docs
the connection process when invoking an XML-RPC method. You only need to use this if the remote server requires a Basic Authentication user and password. The returned instance is a proxy object with methods that can be used to invoke corresponding RPC calls on the remote server. If the remote server supports the intr...
the connection process when invoking an XML-RPC method. You only need to use this if the remote server requires a Basic Authentication user and password. The returned instance is a proxy object with methods that can be used to invoke corresponding RPC calls on the remote server. If the remote server supports the intr...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1182594f-0b9b-45b4-9366-4aab19b2100d
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,466
supabase-export-v2
6c4db2722728ab98
ServerProxy Objects ------------------- A :class:`ServerProxy` instance has a method corresponding to each remote procedure call accepted by the XML-RPC server. Calling the method performs an RPC, dispatched by both name and argument signature (e.g. the same method name can be overloaded with multiple argument signatur...
trusted_official_docs
CPython Docs
ServerProxy Objects ------------------- A :class:`ServerProxy` instance has a method corresponding to each remote procedure call accepted by the XML-RPC server. Calling the method performs an RPC, dispatched by both name and argument signature (e.g. the same method name can be overloaded with multiple argument signatur...
ServerProxy Objects ------------------- A :class:`ServerProxy` instance has a method corresponding to each remote procedure call accepted by the XML-RPC server. Calling the method performs an RPC, dispatched by both name and argument signature (e.g. the same method name can be overloaded with multiple argument signatur...
python, official-docs, cpython, P0
Local_Trusted_Corpus
13099ef5-2b0a-475e-b433-58158123e6c2
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,459
supabase-export-v2
6666c0787d6deaf2
.. versionchanged:: 3.5 Added the *context* argument. .. versionchanged:: 3.6 Added support of type tags with prefixes (e.g. ``ex:nil``). Added support of unmarshalling additional types used by Apache XML-RPC implementation for numerics: ``i1``, ``i2``, ``i8``, ``biginteger``, ``float`` and ``bigdecimal``. See https...
trusted_official_docs
CPython Docs
.. versionchanged:: 3.5 Added the *context* argument. .. versionchanged:: 3.6 Added support of type tags with prefixes (e.g. ``ex:nil``). Added support of unmarshalling additional types used by Apache XML-RPC implementation for numerics: ``i1``, ``i2``, ``i8``, ``biginteger``, ``float`` and ``bigdecimal``. See https...
.. versionchanged:: 3.5 Added the *context* argument. .. versionchanged:: 3.6 Added support of type tags with prefixes (e.g. ``ex:nil``). Added support of unmarshalling additional types used by Apache XML-RPC implementation for numerics: ``i1``, ``i2``, ``i8``, ``biginteger``, ``float`` and ``bigdecimal``. See https...
python, official-docs, cpython, P0
Local_Trusted_Corpus
21a6000b-82e4-4e24-a1d0-206026a7503a
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,472
supabase-export-v2
6b2f6edcecf3fed3
this method. A signature is an array of types. The first of these types is the return type of the method, the rest are parameters. Because multiple signatures (ie. overloading) is permitted, this method returns a list of signatures rather than a singleton.
trusted_official_docs
CPython Docs
this method. A signature is an array of types. The first of these types is the return type of the method, the rest are parameters. Because multiple signatures (ie. overloading) is permitted, this method returns a list of signatures rather than a singleton.
this method. A signature is an array of types. The first of these types is the return type of the method, the rest are parameters. Because multiple signatures (ie. overloading) is permitted, this method returns a list of signatures rather than a singleton.
python, official-docs, cpython, P0
Local_Trusted_Corpus
2a83e4db-2dd5-48df-b6b7-88488eaa0e39
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,504
supabase-export-v2
fc627d5c8cc8e2c7
.. class:: Binary This class may be initialized from bytes data (which may include NULs). The primary access to the content of a :class:`Binary` object is provided by an attribute:
trusted_official_docs
CPython Docs
.. class:: Binary This class may be initialized from bytes data (which may include NULs). The primary access to the content of a :class:`Binary` object is provided by an attribute:
.. class:: Binary This class may be initialized from bytes data (which may include NULs). The primary access to the content of a :class:`Binary` object is provided by an attribute:
python, official-docs, cpython, P0
Local_Trusted_Corpus
4389bcb3-be95-41e8-b483-50e4422649ae
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,447
supabase-export-v2
273041fb4dd8a35f
.. versionchanged:: 3.8 The *headers* parameter was added. Both the HTTP and HTTPS transports support the URL syntax extension for HTTP Basic Authentication: ``http://user:pass@host:port/path``. The ``user:pass`` portion will be base64-encoded as an HTTP 'Authorization' header, and sent to the remote server as part ...
trusted_official_docs
CPython Docs
.. versionchanged:: 3.8 The *headers* parameter was added. Both the HTTP and HTTPS transports support the URL syntax extension for HTTP Basic Authentication: ``http://user:pass@host:port/path``. The ``user:pass`` portion will be base64-encoded as an HTTP 'Authorization' header, and sent to the remote server as part ...
.. versionchanged:: 3.8 The *headers* parameter was added. Both the HTTP and HTTPS transports support the URL syntax extension for HTTP Basic Authentication: ``http://user:pass@host:port/path``. The ``user:pass`` portion will be base64-encoded as an HTTP 'Authorization' header, and sent to the remote server as part ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
48db7988-1361-48cd-96f2-ba0c64f3ee42
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,454
supabase-export-v2
06ec6d967040e431
| +----------------------+-------------------------------------------------------+ | ``base64`` | :class:`Binary`, :class:`bytes` or | | | :class:`bytearray`. Returned type depends on the | | | value of the *use_builtin_types* flag. | +----------------------+-------------------------------------------------------+ | ...
trusted_official_docs
CPython Docs
| +----------------------+-------------------------------------------------------+ | ``base64`` | :class:`Binary`, :class:`bytes` or | | | :class:`bytearray`. Returned type depends on the | | | value of the *use_builtin_types* flag. | +----------------------+-------------------------------------------------------+ | ...
| +----------------------+-------------------------------------------------------+ | ``base64`` | :class:`Binary`, :class:`bytes` or | | | :class:`bytearray`. Returned type depends on the | | | value of the *use_builtin_types* flag. | +----------------------+-------------------------------------------------------+ | ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
55db1331-9742-448e-b398-a1493fce6e42
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,507
supabase-export-v2
cdf6aa81977a6055
The binary data encapsulated by the :class:`Binary` instance. The data is provided as a :class:`bytes` object. :class:`Binary` objects have the following methods, supported mainly for internal use by the marshalling/unmarshalling code:
trusted_official_docs
CPython Docs
The binary data encapsulated by the :class:`Binary` instance. The data is provided as a :class:`bytes` object. :class:`Binary` objects have the following methods, supported mainly for internal use by the marshalling/unmarshalling code:
The binary data encapsulated by the :class:`Binary` instance. The data is provided as a :class:`bytes` object. :class:`Binary` objects have the following methods, supported mainly for internal use by the marshalling/unmarshalling code:
python, official-docs, cpython, P0
Local_Trusted_Corpus
5979bcbc-c5a9-49f9-977a-4d766649785e
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,455
supabase-export-v2
c9b9ebcdd41b6a58
The ``None`` constant. Passing is allowed only if | | | *allow_none* is true. | +----------------------+-------------------------------------------------------+ | ``bigdecimal`` | :class:`decimal.Decimal`. Returned type only. | +----------------------+-------------------------------------------------------+ This is the...
trusted_official_docs
CPython Docs
The ``None`` constant. Passing is allowed only if | | | *allow_none* is true. | +----------------------+-------------------------------------------------------+ | ``bigdecimal`` | :class:`decimal.Decimal`. Returned type only. | +----------------------+-------------------------------------------------------+ This is the...
The ``None`` constant. Passing is allowed only if | | | *allow_none* is true. | +----------------------+-------------------------------------------------------+ | ``bigdecimal`` | :class:`decimal.Decimal`. Returned type only. | +----------------------+-------------------------------------------------------+ This is the...
python, official-docs, cpython, P0
Local_Trusted_Corpus
59d80b88-dc55-45ed-ac80-e5572cd05676
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,474
supabase-export-v2
060c748dbc624888
returns a string, its signature is simply "string, array". If it expects three integers and returns a string, its signature is "string, int, int, int". If no signature is defined for the method, a non-array value is returned. In Python this means that the type of the returned value will be something other than list.
trusted_official_docs
CPython Docs
returns a string, its signature is simply "string, array". If it expects three integers and returns a string, its signature is "string, int, int, int". If no signature is defined for the method, a non-array value is returned. In Python this means that the type of the returned value will be something other than list.
returns a string, its signature is simply "string, array". If it expects three integers and returns a string, its signature is "string, int, int, int". If no signature is defined for the method, a non-array value is returned. In Python this means that the type of the returned value will be something other than list.
python, official-docs, cpython, P0
Local_Trusted_Corpus
65919b8e-dfbe-411d-96e9-1ef7fc31a329
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,462
supabase-export-v2
c6b4a956879d4216
HOWTO <https://tldp.org/HOWTO/XML-RPC-HOWTO/index.html>`_ A good description of XML-RPC operation and client software in several languages. Contains pretty much everything an XML-RPC client developer needs to know. `XML-RPC Introspection <https://xmlrpc-c.sourceforge.io/introspection.html>`_ Describes the XML-RPC prot...
trusted_official_docs
CPython Docs
HOWTO <https://tldp.org/HOWTO/XML-RPC-HOWTO/index.html>`_ A good description of XML-RPC operation and client software in several languages. Contains pretty much everything an XML-RPC client developer needs to know. `XML-RPC Introspection <https://xmlrpc-c.sourceforge.io/introspection.html>`_ Describes the XML-RPC prot...
HOWTO <https://tldp.org/HOWTO/XML-RPC-HOWTO/index.html>`_ A good description of XML-RPC operation and client software in several languages. Contains pretty much everything an XML-RPC client developer needs to know. `XML-RPC Introspection <https://xmlrpc-c.sourceforge.io/introspection.html>`_ Describes the XML-RPC prot...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6dc5dea7-33cf-4852-98d7-cdfb520e7c3e
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,435
supabase-export-v2
dbb377b73f376a8d
-------------- XML-RPC is a Remote Procedure Call method that uses XML passed via HTTP(S) as a transport. With it, a client can call methods with parameters on a remote server (the server is named by a URI) and get back structured data. This module supports writing XML-RPC client code; it handles all the details of tra...
trusted_official_docs
CPython Docs
-------------- XML-RPC is a Remote Procedure Call method that uses XML passed via HTTP(S) as a transport. With it, a client can call methods with parameters on a remote server (the server is named by a URI) and get back structured data. This module supports writing XML-RPC client code; it handles all the details of tra...
-------------- XML-RPC is a Remote Procedure Call method that uses XML passed via HTTP(S) as a transport. With it, a client can call methods with parameters on a remote server (the server is named by a URI) and get back structured data. This module supports writing XML-RPC client code; it handles all the details of tra...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6ddab68b-4e6e-448e-9a0b-da2e8f081b6e
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,445
supabase-export-v2
942f669b4688c871
and configures the SSL settings of the underlying HTTPS connection. The obsolete *use_datetime* flag is similar to *use_builtin_types* but it applies only to date/time values. .. versionchanged:: 3.3 The *use_builtin_types* flag was added.
trusted_official_docs
CPython Docs
and configures the SSL settings of the underlying HTTPS connection. The obsolete *use_datetime* flag is similar to *use_builtin_types* but it applies only to date/time values. .. versionchanged:: 3.3 The *use_builtin_types* flag was added.
and configures the SSL settings of the underlying HTTPS connection. The obsolete *use_datetime* flag is similar to *use_builtin_types* but it applies only to date/time values. .. versionchanged:: 3.3 The *use_builtin_types* flag was added.
python, official-docs, cpython, P0
Local_Trusted_Corpus
7036a669-d7f6-46fa-b3f2-30ab7b59a0d7
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,553
supabase-export-v2
6251c674aafc5195
.. class:: MultiCall(server) Create an object used to boxcar method calls. *server* is the eventual target of the call. Calls can be made to the result object, but they will immediately return ``None``, and only store the call name and arguments in the :class:`MultiCall` object. Calling the object itself causes all ...
trusted_official_docs
CPython Docs
.. class:: MultiCall(server) Create an object used to boxcar method calls. *server* is the eventual target of the call. Calls can be made to the result object, but they will immediately return ``None``, and only store the call name and arguments in the :class:`MultiCall` object. Calling the object itself causes all ...
.. class:: MultiCall(server) Create an object used to boxcar method calls. *server* is the eventual target of the call. Calls can be made to the result object, but they will immediately return ``None``, and only store the call name and arguments in the :class:`MultiCall` object. Calling the object itself causes all ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
712e060d-c212-4107-afd4-6fc789599775
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,444
supabase-export-v2
e0d1f5b31d5e69a7
and binary data to be presented as :class:`bytes` objects; this flag is false by default. :class:`datetime.datetime`, :class:`bytes` and :class:`bytearray` objects may be passed to calls. The *headers* parameter is an optional sequence of HTTP headers to send with each request, expressed as a sequence of 2-tuples repr...
trusted_official_docs
CPython Docs
and binary data to be presented as :class:`bytes` objects; this flag is false by default. :class:`datetime.datetime`, :class:`bytes` and :class:`bytearray` objects may be passed to calls. The *headers* parameter is an optional sequence of HTTP headers to send with each request, expressed as a sequence of 2-tuples repr...
and binary data to be presented as :class:`bytes` objects; this flag is false by default. :class:`datetime.datetime`, :class:`bytes` and :class:`bytearray` objects may be passed to calls. The *headers* parameter is an optional sequence of HTTP headers to send with each request, expressed as a sequence of 2-tuples repr...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7f5876c8-12b8-40f0-aa1d-c43db44d0b2b
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,531
supabase-export-v2
fce187e0635ba942
# A marshalling error is going to occur because we're returning a # complex number def add(x, y): return x+y+0j server = SimpleXMLRPCServer(("localhost", 8000)) print("Listening on port 8000...") server.register_function(add, 'add')
trusted_official_docs
CPython Docs
# A marshalling error is going to occur because we're returning a # complex number def add(x, y): return x+y+0j server = SimpleXMLRPCServer(("localhost", 8000)) print("Listening on port 8000...") server.register_function(add, 'add')
# A marshalling error is going to occur because we're returning a # complex number def add(x, y): return x+y+0j server = SimpleXMLRPCServer(("localhost", 8000)) print("Listening on port 8000...") server.register_function(add, 'add')
python, official-docs, cpython, P0
Local_Trusted_Corpus
8b1a6f48-bef4-49c9-9f9b-6e160f8f41a2
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,489
supabase-export-v2
5b698f540d883028
.. class:: DateTime This class may be initialized with seconds since the epoch, a time tuple, an ISO 8601 time/date string, or a :class:`datetime.datetime` instance. It has the following methods, supported mainly for internal use by the marshalling/unmarshalling code:
trusted_official_docs
CPython Docs
.. class:: DateTime This class may be initialized with seconds since the epoch, a time tuple, an ISO 8601 time/date string, or a :class:`datetime.datetime` instance. It has the following methods, supported mainly for internal use by the marshalling/unmarshalling code:
.. class:: DateTime This class may be initialized with seconds since the epoch, a time tuple, an ISO 8601 time/date string, or a :class:`datetime.datetime` instance. It has the following methods, supported mainly for internal use by the marshalling/unmarshalling code:
python, official-docs, cpython, P0
Local_Trusted_Corpus
996f072e-3cd7-4f6d-a854-497f6b0b7f56
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,568
supabase-export-v2
641287c131e011d0
default is UTF-8. Python's :const:`None` value cannot be used in standard XML-RPC; to allow using it via an extension, provide a true value for *allow_none*. .. function:: loads(data, use_datetime=False, use_builtin_types=False)
trusted_official_docs
CPython Docs
default is UTF-8. Python's :const:`None` value cannot be used in standard XML-RPC; to allow using it via an extension, provide a true value for *allow_none*. .. function:: loads(data, use_datetime=False, use_builtin_types=False)
default is UTF-8. Python's :const:`None` value cannot be used in standard XML-RPC; to allow using it via an extension, provide a true value for *allow_none*. .. function:: loads(data, use_datetime=False, use_builtin_types=False)
python, official-docs, cpython, P0
Local_Trusted_Corpus
9b6d781a-2574-4614-82ea-a5c319a09b25
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,467
supabase-export-v2
f9fede7d37cd9954
multiple argument signatures). The RPC finishes either by returning data in a conformant type or by raising a :class:`Fault` or :class:`ProtocolError` exception indicating an error. Servers that support the XML introspection API support some common methods grouped under the reserved :attr:`~ServerProxy.system` attribut...
trusted_official_docs
CPython Docs
multiple argument signatures). The RPC finishes either by returning data in a conformant type or by raising a :class:`Fault` or :class:`ProtocolError` exception indicating an error. Servers that support the XML introspection API support some common methods grouped under the reserved :attr:`~ServerProxy.system` attribut...
multiple argument signatures). The RPC finishes either by returning data in a conformant type or by raising a :class:`Fault` or :class:`ProtocolError` exception indicating an error. Servers that support the XML introspection API support some common methods grouped under the reserved :attr:`~ServerProxy.system` attribut...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9c1ad72b-50c0-4150-b178-3f12abfb90bb
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,569
supabase-export-v2
5c7e5f5c9489f047
.. function:: loads(data, use_datetime=False, use_builtin_types=False) Convert an XML-RPC request or response into Python objects, a ``(params, methodname)``. *params* is a tuple of argument; *methodname* is a string, or ``None`` if no method name is present in the packet. If the XML-RPC packet represents a fault co...
trusted_official_docs
CPython Docs
.. function:: loads(data, use_datetime=False, use_builtin_types=False) Convert an XML-RPC request or response into Python objects, a ``(params, methodname)``. *params* is a tuple of argument; *methodname* is a string, or ``None`` if no method name is present in the packet. If the XML-RPC packet represents a fault co...
.. function:: loads(data, use_datetime=False, use_builtin_types=False) Convert an XML-RPC request or response into Python objects, a ``(params, methodname)``. *params* is a tuple of argument; *methodname* is a string, or ``None`` if no method name is present in the packet. If the XML-RPC packet represents a fault co...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9fc0e1d0-b0f8-4450-a6dc-b240a7d66596
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,453
supabase-export-v2
2a9b87cb0f6d5a22
as | | | :class:`lists <list>`. | +----------------------+-------------------------------------------------------+ | ``struct`` | :class:`dict`. Keys must be strings, values may be | | | any conformable type. Objects of user-defined | | | classes can be passed in; only their | | | :attr:`~object.__dict__` attribute i...
trusted_official_docs
CPython Docs
as | | | :class:`lists <list>`. | +----------------------+-------------------------------------------------------+ | ``struct`` | :class:`dict`. Keys must be strings, values may be | | | any conformable type. Objects of user-defined | | | classes can be passed in; only their | | | :attr:`~object.__dict__` attribute i...
as | | | :class:`lists <list>`. | +----------------------+-------------------------------------------------------+ | ``struct`` | :class:`dict`. Keys must be strings, values may be | | | any conformable type. Objects of user-defined | | | classes can be passed in; only their | | | :attr:`~object.__dict__` attribute i...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a7f35025-016b-44aa-9e10-6214aaea1a93
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,476
supabase-export-v2
99d5d5aeec6c67b1
.. method:: ServerProxy.system.methodHelp(name) This method takes one parameter, the name of a method implemented by the XML-RPC server. It returns a documentation string describing the use of that method. If no such string is available, an empty string is returned. The documentation string may contain HTML markup.
trusted_official_docs
CPython Docs
.. method:: ServerProxy.system.methodHelp(name) This method takes one parameter, the name of a method implemented by the XML-RPC server. It returns a documentation string describing the use of that method. If no such string is available, an empty string is returned. The documentation string may contain HTML markup.
.. method:: ServerProxy.system.methodHelp(name) This method takes one parameter, the name of a method implemented by the XML-RPC server. It returns a documentation string describing the use of that method. If no such string is available, an empty string is returned. The documentation string may contain HTML markup.
python, official-docs, cpython, P0
Local_Trusted_Corpus
b1bbd516-f6fc-4e2b-9639-49540411e658
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,449
supabase-export-v2
5132a2aa089f39f4
introspection API, the proxy can also be used to query the remote server for the methods it supports (service discovery) and fetch other server-associated metadata. Types that are conformable (e.g. that can be marshalled through XML), include the following (and except where noted, they are unmarshalled as the same Py...
trusted_official_docs
CPython Docs
introspection API, the proxy can also be used to query the remote server for the methods it supports (service discovery) and fetch other server-associated metadata. Types that are conformable (e.g. that can be marshalled through XML), include the following (and except where noted, they are unmarshalled as the same Py...
introspection API, the proxy can also be used to query the remote server for the methods it supports (service discovery) and fetch other server-associated metadata. Types that are conformable (e.g. that can be marshalled through XML), include the following (and except where noted, they are unmarshalled as the same Py...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b299d5e6-e5a3-4f13-8a94-10b905857229
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,549
supabase-export-v2
3393840fba85e204
# create a ServerProxy with a URI that doesn't respond to XMLRPC requests proxy = xmlrpc.client.ServerProxy("http://google.com/") try: proxy.some_method() except xmlrpc.client.ProtocolError as err: print("A protocol error occurred") print("URL: %s" % err.url) print("HTTP/HTTPS headers: %s" % err.headers) print("E...
trusted_official_docs
CPython Docs
# create a ServerProxy with a URI that doesn't respond to XMLRPC requests proxy = xmlrpc.client.ServerProxy("http://google.com/") try: proxy.some_method() except xmlrpc.client.ProtocolError as err: print("A protocol error occurred") print("URL: %s" % err.url) print("HTTP/HTTPS headers: %s" % err.headers) print("E...
# create a ServerProxy with a URI that doesn't respond to XMLRPC requests proxy = xmlrpc.client.ServerProxy("http://google.com/") try: proxy.some_method() except xmlrpc.client.ProtocolError as err: print("A protocol error occurred") print("URL: %s" % err.url) print("HTTP/HTTPS headers: %s" % err.headers) print("E...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c137db0a-d0db-4eab-843f-e61893058abf
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,539
supabase-export-v2
544d36a0bf4d3497
.. class:: ProtocolError A :class:`ProtocolError` object describes a protocol error in the underlying transport layer (such as a 404 'not found' error if the server named by the URI does not exist). It has the following attributes:
trusted_official_docs
CPython Docs
.. class:: ProtocolError A :class:`ProtocolError` object describes a protocol error in the underlying transport layer (such as a 404 'not found' error if the server named by the URI does not exist). It has the following attributes:
.. class:: ProtocolError A :class:`ProtocolError` object describes a protocol error in the underlying transport layer (such as a 404 'not found' error if the server named by the URI does not exist). It has the following attributes:
python, official-docs, cpython, P0
Local_Trusted_Corpus
c20f48dc-9d9a-455d-8d3a-15a714560b1b
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,451
supabase-export-v2
361feab5cf35d68c
.. tabularcolumns:: |l|L| +----------------------+-------------------------------------------------------+ | XML-RPC type | Python type | +======================+=======================================================+ | ``boolean`` | :class:`bool` | +----------------------+-----------------------------------------...
trusted_official_docs
CPython Docs
.. tabularcolumns:: |l|L| +----------------------+-------------------------------------------------------+ | XML-RPC type | Python type | +======================+=======================================================+ | ``boolean`` | :class:`bool` | +----------------------+-----------------------------------------...
.. tabularcolumns:: |l|L| +----------------------+-------------------------------------------------------+ | XML-RPC type | Python type | +======================+=======================================================+ | ``boolean`` | :class:`bool` | +----------------------+-----------------------------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c547484a-d54a-4bc2-8330-9c83276aa878
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,473
supabase-export-v2
ce0c37d61e3f3d73
Because multiple signatures (ie. overloading) is permitted, this method returns a list of signatures rather than a singleton. Signatures themselves are restricted to the top level parameters expected by a method. For instance if a method expects one array of structs as a parameter, and it returns a string, its signat...
trusted_official_docs
CPython Docs
Because multiple signatures (ie. overloading) is permitted, this method returns a list of signatures rather than a singleton. Signatures themselves are restricted to the top level parameters expected by a method. For instance if a method expects one array of structs as a parameter, and it returns a string, its signat...
Because multiple signatures (ie. overloading) is permitted, this method returns a list of signatures rather than a singleton. Signatures themselves are restricted to the top level parameters expected by a method. For instance if a method expects one array of structs as a parameter, and it returns a string, its signat...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c5690bf7-c200-449e-a046-263dc81930c1
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,528
supabase-export-v2
11912aa6820d5979
A string containing a diagnostic message associated with the fault. In the following example we're going to intentionally cause a :exc:`Fault` by returning a complex type object. The server code::
trusted_official_docs
CPython Docs
A string containing a diagnostic message associated with the fault. In the following example we're going to intentionally cause a :exc:`Fault` by returning a complex type object. The server code::
A string containing a diagnostic message associated with the fault. In the following example we're going to intentionally cause a :exc:`Fault` by returning a complex type object. The server code::
python, official-docs, cpython, P0
Local_Trusted_Corpus
c991afd1-449f-4372-810d-fa5c687d2837
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,452
supabase-export-v2
28e423165f585e40
get the ``<int>`` tag. | | ``i8`` or | | | ``biginteger`` | | +----------------------+-------------------------------------------------------+ | ``double`` or | :class:`float`. Values get the ``<double>`` tag. | | ``float`` | | +----------------------+-------------------------------------------------------+ | ``stri...
trusted_official_docs
CPython Docs
get the ``<int>`` tag. | | ``i8`` or | | | ``biginteger`` | | +----------------------+-------------------------------------------------------+ | ``double`` or | :class:`float`. Values get the ``<double>`` tag. | | ``float`` | | +----------------------+-------------------------------------------------------+ | ``stri...
get the ``<int>`` tag. | | ``i8`` or | | | ``biginteger`` | | +----------------------+-------------------------------------------------------+ | ``double`` or | :class:`float`. Values get the ``<double>`` tag. | | ``float`` | | +----------------------+-------------------------------------------------------+ | ``stri...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d8beff83-31a0-4125-8066-99ba6c41b7d8
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,456
supabase-export-v2
445318aaadb4ed62
and :exc:`ProtocolError` derive from a base class called :exc:`Error`. Note that the xmlrpc client module currently does not marshal instances of subclasses of built-in types. When passing strings, characters special to XML such as ``<``, ``>``, and ``&`` will be automatically escaped. However, it's the caller's respo...
trusted_official_docs
CPython Docs
and :exc:`ProtocolError` derive from a base class called :exc:`Error`. Note that the xmlrpc client module currently does not marshal instances of subclasses of built-in types. When passing strings, characters special to XML such as ``<``, ``>``, and ``&`` will be automatically escaped. However, it's the caller's respo...
and :exc:`ProtocolError` derive from a base class called :exc:`Error`. Note that the xmlrpc client module currently does not marshal instances of subclasses of built-in types. When passing strings, characters special to XML such as ``<``, ``>``, and ``&`` will be automatically escaped. However, it's the caller's respo...
python, official-docs, cpython, P0
Local_Trusted_Corpus
da7c098a-e3fe-4ee2-9558-faa894ee0821
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,513
supabase-export-v2
d158d7f6195daaba
newlines every 76 characters as per :rfc:`RFC 2045 section 6.8 <2045#section-6.8>`, which was the de facto standard base64 specification when the XML-RPC spec was written. It also supports certain of Python's built-in operators through :meth:`~object.__eq__` and :meth:`~object.__ne__` methods.
trusted_official_docs
CPython Docs
newlines every 76 characters as per :rfc:`RFC 2045 section 6.8 <2045#section-6.8>`, which was the de facto standard base64 specification when the XML-RPC spec was written. It also supports certain of Python's built-in operators through :meth:`~object.__eq__` and :meth:`~object.__ne__` methods.
newlines every 76 characters as per :rfc:`RFC 2045 section 6.8 <2045#section-6.8>`, which was the de facto standard base64 specification when the XML-RPC spec was written. It also supports certain of Python's built-in operators through :meth:`~object.__eq__` and :meth:`~object.__ne__` methods.
python, official-docs, cpython, P0
Local_Trusted_Corpus
ec9bd22d-acf3-417b-ad7e-641095abd0eb
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,512
supabase-export-v2
5fd1fe5e13a03cd5
Write the XML-RPC base 64 encoding of this binary item to the *out* stream object. The encoded data will have newlines every 76 characters as per :rfc:`RFC 2045 section 6.8 <2045#section-6.8>`, which was the de facto standard base64 specification when the XML-RPC spec was written.
trusted_official_docs
CPython Docs
Write the XML-RPC base 64 encoding of this binary item to the *out* stream object. The encoded data will have newlines every 76 characters as per :rfc:`RFC 2045 section 6.8 <2045#section-6.8>`, which was the de facto standard base64 specification when the XML-RPC spec was written.
Write the XML-RPC base 64 encoding of this binary item to the *out* stream object. The encoded data will have newlines every 76 characters as per :rfc:`RFC 2045 section 6.8 <2045#section-6.8>`, which was the de facto standard base64 specification when the XML-RPC spec was written.
python, official-docs, cpython, P0
Local_Trusted_Corpus
eead0d9f-3e5c-40c1-8074-b3f2d10351b8
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,554
supabase-export-v2
7db7a1d1907f7b88
calls to be transmitted as a single ``system.multicall`` request. The result of this call is a :term:`generator`; iterating over this generator yields the individual results. A usage example of this class follows. The server code::
trusted_official_docs
CPython Docs
calls to be transmitted as a single ``system.multicall`` request. The result of this call is a :term:`generator`; iterating over this generator yields the individual results. A usage example of this class follows. The server code::
calls to be transmitted as a single ``system.multicall`` request. The result of this call is a :term:`generator`; iterating over this generator yields the individual results. A usage example of this class follows. The server code::
python, official-docs, cpython, P0
Local_Trusted_Corpus
f25e98f9-0ccd-4e7f-b6e0-e70dbdffcfb6
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,560
supabase-export-v2
3d893d853c2ff995
def divide(x, y): return x // y # A simple server with simple arithmetic functions server = SimpleXMLRPCServer(("localhost", 8000)) print("Listening on port 8000...") server.register_multicall_functions() server.register_function(add, 'add') server.register_function(subtract, 'subtract') server.register_function(...
trusted_official_docs
CPython Docs
def divide(x, y): return x // y # A simple server with simple arithmetic functions server = SimpleXMLRPCServer(("localhost", 8000)) print("Listening on port 8000...") server.register_multicall_functions() server.register_function(add, 'add') server.register_function(subtract, 'subtract') server.register_function(...
def divide(x, y): return x // y # A simple server with simple arithmetic functions server = SimpleXMLRPCServer(("localhost", 8000)) print("Listening on port 8000...") server.register_multicall_functions() server.register_function(add, 'add') server.register_function(subtract, 'subtract') server.register_function(...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f2dc4449-f06b-44b7-9b3e-03d7c51aa2e7
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,570
supabase-export-v2
b97fdf9fea1086b2
to cause date/time values to be presented as :class:`datetime.datetime` objects and binary data to be presented as :class:`bytes` objects; this flag is false by default. The obsolete *use_datetime* flag is similar to *use_builtin_types* but it applies only to date/time values.
trusted_official_docs
CPython Docs
to cause date/time values to be presented as :class:`datetime.datetime` objects and binary data to be presented as :class:`bytes` objects; this flag is false by default. The obsolete *use_datetime* flag is similar to *use_builtin_types* but it applies only to date/time values.
to cause date/time values to be presented as :class:`datetime.datetime` objects and binary data to be presented as :class:`bytes` objects; this flag is false by default. The obsolete *use_datetime* flag is similar to *use_builtin_types* but it applies only to date/time values.
python, official-docs, cpython, P0
Local_Trusted_Corpus
f4473438-3ede-4ed8-b74c-f65717a19840
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,567
supabase-export-v2
554d71293e5e178c
.. function:: dumps(params, methodname=None, methodresponse=None, encoding=None, allow_none=False) Convert *params* into an XML-RPC request, or into a response if *methodresponse* is true. *params* can be either a tuple of arguments or an instance of the :exc:`Fault` exception class. If *methodresponse* is true, only...
trusted_official_docs
CPython Docs
.. function:: dumps(params, methodname=None, methodresponse=None, encoding=None, allow_none=False) Convert *params* into an XML-RPC request, or into a response if *methodresponse* is true. *params* can be either a tuple of arguments or an instance of the :exc:`Fault` exception class. If *methodresponse* is true, only...
.. function:: dumps(params, methodname=None, methodresponse=None, encoding=None, allow_none=False) Convert *params* into an XML-RPC request, or into a response if *methodresponse* is true. *params* can be either a tuple of arguments or an instance of the :exc:`Fault` exception class. If *methodresponse* is true, only...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f6f1590f-34a5-4e4c-8a79-b528531dcd50
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,588
supabase-export-v2
a7668eb3cd06a4f2
.. rubric:: Footnotes .. [#] This approach has been first presented in `a discussion on xmlrpc.com <https://web.archive.org/web/20060624230303/http://www.xmlrpc.com/discuss/msgReader$1208?mode=topic>`_. .. the link now points to webarchive since the one at .. http://www.xmlrpc.com/discuss/msgReader%241208 is broken (a...
trusted_official_docs
CPython Docs
.. rubric:: Footnotes .. [#] This approach has been first presented in `a discussion on xmlrpc.com <https://web.archive.org/web/20060624230303/http://www.xmlrpc.com/discuss/msgReader$1208?mode=topic>`_. .. the link now points to webarchive since the one at .. http://www.xmlrpc.com/discuss/msgReader%241208 is broken (a...
.. rubric:: Footnotes .. [#] This approach has been first presented in `a discussion on xmlrpc.com <https://web.archive.org/web/20060624230303/http://www.xmlrpc.com/discuss/msgReader$1208?mode=topic>`_. .. the link now points to webarchive since the one at .. http://www.xmlrpc.com/discuss/msgReader%241208 is broken (a...
python, official-docs, cpython, P0
Local_Trusted_Corpus
fc6b01ad-5666-40a1-86e9-2479a98239fd
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,561
supabase-export-v2
18286834b1ad8212
A simple server with simple arithmetic functions server = SimpleXMLRPCServer(("localhost", 8000)) print("Listening on port 8000...") server.register_multicall_functions() server.register_function(add, 'add') server.register_function(subtract, 'subtract') server.register_function(multiply, 'multiply') server.register_fu...
trusted_official_docs
CPython Docs
A simple server with simple arithmetic functions server = SimpleXMLRPCServer(("localhost", 8000)) print("Listening on port 8000...") server.register_multicall_functions() server.register_function(add, 'add') server.register_function(subtract, 'subtract') server.register_function(multiply, 'multiply') server.register_fu...
A simple server with simple arithmetic functions server = SimpleXMLRPCServer(("localhost", 8000)) print("Listening on port 8000...") server.register_multicall_functions() server.register_function(add, 'add') server.register_function(subtract, 'subtract') server.register_function(multiply, 'multiply') server.register_fu...
python, official-docs, cpython, P0
Local_Trusted_Corpus
fc7c1476-e236-4a7b-91eb-4ba191f48101
CPython Docs
file://datasets/cpython/Doc/library/xmlrpc.client.rst
unknown
1c2c0c89-c50e-47c3-8855-9c65682e1049
10,442
supabase-export-v2
31befcddc6e43100
.. class:: ServerProxy(uri, transport=None, encoding=None, verbose=False, \ allow_none=False, use_datetime=False, \ use_builtin_types=False, *, headers=(), context=None) A :class:`ServerProxy` instance is an object that manages communication with a remote XML-RPC server. The required first argument is a URI (Uniform R...
trusted_official_docs
CPython Docs
.. class:: ServerProxy(uri, transport=None, encoding=None, verbose=False, \ allow_none=False, use_datetime=False, \ use_builtin_types=False, *, headers=(), context=None) A :class:`ServerProxy` instance is an object that manages communication with a remote XML-RPC server. The required first argument is a URI (Uniform R...
.. class:: ServerProxy(uri, transport=None, encoding=None, verbose=False, \ allow_none=False, use_datetime=False, \ use_builtin_types=False, *, headers=(), context=None) A :class:`ServerProxy` instance is an object that manages communication with a remote XML-RPC server. The required first argument is a URI (Uniform R...
python, official-docs, cpython, P0
Local_Trusted_Corpus
02527b19-0076-4416-b2fb-22d6335a1d23
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,627
supabase-export-v2
c9e36e05761dbdf0
.. versionchanged:: 3.14 The GIL is always released during a system call. System calls failing with EINTR are automatically retried. .. versionchanged:: 3.15 The size of not mutated bytes-like objects is no longer limited to 1024 bytes.
trusted_official_docs
CPython Docs
.. versionchanged:: 3.14 The GIL is always released during a system call. System calls failing with EINTR are automatically retried. .. versionchanged:: 3.15 The size of not mutated bytes-like objects is no longer limited to 1024 bytes.
.. versionchanged:: 3.14 The GIL is always released during a system call. System calls failing with EINTR are automatically retried. .. versionchanged:: 3.15 The size of not mutated bytes-like objects is no longer limited to 1024 bytes.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0a330c07-b69b-4c60-b45e-6853b920f487
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,633
supabase-export-v2
85b29d6b04e97630
.. function:: lockf(fd, cmd, len=0, start=0, whence=0, /) This is essentially a wrapper around the :func:`~fcntl.fcntl` locking calls. *fd* is the file descriptor (file objects providing a :meth:`~io.IOBase.fileno` method are accepted as well) of the file to lock or unlock, and *cmd* is one of the following values:
trusted_official_docs
CPython Docs
.. function:: lockf(fd, cmd, len=0, start=0, whence=0, /) This is essentially a wrapper around the :func:`~fcntl.fcntl` locking calls. *fd* is the file descriptor (file objects providing a :meth:`~io.IOBase.fileno` method are accepted as well) of the file to lock or unlock, and *cmd* is one of the following values:
.. function:: lockf(fd, cmd, len=0, start=0, whence=0, /) This is essentially a wrapper around the :func:`~fcntl.fcntl` locking calls. *fd* is the file descriptor (file objects providing a :meth:`~io.IOBase.fileno` method are accepted as well) of the file to lock or unlock, and *cmd* is one of the following values:
python, official-docs, cpython, P0
Local_Trusted_Corpus
0a60c22a-6531-4de5-9485-a6752d621af1
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,609
supabase-export-v2
bf9d4f5ea61af920
When *arg* is an integer, the function returns the integer return value of the C :c:func:`fcntl` call. When the argument is bytes-like object, it represents a binary structure, for example, created by :func:`struct.pack`. A string value is encoded to binary using the UTF-8 encoding. The binary data is copied to a buff...
trusted_official_docs
CPython Docs
When *arg* is an integer, the function returns the integer return value of the C :c:func:`fcntl` call. When the argument is bytes-like object, it represents a binary structure, for example, created by :func:`struct.pack`. A string value is encoded to binary using the UTF-8 encoding. The binary data is copied to a buff...
When *arg* is an integer, the function returns the integer return value of the C :c:func:`fcntl` call. When the argument is bytes-like object, it represents a binary structure, for example, created by :func:`struct.pack`. A string value is encoded to binary using the UTF-8 encoding. The binary data is copied to a buff...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0b4f702c-ee6c-43f9-a6e4-76515dd557fa
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,599
supabase-export-v2
2c9a3093ac6433e1
a file descriptor. On Linux(>=3.15), the :mod:`!fcntl` module exposes the ``F_OFD_GETLK``, ``F_OFD_SETLK`` and ``F_OFD_SETLKW`` constants, which are used when working with open file description locks. .. versionchanged:: 3.10 On Linux >= 2.6.11, the :mod:`!fcntl` module exposes the ``F_GETPIPE_SZ`` and ``F_SETPIPE_SZ...
trusted_official_docs
CPython Docs
a file descriptor. On Linux(>=3.15), the :mod:`!fcntl` module exposes the ``F_OFD_GETLK``, ``F_OFD_SETLK`` and ``F_OFD_SETLKW`` constants, which are used when working with open file description locks. .. versionchanged:: 3.10 On Linux >= 2.6.11, the :mod:`!fcntl` module exposes the ``F_GETPIPE_SZ`` and ``F_SETPIPE_SZ...
a file descriptor. On Linux(>=3.15), the :mod:`!fcntl` module exposes the ``F_OFD_GETLK``, ``F_OFD_SETLK`` and ``F_OFD_SETLKW`` constants, which are used when working with open file description locks. .. versionchanged:: 3.10 On Linux >= 2.6.11, the :mod:`!fcntl` module exposes the ``F_GETPIPE_SZ`` and ``F_SETPIPE_SZ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
145661dc-9c1f-4811-9b6a-3fd3316123df
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,611
supabase-export-v2
ff1cde686773f111
If the :c:func:`fcntl` call fails, an :exc:`OSError` is raised. .. note:: If the type or size of *arg* does not match the type or size of the operation's argument (for example, if an integer is passed when a pointer is expected, or the information returned in the buffer by the operating system is larger than the si...
trusted_official_docs
CPython Docs
If the :c:func:`fcntl` call fails, an :exc:`OSError` is raised. .. note:: If the type or size of *arg* does not match the type or size of the operation's argument (for example, if an integer is passed when a pointer is expected, or the information returned in the buffer by the operating system is larger than the si...
If the :c:func:`fcntl` call fails, an :exc:`OSError` is raised. .. note:: If the type or size of *arg* does not match the type or size of the operation's argument (for example, if an integer is passed when a pointer is expected, or the information returned in the buffer by the operating system is larger than the si...
python, official-docs, cpython, P0
Local_Trusted_Corpus
16dfcf00-972a-4040-bacd-5f34757cc09d
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,612
supabase-export-v2
4272411ea98608e1
operating system is larger than the size of *arg*), this is most likely to result in a segmentation violation or a more subtle data corruption. .. audit-event:: fcntl.fcntl fd,cmd,arg fcntl.fcntl
trusted_official_docs
CPython Docs
operating system is larger than the size of *arg*), this is most likely to result in a segmentation violation or a more subtle data corruption. .. audit-event:: fcntl.fcntl fd,cmd,arg fcntl.fcntl
operating system is larger than the size of *arg*), this is most likely to result in a segmentation violation or a more subtle data corruption. .. audit-event:: fcntl.fcntl fd,cmd,arg fcntl.fcntl
python, official-docs, cpython, P0
Local_Trusted_Corpus
1cf266f8-15d0-4a79-9fd4-d002e39a2c72
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,607
supabase-export-v2
0056d40a416a845d
.. function:: fcntl(fd, cmd, arg=0, /) Perform the operation *cmd* on file descriptor *fd* (file objects providing a :meth:`~io.IOBase.fileno` method are accepted as well). The values used for *cmd* are operating system dependent, and are available as constants in the :mod:`!fcntl` module, using the same names as us...
trusted_official_docs
CPython Docs
.. function:: fcntl(fd, cmd, arg=0, /) Perform the operation *cmd* on file descriptor *fd* (file objects providing a :meth:`~io.IOBase.fileno` method are accepted as well). The values used for *cmd* are operating system dependent, and are available as constants in the :mod:`!fcntl` module, using the same names as us...
.. function:: fcntl(fd, cmd, arg=0, /) Perform the operation *cmd* on file descriptor *fd* (file objects providing a :meth:`~io.IOBase.fileno` method are accepted as well). The values used for *cmd* are operating system dependent, and are available as constants in the :mod:`!fcntl` module, using the same names as us...
python, official-docs, cpython, P0
Local_Trusted_Corpus
20e6586b-2d69-463b-88e9-a60fcffc444b
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,597
supabase-export-v2
2660c8d96270e032
.. versionchanged:: 3.3 Operations in this module used to raise an :exc:`IOError` where they now raise an :exc:`OSError`. .. versionchanged:: 3.8 The :mod:`!fcntl` module now contains ``F_ADD_SEALS``, ``F_GET_SEALS``, and ``F_SEAL_*`` constants for sealing of :func:`os.memfd_create` file descriptors.
trusted_official_docs
CPython Docs
.. versionchanged:: 3.3 Operations in this module used to raise an :exc:`IOError` where they now raise an :exc:`OSError`. .. versionchanged:: 3.8 The :mod:`!fcntl` module now contains ``F_ADD_SEALS``, ``F_GET_SEALS``, and ``F_SEAL_*`` constants for sealing of :func:`os.memfd_create` file descriptors.
.. versionchanged:: 3.3 Operations in this module used to raise an :exc:`IOError` where they now raise an :exc:`OSError`. .. versionchanged:: 3.8 The :mod:`!fcntl` module now contains ``F_ADD_SEALS``, ``F_GET_SEALS``, and ``F_SEAL_*`` constants for sealing of :func:`os.memfd_create` file descriptors.
python, official-docs, cpython, P0
Local_Trusted_Corpus
22b4c8ca-ebad-42ff-8e14-47de4926cf07
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,603
supabase-export-v2
92d1df81ee7ddfd8
:mod:`!fcntl` module exposes the ``F_SEAL_FUTURE_WRITE`` constant for use with ``F_ADD_SEALS`` and ``F_GET_SEALS`` operations. On FreeBSD, the :mod:`!fcntl` module exposes the ``F_READAHEAD``, ``F_ISUNIONSTACK``, and ``F_KINFO`` constants. On macOS and FreeBSD, the :mod:`!fcntl` module exposes the ``F_RDAHEAD`` consta...
trusted_official_docs
CPython Docs
:mod:`!fcntl` module exposes the ``F_SEAL_FUTURE_WRITE`` constant for use with ``F_ADD_SEALS`` and ``F_GET_SEALS`` operations. On FreeBSD, the :mod:`!fcntl` module exposes the ``F_READAHEAD``, ``F_ISUNIONSTACK``, and ``F_KINFO`` constants. On macOS and FreeBSD, the :mod:`!fcntl` module exposes the ``F_RDAHEAD`` consta...
:mod:`!fcntl` module exposes the ``F_SEAL_FUTURE_WRITE`` constant for use with ``F_ADD_SEALS`` and ``F_GET_SEALS`` operations. On FreeBSD, the :mod:`!fcntl` module exposes the ``F_READAHEAD``, ``F_ISUNIONSTACK``, and ``F_KINFO`` constants. On macOS and FreeBSD, the :mod:`!fcntl` module exposes the ``F_RDAHEAD`` consta...
python, official-docs, cpython, P0
Local_Trusted_Corpus
27ca5059-aa13-48bb-bd25-75dd4a394f24
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,601
supabase-export-v2
bff53266b85a8693
On FreeBSD, the :mod:`!fcntl` module exposes the ``F_DUP2FD`` and ``F_DUP2FD_CLOEXEC`` constants, which allow to duplicate a file descriptor, the latter setting ``FD_CLOEXEC`` flag in addition. .. versionchanged:: 3.12 On Linux >= 4.5, the :mod:`!fcntl` module exposes the ``FICLONE`` and ``FICLONERANGE`` constants, w...
trusted_official_docs
CPython Docs
On FreeBSD, the :mod:`!fcntl` module exposes the ``F_DUP2FD`` and ``F_DUP2FD_CLOEXEC`` constants, which allow to duplicate a file descriptor, the latter setting ``FD_CLOEXEC`` flag in addition. .. versionchanged:: 3.12 On Linux >= 4.5, the :mod:`!fcntl` module exposes the ``FICLONE`` and ``FICLONERANGE`` constants, w...
On FreeBSD, the :mod:`!fcntl` module exposes the ``F_DUP2FD`` and ``F_DUP2FD_CLOEXEC`` constants, which allow to duplicate a file descriptor, the latter setting ``FD_CLOEXEC`` flag in addition. .. versionchanged:: 3.12 On Linux >= 4.5, the :mod:`!fcntl` module exposes the ``FICLONE`` and ``FICLONERANGE`` constants, w...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2a03fedc-75b7-4a72-a357-5fb84f53d701
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,617
supabase-export-v2
e8cffd04c2276379
This function is identical to the :func:`~fcntl.fcntl` function, except that the argument handling is even more complicated. The *request* parameter is limited to values that can fit in 32-bits or 64-bits, depending on the platform. Additional constants of interest for use as the *request* argument can be found in th...
trusted_official_docs
CPython Docs
This function is identical to the :func:`~fcntl.fcntl` function, except that the argument handling is even more complicated. The *request* parameter is limited to values that can fit in 32-bits or 64-bits, depending on the platform. Additional constants of interest for use as the *request* argument can be found in th...
This function is identical to the :func:`~fcntl.fcntl` function, except that the argument handling is even more complicated. The *request* parameter is limited to values that can fit in 32-bits or 64-bits, depending on the platform. Additional constants of interest for use as the *request* argument can be found in th...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2ed8d743-de96-41fb-ad66-24633faf5ca5
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,618
supabase-export-v2
6f77921f5b31b71f
for use as the *request* argument can be found in the :mod:`termios` module, under the same names as used in the relevant C header files. The parameter *arg* can be an integer, a :term:`bytes-like object`, or a string. The type and size of *arg* must match the type and size of the argument of the operation as specifi...
trusted_official_docs
CPython Docs
for use as the *request* argument can be found in the :mod:`termios` module, under the same names as used in the relevant C header files. The parameter *arg* can be an integer, a :term:`bytes-like object`, or a string. The type and size of *arg* must match the type and size of the argument of the operation as specifi...
for use as the *request* argument can be found in the :mod:`termios` module, under the same names as used in the relevant C header files. The parameter *arg* can be an integer, a :term:`bytes-like object`, or a string. The type and size of *arg* must match the type and size of the argument of the operation as specifi...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2efb8a2e-32d8-4ee9-b745-1caef122252e
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,645
supabase-export-v2
feb109877ed695d9
lockdata = struct.pack('hhllhh', fcntl.F_WRLCK, 0, 0, 0, 0, 0) rv = fcntl.fcntl(f, fcntl.F_SETLKW, lockdata) Note that in the first example the return value variable *rv* will hold an integer value; in the second example it will hold a :class:`bytes` object. The structure lay-out for the *lockdata* variable is system d...
trusted_official_docs
CPython Docs
lockdata = struct.pack('hhllhh', fcntl.F_WRLCK, 0, 0, 0, 0, 0) rv = fcntl.fcntl(f, fcntl.F_SETLKW, lockdata) Note that in the first example the return value variable *rv* will hold an integer value; in the second example it will hold a :class:`bytes` object. The structure lay-out for the *lockdata* variable is system d...
lockdata = struct.pack('hhllhh', fcntl.F_WRLCK, 0, 0, 0, 0, 0) rv = fcntl.fcntl(f, fcntl.F_SETLKW, lockdata) Note that in the first example the return value variable *rv* will hold an integer value; in the second example it will hold a :class:`bytes` object. The structure lay-out for the *lockdata* variable is system d...
python, official-docs, cpython, P0
Local_Trusted_Corpus
357d181a-a605-45cf-abc7-26da58059761
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,636
supabase-export-v2
e5bad85f7eb960a9
Bitwise OR with any of the other three ``LOCK_*`` constants to make the request non-blocking. If :const:`!LOCK_NB` is used and the lock cannot be acquired, an :exc:`OSError` will be raised and the exception will have an *errno* attribute set to :const:`~errno.EACCES` or :const:`~errno.EAGAIN` (depending on the opera...
trusted_official_docs
CPython Docs
Bitwise OR with any of the other three ``LOCK_*`` constants to make the request non-blocking. If :const:`!LOCK_NB` is used and the lock cannot be acquired, an :exc:`OSError` will be raised and the exception will have an *errno* attribute set to :const:`~errno.EACCES` or :const:`~errno.EAGAIN` (depending on the opera...
Bitwise OR with any of the other three ``LOCK_*`` constants to make the request non-blocking. If :const:`!LOCK_NB` is used and the lock cannot be acquired, an :exc:`OSError` will be raised and the exception will have an *errno* attribute set to :const:`~errno.EACCES` or :const:`~errno.EAGAIN` (depending on the opera...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3f85291d-5991-4eaa-b797-0d807bf4efb2
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,602
supabase-export-v2
078d5197c5b56b00
data of one file with another file by reflinking on some filesystems (e.g., btrfs, OCFS2, and XFS). This behavior is commonly referred to as "copy-on-write". .. versionchanged:: 3.13 On Linux >= 2.6.32, the :mod:`!fcntl` module exposes the ``F_GETOWN_EX``, ``F_SETOWN_EX``, ``F_OWNER_TID``, ``F_OWNER_PID``, ``F_OWNER_...
trusted_official_docs
CPython Docs
data of one file with another file by reflinking on some filesystems (e.g., btrfs, OCFS2, and XFS). This behavior is commonly referred to as "copy-on-write". .. versionchanged:: 3.13 On Linux >= 2.6.32, the :mod:`!fcntl` module exposes the ``F_GETOWN_EX``, ``F_SETOWN_EX``, ``F_OWNER_TID``, ``F_OWNER_PID``, ``F_OWNER_...
data of one file with another file by reflinking on some filesystems (e.g., btrfs, OCFS2, and XFS). This behavior is commonly referred to as "copy-on-write". .. versionchanged:: 3.13 On Linux >= 2.6.32, the :mod:`!fcntl` module exposes the ``F_GETOWN_EX``, ``F_SETOWN_EX``, ``F_OWNER_TID``, ``F_OWNER_PID``, ``F_OWNER_...
python, official-docs, cpython, P0
Local_Trusted_Corpus
43c09d9a-91ec-4704-8d3a-a382f46bb73a
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,610
supabase-export-v2
7f331d21542c0036
of the buffer, converted to a :class:`bytes` object. The length of the returned object will be the same as the length of the *arg* argument. If the :c:func:`fcntl` call fails, an :exc:`OSError` is raised.
trusted_official_docs
CPython Docs
of the buffer, converted to a :class:`bytes` object. The length of the returned object will be the same as the length of the *arg* argument. If the :c:func:`fcntl` call fails, an :exc:`OSError` is raised.
of the buffer, converted to a :class:`bytes` object. The length of the returned object will be the same as the length of the *arg* argument. If the :c:func:`fcntl` call fails, an :exc:`OSError` is raised.
python, official-docs, cpython, P0
Local_Trusted_Corpus
45bcb786-b066-4819-ade2-3b2be82da8b5
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,640
supabase-export-v2
ec2c30ffd3113e28
the file. The default for *len* is 0 which means to lock to the end of the file. The default for *whence* is also 0. .. audit-event:: fcntl.lockf fd,cmd,len,start,whence fcntl.lockf
trusted_official_docs
CPython Docs
the file. The default for *len* is 0 which means to lock to the end of the file. The default for *whence* is also 0. .. audit-event:: fcntl.lockf fd,cmd,len,start,whence fcntl.lockf
the file. The default for *len* is 0 which means to lock to the end of the file. The default for *whence* is also 0. .. audit-event:: fcntl.lockf fd,cmd,len,start,whence fcntl.lockf
python, official-docs, cpython, P0
Local_Trusted_Corpus
48431716-f234-4217-b0aa-c99f77407311
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,620
supabase-export-v2
5383f1a83253622e
If *arg* does not support the read-write buffer interface or the *mutate_flag* is false, behavior is as for the :func:`~fcntl.fcntl` function. If *arg* supports the read-write buffer interface (like :class:`bytearray`) and *mutate_flag* is true (the default), then the buffer is (in effect) passed to the underlying :c...
trusted_official_docs
CPython Docs
If *arg* does not support the read-write buffer interface or the *mutate_flag* is false, behavior is as for the :func:`~fcntl.fcntl` function. If *arg* supports the read-write buffer interface (like :class:`bytearray`) and *mutate_flag* is true (the default), then the buffer is (in effect) passed to the underlying :c...
If *arg* does not support the read-write buffer interface or the *mutate_flag* is false, behavior is as for the :func:`~fcntl.fcntl` function. If *arg* supports the read-write buffer interface (like :class:`bytearray`) and *mutate_flag* is true (the default), then the buffer is (in effect) passed to the underlying :c...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4f40e737-4c12-4d56-8620-9238907d736a
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,639
supabase-export-v2
ece628067976757a
of the file (:const:`os.SEEK_SET`) * ``1`` -- relative to the current buffer position (:const:`os.SEEK_CUR`) * ``2`` -- relative to the end of the file (:const:`os.SEEK_END`) The default for *start* is 0, which means to start at the beginning of the file. The default for *len* is 0 which means to lock to the end of the...
trusted_official_docs
CPython Docs
of the file (:const:`os.SEEK_SET`) * ``1`` -- relative to the current buffer position (:const:`os.SEEK_CUR`) * ``2`` -- relative to the end of the file (:const:`os.SEEK_END`) The default for *start* is 0, which means to start at the beginning of the file. The default for *len* is 0 which means to lock to the end of the...
of the file (:const:`os.SEEK_SET`) * ``1`` -- relative to the current buffer position (:const:`os.SEEK_CUR`) * ``2`` -- relative to the end of the file (:const:`os.SEEK_END`) The default for *start* is 0, which means to start at the beginning of the file. The default for *len* is 0 which means to lock to the end of the...
python, official-docs, cpython, P0
Local_Trusted_Corpus
8a788295-3806-42b2-a9cd-fd0e2512878c
CPython Docs
file://datasets/cpython/Doc/library/fcntl.rst
unknown
f4fcfb2a-7a3c-48cc-b87d-68735d4b9adf
10,630
supabase-export-v2
e054c750ebcc4e2a
objects providing a :meth:`~io.IOBase.fileno` method are accepted as well). See the Unix manual :manpage:`flock(2)` for details. (On some systems, this function is emulated using :c:func:`fcntl`.) If the :c:func:`flock` call fails, an :exc:`OSError` exception is raised.
trusted_official_docs
CPython Docs
objects providing a :meth:`~io.IOBase.fileno` method are accepted as well). See the Unix manual :manpage:`flock(2)` for details. (On some systems, this function is emulated using :c:func:`fcntl`.) If the :c:func:`flock` call fails, an :exc:`OSError` exception is raised.
objects providing a :meth:`~io.IOBase.fileno` method are accepted as well). See the Unix manual :manpage:`flock(2)` for details. (On some systems, this function is emulated using :c:func:`fcntl`.) If the :c:func:`flock` call fails, an :exc:`OSError` exception is raised.
python, official-docs, cpython, P0
Local_Trusted_Corpus