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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e8d600a1-49f7-4476-b3cd-1bc0522ef7ff | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,825 | supabase-export-v2 | 1bb33e3b647a2daf | All platforms support sockets as *out_fd* file descriptor, and some platforms allow other types (e.g. regular file, pipe) as well.
Cross-platform applications should not use *headers*, *trailers* and *flags*
arguments. | trusted_official_docs | CPython Docs | All platforms support sockets as *out_fd* file descriptor, and some platforms allow other types (e.g. regular file, pipe) as well.
Cross-platform applications should not use *headers*, *trailers* and *flags*
arguments. | All platforms support sockets as *out_fd* file descriptor, and some platforms allow other types (e.g. regular file, pipe) as well.
Cross-platform applications should not use *headers*, *trailers* and *flags*
arguments. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e942c475-53e0-413d-bb3b-8d355e3ea7df | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,089 | supabase-export-v2 | f85b9204f417f478 | Create a FIFO (a named pipe) named *path* with numeric mode *mode*. The current umask value is first masked out from the mode.
This function can also support :ref:`paths relative to directory descriptors
<dir_fd>`. | trusted_official_docs | CPython Docs | Create a FIFO (a named pipe) named *path* with numeric mode *mode*. The current umask value is first masked out from the mode.
This function can also support :ref:`paths relative to directory descriptors
<dir_fd>`. | Create a FIFO (a named pipe) named *path* with numeric mode *mode*. The current umask value is first masked out from the mode.
This function can also support :ref:`paths relative to directory descriptors
<dir_fd>`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e9c1b76c-b690-4e64-bd96-c3b5922013ee | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,192 | supabase-export-v2 | f91c5d0cb7f29fb6 | raise :exc:`OSError`. If you need very fine-grained control over errors, you can catch :exc:`OSError` when calling one of the ``os.DirEntry`` methods and handle as appropriate.
To be directly usable as a :term:`path-like object`, ``os.DirEntry``
implements the :class:`PathLike` interface. | trusted_official_docs | CPython Docs | raise :exc:`OSError`. If you need very fine-grained control over errors, you can catch :exc:`OSError` when calling one of the ``os.DirEntry`` methods and handle as appropriate.
To be directly usable as a :term:`path-like object`, ``os.DirEntry``
implements the :class:`PathLike` interface. | raise :exc:`OSError`. If you need very fine-grained control over errors, you can catch :exc:`OSError` when calling one of the ``os.DirEntry`` methods and handle as appropriate.
To be directly usable as a :term:`path-like object`, ``os.DirEntry``
implements the :class:`PathLike` interface. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e9ddfe95-a290-4806-bd8f-e3835ebac07f | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,599 | supabase-export-v2 | afe894fc367a4a68 | 5.3, the files pointed to by *src* and *dst* must reside in the same filesystem, otherwise an :exc:`OSError` is raised with :attr:`~OSError.errno` set to :const:`errno.EXDEV`.
This copy is done without the additional cost of transferring data
from the kernel to user space and then back into the kernel. Additionally,
... | trusted_official_docs | CPython Docs | 5.3, the files pointed to by *src* and *dst* must reside in the same filesystem, otherwise an :exc:`OSError` is raised with :attr:`~OSError.errno` set to :const:`errno.EXDEV`.
This copy is done without the additional cost of transferring data
from the kernel to user space and then back into the kernel. Additionally,
... | 5.3, the files pointed to by *src* and *dst* must reside in the same filesystem, otherwise an :exc:`OSError` is raised with :attr:`~OSError.errno` set to :const:`errno.EXDEV`.
This copy is done without the additional cost of transferring data
from the kernel to user space and then back into the kernel. Additionally,
... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e9ef02c7-2827-43d5-8806-4f944c7a62fe | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,464 | supabase-export-v2 | 5d209e30a77d030f | .. data:: supports_fd
A :class:`set` object indicating which functions in the
:mod:`!os` module permit specifying their *path* parameter as an open file
descriptor on the local platform. Different platforms provide different
features, and the underlying functionality Python uses to accept open file
descriptors as *... | trusted_official_docs | CPython Docs | .. data:: supports_fd
A :class:`set` object indicating which functions in the
:mod:`!os` module permit specifying their *path* parameter as an open file
descriptor on the local platform. Different platforms provide different
features, and the underlying functionality Python uses to accept open file
descriptors as *... | .. data:: supports_fd
A :class:`set` object indicating which functions in the
:mod:`!os` module permit specifying their *path* parameter as an open file
descriptor on the local platform. Different platforms provide different
features, and the underlying functionality Python uses to accept open file
descriptors as *... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eac6384f-a9a6-41de-90d1-b67ca6e7b981 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,634 | supabase-export-v2 | c6d082397d999901 | ``next_expiration`` denotes the relative time until the timer next fires, regardless of if the :const:`TFD_TIMER_ABSTIME` flag is set.
``interval`` denotes the timer's interval. If zero, the timer will only fire once, after ``next_expiration`` seconds
have elapsed. | trusted_official_docs | CPython Docs | ``next_expiration`` denotes the relative time until the timer next fires, regardless of if the :const:`TFD_TIMER_ABSTIME` flag is set.
``interval`` denotes the timer's interval. If zero, the timer will only fire once, after ``next_expiration`` seconds
have elapsed. | ``next_expiration`` denotes the relative time until the timer next fires, regardless of if the :const:`TFD_TIMER_ABSTIME` flag is set.
``interval`` denotes the timer's interval. If zero, the timer will only fire once, after ``next_expiration`` seconds
have elapsed. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eb04308b-848b-4143-9222-853881f7339a | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,697 | supabase-export-v2 | 29a268fa66a265dd | This search path is used when resolving dependencies for imported extension modules (the module itself is resolved through :data:`sys.path`), and also by :mod:`ctypes`.
Remove the directory by calling **close()** on the returned object
or using it in a :keyword:`with` statement. | trusted_official_docs | CPython Docs | This search path is used when resolving dependencies for imported extension modules (the module itself is resolved through :data:`sys.path`), and also by :mod:`ctypes`.
Remove the directory by calling **close()** on the returned object
or using it in a :keyword:`with` statement. | This search path is used when resolving dependencies for imported extension modules (the module itself is resolved through :data:`sys.path`), and also by :mod:`ctypes`.
Remove the directory by calling **close()** on the returned object
or using it in a :keyword:`with` statement. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eb2f7a15-97e5-43d6-a065-24aa8f61c1a2 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,436 | supabase-export-v2 | 6e8459922075cd87 | .. note::
On macOS, :func:`getgroups` behavior differs somewhat from
other Unix platforms. If the Python interpreter was built with a
deployment target of ``10.5`` or earlier, :func:`getgroups` returns
the list of effective group ids associated with the current user process;
this list is limited to a system-defined... | trusted_official_docs | CPython Docs | .. note::
On macOS, :func:`getgroups` behavior differs somewhat from
other Unix platforms. If the Python interpreter was built with a
deployment target of ``10.5`` or earlier, :func:`getgroups` returns
the list of effective group ids associated with the current user process;
this list is limited to a system-defined... | .. note::
On macOS, :func:`getgroups` behavior differs somewhat from
other Unix platforms. If the Python interpreter was built with a
deployment target of ``10.5`` or earlier, :func:`getgroups` returns
the list of effective group ids associated with the current user process;
this list is limited to a system-defined... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
edded1d2-7cf0-41df-a38d-fb8b9275640f | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,436 | supabase-export-v2 | b95c0a6d7caaad55 | .. data:: AT_STATX_SYNC_AS_STAT
A flag for the :func:`os.statx` function. This flag is defined as ``0``, so
it has no effect, but it can be used to explicitly indicate neither
:data:`AT_STATX_FORCE_SYNC` nor :data:`AT_STATX_DONT_SYNC` is being passed. In the absence of the other two flags, the kernel will generally r... | trusted_official_docs | CPython Docs | .. data:: AT_STATX_SYNC_AS_STAT
A flag for the :func:`os.statx` function. This flag is defined as ``0``, so
it has no effect, but it can be used to explicitly indicate neither
:data:`AT_STATX_FORCE_SYNC` nor :data:`AT_STATX_DONT_SYNC` is being passed. In the absence of the other two flags, the kernel will generally r... | .. data:: AT_STATX_SYNC_AS_STAT
A flag for the :func:`os.statx` function. This flag is defined as ``0``, so
it has no effect, but it can be used to explicitly indicate neither
:data:`AT_STATX_FORCE_SYNC` nor :data:`AT_STATX_DONT_SYNC` is being passed. In the absence of the other two flags, the kernel will generally r... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eea15d40-52f4-40e4-bedd-3349c2f1b339 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,041 | supabase-export-v2 | eb2b25b185a89f92 | In the latter case, the list will be empty. Mount points that are not associated with a volume will not be returned by this function.
The mount points return by this function will be absolute paths, and
may be longer than the drive name. | trusted_official_docs | CPython Docs | In the latter case, the list will be empty. Mount points that are not associated with a volume will not be returned by this function.
The mount points return by this function will be absolute paths, and
may be longer than the drive name. | In the latter case, the list will be empty. Mount points that are not associated with a volume will not be returned by this function.
The mount points return by this function will be absolute paths, and
may be longer than the drive name. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eebe0c86-1433-40cc-8d6a-534e194cb3c5 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,691 | supabase-export-v2 | 9fde8dbca9a19c28 | These functions may be used to create and manage processes.
The various :func:`exec\* <execl>` functions take a list of arguments for the new
program loaded into the process. In each case, the first of these arguments is
passed to the new program as its own name rather than as an argument a user may
have typed on a com... | trusted_official_docs | CPython Docs | These functions may be used to create and manage processes.
The various :func:`exec\* <execl>` functions take a list of arguments for the new
program loaded into the process. In each case, the first of these arguments is
passed to the new program as its own name rather than as an argument a user may
have typed on a com... | These functions may be used to create and manage processes.
The various :func:`exec\* <execl>` functions take a list of arguments for the new
program loaded into the process. In each case, the first of these arguments is
passed to the new program as its own name rather than as an argument a user may
have typed on a com... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eec48ea0-5bff-41f3-bba5-1edd5fd749d8 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,351 | supabase-export-v2 | 3c6b1adc545cb298 | The Python UTF-8 Mode ignores the :term:`locale encoding` and forces the usage of the UTF-8 encoding:
* Use UTF-8 as the :term:`filesystem encoding <filesystem encoding and error
handler>`. * :func:`sys.getfilesystemencoding` returns ``'utf-8'``. * :func:`locale.getpreferredencoding` returns ``'utf-8'`` (the *do_setlo... | trusted_official_docs | CPython Docs | The Python UTF-8 Mode ignores the :term:`locale encoding` and forces the usage of the UTF-8 encoding:
* Use UTF-8 as the :term:`filesystem encoding <filesystem encoding and error
handler>`. * :func:`sys.getfilesystemencoding` returns ``'utf-8'``. * :func:`locale.getpreferredencoding` returns ``'utf-8'`` (the *do_setlo... | The Python UTF-8 Mode ignores the :term:`locale encoding` and forces the usage of the UTF-8 encoding:
* Use UTF-8 as the :term:`filesystem encoding <filesystem encoding and error
handler>`. * :func:`sys.getfilesystemencoding` returns ``'utf-8'``. * :func:`locale.getpreferredencoding` returns ``'utf-8'`` (the *do_setlo... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ef4bda9b-5ea8-4e5e-95bd-38826781891e | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,519 | supabase-export-v2 | f54dad08e2ee3e08 | set the process group id of the process with id *pid* to the process group with id *pgrp*. See the Unix manual for the semantics.
.. availability:: Unix, not WASI. | trusted_official_docs | CPython Docs | set the process group id of the process with id *pid* to the process group with id *pgrp*. See the Unix manual for the semantics.
.. availability:: Unix, not WASI. | set the process group id of the process with id *pid* to the process group with id *pgrp*. See the Unix manual for the semantics.
.. availability:: Unix, not WASI. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f0bfc552-ac0f-4bbc-bfa8-f9558f48b4cb | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,814 | supabase-export-v2 | d029cf8ef337b4dc | retried when interrupted by a signal, unless the signal handler raises an exception. Other errors will not be retried and an error will be raised.
Returns 0 if *fd* is at end of file or if the provided *buffer* has
length 0 (which can be used to check for errors without reading data). Never returns negative. | trusted_official_docs | CPython Docs | retried when interrupted by a signal, unless the signal handler raises an exception. Other errors will not be retried and an error will be raised.
Returns 0 if *fd* is at end of file or if the provided *buffer* has
length 0 (which can be used to check for errors without reading data). Never returns negative. | retried when interrupted by a signal, unless the signal handler raises an exception. Other errors will not be retried and an error will be raised.
Returns 0 if *fd* is at end of file or if the provided *buffer* has
length 0 (which can be used to check for errors without reading data). Never returns negative. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f15ba684-de69-49ff-acd4-c6bbe9fa09de | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,342 | supabase-export-v2 | cbfde514fb8acab3 | The :term:`filesystem encoding and error handler` are configured at Python startup by the :c:func:`PyConfig_Read` function: see :c:member:`~PyConfig.filesystem_encoding` and :c:member:`~PyConfig.filesystem_errors` members of :c:type:`PyConfig`.
.. versionchanged:: 3.1
On some systems, conversion using the file system ... | trusted_official_docs | CPython Docs | The :term:`filesystem encoding and error handler` are configured at Python startup by the :c:func:`PyConfig_Read` function: see :c:member:`~PyConfig.filesystem_encoding` and :c:member:`~PyConfig.filesystem_errors` members of :c:type:`PyConfig`.
.. versionchanged:: 3.1
On some systems, conversion using the file system ... | The :term:`filesystem encoding and error handler` are configured at Python startup by the :c:func:`PyConfig_Read` function: see :c:member:`~PyConfig.filesystem_encoding` and :c:member:`~PyConfig.filesystem_errors` members of :c:type:`PyConfig`.
.. versionchanged:: 3.1
On some systems, conversion using the file system ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f199a709-eb1a-431d-b36e-aa756a3290b3 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,765 | supabase-export-v2 | fe57be0c5743ca7f | flag is specified, the system call will return instantly if it would have to read data from the backing storage or wait for a lock.
If some data was successfully read, it will return the number of bytes read. If no bytes were read, it will return ``-1`` and set errno to
:const:`errno.EAGAIN`. | trusted_official_docs | CPython Docs | flag is specified, the system call will return instantly if it would have to read data from the backing storage or wait for a lock.
If some data was successfully read, it will return the number of bytes read. If no bytes were read, it will return ``-1`` and set errno to
:const:`errno.EAGAIN`. | flag is specified, the system call will return instantly if it would have to read data from the backing storage or wait for a lock.
If some data was successfully read, it will return the number of bytes read. If no bytes were read, it will return ``-1`` and set errno to
:const:`errno.EAGAIN`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f19cb195-e0f0-4a3d-8825-6b55514c0a5a | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,965 | supabase-export-v2 | a71a3d59d107b46d | *path* to the numeric *mode*. *mode* may take one of the following values (as defined in the :mod:`stat` module) or bitwise ORed combinations of them:
* :const:`stat.S_ISUID`
* :const:`stat.S_ISGID`
* :const:`stat.S_ENFMT`
* :const:`stat.S_ISVTX`
* :const:`stat.S_IREAD`
* :const:`stat.S_IWRITE`
* :const:`stat.S_I... | trusted_official_docs | CPython Docs | *path* to the numeric *mode*. *mode* may take one of the following values (as defined in the :mod:`stat` module) or bitwise ORed combinations of them:
* :const:`stat.S_ISUID`
* :const:`stat.S_ISGID`
* :const:`stat.S_ENFMT`
* :const:`stat.S_ISVTX`
* :const:`stat.S_IREAD`
* :const:`stat.S_IWRITE`
* :const:`stat.S_I... | *path* to the numeric *mode*. *mode* may take one of the following values (as defined in the :mod:`stat` module) or bitwise ORed combinations of them:
* :const:`stat.S_ISUID`
* :const:`stat.S_ISGID`
* :const:`stat.S_ENFMT`
* :const:`stat.S_ISVTX`
* :const:`stat.S_IREAD`
* :const:`stat.S_IWRITE`
* :const:`stat.S_I... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f214648d-dcf1-4209-b708-98cf6185d270 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,828 | supabase-export-v2 | c017294d53b7b853 | .. note:: The :ref:`Python UTF-8 Mode <utf8-mode>` affects encodings used for *cmd* and pipe contents.
:func:`popen` is a simple wrapper around :class:`subprocess.Popen`. Use :class:`subprocess.Popen` or :func:`subprocess.run` to
control options like encodings. | trusted_official_docs | CPython Docs | .. note:: The :ref:`Python UTF-8 Mode <utf8-mode>` affects encodings used for *cmd* and pipe contents.
:func:`popen` is a simple wrapper around :class:`subprocess.Popen`. Use :class:`subprocess.Popen` or :func:`subprocess.run` to
control options like encodings. | .. note:: The :ref:`Python UTF-8 Mode <utf8-mode>` affects encodings used for *cmd* and pipe contents.
:func:`popen` is a simple wrapper around :class:`subprocess.Popen`. Use :class:`subprocess.Popen` or :func:`subprocess.run` to
control options like encodings. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f2d36591-5d43-44e1-ac98-fae99cb26520 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,707 | supabase-export-v2 | dd3cfa15cccc0d8d | parameter. In either case, the arguments to the child process should start with the name of the command being run, but this is not enforced.
The variants which include a "p" near the end (:func:`execlp`,
:func:`execlpe`, :func:`execvp`, and :func:`execvpe`) will use the
:envvar:`PATH` environment variable to locate t... | trusted_official_docs | CPython Docs | parameter. In either case, the arguments to the child process should start with the name of the command being run, but this is not enforced.
The variants which include a "p" near the end (:func:`execlp`,
:func:`execlpe`, :func:`execvp`, and :func:`execvpe`) will use the
:envvar:`PATH` environment variable to locate t... | parameter. In either case, the arguments to the child process should start with the name of the command being run, but this is not enforced.
The variants which include a "p" near the end (:func:`execlp`,
:func:`execlpe`, :func:`execvp`, and :func:`execvpe`) will use the
:envvar:`PATH` environment variable to locate t... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f307a159-a354-436b-aebe-15b8ba618b13 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,957 | supabase-export-v2 | 9158aff1910850bd | the flags of *path* to the numeric *flags*. *flags* may take a combination (bitwise OR) of the following values (as defined in the :mod:`stat` module):
* :const:`stat.UF_NODUMP`
* :const:`stat.UF_IMMUTABLE`
* :const:`stat.UF_APPEND`
* :const:`stat.UF_OPAQUE`
* :const:`stat.UF_NOUNLINK`
* :const:`stat.UF_COMPRESSED... | trusted_official_docs | CPython Docs | the flags of *path* to the numeric *flags*. *flags* may take a combination (bitwise OR) of the following values (as defined in the :mod:`stat` module):
* :const:`stat.UF_NODUMP`
* :const:`stat.UF_IMMUTABLE`
* :const:`stat.UF_APPEND`
* :const:`stat.UF_OPAQUE`
* :const:`stat.UF_NOUNLINK`
* :const:`stat.UF_COMPRESSED... | the flags of *path* to the numeric *flags*. *flags* may take a combination (bitwise OR) of the following values (as defined in the :mod:`stat` module):
* :const:`stat.UF_NODUMP`
* :const:`stat.UF_IMMUTABLE`
* :const:`stat.UF_APPEND`
* :const:`stat.UF_OPAQUE`
* :const:`stat.UF_NOUNLINK`
* :const:`stat.UF_COMPRESSED... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f30a6f95-9aa5-4d86-925c-fcce324440d9 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,882 | supabase-export-v2 | 8239fe59b62d3cc8 | variants, :func:`spawnl`, :func:`spawnle`, :func:`spawnv`, and :func:`spawnve`, will not use the :envvar:`PATH` variable to locate the executable; *path* must contain an appropriate absolute or relative path.
For :func:`spawnle`, :func:`spawnlpe`, :func:`spawnve`, and :func:`spawnvpe`
(note that these all end in "e"),... | trusted_official_docs | CPython Docs | variants, :func:`spawnl`, :func:`spawnle`, :func:`spawnv`, and :func:`spawnve`, will not use the :envvar:`PATH` variable to locate the executable; *path* must contain an appropriate absolute or relative path.
For :func:`spawnle`, :func:`spawnlpe`, :func:`spawnve`, and :func:`spawnvpe`
(note that these all end in "e"),... | variants, :func:`spawnl`, :func:`spawnle`, :func:`spawnv`, and :func:`spawnve`, will not use the :envvar:`PATH` variable to locate the executable; *path* must contain an appropriate absolute or relative path.
For :func:`spawnle`, :func:`spawnlpe`, :func:`spawnve`, and :func:`spawnvpe`
(note that these all end in "e"),... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f31c8c44-3206-4989-bc4c-8cca25303546 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,413 | supabase-export-v2 | dd628646e1fd8ff2 | regular file or a symbolic link. The size of a symbolic link is the length of the pathname it contains, without a terminating null byte.
Equal to ``None`` if :data:`STATX_SIZE` is missing from
:attr:`~statx_result.stx_mask`. | trusted_official_docs | CPython Docs | regular file or a symbolic link. The size of a symbolic link is the length of the pathname it contains, without a terminating null byte.
Equal to ``None`` if :data:`STATX_SIZE` is missing from
:attr:`~statx_result.stx_mask`. | regular file or a symbolic link. The size of a symbolic link is the length of the pathname it contains, without a terminating null byte.
Equal to ``None`` if :data:`STATX_SIZE` is missing from
:attr:`~statx_result.stx_mask`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f31eac56-818d-436c-a603-46f1ec0f26cd | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,924 | supabase-export-v2 | 4421996553eafabe | referred to by the descriptor. For POSIX systems, Python will call the variant of the function prefixed with ``f`` (e.g. call ``fchdir`` instead of ``chdir``).
You can check whether or not *path* can be specified as a file descriptor
for a particular function on your platform using :data:`os.supports_fd`. If this func... | trusted_official_docs | CPython Docs | referred to by the descriptor. For POSIX systems, Python will call the variant of the function prefixed with ``f`` (e.g. call ``fchdir`` instead of ``chdir``).
You can check whether or not *path* can be specified as a file descriptor
for a particular function on your platform using :data:`os.supports_fd`. If this func... | referred to by the descriptor. For POSIX systems, Python will call the variant of the function prefixed with ``f`` (e.g. call ``fchdir`` instead of ``chdir``).
You can check whether or not *path* can be specified as a file descriptor
for a particular function on your platform using :data:`os.supports_fd`. If this func... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f320407a-87cb-4ded-8a0d-f52ec9f91adb | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,368 | supabase-export-v2 | e813d01923085e04 | This mapping may be used to modify the environment as well as query the environment. :func:`putenv` will be called automatically when the mapping is modified.
On Unix, keys and values use :func:`sys.getfilesystemencoding` and
``'surrogateescape'`` error handler. Use :data:`environb` if you would like
to use a differe... | trusted_official_docs | CPython Docs | This mapping may be used to modify the environment as well as query the environment. :func:`putenv` will be called automatically when the mapping is modified.
On Unix, keys and values use :func:`sys.getfilesystemencoding` and
``'surrogateescape'`` error handler. Use :data:`environb` if you would like
to use a differe... | This mapping may be used to modify the environment as well as query the environment. :func:`putenv` will be called automatically when the mapping is modified.
On Unix, keys and values use :func:`sys.getfilesystemencoding` and
``'surrogateescape'`` error handler. Use :data:`environb` if you would like
to use a differe... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f46bd673-d10d-4f4a-b32d-62ab1aabceac | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,933 | supabase-export-v2 | 8804e0a3fd6b49b8 | .. function:: access(path, mode, *, dir_fd=None, effective_ids=False, follow_symlinks=True)
Use the real uid/gid to test for access to *path*. Note that most operations
will use the effective uid/gid, therefore this routine can be used in a
suid/sgid environment to test if the invoking user has the specified access t... | trusted_official_docs | CPython Docs | .. function:: access(path, mode, *, dir_fd=None, effective_ids=False, follow_symlinks=True)
Use the real uid/gid to test for access to *path*. Note that most operations
will use the effective uid/gid, therefore this routine can be used in a
suid/sgid environment to test if the invoking user has the specified access t... | .. function:: access(path, mode, *, dir_fd=None, effective_ids=False, follow_symlinks=True)
Use the real uid/gid to test for access to *path*. Note that most operations
will use the effective uid/gid, therefore this routine can be used in a
suid/sgid environment to test if the invoking user has the specified access t... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f4dc5075-0d4b-41fb-8984-f97d33f2d2db | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,787 | supabase-export-v2 | 0d512247cc73412d | .. function:: pwritev(fd, buffers, offset, flags=0, /)
Write the *buffers* contents to file descriptor *fd* at an offset *offset*,
leaving the file offset unchanged. *buffers* must be a sequence of
:term:`bytes-like objects <bytes-like object>`. Buffers are processed in
array order. Entire contents of the first buff... | trusted_official_docs | CPython Docs | .. function:: pwritev(fd, buffers, offset, flags=0, /)
Write the *buffers* contents to file descriptor *fd* at an offset *offset*,
leaving the file offset unchanged. *buffers* must be a sequence of
:term:`bytes-like objects <bytes-like object>`. Buffers are processed in
array order. Entire contents of the first buff... | .. function:: pwritev(fd, buffers, offset, flags=0, /)
Write the *buffers* contents to file descriptor *fd* at an offset *offset*,
leaving the file offset unchanged. *buffers* must be a sequence of
:term:`bytes-like objects <bytes-like object>`. Buffers are processed in
array order. Entire contents of the first buff... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f4f53915-cea1-4d5d-9ede-f10cf1f84d91 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,454 | supabase-export-v2 | a10259cf015b9c5a | but will throw an exception if the functionality is used when it's not locally available. (Specifying ``None`` for *dir_fd* is always supported on all platforms.)
To check whether a particular function accepts an open file descriptor
for its *dir_fd* parameter, use the ``in`` operator on ``supports_dir_fd``. As an exa... | trusted_official_docs | CPython Docs | but will throw an exception if the functionality is used when it's not locally available. (Specifying ``None`` for *dir_fd* is always supported on all platforms.)
To check whether a particular function accepts an open file descriptor
for its *dir_fd* parameter, use the ``in`` operator on ``supports_dir_fd``. As an exa... | but will throw an exception if the functionality is used when it's not locally available. (Specifying ``None`` for *dir_fd* is always supported on all platforms.)
To check whether a particular function accepts an open file descriptor
for its *dir_fd* parameter, use the ``in`` operator on ``supports_dir_fd``. As an exa... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f54c6186-ba39-4bc6-b242-a4fd66a96f17 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,746 | supabase-export-v2 | a803a46338d17316 | Read at most *n* bytes from file descriptor *fd* at a position of *offset*, leaving the file offset unchanged.
Return a bytestring containing the bytes read. If the end of the file
referred to by *fd* has been reached, an empty bytes object is returned. | trusted_official_docs | CPython Docs | Read at most *n* bytes from file descriptor *fd* at a position of *offset*, leaving the file offset unchanged.
Return a bytestring containing the bytes read. If the end of the file
referred to by *fd* has been reached, an empty bytes object is returned. | Read at most *n* bytes from file descriptor *fd* at a position of *offset*, leaving the file offset unchanged.
Return a bytestring containing the bytes read. If the end of the file
referred to by *fd* has been reached, an empty bytes object is returned. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f7454429-0482-41b7-948a-1d7803bb787a | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,732 | supabase-export-v2 | 66e041c881b00d15 | .. function:: pipe2(flags, /)
Create a pipe with *flags* set atomically. *flags* can be constructed by ORing together one or more of these values:
:data:`O_NONBLOCK`, :data:`O_CLOEXEC`. Return a pair of file descriptors ``(r, w)`` usable for reading and writing,
respectively. | trusted_official_docs | CPython Docs | .. function:: pipe2(flags, /)
Create a pipe with *flags* set atomically. *flags* can be constructed by ORing together one or more of these values:
:data:`O_NONBLOCK`, :data:`O_CLOEXEC`. Return a pair of file descriptors ``(r, w)`` usable for reading and writing,
respectively. | .. function:: pipe2(flags, /)
Create a pipe with *flags* set atomically. *flags* can be constructed by ORing together one or more of these values:
:data:`O_NONBLOCK`, :data:`O_CLOEXEC`. Return a pair of file descriptors ``(r, w)`` usable for reading and writing,
respectively. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f78d3cd1-d8ec-48ac-85ee-615c99ecab9f | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,885 | supabase-export-v2 | f3244ab80015e6d7 | .. function:: writev(fd, buffers, /)
Write the contents of *buffers* to file descriptor *fd*. *buffers* must be
a sequence of :term:`bytes-like objects <bytes-like object>`. Buffers are
processed in array order. Entire contents of the first buffer is written
before proceeding to the second, and so on. | trusted_official_docs | CPython Docs | .. function:: writev(fd, buffers, /)
Write the contents of *buffers* to file descriptor *fd*. *buffers* must be
a sequence of :term:`bytes-like objects <bytes-like object>`. Buffers are
processed in array order. Entire contents of the first buffer is written
before proceeding to the second, and so on. | .. function:: writev(fd, buffers, /)
Write the contents of *buffers* to file descriptor *fd*. *buffers* must be
a sequence of :term:`bytes-like objects <bytes-like object>`. Buffers are
processed in array order. Entire contents of the first buffer is written
before proceeding to the second, and so on. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f78fd204-d3c2-43e6-98e5-6cc2deba54c2 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,412 | supabase-export-v2 | 5fc8c291f620b656 | .. attribute:: stx_size
Size of the file in bytes, if it is a regular file or a symbolic link. The size of a symbolic link is the length of the pathname it contains,
without a terminating null byte. | trusted_official_docs | CPython Docs | .. attribute:: stx_size
Size of the file in bytes, if it is a regular file or a symbolic link. The size of a symbolic link is the length of the pathname it contains,
without a terminating null byte. | .. attribute:: stx_size
Size of the file in bytes, if it is a regular file or a symbolic link. The size of a symbolic link is the length of the pathname it contains,
without a terminating null byte. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f7bc23f0-3381-4a5e-af4c-8ea38bff4c79 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,023 | supabase-export-v2 | a60fb07c3100a717 | or indirectly through the :class:`PathLike` interface), the filenames returned will also be of type ``bytes``; in all other circumstances, they will be of type ``str``.
This function can also support :ref:`specifying a file descriptor
<path_fd>`; the file descriptor must refer to a directory. | trusted_official_docs | CPython Docs | or indirectly through the :class:`PathLike` interface), the filenames returned will also be of type ``bytes``; in all other circumstances, they will be of type ``str``.
This function can also support :ref:`specifying a file descriptor
<path_fd>`; the file descriptor must refer to a directory. | or indirectly through the :class:`PathLike` interface), the filenames returned will also be of type ``bytes``; in all other circumstances, they will be of type ``str``.
This function can also support :ref:`specifying a file descriptor
<path_fd>`; the file descriptor must refer to a directory. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f871d76a-9a17-4aed-b334-b0e2fc6dbfcd | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,779 | supabase-export-v2 | 3a307cf15a474ef3 | slave pseudo-terminal device associated with the master pseudo-terminal device to which the file descriptor *fd* refers. The file descriptor *fd* is not closed upon failure.
Calls the reentrant C standard library function :c:func:`ptsname_r` if
it is available; otherwise, the C standard library function
:c:func:`ptsn... | trusted_official_docs | CPython Docs | slave pseudo-terminal device associated with the master pseudo-terminal device to which the file descriptor *fd* refers. The file descriptor *fd* is not closed upon failure.
Calls the reentrant C standard library function :c:func:`ptsname_r` if
it is available; otherwise, the C standard library function
:c:func:`ptsn... | slave pseudo-terminal device associated with the master pseudo-terminal device to which the file descriptor *fd* refers. The file descriptor *fd* is not closed upon failure.
Calls the reentrant C standard library function :c:func:`ptsname_r` if
it is available; otherwise, the C standard library function
:c:func:`ptsn... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f8ff5c0a-5974-4bec-8d1e-2427f0c225d2 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,428 | supabase-export-v2 | 507c320a8953f851 | .. data:: AT_STATX_FORCE_SYNC
A flag for the :func:`os.statx` function. Requests that the kernel return
up-to-date information even when doing so is expensive (for example,
requiring a round trip to the server for a file on a network filesystem). | trusted_official_docs | CPython Docs | .. data:: AT_STATX_FORCE_SYNC
A flag for the :func:`os.statx` function. Requests that the kernel return
up-to-date information even when doing so is expensive (for example,
requiring a round trip to the server for a file on a network filesystem). | .. data:: AT_STATX_FORCE_SYNC
A flag for the :func:`os.statx` function. Requests that the kernel return
up-to-date information even when doing so is expensive (for example,
requiring a round trip to the server for a file on a network filesystem). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f93af6d7-aa72-41b9-a2b3-aafd6430e0c8 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,650 | supabase-export-v2 | cf9cfde79efc64ab | .. function:: ftruncate(fd, length, /)
Truncate the file corresponding to file descriptor *fd*, so that it is at
most *length* bytes in size. As of Python 3.3, this is equivalent to
``os.truncate(fd, length)``. | trusted_official_docs | CPython Docs | .. function:: ftruncate(fd, length, /)
Truncate the file corresponding to file descriptor *fd*, so that it is at
most *length* bytes in size. As of Python 3.3, this is equivalent to
``os.truncate(fd, length)``. | .. function:: ftruncate(fd, length, /)
Truncate the file corresponding to file descriptor *fd*, so that it is at
most *length* bytes in size. As of Python 3.3, this is equivalent to
``os.truncate(fd, length)``. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f96df388-bb38-41c2-a33a-e2a3693b9356 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,823 | supabase-export-v2 | c325ca210fa8115f | are arbitrary sequences of buffers that are written before and after the data from *in_fd* is written. It returns the same as the first case.
On macOS and FreeBSD, a value of ``0`` for *count* specifies to send until
the end of *in_fd* is reached. | trusted_official_docs | CPython Docs | are arbitrary sequences of buffers that are written before and after the data from *in_fd* is written. It returns the same as the first case.
On macOS and FreeBSD, a value of ``0`` for *count* specifies to send until
the end of *in_fd* is reached. | are arbitrary sequences of buffers that are written before and after the data from *in_fd* is written. It returns the same as the first case.
On macOS and FreeBSD, a value of ``0`` for *count* specifies to send until
the end of *in_fd* is reached. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f9aceb45-f752-4e66-ae0c-c284ef9353e7 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,791 | supabase-export-v2 | 343f80f2dbc40bf7 | On macOS the use of this function is unsafe when mixed with using higher-level system APIs, and that includes using :mod:`urllib.request`.
.. versionchanged:: 3.8
Calling ``forkpty()`` in a subinterpreter is no longer supported
(:exc:`RuntimeError` is raised). | trusted_official_docs | CPython Docs | On macOS the use of this function is unsafe when mixed with using higher-level system APIs, and that includes using :mod:`urllib.request`.
.. versionchanged:: 3.8
Calling ``forkpty()`` in a subinterpreter is no longer supported
(:exc:`RuntimeError` is raised). | On macOS the use of this function is unsafe when mixed with using higher-level system APIs, and that includes using :mod:`urllib.request`.
.. versionchanged:: 3.8
Calling ``forkpty()`` in a subinterpreter is no longer supported
(:exc:`RuntimeError` is raised). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fad80ad1-6459-4f53-8262-5f2dd58a88bf | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,568 | supabase-export-v2 | decad2f024a12d7f | value '1' fd = os.eventfd(1, os.EFD_SEMAPHORE | os.EFD_CLOEXEC) try: # acquire semaphore v = os.eventfd_read(fd) try: do_work() finally: # release semaphore os.eventfd_write(fd, v) finally: os.close(fd)
.. availability:: Linux >= 2.6.27 with glibc >= 2.8 | trusted_official_docs | CPython Docs | value '1' fd = os.eventfd(1, os.EFD_SEMAPHORE | os.EFD_CLOEXEC) try: # acquire semaphore v = os.eventfd_read(fd) try: do_work() finally: # release semaphore os.eventfd_write(fd, v) finally: os.close(fd)
.. availability:: Linux >= 2.6.27 with glibc >= 2.8 | value '1' fd = os.eventfd(1, os.EFD_SEMAPHORE | os.EFD_CLOEXEC) try: # acquire semaphore v = os.eventfd_read(fd) try: do_work() finally: # release semaphore os.eventfd_write(fd, v) finally: os.close(fd)
.. availability:: Linux >= 2.6.27 with glibc >= 2.8 | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fdab9209-6905-41fe-8a7f-4094405204a1 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,848 | supabase-export-v2 | cc6df517ab066ebc | The splicing behaviour can be modified by specifying a *flags* value. Any of the following variables may used, combined using bitwise OR (the ``|`` operator):
* If :const:`SPLICE_F_MOVE` is specified,
the kernel is asked to move pages instead of copying,
but pages may still be copied if the kernel cannot move the pag... | trusted_official_docs | CPython Docs | The splicing behaviour can be modified by specifying a *flags* value. Any of the following variables may used, combined using bitwise OR (the ``|`` operator):
* If :const:`SPLICE_F_MOVE` is specified,
the kernel is asked to move pages instead of copying,
but pages may still be copied if the kernel cannot move the pag... | The splicing behaviour can be modified by specifying a *flags* value. Any of the following variables may used, combined using bitwise OR (the ``|`` operator):
* If :const:`SPLICE_F_MOVE` is specified,
the kernel is asked to move pages instead of copying,
but pages may still be copied if the kernel cannot move the pag... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fe772ade-2a36-4862-9a84-7a12b0955a06 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,906 | supabase-export-v2 | ec9e91e2171e778c | .. versionadded:: 3.4
A file descriptor has an "inheritable" flag which indicates if the file descriptor
can be inherited by child processes. Since Python 3.4, file descriptors
created by Python are non-inheritable by default. | trusted_official_docs | CPython Docs | .. versionadded:: 3.4
A file descriptor has an "inheritable" flag which indicates if the file descriptor
can be inherited by child processes. Since Python 3.4, file descriptors
created by Python are non-inheritable by default. | .. versionadded:: 3.4
A file descriptor has an "inheritable" flag which indicates if the file descriptor
can be inherited by child processes. Since Python 3.4, file descriptors
created by Python are non-inheritable by default. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ff196c37-674d-4fe3-af69-dffc5f29aa85 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,876 | supabase-export-v2 | f2a447ecf4ff611b | spawnle(mode, path, ..., env) spawnlp(mode, file, ...) spawnlpe(mode, file, ..., env) spawnv(mode, path, args) spawnve(mode, path, args, env) spawnvp(mode, file, args) spawnvpe(mode, file, args, env)
Execute the program *path* in a new process. | trusted_official_docs | CPython Docs | spawnle(mode, path, ..., env) spawnlp(mode, file, ...) spawnlpe(mode, file, ..., env) spawnv(mode, path, args) spawnve(mode, path, args, env) spawnvp(mode, file, args) spawnvpe(mode, file, args, env)
Execute the program *path* in a new process. | spawnle(mode, path, ..., env) spawnlp(mode, file, ...) spawnlpe(mode, file, ..., env) spawnv(mode, path, args) spawnve(mode, path, args, env) spawnvp(mode, file, args) spawnvpe(mode, file, args, env)
Execute the program *path* in a new process. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ffbae79d-a53c-4e81-a0b9-e0220aa19392 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,110 | supabase-export-v2 | ca62a3a6444077b1 | *name* is not supported by the host system, even if it is included in ``pathconf_names``, an :exc:`OSError` is raised with :const:`errno.EINVAL` for the error number.
This function can support :ref:`specifying a file descriptor
<path_fd>`. | trusted_official_docs | CPython Docs | *name* is not supported by the host system, even if it is included in ``pathconf_names``, an :exc:`OSError` is raised with :const:`errno.EINVAL` for the error number.
This function can support :ref:`specifying a file descriptor
<path_fd>`. | *name* is not supported by the host system, even if it is included in ``pathconf_names``, an :exc:`OSError` is raised with :const:`errno.EINVAL` for the error number.
This function can support :ref:`specifying a file descriptor
<path_fd>`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ffdd1eed-087b-445d-9d5d-3fd5c155aa09 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,849 | supabase-export-v2 | ba8d9507b03f7c5b | These tuples correspond to the C library :c:func:`!posix_spawn_file_actions_addopen`, :c:func:`!posix_spawn_file_actions_addclose`, :c:func:`!posix_spawn_file_actions_adddup2`, and :c:func:`!posix_spawn_file_actions_addclosefrom_np` API calls used to prepare for the :c:func:`!posix_spawn` call itself.
The *setpgroup* a... | trusted_official_docs | CPython Docs | These tuples correspond to the C library :c:func:`!posix_spawn_file_actions_addopen`, :c:func:`!posix_spawn_file_actions_addclose`, :c:func:`!posix_spawn_file_actions_adddup2`, and :c:func:`!posix_spawn_file_actions_addclosefrom_np` API calls used to prepare for the :c:func:`!posix_spawn` call itself.
The *setpgroup* a... | These tuples correspond to the C library :c:func:`!posix_spawn_file_actions_addopen`, :c:func:`!posix_spawn_file_actions_addclose`, :c:func:`!posix_spawn_file_actions_adddup2`, and :c:func:`!posix_spawn_file_actions_addclosefrom_np` API calls used to prepare for the :c:func:`!posix_spawn` call itself.
The *setpgroup* a... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fff9c092-3d65-47f1-81ed-43e878946952 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 42,925 | supabase-export-v2 | 605461087302d0dd | specified as a file descriptor for a particular function on your platform using :data:`os.supports_fd`. If this functionality is unavailable, using it will raise a :exc:`NotImplementedError`.
If the function also supports *dir_fd* or *follow_symlinks* arguments, it's
an error to specify one of those when supplying *pa... | trusted_official_docs | CPython Docs | specified as a file descriptor for a particular function on your platform using :data:`os.supports_fd`. If this functionality is unavailable, using it will raise a :exc:`NotImplementedError`.
If the function also supports *dir_fd* or *follow_symlinks* arguments, it's
an error to specify one of those when supplying *pa... | specified as a file descriptor for a particular function on your platform using :data:`os.supports_fd`. If this functionality is unavailable, using it will raise a :exc:`NotImplementedError`.
If the function also supports *dir_fd* or *follow_symlinks* arguments, it's
an error to specify one of those when supplying *pa... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
00373b17-e7be-477f-9cb8-325acd1d4da0 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,152 | supabase-export-v2 | c4ba2f7faae22c25 | .. versionchanged:: 3.5.2 On Linux, if the ``getrandom()`` syscall blocks (the urandom entropy pool is not initialized yet), fall back on reading ``/dev/urandom``.
.. versionchanged:: 3.6
On Linux, ``getrandom()`` is now used in blocking mode to increase the
security. | trusted_official_docs | CPython Docs | .. versionchanged:: 3.5.2 On Linux, if the ``getrandom()`` syscall blocks (the urandom entropy pool is not initialized yet), fall back on reading ``/dev/urandom``.
.. versionchanged:: 3.6
On Linux, ``getrandom()`` is now used in blocking mode to increase the
security. | .. versionchanged:: 3.5.2 On Linux, if the ``getrandom()`` syscall blocks (the urandom entropy pool is not initialized yet), fall back on reading ``/dev/urandom``.
.. versionchanged:: 3.6
On Linux, ``getrandom()`` is now used in blocking mode to increase the
security. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
01319a31-2562-4023-9cf5-3b38438bda4d | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,938 | supabase-export-v2 | 19ac08202346e982 | *options* is an OR combination of flags. At least one of :data:`WEXITED`, :data:`WSTOPPED` or :data:`WCONTINUED` is required; :data:`WNOHANG` and :data:`WNOWAIT` are additional optional flags.
The return value is an object representing the data contained in the
:c:type:`siginfo_t` structure with the following attribut... | trusted_official_docs | CPython Docs | *options* is an OR combination of flags. At least one of :data:`WEXITED`, :data:`WSTOPPED` or :data:`WCONTINUED` is required; :data:`WNOHANG` and :data:`WNOWAIT` are additional optional flags.
The return value is an object representing the data contained in the
:c:type:`siginfo_t` structure with the following attribut... | *options* is an OR combination of flags. At least one of :data:`WEXITED`, :data:`WSTOPPED` or :data:`WCONTINUED` is required; :data:`WNOHANG` and :data:`WNOWAIT` are additional optional flags.
The return value is an object representing the data contained in the
:c:type:`siginfo_t` structure with the following attribut... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
024950e7-d62d-432a-a1dd-69ad15a26e3d | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,923 | supabase-export-v2 | 184fff65a35fbe53 | all child processes * :attr:`!children_system` - system time of all child processes * :attr:`!elapsed` - elapsed real time since a fixed point in the past
For backwards compatibility, this object also behaves like a five-tuple
containing :attr:`!user`, :attr:`!system`, :attr:`!children_user`,
:attr:`!children_system`... | trusted_official_docs | CPython Docs | all child processes * :attr:`!children_system` - system time of all child processes * :attr:`!elapsed` - elapsed real time since a fixed point in the past
For backwards compatibility, this object also behaves like a five-tuple
containing :attr:`!user`, :attr:`!system`, :attr:`!children_user`,
:attr:`!children_system`... | all child processes * :attr:`!children_system` - system time of all child processes * :attr:`!elapsed` - elapsed real time since a fixed point in the past
For backwards compatibility, this object also behaves like a five-tuple
containing :attr:`!user`, :attr:`!system`, :attr:`!children_user`,
:attr:`!children_system`... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
09b11392-a356-4cf4-a8a0-fe37fbfa8d51 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,123 | supabase-export-v2 | a743f6fe3fb3f26c | The character which separates the base filename from the extension; for example, the ``'.'`` in :file:`os.py`. Also available via :mod:`os.path`.
.. index:: single: : (colon); path separator (POSIX)
single: ; (semicolon)
.. data:: pathsep | trusted_official_docs | CPython Docs | The character which separates the base filename from the extension; for example, the ``'.'`` in :file:`os.py`. Also available via :mod:`os.path`.
.. index:: single: : (colon); path separator (POSIX)
single: ; (semicolon)
.. data:: pathsep | The character which separates the base filename from the extension; for example, the ``'.'`` in :file:`os.py`. Also available via :mod:`os.path`.
.. index:: single: : (colon); path separator (POSIX)
single: ; (semicolon)
.. data:: pathsep | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0a46b510-c3e9-46a8-b89d-81d97987e0b8 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,952 | supabase-export-v2 | 7e52c74d5ae071a0 | .. availability:: Unix, Windows, not WASI, not Android, not iOS.
.. versionchanged:: 3.5
If the system call is interrupted and the signal handler does not raise an
exception, the function now retries the system call instead of raising an
:exc:`InterruptedError` exception (see :pep:`475` for the rationale). | trusted_official_docs | CPython Docs | .. availability:: Unix, Windows, not WASI, not Android, not iOS.
.. versionchanged:: 3.5
If the system call is interrupted and the signal handler does not raise an
exception, the function now retries the system call instead of raising an
:exc:`InterruptedError` exception (see :pep:`475` for the rationale). | .. availability:: Unix, Windows, not WASI, not Android, not iOS.
.. versionchanged:: 3.5
If the system call is interrupted and the signal handler does not raise an
exception, the function now retries the system call instead of raising an
:exc:`InterruptedError` exception (see :pep:`475` for the rationale). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0da786e4-4399-4059-b6d7-490a08d6dd2f | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,102 | supabase-export-v2 | 77c6564440c7f37a | The :func:`cpu_count` function can be used to get the number of logical CPUs in the **system**.
If :option:`-X cpu_count <-X>` is given or :envvar:`PYTHON_CPU_COUNT` is set,
:func:`process_cpu_count` returns the override value *n*. | trusted_official_docs | CPython Docs | The :func:`cpu_count` function can be used to get the number of logical CPUs in the **system**.
If :option:`-X cpu_count <-X>` is given or :envvar:`PYTHON_CPU_COUNT` is set,
:func:`process_cpu_count` returns the override value *n*. | The :func:`cpu_count` function can be used to get the number of logical CPUs in the **system**.
If :option:`-X cpu_count <-X>` is given or :envvar:`PYTHON_CPU_COUNT` is set,
:func:`process_cpu_count` returns the override value *n*. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
11647f9e-b561-4c17-bb37-3783c2026b8b | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,908 | supabase-export-v2 | 78a0298e8775b749 | startup overhead, the Win32 :c:func:`!ShellExecute` function is not resolved until this function is first called. If the function cannot be resolved, :exc:`NotImplementedError` will be raised.
.. audit-event:: os.startfile path,operation os.startfile | trusted_official_docs | CPython Docs | startup overhead, the Win32 :c:func:`!ShellExecute` function is not resolved until this function is first called. If the function cannot be resolved, :exc:`NotImplementedError` will be raised.
.. audit-event:: os.startfile path,operation os.startfile | startup overhead, the Win32 :c:func:`!ShellExecute` function is not resolved until this function is first called. If the function cannot be resolved, :exc:`NotImplementedError` will be raised.
.. audit-event:: os.startfile path,operation os.startfile | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
18107a76-2eea-4486-903b-eff5e9953a1f | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,093 | supabase-export-v2 | f6ac9e16c527c542 | Return the number of logical CPUs in the **system**. Returns ``None`` if undetermined.
The :func:`process_cpu_count` function can be used to get the number of
logical CPUs usable by the calling thread of the **current process**. | trusted_official_docs | CPython Docs | Return the number of logical CPUs in the **system**. Returns ``None`` if undetermined.
The :func:`process_cpu_count` function can be used to get the number of
logical CPUs usable by the calling thread of the **current process**. | Return the number of logical CPUs in the **system**. Returns ``None`` if undetermined.
The :func:`process_cpu_count` function can be used to get the number of
logical CPUs usable by the calling thread of the **current process**. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
185aca5d-9096-498c-ad27-da54059881d7 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,984 | supabase-export-v2 | 64690a9fdd86bf7c | This *options* flag causes :func:`waitpid`, :func:`wait3`, :func:`wait4`, and :func:`waitid` to return right away if no child process status is available immediately.
.. availability:: Unix, not WASI, not Android, not iOS. | trusted_official_docs | CPython Docs | This *options* flag causes :func:`waitpid`, :func:`wait3`, :func:`wait4`, and :func:`waitid` to return right away if no child process status is available immediately.
.. availability:: Unix, not WASI, not Android, not iOS. | This *options* flag causes :func:`waitpid`, :func:`wait3`, :func:`wait4`, and :func:`waitid` to return right away if no child process status is available immediately.
.. availability:: Unix, not WASI, not Android, not iOS. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
19bbe03d-6345-44e3-90dc-13180a4ce129 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,015 | supabase-export-v2 | 379b9a68fdb3b8e7 | :func:`WIFSTOPPED` only returns ``True`` if the :func:`waitpid` call was done using :data:`WUNTRACED` option or when the process is being traced (see :manpage:`ptrace(2)`).
.. availability:: Unix, not WASI, not Android, not iOS. | trusted_official_docs | CPython Docs | :func:`WIFSTOPPED` only returns ``True`` if the :func:`waitpid` call was done using :data:`WUNTRACED` option or when the process is being traced (see :manpage:`ptrace(2)`).
.. availability:: Unix, not WASI, not Android, not iOS. | :func:`WIFSTOPPED` only returns ``True`` if the :func:`waitpid` call was done using :data:`WUNTRACED` option or when the process is being traced (see :manpage:`ptrace(2)`).
.. availability:: Unix, not WASI, not Android, not iOS. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1da06c12-e9d0-4f6e-ab87-49723023ccd8 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,998 | supabase-export-v2 | 39afb778a9134006 | On Windows, return *status* shifted right by 8 bits.
On Unix, if the process is being traced or if :func:`waitpid` was called
with :data:`WUNTRACED` option, the caller must first check if
``WIFSTOPPED(status)`` is true. This function must not be called if
``WIFSTOPPED(status)`` is true. | trusted_official_docs | CPython Docs | On Windows, return *status* shifted right by 8 bits.
On Unix, if the process is being traced or if :func:`waitpid` was called
with :data:`WUNTRACED` option, the caller must first check if
``WIFSTOPPED(status)`` is true. This function must not be called if
``WIFSTOPPED(status)`` is true. | On Windows, return *status* shifted right by 8 bits.
On Unix, if the process is being traced or if :func:`waitpid` was called
with :data:`WUNTRACED` option, the caller must first check if
``WIFSTOPPED(status)`` is true. This function must not be called if
``WIFSTOPPED(status)`` is true. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
201dc8e7-4ba5-437c-bc6f-d382a7ddf012 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,138 | supabase-export-v2 | 94998c200fb3f801 | These bytes can be used to seed user-space random number generators or for cryptographic purposes.
``getrandom()`` relies on entropy gathered from device drivers and other
sources of environmental noise. Unnecessarily reading large quantities of
data will have a negative impact on other users of the ``/dev/random`` a... | trusted_official_docs | CPython Docs | These bytes can be used to seed user-space random number generators or for cryptographic purposes.
``getrandom()`` relies on entropy gathered from device drivers and other
sources of environmental noise. Unnecessarily reading large quantities of
data will have a negative impact on other users of the ``/dev/random`` a... | These bytes can be used to seed user-space random number generators or for cryptographic purposes.
``getrandom()`` relies on entropy gathered from device drivers and other
sources of environmental noise. Unnecessarily reading large quantities of
data will have a negative impact on other users of the ``/dev/random`` a... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
231cc757-44b6-47a7-8893-8ca10e77d5b7 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,894 | supabase-export-v2 | 1e86319162cc81b3 | .. data:: P_WAIT
Possible value for the *mode* parameter to the :func:`spawn\* <spawnl>` family of
functions. If this is given as *mode*, the :func:`spawn\* <spawnl>` functions will not
return until the new process has run to completion and will return the exit code
of the process the run is successful, or ``-signal... | trusted_official_docs | CPython Docs | .. data:: P_WAIT
Possible value for the *mode* parameter to the :func:`spawn\* <spawnl>` family of
functions. If this is given as *mode*, the :func:`spawn\* <spawnl>` functions will not
return until the new process has run to completion and will return the exit code
of the process the run is successful, or ``-signal... | .. data:: P_WAIT
Possible value for the *mode* parameter to the :func:`spawn\* <spawnl>` family of
functions. If this is given as *mode*, the :func:`spawn\* <spawnl>` functions will not
return until the new process has run to completion and will return the exit code
of the process the run is successful, or ``-signal... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
23c7eb61-9372-4423-abe9-6f4bdfea9e8f | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,097 | supabase-export-v2 | c11ed16582d1cfb5 | .. function:: getloadavg()
Return the number of processes in the system run queue averaged over the last
1, 5, and 15 minutes or raises :exc:`OSError` if the load average was
unobtainable. | trusted_official_docs | CPython Docs | .. function:: getloadavg()
Return the number of processes in the system run queue averaged over the last
1, 5, and 15 minutes or raises :exc:`OSError` if the load average was
unobtainable. | .. function:: getloadavg()
Return the number of processes in the system run queue averaged over the last
1, 5, and 15 minutes or raises :exc:`OSError` if the load average was
unobtainable. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
242fa248-e8f3-459b-ba15-ea24245bf313 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,905 | supabase-export-v2 | 8c5569a845273a20 | is inherited, but may be overridden by the *cwd* argument. This should be an absolute path. A relative *path* will be resolved against this argument.
Use *show_cmd* to override the default window style. Whether this has any
effect will depend on the application being launched. Values are integers as
supported by the ... | trusted_official_docs | CPython Docs | is inherited, but may be overridden by the *cwd* argument. This should be an absolute path. A relative *path* will be resolved against this argument.
Use *show_cmd* to override the default window style. Whether this has any
effect will depend on the application being launched. Values are integers as
supported by the ... | is inherited, but may be overridden by the *cwd* argument. This should be an absolute path. A relative *path* will be resolved against this argument.
Use *show_cmd* to override the default window style. Whether this has any
effect will depend on the application being launched. Values are integers as
supported by the ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
289e31bf-b609-4345-8508-f3cf625420cc | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,124 | supabase-export-v2 | 4a92e47eb825151a | .. index:: single: : (colon); path separator (POSIX) single: ; (semicolon) .. data:: pathsep
The character conventionally used by the operating system to separate search
path components (as in :envvar:`PATH`), such as ``':'`` for POSIX or ``';'`` for
Windows. Also available via :mod:`os.path`. | trusted_official_docs | CPython Docs | .. index:: single: : (colon); path separator (POSIX) single: ; (semicolon) .. data:: pathsep
The character conventionally used by the operating system to separate search
path components (as in :envvar:`PATH`), such as ``':'`` for POSIX or ``';'`` for
Windows. Also available via :mod:`os.path`. | .. index:: single: : (colon); path separator (POSIX) single: ; (semicolon) .. data:: pathsep
The character conventionally used by the operating system to separate search
path components (as in :envvar:`PATH`), such as ``':'`` for POSIX or ``';'`` for
Windows. Also available via :mod:`os.path`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
28e11f7a-d013-45f3-a56c-1c57c88b4b2d | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,904 | supabase-export-v2 | 260233c72cb2e496 | an application, specify *arguments* to be passed as a single string. This argument may have no effect when using this function to launch a document.
The default working directory is inherited, but may be overridden by the *cwd*
argument. This should be an absolute path. A relative *path* will be resolved
against this... | trusted_official_docs | CPython Docs | an application, specify *arguments* to be passed as a single string. This argument may have no effect when using this function to launch a document.
The default working directory is inherited, but may be overridden by the *cwd*
argument. This should be an absolute path. A relative *path* will be resolved
against this... | an application, specify *arguments* to be passed as a single string. This argument may have no effect when using this function to launch a document.
The default working directory is inherited, but may be overridden by the *cwd*
argument. This should be an absolute path. A relative *path* will be resolved
against this... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2928b6b1-3f21-488b-83f8-61f5805ee583 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,976 | supabase-export-v2 | 5006897946f8ed8f | This *options* flag for :func:`waitid` causes child processes that have been stopped by the delivery of a signal to be reported.
This option is not available for the other ``wait*`` functions. | trusted_official_docs | CPython Docs | This *options* flag for :func:`waitid` causes child processes that have been stopped by the delivery of a signal to be reported.
This option is not available for the other ``wait*`` functions. | This *options* flag for :func:`waitid` causes child processes that have been stopped by the delivery of a signal to be reported.
This option is not available for the other ``wait*`` functions. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2a43553d-d81c-404d-bb33-2673abc840ba | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,153 | supabase-export-v2 | 73c7e5544f27f5fc | .. versionchanged:: 3.6 On Linux, ``getrandom()`` is now used in blocking mode to increase the security.
.. versionchanged:: 3.11
On Windows, ``BCryptGenRandom()`` is used instead of ``CryptGenRandom()``
which is deprecated. | trusted_official_docs | CPython Docs | .. versionchanged:: 3.6 On Linux, ``getrandom()`` is now used in blocking mode to increase the security.
.. versionchanged:: 3.11
On Windows, ``BCryptGenRandom()`` is used instead of ``CryptGenRandom()``
which is deprecated. | .. versionchanged:: 3.6 On Linux, ``getrandom()`` is now used in blocking mode to increase the security.
.. versionchanged:: 3.11
On Windows, ``BCryptGenRandom()`` is used instead of ``CryptGenRandom()``
which is deprecated. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2a91a3d6-4a7c-41eb-b5df-2428dfd0d6c1 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,014 | supabase-export-v2 | 9ee54297d4cb2e1c | Return ``True`` if the process was stopped by delivery of a signal, otherwise return ``False``.
:func:`WIFSTOPPED` only returns ``True`` if the :func:`waitpid` call was
done using :data:`WUNTRACED` option or when the process is being traced (see
:manpage:`ptrace(2)`). | trusted_official_docs | CPython Docs | Return ``True`` if the process was stopped by delivery of a signal, otherwise return ``False``.
:func:`WIFSTOPPED` only returns ``True`` if the :func:`waitpid` call was
done using :data:`WUNTRACED` option or when the process is being traced (see
:manpage:`ptrace(2)`). | Return ``True`` if the process was stopped by delivery of a signal, otherwise return ``False``.
:func:`WIFSTOPPED` only returns ``True`` if the :func:`waitpid` call was
done using :data:`WUNTRACED` option or when the process is being traced (see
:manpage:`ptrace(2)`). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3388670f-d219-4322-9e66-6397d0d142a5 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,902 | supabase-export-v2 | c7c8bf019f11010e | as an argument to the :program:`start` command from the interactive command shell: the file is opened with whatever application (if any) its extension is associated.
When another *operation* is given, it must be a "command verb" that specifies
what should be done with the file. Common verbs documented by Microsoft are... | trusted_official_docs | CPython Docs | as an argument to the :program:`start` command from the interactive command shell: the file is opened with whatever application (if any) its extension is associated.
When another *operation* is given, it must be a "command verb" that specifies
what should be done with the file. Common verbs documented by Microsoft are... | as an argument to the :program:`start` command from the interactive command shell: the file is opened with whatever application (if any) its extension is associated.
When another *operation* is given, it must be a "command verb" that specifies
what should be done with the file. Common verbs documented by Microsoft are... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
36a6cd3e-31b8-4e3e-8af8-2bcde1ebee10 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,987 | supabase-export-v2 | 1cbf351a816a8266 | :func:`waitid` to leave the child in a waitable state, so that a later :func:`!wait*` call can be used to retrieve the child status information again.
This option is not available for the other ``wait*`` functions. | trusted_official_docs | CPython Docs | :func:`waitid` to leave the child in a waitable state, so that a later :func:`!wait*` call can be used to retrieve the child status information again.
This option is not available for the other ``wait*`` functions. | :func:`waitid` to leave the child in a waitable state, so that a later :func:`!wait*` call can be used to retrieve the child status information again.
This option is not available for the other ``wait*`` functions. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
373f3dc9-5886-4cd1-9db4-b56cd8497c79 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,954 | supabase-export-v2 | 54e012ed7a8a0af4 | .. function:: wait3(options)
Similar to :func:`waitpid`, except no process id argument is given and a
3-element tuple containing the child's process id, exit status indication,
and resource usage information is returned. Refer to
:func:`resource.getrusage` for details on resource usage information. The
*options* ar... | trusted_official_docs | CPython Docs | .. function:: wait3(options)
Similar to :func:`waitpid`, except no process id argument is given and a
3-element tuple containing the child's process id, exit status indication,
and resource usage information is returned. Refer to
:func:`resource.getrusage` for details on resource usage information. The
*options* ar... | .. function:: wait3(options)
Similar to :func:`waitpid`, except no process id argument is given and a
3-element tuple containing the child's process id, exit status indication,
and resource usage information is returned. Refer to
:func:`resource.getrusage` for details on resource usage information. The
*options* ar... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3be5ceb4-4ac3-46d0-a470-4d9055185add | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,122 | supabase-export-v2 | 66772773fb9c21d0 | .. index:: single: . (dot); in pathnames .. data:: extsep
The character which separates the base filename from the extension; for example,
the ``'.'`` in :file:`os.py`. Also available via :mod:`os.path`. | trusted_official_docs | CPython Docs | .. index:: single: . (dot); in pathnames .. data:: extsep
The character which separates the base filename from the extension; for example,
the ``'.'`` in :file:`os.py`. Also available via :mod:`os.path`. | .. index:: single: . (dot); in pathnames .. data:: extsep
The character which separates the base filename from the extension; for example,
the ``'.'`` in :file:`os.py`. Also available via :mod:`os.path`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3c01e82f-4f23-4dcc-b189-70d18e96442d | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,946 | supabase-export-v2 | 2357bb10e2508f6b | The details of this function differ on Unix and Windows.
On Unix: Wait for completion of a child process given by process id *pid*, and
return a tuple containing its process id and exit status indication (encoded as
for :func:`wait`). The semantics of the call are affected by the value of the
integer *options*, whic... | trusted_official_docs | CPython Docs | The details of this function differ on Unix and Windows.
On Unix: Wait for completion of a child process given by process id *pid*, and
return a tuple containing its process id and exit status indication (encoded as
for :func:`wait`). The semantics of the call are affected by the value of the
integer *options*, whic... | The details of this function differ on Unix and Windows.
On Unix: Wait for completion of a child process given by process id *pid*, and
return a tuple containing its process id and exit status indication (encoded as
for :func:`wait`). The semantics of the call are affected by the value of the
integer *options*, whic... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3d8141d5-481f-4d82-bcc7-13921c34a66e | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,108 | supabase-export-v2 | 8e7432afa6c6f747 | .. data:: sysconf_names
Dictionary mapping names accepted by :func:`sysconf` to the integer values
defined for those names by the host operating system. This can be used to
determine the set of names known to the system. | trusted_official_docs | CPython Docs | .. data:: sysconf_names
Dictionary mapping names accepted by :func:`sysconf` to the integer values
defined for those names by the host operating system. This can be used to
determine the set of names known to the system. | .. data:: sysconf_names
Dictionary mapping names accepted by :func:`sysconf` to the integer values
defined for those names by the host operating system. This can be used to
determine the set of names known to the system. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3e27efcf-d47b-486d-b756-fd511a634031 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,035 | supabase-export-v2 | 026b32f3bac69062 | Interface to the scheduler --------------------------
These functions control how a process is allocated CPU time by the operating
system. They are only available on some Unix platforms. For more detailed
information, consult your Unix manpages. | trusted_official_docs | CPython Docs | Interface to the scheduler --------------------------
These functions control how a process is allocated CPU time by the operating
system. They are only available on some Unix platforms. For more detailed
information, consult your Unix manpages. | Interface to the scheduler --------------------------
These functions control how a process is allocated CPU time by the operating
system. They are only available on some Unix platforms. For more detailed
information, consult your Unix manpages. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3e32e773-0e57-4c94-aaab-02f2be1cb8a6 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,955 | supabase-export-v2 | 4226dd70200819f6 | information is returned. Refer to :func:`resource.getrusage` for details on resource usage information. The *options* argument is the same as that provided to :func:`waitpid` and :func:`wait4`.
:func:`waitstatus_to_exitcode` can be used to convert the exit status into an
exitcode. | trusted_official_docs | CPython Docs | information is returned. Refer to :func:`resource.getrusage` for details on resource usage information. The *options* argument is the same as that provided to :func:`waitpid` and :func:`wait4`.
:func:`waitstatus_to_exitcode` can be used to convert the exit status into an
exitcode. | information is returned. Refer to :func:`resource.getrusage` for details on resource usage information. The *options* argument is the same as that provided to :func:`waitpid` and :func:`wait4`.
:func:`waitstatus_to_exitcode` can be used to convert the exit status into an
exitcode. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3eb1f5ec-d7cd-4652-a2f0-3593c72c8ce3 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,907 | supabase-export-v2 | 03db61ce7fba9d5a | make sure the first character is not a slash (``'/'``) Use :mod:`pathlib` or the :func:`os.path.normpath` function to ensure that paths are properly encoded for Win32.
To reduce interpreter startup overhead, the Win32 :c:func:`!ShellExecute`
function is not resolved until this function is first called. If the function... | trusted_official_docs | CPython Docs | make sure the first character is not a slash (``'/'``) Use :mod:`pathlib` or the :func:`os.path.normpath` function to ensure that paths are properly encoded for Win32.
To reduce interpreter startup overhead, the Win32 :c:func:`!ShellExecute`
function is not resolved until this function is first called. If the function... | make sure the first character is not a slash (``'/'``) Use :mod:`pathlib` or the :func:`os.path.normpath` function to ensure that paths are properly encoded for Win32.
To reduce interpreter startup overhead, the Win32 :c:func:`!ShellExecute`
function is not resolved until this function is first called. If the function... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3f8763de-3262-4d66-8fd1-f8645956a2f8 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,081 | supabase-export-v2 | e60d1053f4030f96 | Return the set of CPUs the process with PID *pid* is restricted to.
If *pid* is zero, return the set of CPUs the calling thread of the current
process is restricted to. | trusted_official_docs | CPython Docs | Return the set of CPUs the process with PID *pid* is restricted to.
If *pid* is zero, return the set of CPUs the calling thread of the current
process is restricted to. | Return the set of CPUs the process with PID *pid* is restricted to.
If *pid* is zero, return the set of CPUs the calling thread of the current
process is restricted to. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
40852288-1ca7-45bb-a76d-62abe5e241ae | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,980 | supabase-export-v2 | 9fb4d9e347251187 | :func:`wait4` causes child processes to also be reported if they have been stopped but their current state has not been reported since they were stopped.
This option is not available for :func:`waitid`. | trusted_official_docs | CPython Docs | :func:`wait4` causes child processes to also be reported if they have been stopped but their current state has not been reported since they were stopped.
This option is not available for :func:`waitid`. | :func:`wait4` causes child processes to also be reported if they have been stopped but their current state has not been reported since they were stopped.
This option is not available for :func:`waitid`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
40ca5444-0d98-48c2-8dca-a3914d395e5e | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,916 | supabase-export-v2 | a93971e80bd2f579 | variable :envvar:`COMSPEC`: it is usually :program:`cmd.exe`, which returns the exit status of the command run; on systems using a non-native shell, consult your shell documentation.
The :mod:`subprocess` module provides more powerful facilities for spawning
new processes and retrieving their results; using that modul... | trusted_official_docs | CPython Docs | variable :envvar:`COMSPEC`: it is usually :program:`cmd.exe`, which returns the exit status of the command run; on systems using a non-native shell, consult your shell documentation.
The :mod:`subprocess` module provides more powerful facilities for spawning
new processes and retrieving their results; using that modul... | variable :envvar:`COMSPEC`: it is usually :program:`cmd.exe`, which returns the exit status of the command run; on systems using a non-native shell, consult your shell documentation.
The :mod:`subprocess` module provides more powerful facilities for spawning
new processes and retrieving their results; using that modul... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4221fbb4-56a9-47ed-8a76-59535394a528 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,897 | supabase-export-v2 | ab3b160223bf9aab | .. data:: P_DETACH P_OVERLAY
Possible values for the *mode* parameter to the :func:`spawn\* <spawnl>` family of
functions. These are less portable than those listed above. :const:`P_DETACH`
is similar to :const:`P_NOWAIT`, but the new process is detached from the
console of the calling process. If :const:`P_OVERLAY`... | trusted_official_docs | CPython Docs | .. data:: P_DETACH P_OVERLAY
Possible values for the *mode* parameter to the :func:`spawn\* <spawnl>` family of
functions. These are less portable than those listed above. :const:`P_DETACH`
is similar to :const:`P_NOWAIT`, but the new process is detached from the
console of the calling process. If :const:`P_OVERLAY`... | .. data:: P_DETACH P_OVERLAY
Possible values for the *mode* parameter to the :func:`spawn\* <spawnl>` family of
functions. These are less portable than those listed above. :const:`P_DETACH`
is similar to :const:`P_NOWAIT`, but the new process is detached from the
console of the calling process. If :const:`P_OVERLAY`... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4313b107-ac64-444b-af8a-c40218f0301b | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,090 | supabase-export-v2 | 03108f70a25e7666 | .. data:: confstr_names
Dictionary mapping names accepted by :func:`confstr` to the integer values
defined for those names by the host operating system. This can be used to
determine the set of names known to the system. | trusted_official_docs | CPython Docs | .. data:: confstr_names
Dictionary mapping names accepted by :func:`confstr` to the integer values
defined for those names by the host operating system. This can be used to
determine the set of names known to the system. | .. data:: confstr_names
Dictionary mapping names accepted by :func:`confstr` to the integer values
defined for those names by the host operating system. This can be used to
determine the set of names known to the system. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
441b0737-c03b-4957-a5a5-fd6670006652 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,928 | supabase-export-v2 | eaa560effcee7621 | .. function:: wait()
Wait for completion of a child process, and return a tuple containing its pid
and exit status indication: a 16-bit number, whose low byte is the signal number
that killed the process, and whose high byte is the exit status (if the signal
number is zero); the high bit of the low byte is set if a ... | trusted_official_docs | CPython Docs | .. function:: wait()
Wait for completion of a child process, and return a tuple containing its pid
and exit status indication: a 16-bit number, whose low byte is the signal number
that killed the process, and whose high byte is the exit status (if the signal
number is zero); the high bit of the low byte is set if a ... | .. function:: wait()
Wait for completion of a child process, and return a tuple containing its pid
and exit status indication: a 16-bit number, whose low byte is the signal number
that killed the process, and whose high byte is the exit status (if the signal
number is zero); the high bit of the low byte is set if a ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
47dce4c4-79b3-471a-9086-963903f0ddfa | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,986 | supabase-export-v2 | bcde18aa468aff27 | .. data:: WNOWAIT
This *options* flag causes :func:`waitid` to leave the child in a waitable state, so that
a later :func:`!wait*` call can be used to retrieve the child status information again. | trusted_official_docs | CPython Docs | .. data:: WNOWAIT
This *options* flag causes :func:`waitid` to leave the child in a waitable state, so that
a later :func:`!wait*` call can be used to retrieve the child status information again. | .. data:: WNOWAIT
This *options* flag causes :func:`waitid` to leave the child in a waitable state, so that
a later :func:`!wait*` call can be used to retrieve the child status information again. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
48c5e494-217b-4432-ac0f-de5f7124eb6e | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,934 | supabase-export-v2 | 7a690eb7c0930a35 | be used to wait for the completion of a specific child process and have more options. :func:`waitpid` is the only one also available on Windows.
.. function:: waitid(idtype, id, options, /) | trusted_official_docs | CPython Docs | be used to wait for the completion of a specific child process and have more options. :func:`waitpid` is the only one also available on Windows.
.. function:: waitid(idtype, id, options, /) | be used to wait for the completion of a specific child process and have more options. :func:`waitpid` is the only one also available on Windows.
.. function:: waitid(idtype, id, options, /) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
49c29c2b-ff3b-45f4-92f3-eeab91eff5ec | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,148 | supabase-export-v2 | 53c7b1b130dcb2fa | Unix-like system, random bytes are read from the ``/dev/urandom`` device. If the ``/dev/urandom`` device is not available or not readable, the :exc:`NotImplementedError` exception is raised.
On Windows, it will use ``BCryptGenRandom()``. | trusted_official_docs | CPython Docs | Unix-like system, random bytes are read from the ``/dev/urandom`` device. If the ``/dev/urandom`` device is not available or not readable, the :exc:`NotImplementedError` exception is raised.
On Windows, it will use ``BCryptGenRandom()``. | Unix-like system, random bytes are read from the ``/dev/urandom`` device. If the ``/dev/urandom`` device is not available or not readable, the :exc:`NotImplementedError` exception is raised.
On Windows, it will use ``BCryptGenRandom()``. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4a3f0b29-505c-43ed-8e76-da825e022f89 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,150 | supabase-export-v2 | 12fca408abb68547 | .. seealso:: The :mod:`secrets` module provides higher level functions. For an easy-to-use interface to the random number generator provided by your platform, please see :class:`random.SystemRandom`.
.. versionchanged:: 3.5
On Linux 3.17 and newer, the ``getrandom()`` syscall is now used
when available. On OpenBSD 5.... | trusted_official_docs | CPython Docs | .. seealso:: The :mod:`secrets` module provides higher level functions. For an easy-to-use interface to the random number generator provided by your platform, please see :class:`random.SystemRandom`.
.. versionchanged:: 3.5
On Linux 3.17 and newer, the ``getrandom()`` syscall is now used
when available. On OpenBSD 5.... | .. seealso:: The :mod:`secrets` module provides higher level functions. For an easy-to-use interface to the random number generator provided by your platform, please see :class:`random.SystemRandom`.
.. versionchanged:: 3.5
On Linux 3.17 and newer, the ``getrandom()`` syscall is now used
when available. On OpenBSD 5.... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4cf1947b-779b-4871-bfef-0dd4362a6e34 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,101 | supabase-export-v2 | 06068331cb3034c6 | CPUs usable by the calling thread of the **current process**. Returns ``None`` if undetermined. It can be less than :func:`cpu_count` depending on the CPU affinity.
The :func:`cpu_count` function can be used to get the number of logical CPUs
in the **system**. | trusted_official_docs | CPython Docs | CPUs usable by the calling thread of the **current process**. Returns ``None`` if undetermined. It can be less than :func:`cpu_count` depending on the CPU affinity.
The :func:`cpu_count` function can be used to get the number of logical CPUs
in the **system**. | CPUs usable by the calling thread of the **current process**. Returns ``None`` if undetermined. It can be less than :func:`cpu_count` depending on the CPU affinity.
The :func:`cpu_count` function can be used to get the number of logical CPUs
in the **system**. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4dd39522-08e0-4a26-88ca-e7d53bb8c3ab | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,979 | supabase-export-v2 | 5e0fa06b7a152881 | .. data:: WUNTRACED
This *options* flag for :func:`waitpid`, :func:`wait3`, and :func:`wait4` causes
child processes to also be reported if they have been stopped but their
current state has not been reported since they were stopped. | trusted_official_docs | CPython Docs | .. data:: WUNTRACED
This *options* flag for :func:`waitpid`, :func:`wait3`, and :func:`wait4` causes
child processes to also be reported if they have been stopped but their
current state has not been reported since they were stopped. | .. data:: WUNTRACED
This *options* flag for :func:`waitpid`, :func:`wait3`, and :func:`wait4` causes
child processes to also be reported if they have been stopped but their
current state has not been reported since they were stopped. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5256b918-d5fe-4f78-b5ab-a78160ee5441 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,963 | supabase-export-v2 | b559ffc5b46b0bad | These are the possible values for *idtype* in :func:`waitid`. They affect how *id* is interpreted:
* :data:`!P_PID` - wait for the child whose PID is *id*. * :data:`!P_PGID` - wait for any child whose progress group ID is *id*. * :data:`!P_ALL` - wait for any child; *id* is ignored. * :data:`!P_PIDFD` - wait for the ch... | trusted_official_docs | CPython Docs | These are the possible values for *idtype* in :func:`waitid`. They affect how *id* is interpreted:
* :data:`!P_PID` - wait for the child whose PID is *id*. * :data:`!P_PGID` - wait for any child whose progress group ID is *id*. * :data:`!P_ALL` - wait for any child; *id* is ignored. * :data:`!P_PIDFD` - wait for the ch... | These are the possible values for *idtype* in :func:`waitid`. They affect how *id* is interpreted:
* :data:`!P_PID` - wait for the child whose PID is *id*. * :data:`!P_PGID` - wait for any child whose progress group ID is *id*. * :data:`!P_ALL` - wait for any child; *id* is ignored. * :data:`!P_PIDFD` - wait for the ch... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
545b9df2-30ba-44b5-b4a1-d29ba8687e3d | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,915 | supabase-export-v2 | d724fb808cda0bf6 | On Unix, the return value is the exit status of the process encoded in the format specified for :func:`wait`.
On Windows, the return value is that returned by the system shell after
running *command*. The shell is given by the Windows environment variable
:envvar:`COMSPEC`: it is usually :program:`cmd.exe`, which ret... | trusted_official_docs | CPython Docs | On Unix, the return value is the exit status of the process encoded in the format specified for :func:`wait`.
On Windows, the return value is that returned by the system shell after
running *command*. The shell is given by the Windows environment variable
:envvar:`COMSPEC`: it is usually :program:`cmd.exe`, which ret... | On Unix, the return value is the exit status of the process encoded in the format specified for :func:`wait`.
On Windows, the return value is that returned by the system shell after
running *command*. The shell is given by the Windows environment variable
:envvar:`COMSPEC`: it is usually :program:`cmd.exe`, which ret... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
54fa4bc5-abcd-46b9-8b73-bd4390e6b7d1 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,972 | supabase-export-v2 | c5a86634866f19d3 | This *options* flag for :func:`waitid` causes child processes that have terminated to be reported.
The other ``wait*`` functions always report children that have terminated,
so this option is not available for them. | trusted_official_docs | CPython Docs | This *options* flag for :func:`waitid` causes child processes that have terminated to be reported.
The other ``wait*`` functions always report children that have terminated,
so this option is not available for them. | This *options* flag for :func:`waitid` causes child processes that have terminated to be reported.
The other ``wait*`` functions always report children that have terminated,
so this option is not available for them. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5641905c-147a-4ed5-9d2f-e4a029963ea6 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,933 | supabase-export-v2 | 441cc8b1e17a6529 | .. seealso::
The other :func:`!wait*` functions documented below can be used to wait for the
completion of a specific child process and have more options. :func:`waitpid` is the only one also available on Windows. | trusted_official_docs | CPython Docs | .. seealso::
The other :func:`!wait*` functions documented below can be used to wait for the
completion of a specific child process and have more options. :func:`waitpid` is the only one also available on Windows. | .. seealso::
The other :func:`!wait*` functions documented below can be used to wait for the
completion of a specific child process and have more options. :func:`waitpid` is the only one also available on Windows. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
56d2026d-ae34-4ab9-be1d-5f6322eb138a | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,914 | supabase-export-v2 | 6a969ad636001d3c | C standard does not specify the meaning of the return value of the C function, so the return value of the Python function is system-dependent.
On Unix, the return value is the exit status of the process encoded in the
format specified for :func:`wait`. | trusted_official_docs | CPython Docs | C standard does not specify the meaning of the return value of the C function, so the return value of the Python function is system-dependent.
On Unix, the return value is the exit status of the process encoded in the
format specified for :func:`wait`. | C standard does not specify the meaning of the return value of the C function, so the return value of the Python function is system-dependent.
On Unix, the return value is the exit status of the process encoded in the
format specified for :func:`wait`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
619fdd52-0e3a-4779-b337-5e887c5564a8 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,069 | supabase-export-v2 | 77e6c032628b52a4 | policy for the process with PID *pid*. A *pid* of 0 means the calling process. The result is one of the scheduling policy constants above.
.. function:: sched_setparam(pid, param, /) | trusted_official_docs | CPython Docs | policy for the process with PID *pid*. A *pid* of 0 means the calling process. The result is one of the scheduling policy constants above.
.. function:: sched_setparam(pid, param, /) | policy for the process with PID *pid*. A *pid* of 0 means the calling process. The result is one of the scheduling policy constants above.
.. function:: sched_setparam(pid, param, /) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
636bad8b-eca3-48d0-a12a-1269cfc48a55 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,906 | supabase-export-v2 | a28273749e14aec8 | default window style. Whether this has any effect will depend on the application being launched. Values are integers as supported by the Win32 :c:func:`!ShellExecute` function.
:func:`startfile` returns as soon as the associated application is launched. There is no option to wait for the application to close, and no wa... | trusted_official_docs | CPython Docs | default window style. Whether this has any effect will depend on the application being launched. Values are integers as supported by the Win32 :c:func:`!ShellExecute` function.
:func:`startfile` returns as soon as the associated application is launched. There is no option to wait for the application to close, and no wa... | default window style. Whether this has any effect will depend on the application being launched. Values are integers as supported by the Win32 :c:func:`!ShellExecute` function.
:func:`startfile` returns as soon as the associated application is launched. There is no option to wait for the application to close, and no wa... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
65480c9b-01a8-4fde-81b5-51404c829571 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,937 | supabase-export-v2 | b89359c811e3d271 | *idtype* can be :data:`P_PID`, :data:`P_PGID`, :data:`P_ALL`, or (on Linux) :data:`P_PIDFD`. The interpretation of *id* depends on it; see their individual descriptions.
*options* is an OR combination of flags. At least one of :data:`WEXITED`,
:data:`WSTOPPED` or :data:`WCONTINUED` is required;
:data:`WNOHANG` and :d... | trusted_official_docs | CPython Docs | *idtype* can be :data:`P_PID`, :data:`P_PGID`, :data:`P_ALL`, or (on Linux) :data:`P_PIDFD`. The interpretation of *id* depends on it; see their individual descriptions.
*options* is an OR combination of flags. At least one of :data:`WEXITED`,
:data:`WSTOPPED` or :data:`WCONTINUED` is required;
:data:`WNOHANG` and :d... | *idtype* can be :data:`P_PID`, :data:`P_PGID`, :data:`P_ALL`, or (on Linux) :data:`P_PIDFD`. The interpretation of *id* depends on it; see their individual descriptions.
*options* is an OR combination of flags. At least one of :data:`WEXITED`,
:data:`WSTOPPED` or :data:`WCONTINUED` is required;
:data:`WNOHANG` and :d... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
680ecc37-6271-423e-8cce-c0c9f57588e1 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,009 | supabase-export-v2 | ebdb8da5620e1abf | .. function:: WIFCONTINUED(status)
Return ``True`` if a stopped child has been resumed by delivery of
:const:`~signal.SIGCONT` (if the process has been continued from a job
control stop), otherwise return ``False``. | trusted_official_docs | CPython Docs | .. function:: WIFCONTINUED(status)
Return ``True`` if a stopped child has been resumed by delivery of
:const:`~signal.SIGCONT` (if the process has been continued from a job
control stop), otherwise return ``False``. | .. function:: WIFCONTINUED(status)
Return ``True`` if a stopped child has been resumed by delivery of
:const:`~signal.SIGCONT` (if the process has been continued from a job
control stop), otherwise return ``False``. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6985932d-b3e3-44c3-a502-ac612e637f19 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,901 | supabase-export-v2 | 0157c7c36e582653 | Start a file with its associated application.
When *operation* is not specified, this acts like double-clicking
the file in Windows Explorer, or giving the file name as an argument to the
:program:`start` command from the interactive command shell: the file is opened
with whatever application (if any) its extension ... | trusted_official_docs | CPython Docs | Start a file with its associated application.
When *operation* is not specified, this acts like double-clicking
the file in Windows Explorer, or giving the file name as an argument to the
:program:`start` command from the interactive command shell: the file is opened
with whatever application (if any) its extension ... | Start a file with its associated application.
When *operation* is not specified, this acts like double-clicking
the file in Windows Explorer, or giving the file name as an argument to the
:program:`start` command from the interactive command shell: the file is opened
with whatever application (if any) its extension ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6b6040c2-6902-4525-9e78-c4047c2c754a | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,968 | supabase-export-v2 | dfab2a71bc110aac | .. data:: WCONTINUED
This *options* flag for :func:`waitpid`, :func:`wait3`, :func:`wait4`, and
:func:`waitid` causes child processes to be reported if they have been
continued from a job control stop since they were last reported. | trusted_official_docs | CPython Docs | .. data:: WCONTINUED
This *options* flag for :func:`waitpid`, :func:`wait3`, :func:`wait4`, and
:func:`waitid` causes child processes to be reported if they have been
continued from a job control stop since they were last reported. | .. data:: WCONTINUED
This *options* flag for :func:`waitpid`, :func:`wait3`, :func:`wait4`, and
:func:`waitid` causes child processes to be reported if they have been
continued from a job control stop since they were last reported. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6bcdf286-0378-4292-b43b-4addaa2849d5 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,140 | supabase-export-v2 | da4e828adbec974a | The flags argument is a bit mask that can contain zero or more of the following values ORed together: :py:const:`os.GRND_RANDOM` and :py:data:`GRND_NONBLOCK`.
See also the `Linux getrandom() manual page
<https://man7.org/linux/man-pages/man2/getrandom.2.html>`_. | trusted_official_docs | CPython Docs | The flags argument is a bit mask that can contain zero or more of the following values ORed together: :py:const:`os.GRND_RANDOM` and :py:data:`GRND_NONBLOCK`.
See also the `Linux getrandom() manual page
<https://man7.org/linux/man-pages/man2/getrandom.2.html>`_. | The flags argument is a bit mask that can contain zero or more of the following values ORed together: :py:const:`os.GRND_RANDOM` and :py:data:`GRND_NONBLOCK`.
See also the `Linux getrandom() manual page
<https://man7.org/linux/man-pages/man2/getrandom.2.html>`_. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6ccef3b0-6baf-43bf-902e-61b954057afd | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 43,929 | supabase-export-v2 | 319064c8564024b5 | is the exit status (if the signal number is zero); the high bit of the low byte is set if a core file was produced.
If there are no children that could be waited for, :exc:`ChildProcessError`
is raised. | trusted_official_docs | CPython Docs | is the exit status (if the signal number is zero); the high bit of the low byte is set if a core file was produced.
If there are no children that could be waited for, :exc:`ChildProcessError`
is raised. | is the exit status (if the signal number is zero); the high bit of the low byte is set if a core file was produced.
If there are no children that could be waited for, :exc:`ChildProcessError`
is raised. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6d8cf3db-d260-41d9-be69-6cf48cb82caa | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,068 | supabase-export-v2 | e4ae64eb4a40f117 | .. function:: sched_getscheduler(pid, /)
Return the scheduling policy for the process with PID *pid*. A *pid* of 0
means the calling process. The result is one of the scheduling policy
constants above. | trusted_official_docs | CPython Docs | .. function:: sched_getscheduler(pid, /)
Return the scheduling policy for the process with PID *pid*. A *pid* of 0
means the calling process. The result is one of the scheduling policy
constants above. | .. function:: sched_getscheduler(pid, /)
Return the scheduling policy for the process with PID *pid*. A *pid* of 0
means the calling process. The result is one of the scheduling policy
constants above. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
70ea37bb-1505-41b3-acc1-42d70ad30c70 | CPython Docs | file://datasets/cpython/Doc/library/os.rst | unknown | 45983a6c-a22f-4481-a12a-a922736c8c3f | 44,139 | supabase-export-v2 | 4abd5b9c45083507 | other sources of environmental noise. Unnecessarily reading large quantities of data will have a negative impact on other users of the ``/dev/random`` and ``/dev/urandom`` devices.
The flags argument is a bit mask that can contain zero or more of the
following values ORed together: :py:const:`os.GRND_RANDOM` and
:py:... | trusted_official_docs | CPython Docs | other sources of environmental noise. Unnecessarily reading large quantities of data will have a negative impact on other users of the ``/dev/random`` and ``/dev/urandom`` devices.
The flags argument is a bit mask that can contain zero or more of the
following values ORed together: :py:const:`os.GRND_RANDOM` and
:py:... | other sources of environmental noise. Unnecessarily reading large quantities of data will have a negative impact on other users of the ``/dev/random`` and ``/dev/urandom`` devices.
The flags argument is a bit mask that can contain zero or more of the
following values ORed together: :py:const:`os.GRND_RANDOM` and
:py:... | python, official-docs, cpython, P0 | Local_Trusted_Corpus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.