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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7353e40c-2e01-4091-aea4-b8989c32ce48 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 47,994 | supabase-export-v2 | 0e90e0ff099769db | .. |param_doc_user| replace:: The username to log in with (default: ``'anonymous'``).
.. |param_doc_passwd| replace::
The password to use when logging in. If not given, and if *passwd* is the empty string or ``"-"``,
a password will be automatically generated. | trusted_official_docs | CPython Docs | .. |param_doc_user| replace:: The username to log in with (default: ``'anonymous'``).
.. |param_doc_passwd| replace::
The password to use when logging in. If not given, and if *passwd* is the empty string or ``"-"``,
a password will be automatically generated. | .. |param_doc_user| replace:: The username to log in with (default: ``'anonymous'``).
.. |param_doc_passwd| replace::
The password to use when logging in. If not given, and if *passwd* is the empty string or ``"-"``,
a password will be automatically generated. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
78da6495-ece8-45bb-90d3-1b0401378fb0 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 47,990 | supabase-export-v2 | c1054ed5196c32d8 | Here's a sample session using the :mod:`!ftplib` module::
>>> from ftplib import FTP
>>> ftp = FTP('ftp.us.debian.org') # connect to host, default port
>>> ftp.login() # user anonymous, passwd anonymous@
'230 Login successful.'
>>> ftp.cwd('debian') # change into "debian" directory
'250 Directory successfully chan... | trusted_official_docs | CPython Docs | Here's a sample session using the :mod:`!ftplib` module::
>>> from ftplib import FTP
>>> ftp = FTP('ftp.us.debian.org') # connect to host, default port
>>> ftp.login() # user anonymous, passwd anonymous@
'230 Login successful.'
>>> ftp.cwd('debian') # change into "debian" directory
'250 Directory successfully chan... | Here's a sample session using the :mod:`!ftplib` module::
>>> from ftplib import FTP
>>> ftp = FTP('ftp.us.debian.org') # connect to host, default port
>>> ftp.login() # user anonymous, passwd anonymous@
'230 Login successful.'
>>> ftp.cwd('debian') # change into "debian" directory
'250 Directory successfully chan... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7bba4488-4c12-4d9e-9f74-848686c285e4 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,055 | supabase-export-v2 | 399dbeef9fbf6dd6 | which is read until EOF, using its :meth:`~io.RawIOBase.read` method in blocks of size *blocksize* to provide the data to be stored. :type fp: :term:`file object`
:param int blocksize:
The read block size. Defaults to ``8192``. | trusted_official_docs | CPython Docs | which is read until EOF, using its :meth:`~io.RawIOBase.read` method in blocks of size *blocksize* to provide the data to be stored. :type fp: :term:`file object`
:param int blocksize:
The read block size. Defaults to ``8192``. | which is read until EOF, using its :meth:`~io.RawIOBase.read` method in blocks of size *blocksize* to provide the data to be stored. :type fp: :term:`file object`
:param int blocksize:
The read block size. Defaults to ``8192``. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7cc6d127-82b2-4268-b705-f08a2a067f31 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,019 | supabase-export-v2 | 66b5403370d41374 | .. method:: FTP.connect(host='', port=0, timeout=None, source_address=None)
Connect to the given host and port. This function should be called only once for each instance;
it should not be called if a *host* argument was given
when the :class:`FTP` instance was created. All other :class:`!FTP` methods can only be cal... | trusted_official_docs | CPython Docs | .. method:: FTP.connect(host='', port=0, timeout=None, source_address=None)
Connect to the given host and port. This function should be called only once for each instance;
it should not be called if a *host* argument was given
when the :class:`FTP` instance was created. All other :class:`!FTP` methods can only be cal... | .. method:: FTP.connect(host='', port=0, timeout=None, source_address=None)
Connect to the given host and port. This function should be called only once for each instance;
it should not be called if a *host* argument was given
when the :class:`FTP` instance was created. All other :class:`!FTP` methods can only be cal... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7ed40011-641a-41d4-9866-e22f4fc43e37 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,073 | supabase-export-v2 | cd2662d332bebfb7 | .. method:: FTP.dir(argument[, ...])
Produce a directory listing as returned by the ``LIST`` command, printing it to
standard output. The optional *argument* is a directory to list (default is the
current server directory). Multiple arguments can be used to pass non-standard
options to the ``LIST`` command. If the l... | trusted_official_docs | CPython Docs | .. method:: FTP.dir(argument[, ...])
Produce a directory listing as returned by the ``LIST`` command, printing it to
standard output. The optional *argument* is a directory to list (default is the
current server directory). Multiple arguments can be used to pass non-standard
options to the ``LIST`` command. If the l... | .. method:: FTP.dir(argument[, ...])
Produce a directory listing as returned by the ``LIST`` command, printing it to
standard output. The optional *argument* is a directory to list (default is the
current server directory). Multiple arguments can be used to pass non-standard
options to the ``LIST`` command. If the l... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7f7f2571-8afa-44c0-a1d3-ab0d1a46d24a | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,017 | supabase-export-v2 | 57a652543b3ff5e0 | Set the instance's debugging level as an :class:`int`. This controls the amount of debugging output printed. The debug levels are:
* ``0`` (default): No debug output. * ``1``: Produce a moderate amount of debug output,
generally a single line per request. * ``2`` or higher: Produce the maximum amount of debugging outp... | trusted_official_docs | CPython Docs | Set the instance's debugging level as an :class:`int`. This controls the amount of debugging output printed. The debug levels are:
* ``0`` (default): No debug output. * ``1``: Produce a moderate amount of debug output,
generally a single line per request. * ``2`` or higher: Produce the maximum amount of debugging outp... | Set the instance's debugging level as an :class:`int`. This controls the amount of debugging output printed. The debug levels are:
* ``0`` (default): No debug output. * ``1``: Produce a moderate amount of debug output,
generally a single line per request. * ``2`` or higher: Produce the maximum amount of debugging outp... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
98f1c301-c128-4c4f-b244-0f1465edbeb7 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,109 | supabase-export-v2 | c74b7f761eb49d11 | to prevent the creation of a non-blocking socket. The *encoding* parameter was added, and the default was changed from Latin-1 to UTF-8 to follow :rfc:`2640`.
.. versionchanged:: 3.12
The deprecated *keyfile* and *certfile* parameters have been removed. | trusted_official_docs | CPython Docs | to prevent the creation of a non-blocking socket. The *encoding* parameter was added, and the default was changed from Latin-1 to UTF-8 to follow :rfc:`2640`.
.. versionchanged:: 3.12
The deprecated *keyfile* and *certfile* parameters have been removed. | to prevent the creation of a non-blocking socket. The *encoding* parameter was added, and the default was changed from Latin-1 to UTF-8 to follow :rfc:`2640`.
.. versionchanged:: 3.12
The deprecated *keyfile* and *certfile* parameters have been removed. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9beae7d8-1454-49bb-94a7-d2274bbbd67d | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,028 | supabase-export-v2 | f9ff1e1dae97e509 | sent by the server in reply to the initial connection. (This message sometimes contains disclaimers or help information that may be relevant to the user.)
.. method:: FTP.login(user='anonymous', passwd='', acct='') | trusted_official_docs | CPython Docs | sent by the server in reply to the initial connection. (This message sometimes contains disclaimers or help information that may be relevant to the user.)
.. method:: FTP.login(user='anonymous', passwd='', acct='') | sent by the server in reply to the initial connection. (This message sometimes contains disclaimers or help information that may be relevant to the user.)
.. method:: FTP.login(user='anonymous', passwd='', acct='') | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
9eaad464-eb62-48ab-8eaf-b626d75ebcde | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,054 | supabase-export-v2 | a31a6063f625d061 | :param str cmd: An appropriate ``STOR`` command: :samp:`"STOR {filename}"`.
:param fp:
A file object (opened in binary mode) which is read until EOF,
using its :meth:`~io.RawIOBase.read` method in blocks of size *blocksize*
to provide the data to be stored. :type fp: :term:`file object` | trusted_official_docs | CPython Docs | :param str cmd: An appropriate ``STOR`` command: :samp:`"STOR {filename}"`.
:param fp:
A file object (opened in binary mode) which is read until EOF,
using its :meth:`~io.RawIOBase.read` method in blocks of size *blocksize*
to provide the data to be stored. :type fp: :term:`file object` | :param str cmd: An appropriate ``STOR`` command: :samp:`"STOR {filename}"`.
:param fp:
A file object (opened in binary mode) which is read until EOF,
using its :meth:`~io.RawIOBase.read` method in blocks of size *blocksize*
to provide the data to be stored. :type fp: :term:`file object` | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
a5ffdb61-2925-41a0-a9f8-ac93e54d09bd | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,108 | supabase-export-v2 | d3db39d0f4eb240c | .. versionchanged:: 3.4 The class now supports hostname check with :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see :const:`ssl.HAS_SNI`).
.. versionchanged:: 3.9
If the *timeout* parameter is set to be zero, it will raise a
:class:`ValueError` to prevent the creation of a non-blocking socket. ... | trusted_official_docs | CPython Docs | .. versionchanged:: 3.4 The class now supports hostname check with :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see :const:`ssl.HAS_SNI`).
.. versionchanged:: 3.9
If the *timeout* parameter is set to be zero, it will raise a
:class:`ValueError` to prevent the creation of a non-blocking socket. ... | .. versionchanged:: 3.4 The class now supports hostname check with :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see :const:`ssl.HAS_SNI`).
.. versionchanged:: 3.9
If the *timeout* parameter is set to be zero, it will raise a
:class:`ValueError` to prevent the creation of a non-blocking socket. ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ac413ad7-af6a-4c4f-bc8b-2e6cfd4c281a | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 47,995 | supabase-export-v2 | 5ec9a6f057de85c9 | The password to use when logging in. If not given, and if *passwd* is the empty string or ``"-"``, a password will be automatically generated.
.. Ideally, we'd like to use the :rfc: directive, but Sphinx will not allow it. | trusted_official_docs | CPython Docs | The password to use when logging in. If not given, and if *passwd* is the empty string or ``"-"``, a password will be automatically generated.
.. Ideally, we'd like to use the :rfc: directive, but Sphinx will not allow it. | The password to use when logging in. If not given, and if *passwd* is the empty string or ``"-"``, a password will be automatically generated.
.. Ideally, we'd like to use the :rfc: directive, but Sphinx will not allow it. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
acf7b4df-8ce2-41d7-b67f-56a1f9b77516 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 47,986 | supabase-export-v2 | b489bf6415968664 | --------------
This module defines the class :class:`FTP` and a few related items. The
:class:`FTP` class implements the client side of the FTP protocol. You can use
this to write Python programs that perform a variety of automated FTP jobs, such
as mirroring other FTP servers. It is also used by the module
:mod:`urlli... | trusted_official_docs | CPython Docs | --------------
This module defines the class :class:`FTP` and a few related items. The
:class:`FTP` class implements the client side of the FTP protocol. You can use
this to write Python programs that perform a variety of automated FTP jobs, such
as mirroring other FTP servers. It is also used by the module
:mod:`urlli... | --------------
This module defines the class :class:`FTP` and a few related items. The
:class:`FTP` class implements the client side of the FTP protocol. You can use
this to write Python programs that perform a variety of automated FTP jobs, such
as mirroring other FTP servers. It is also used by the module
:mod:`urlli... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
aee5cca3-1fc2-4dc9-99f8-05d0f14e90b5 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,009 | supabase-export-v2 | 4267ce5e7c7f638b | The :class:`FTP` class supports the :keyword:`with` statement, e.g.:
>>> from ftplib import FTP
>>> with FTP("ftp1.at.proftpd.org") as ftp:
... ftp.login()
... ftp.dir()
... # doctest: +SKIP
'230 Anonymous login ok, restrictions apply.'
dr-xr-xr-x 9 ftp ftp 154 May 6 10:43 . dr-xr-xr-x 9 ftp ftp 154 May 6 10:43 .... | trusted_official_docs | CPython Docs | The :class:`FTP` class supports the :keyword:`with` statement, e.g.:
>>> from ftplib import FTP
>>> with FTP("ftp1.at.proftpd.org") as ftp:
... ftp.login()
... ftp.dir()
... # doctest: +SKIP
'230 Anonymous login ok, restrictions apply.'
dr-xr-xr-x 9 ftp ftp 154 May 6 10:43 . dr-xr-xr-x 9 ftp ftp 154 May 6 10:43 .... | The :class:`FTP` class supports the :keyword:`with` statement, e.g.:
>>> from ftplib import FTP
>>> with FTP("ftp1.at.proftpd.org") as ftp:
... ftp.login()
... ftp.dir()
... # doctest: +SKIP
'230 Anonymous login ok, restrictions apply.'
dr-xr-xr-x 9 ftp ftp 154 May 6 10:43 . dr-xr-xr-x 9 ftp ftp 154 May 6 10:43 .... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bdf90a27-9e5f-4bc1-ba3f-32f3137d9f5a | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 47,998 | supabase-export-v2 | 394e1177b28aa380 | .. |param_doc_source_address| replace:: A 2-tuple ``(host, port)`` for the socket to bind to as its source address before connecting.
.. |param_doc_encoding| replace::
The encoding for directories and filenames (default: ``'utf-8'``). | trusted_official_docs | CPython Docs | .. |param_doc_source_address| replace:: A 2-tuple ``(host, port)`` for the socket to bind to as its source address before connecting.
.. |param_doc_encoding| replace::
The encoding for directories and filenames (default: ``'utf-8'``). | .. |param_doc_source_address| replace:: A 2-tuple ``(host, port)`` for the socket to bind to as its source address before connecting.
.. |param_doc_encoding| replace::
The encoding for directories and filenames (default: ``'utf-8'``). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bead1d0e-6af3-47a9-a312-8236884c9d74 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,060 | supabase-export-v2 | 9c972c4501e9d3c4 | .. method:: FTP.storlines(cmd, fp, callback=None)
Store a file in line mode. *cmd* should be an appropriate
``STOR`` command (see :meth:`storbinary`). Lines are read until EOF from the
:term:`file object` *fp* (opened in binary mode) using its :meth:`~io.IOBase.readline`
method to provide the data to be stored. *cal... | trusted_official_docs | CPython Docs | .. method:: FTP.storlines(cmd, fp, callback=None)
Store a file in line mode. *cmd* should be an appropriate
``STOR`` command (see :meth:`storbinary`). Lines are read until EOF from the
:term:`file object` *fp* (opened in binary mode) using its :meth:`~io.IOBase.readline`
method to provide the data to be stored. *cal... | .. method:: FTP.storlines(cmd, fp, callback=None)
Store a file in line mode. *cmd* should be an appropriate
``STOR`` command (see :meth:`storbinary`). Lines are read until EOF from the
:term:`file object` *fp* (opened in binary mode) using its :meth:`~io.IOBase.readline`
method to provide the data to be stored. *cal... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
beff9a0b-827c-4691-94ad-ccd5d25a3428 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,090 | supabase-export-v2 | b4ee1cb98bc61a00 | .. method:: FTP.quit()
Send a ``QUIT`` command to the server and close the connection. This is the
"polite" way to close a connection, but it may raise an exception if the server
responds with an error to the ``QUIT`` command. This implies a call to the
:meth:`close` method which renders the :class:`FTP` instance us... | trusted_official_docs | CPython Docs | .. method:: FTP.quit()
Send a ``QUIT`` command to the server and close the connection. This is the
"polite" way to close a connection, but it may raise an exception if the server
responds with an error to the ``QUIT`` command. This implies a call to the
:meth:`close` method which renders the :class:`FTP` instance us... | .. method:: FTP.quit()
Send a ``QUIT`` command to the server and close the connection. This is the
"polite" way to close a connection, but it may raise an exception if the server
responds with an error to the ``QUIT`` command. This implies a call to the
:meth:`close` method which renders the :class:`FTP` instance us... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bfb2fe76-0554-4cff-827b-5c950df7ee7b | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,071 | supabase-export-v2 | 7400da1600260c4a | *argument* is a directory to list (default is the current server directory). Multiple arguments can be used to pass non-standard options to the ``NLST`` command.
.. note:: If your server supports the command, :meth:`mlsd` offers a better API. | trusted_official_docs | CPython Docs | *argument* is a directory to list (default is the current server directory). Multiple arguments can be used to pass non-standard options to the ``NLST`` command.
.. note:: If your server supports the command, :meth:`mlsd` offers a better API. | *argument* is a directory to list (default is the current server directory). Multiple arguments can be used to pass non-standard options to the ``NLST`` command.
.. note:: If your server supports the command, :meth:`mlsd` offers a better API. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c1b445b7-dd8f-4cc8-9248-d1f7a3a2e58d | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,039 | supabase-export-v2 | 7596239d83abf1b8 | .. method:: FTP.voidcmd(cmd)
Send a simple command string to the server and handle the response. Return
the response string if the response code corresponds to success (codes in
the range 200--299). Raise :exc:`error_reply` otherwise. | trusted_official_docs | CPython Docs | .. method:: FTP.voidcmd(cmd)
Send a simple command string to the server and handle the response. Return
the response string if the response code corresponds to success (codes in
the range 200--299). Raise :exc:`error_reply` otherwise. | .. method:: FTP.voidcmd(cmd)
Send a simple command string to the server and handle the response. Return
the response string if the response code corresponds to success (codes in
the range 200--299). Raise :exc:`error_reply` otherwise. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c3e66ee0-3154-41d1-9c37-4519186c12db | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,046 | supabase-export-v2 | 06c611371c7b2a9f | object created to do the actual transfer. This also corresponds to the largest size of data that will be passed to *callback*. Defaults to ``8192``.
:param int rest:
A ``REST`` command to be sent to the server. See the documentation for the *rest* parameter of the :meth:`transfercmd` method. | trusted_official_docs | CPython Docs | object created to do the actual transfer. This also corresponds to the largest size of data that will be passed to *callback*. Defaults to ``8192``.
:param int rest:
A ``REST`` command to be sent to the server. See the documentation for the *rest* parameter of the :meth:`transfercmd` method. | object created to do the actual transfer. This also corresponds to the largest size of data that will be passed to *callback*. Defaults to ``8192``.
:param int rest:
A ``REST`` command to be sent to the server. See the documentation for the *rest* parameter of the :meth:`transfercmd` method. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c61f6819-f5ce-422a-acbb-e6d16c09da22 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,078 | supabase-export-v2 | 7760a04349f064f3 | .. method:: FTP.delete(filename)
Remove the file named *filename* from the server. If successful, returns the
text of the response, otherwise raises :exc:`error_perm` on permission errors or
:exc:`error_reply` on other errors. | trusted_official_docs | CPython Docs | .. method:: FTP.delete(filename)
Remove the file named *filename* from the server. If successful, returns the
text of the response, otherwise raises :exc:`error_perm` on permission errors or
:exc:`error_reply` on other errors. | .. method:: FTP.delete(filename)
Remove the file named *filename* from the server. If successful, returns the
text of the response, otherwise raises :exc:`error_perm` on permission errors or
:exc:`error_reply` on other errors. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
c64f236a-4e33-44ee-ae03-d84bb6dbf878 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,027 | supabase-export-v2 | 934154d690a32545 | .. method:: FTP.getwelcome()
Return the welcome message sent by the server in reply to the initial
connection. (This message sometimes contains disclaimers or help information
that may be relevant to the user.) | trusted_official_docs | CPython Docs | .. method:: FTP.getwelcome()
Return the welcome message sent by the server in reply to the initial
connection. (This message sometimes contains disclaimers or help information
that may be relevant to the user.) | .. method:: FTP.getwelcome()
Return the welcome message sent by the server in reply to the initial
connection. (This message sometimes contains disclaimers or help information
that may be relevant to the user.) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cac21f2d-815c-4234-be1f-f379265bd979 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,063 | supabase-export-v2 | f75be7826dcd3f9a | server is passive, send an ``EPSV`` or ``PASV`` command, connect to it, and start the transfer command. Either way, return the socket for the connection.
If optional *rest* is given, a ``REST`` command is sent to the server, passing
*rest* as an argument. *rest* is usually a byte offset into the requested file,
telli... | trusted_official_docs | CPython Docs | server is passive, send an ``EPSV`` or ``PASV`` command, connect to it, and start the transfer command. Either way, return the socket for the connection.
If optional *rest* is given, a ``REST`` command is sent to the server, passing
*rest* as an argument. *rest* is usually a byte offset into the requested file,
telli... | server is passive, send an ``EPSV`` or ``PASV`` command, connect to it, and start the transfer command. Either way, return the socket for the connection.
If optional *rest* is given, a ``REST`` command is sent to the server, passing
*rest* as an argument. *rest* is usually a byte offset into the requested file,
telli... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
cb5dc557-0ac6-432a-b470-7d350a150561 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,012 | supabase-export-v2 | a19a617024b0d42c | .. versionchanged:: 3.3 *source_address* parameter was added.
.. versionchanged:: 3.9
If the *timeout* parameter is set to be zero, it will raise a
:class:`ValueError` to prevent the creation of a non-blocking socket. The *encoding* parameter was added, and the default was changed from
Latin-1 to UTF-8 to follow :rf... | trusted_official_docs | CPython Docs | .. versionchanged:: 3.3 *source_address* parameter was added.
.. versionchanged:: 3.9
If the *timeout* parameter is set to be zero, it will raise a
:class:`ValueError` to prevent the creation of a non-blocking socket. The *encoding* parameter was added, and the default was changed from
Latin-1 to UTF-8 to follow :rf... | .. versionchanged:: 3.3 *source_address* parameter was added.
.. versionchanged:: 3.9
If the *timeout* parameter is set to be zero, it will raise a
:class:`ValueError` to prevent the creation of a non-blocking socket. The *encoding* parameter was added, and the default was changed from
Latin-1 to UTF-8 to follow :rf... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d90954fc-cd65-4fc8-9b6d-88cef23b2326 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,018 | supabase-export-v2 | acd12afc35dc1505 | single line per request. * ``2`` or higher: Produce the maximum amount of debugging output, logging each line sent and received on the control connection.
.. method:: FTP.connect(host='', port=0, timeout=None, source_address=None) | trusted_official_docs | CPython Docs | single line per request. * ``2`` or higher: Produce the maximum amount of debugging output, logging each line sent and received on the control connection.
.. method:: FTP.connect(host='', port=0, timeout=None, source_address=None) | single line per request. * ``2`` or higher: Produce the maximum amount of debugging output, logging each line sent and received on the control connection.
.. method:: FTP.connect(host='', port=0, timeout=None, source_address=None) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
d95acc1d-8e76-4246-99d5-4319f6e856dc | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,006 | supabase-export-v2 | dac8389950ae8518 | :param timeout: A timeout in seconds for blocking operations like :meth:`connect` (default: the global default timeout setting). :type timeout: float | None
:param source_address:
|param_doc_source_address|
:type source_address: tuple | None | trusted_official_docs | CPython Docs | :param timeout: A timeout in seconds for blocking operations like :meth:`connect` (default: the global default timeout setting). :type timeout: float | None
:param source_address:
|param_doc_source_address|
:type source_address: tuple | None | :param timeout: A timeout in seconds for blocking operations like :meth:`connect` (default: the global default timeout setting). :type timeout: float | None
:param source_address:
|param_doc_source_address|
:type source_address: tuple | None | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e290d8f6-7960-46d6-ac42-5864e658834f | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 47,996 | supabase-export-v2 | c9ac016de294eef8 | .. Ideally, we'd like to use the :rfc: directive, but Sphinx will not allow it.
.. |param_doc_acct| replace::
Account information to be used for the ``ACCT`` FTP command. Few systems implement this. See `RFC-959 <https://datatracker.ietf.org/doc/html/rfc959.html>`__
for more details. | trusted_official_docs | CPython Docs | .. Ideally, we'd like to use the :rfc: directive, but Sphinx will not allow it.
.. |param_doc_acct| replace::
Account information to be used for the ``ACCT`` FTP command. Few systems implement this. See `RFC-959 <https://datatracker.ietf.org/doc/html/rfc959.html>`__
for more details. | .. Ideally, we'd like to use the :rfc: directive, but Sphinx will not allow it.
.. |param_doc_acct| replace::
Account information to be used for the ``ACCT`` FTP command. Few systems implement this. See `RFC-959 <https://datatracker.ietf.org/doc/html/rfc959.html>`__
for more details. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e595c206-fbf4-49c3-b8b7-03b86c3ab6b4 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,067 | supabase-export-v2 | 3760add764a11e4c | .. method:: FTP.mlsd(path="", facts=[])
List a directory in a standardized format by using ``MLSD`` command
(:rfc:`3659`). If *path* is omitted the current directory is assumed. *facts* is a list of strings representing the type of information desired
(e.g. ``["type", "size", "perm"]``). Return a generator object yie... | trusted_official_docs | CPython Docs | .. method:: FTP.mlsd(path="", facts=[])
List a directory in a standardized format by using ``MLSD`` command
(:rfc:`3659`). If *path* is omitted the current directory is assumed. *facts* is a list of strings representing the type of information desired
(e.g. ``["type", "size", "perm"]``). Return a generator object yie... | .. method:: FTP.mlsd(path="", facts=[])
List a directory in a standardized format by using ``MLSD`` command
(:rfc:`3659`). If *path* is omitted the current directory is assumed. *facts* is a list of strings representing the type of information desired
(e.g. ``["type", "size", "perm"]``). Return a generator object yie... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e93bf599-392f-4db1-8f40-366969d6eeee | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,002 | supabase-export-v2 | a8e29351e7b5f2b3 | :param str host: The hostname to connect to. If given, :code:`connect(host)` is implicitly called by the constructor.
:param str user:
|param_doc_user|
If given, :code:`login(host, passwd, acct)` is implicitly called
by the constructor. | trusted_official_docs | CPython Docs | :param str host: The hostname to connect to. If given, :code:`connect(host)` is implicitly called by the constructor.
:param str user:
|param_doc_user|
If given, :code:`login(host, passwd, acct)` is implicitly called
by the constructor. | :param str host: The hostname to connect to. If given, :code:`connect(host)` is implicitly called by the constructor.
:param str user:
|param_doc_user|
If given, :code:`login(host, passwd, acct)` is implicitly called
by the constructor. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eb11ecab-5cf2-4298-8cc1-7090ce5a5b6e | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,095 | supabase-export-v2 | a273f39ab9899f1c | .. class:: FTP_TLS(host='', user='', passwd='', acct='', *, context=None, \ timeout=None, source_address=None, encoding='utf-8')
An :class:`FTP` subclass which adds TLS support to FTP as described in
:rfc:`4217`. Connect to port 21 implicitly securing the FTP control connection
before authenticating. | trusted_official_docs | CPython Docs | .. class:: FTP_TLS(host='', user='', passwd='', acct='', *, context=None, \ timeout=None, source_address=None, encoding='utf-8')
An :class:`FTP` subclass which adds TLS support to FTP as described in
:rfc:`4217`. Connect to port 21 implicitly securing the FTP control connection
before authenticating. | .. class:: FTP_TLS(host='', user='', passwd='', acct='', *, context=None, \ timeout=None, source_address=None, encoding='utf-8')
An :class:`FTP` subclass which adds TLS support to FTP as described in
:rfc:`4217`. Connect to port 21 implicitly securing the FTP control connection
before authenticating. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eef74c4f-3561-45dd-a51c-5a8dcebba38e | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,070 | supabase-export-v2 | 581c4afaeef3a379 | .. method:: FTP.nlst(argument[, ...])
Return a list of file names as returned by the ``NLST`` command. The
optional *argument* is a directory to list (default is the current server
directory). Multiple arguments can be used to pass non-standard options to
the ``NLST`` command. | trusted_official_docs | CPython Docs | .. method:: FTP.nlst(argument[, ...])
Return a list of file names as returned by the ``NLST`` command. The
optional *argument* is a directory to list (default is the current server
directory). Multiple arguments can be used to pass non-standard options to
the ``NLST`` command. | .. method:: FTP.nlst(argument[, ...])
Return a list of file names as returned by the ``NLST`` command. The
optional *argument* is a directory to list (default is the current server
directory). Multiple arguments can be used to pass non-standard options to
the ``NLST`` command. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f5f8c09b-aa87-4963-a040-b6b1ae483847 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,014 | supabase-export-v2 | 4fd0a9a9bb74612a | binary files. The methods are named for the command which is used followed by ``lines`` for the text version or ``binary`` for the binary version.
:class:`FTP` instances have the following methods: | trusted_official_docs | CPython Docs | binary files. The methods are named for the command which is used followed by ``lines`` for the text version or ``binary`` for the binary version.
:class:`FTP` instances have the following methods: | binary files. The methods are named for the command which is used followed by ``lines`` for the text version or ``binary`` for the binary version.
:class:`FTP` instances have the following methods: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f64e6ca8-082a-441a-92a9-0daeec3ef608 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,044 | supabase-export-v2 | de70f0441d973380 | :param str cmd: An appropriate ``RETR`` command: :samp:`"RETR {filename}"`.
:param callback:
A single parameter callable that is called
for each block of data received,
with its single argument being the data as :class:`bytes`. :type callback: :term:`callable` | trusted_official_docs | CPython Docs | :param str cmd: An appropriate ``RETR`` command: :samp:`"RETR {filename}"`.
:param callback:
A single parameter callable that is called
for each block of data received,
with its single argument being the data as :class:`bytes`. :type callback: :term:`callable` | :param str cmd: An appropriate ``RETR`` command: :samp:`"RETR {filename}"`.
:param callback:
A single parameter callable that is called
for each block of data received,
with its single argument being the data as :class:`bytes`. :type callback: :term:`callable` | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f9aadbfe-e083-4dfb-a079-7fcb07573b45 | CPython Docs | file://datasets/cpython/Doc/library/ftplib.rst | unknown | 727d49e3-768f-4dad-92bf-2b2bf4efaf10 | 48,112 | supabase-export-v2 | 53726c35f406c0e4 | 'ignore', 'libpuzzle', 'metalog', 'minidentd', 'misc', 'mysql-udf-global-user-variables', 'php-jenkins-hash', 'php-skein-hash', 'php-webdav', 'phpaudit', 'phpbench', 'pincaster', 'ping', 'posto', 'pub', 'public', 'public_keys', 'pure-ftpd', 'qscan', 'qtc', 'sharedance', 'skycache', 'sound', 'tmp', 'ucarp']
:class:`!FTP... | trusted_official_docs | CPython Docs | 'ignore', 'libpuzzle', 'metalog', 'minidentd', 'misc', 'mysql-udf-global-user-variables', 'php-jenkins-hash', 'php-skein-hash', 'php-webdav', 'phpaudit', 'phpbench', 'pincaster', 'ping', 'posto', 'pub', 'public', 'public_keys', 'pure-ftpd', 'qscan', 'qtc', 'sharedance', 'skycache', 'sound', 'tmp', 'ucarp']
:class:`!FTP... | 'ignore', 'libpuzzle', 'metalog', 'minidentd', 'misc', 'mysql-udf-global-user-variables', 'php-jenkins-hash', 'php-skein-hash', 'php-webdav', 'phpaudit', 'phpbench', 'pincaster', 'ping', 'posto', 'pub', 'public', 'public_keys', 'pure-ftpd', 'qscan', 'qtc', 'sharedance', 'skycache', 'sound', 'tmp', 'ucarp']
:class:`!FTP... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
03812e90-a86f-4db7-bd6b-4db7be816554 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,180 | supabase-export-v2 | 093785219cb014e4 | Analyse the bytecode corresponding to a function, generator, asynchronous generator, coroutine, method, string of source code, or a code object (as returned by :func:`compile`).
This is a convenience wrapper around many of the functions listed below, most
notably :func:`get_instructions`, as iterating over a :class:`B... | trusted_official_docs | CPython Docs | Analyse the bytecode corresponding to a function, generator, asynchronous generator, coroutine, method, string of source code, or a code object (as returned by :func:`compile`).
This is a convenience wrapper around many of the functions listed below, most
notably :func:`get_instructions`, as iterating over a :class:`B... | Analyse the bytecode corresponding to a function, generator, asynchronous generator, coroutine, method, string of source code, or a code object (as returned by :func:`compile`).
This is a convenience wrapper around many of the functions listed below, most
notably :func:`get_instructions`, as iterating over a :class:`B... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0493deb8-9faa-48a4-a81a-04008b13259a | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,401 | supabase-export-v2 | a38456c2eec7b53c | .. opcode:: SETUP_ANNOTATIONS
Checks whether ``__annotations__`` is defined in ``locals()``, if not it is
set up to an empty ``dict``. This opcode is only emitted if a class
or module body contains :term:`variable annotations <variable annotation>`
statically. | trusted_official_docs | CPython Docs | .. opcode:: SETUP_ANNOTATIONS
Checks whether ``__annotations__`` is defined in ``locals()``, if not it is
set up to an empty ``dict``. This opcode is only emitted if a class
or module body contains :term:`variable annotations <variable annotation>`
statically. | .. opcode:: SETUP_ANNOTATIONS
Checks whether ``__annotations__`` is defined in ``locals()``, if not it is
set up to an empty ``dict``. This opcode is only emitted if a class
or module body contains :term:`variable annotations <variable annotation>`
statically. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
05b354ed-9304-444f-92dc-04325071e63b | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,416 | supabase-export-v2 | b935510c6e703077 | Performs exception matching for ``except*``. Applies ``split(STACK[-1])`` on the exception group representing ``STACK[-2]``.
In case of a match, pops two items from the stack and pushes the
non-matching subgroup (``None`` in case of full match) followed by the
matching subgroup. When there is no match, pops one item ... | trusted_official_docs | CPython Docs | Performs exception matching for ``except*``. Applies ``split(STACK[-1])`` on the exception group representing ``STACK[-2]``.
In case of a match, pops two items from the stack and pushes the
non-matching subgroup (``None`` in case of full match) followed by the
matching subgroup. When there is no match, pops one item ... | Performs exception matching for ``except*``. Applies ``split(STACK[-1])`` on the exception group representing ``STACK[-2]``.
In case of a match, pops two items from the stack and pushes the
non-matching subgroup (``None`` in case of full match) followed by the
matching subgroup. When there is no match, pops one item ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
05c6bcb9-eb4f-424b-8987-1bac157c914d | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,214 | supabase-export-v2 | 4888795a33321989 | .. function:: dis(x=None, *, file=None, depth=None, show_caches=False,\ adaptive=False, show_offsets=False, show_positions=False)
Disassemble the *x* object. *x* can denote either a module, a class, a
method, a function, a generator, an asynchronous generator, a coroutine,
a code object, a string of source code or a ... | trusted_official_docs | CPython Docs | .. function:: dis(x=None, *, file=None, depth=None, show_caches=False,\ adaptive=False, show_offsets=False, show_positions=False)
Disassemble the *x* object. *x* can denote either a module, a class, a
method, a function, a generator, an asynchronous generator, a coroutine,
a code object, a string of source code or a ... | .. function:: dis(x=None, *, file=None, depth=None, show_caches=False,\ adaptive=False, show_offsets=False, show_positions=False)
Disassemble the *x* object. *x* can denote either a module, a class, a
method, a function, a generator, an asynchronous generator, a coroutine,
a code object, a string of source code or a ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0625c632-3320-4aa4-99df-e2c11471aeb4 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,226 | supabase-export-v2 | 4100cf842914ca62 | .. function:: distb(tb=None, *, file=None, show_caches=False, adaptive=False,\ show_offset=False, show_positions=False)
Disassemble the top-of-stack function of a traceback, using the last
traceback if none was passed. The instruction causing the exception is
indicated. | trusted_official_docs | CPython Docs | .. function:: distb(tb=None, *, file=None, show_caches=False, adaptive=False,\ show_offset=False, show_positions=False)
Disassemble the top-of-stack function of a traceback, using the last
traceback if none was passed. The instruction causing the exception is
indicated. | .. function:: distb(tb=None, *, file=None, show_caches=False, adaptive=False,\ show_offset=False, show_positions=False)
Disassemble the top-of-stack function of a traceback, using the last
traceback if none was passed. The instruction causing the exception is
indicated. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0922d924-556c-4b97-9406-54db2b424412 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,332 | supabase-export-v2 | 024e5973e7551aca | preceding instruction. Many opcodes expect to be followed by an exact number of caches, and will instruct the interpreter to skip over them at runtime.
Populated caches can look like arbitrary instructions, so great care should
be taken when reading or modifying raw, adaptive bytecode containing
quickened data. | trusted_official_docs | CPython Docs | preceding instruction. Many opcodes expect to be followed by an exact number of caches, and will instruct the interpreter to skip over them at runtime.
Populated caches can look like arbitrary instructions, so great care should
be taken when reading or modifying raw, adaptive bytecode containing
quickened data. | preceding instruction. Many opcodes expect to be followed by an exact number of caches, and will instruct the interpreter to skip over them at runtime.
Populated caches can look like arbitrary instructions, so great care should
be taken when reading or modifying raw, adaptive bytecode containing
quickened data. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0b6a363e-fb25-4177-87b9-ce8d26d16b41 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,183 | supabase-export-v2 | 2804291ec3bc8771 | ``None``, it refers to an instruction offset in the disassembled code. Setting this means :meth:`.dis` will display a "current instruction" marker against the specified opcode.
If *show_caches* is ``True``, :meth:`.dis` will display inline cache
entries used by the interpreter to specialize the bytecode. | trusted_official_docs | CPython Docs | ``None``, it refers to an instruction offset in the disassembled code. Setting this means :meth:`.dis` will display a "current instruction" marker against the specified opcode.
If *show_caches* is ``True``, :meth:`.dis` will display inline cache
entries used by the interpreter to specialize the bytecode. | ``None``, it refers to an instruction offset in the disassembled code. Setting this means :meth:`.dis` will display a "current instruction" marker against the specified opcode.
If *show_caches* is ``True``, :meth:`.dis` will display inline cache
entries used by the interpreter to specialize the bytecode. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0ced07b0-2def-4197-bfe5-5f6b8f880a47 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,419 | supabase-export-v2 | 010767c353ee7f8f | .. opcode:: WITH_EXCEPT_START
Calls the function in position 4 on the stack with arguments (type, val, tb)
representing the exception at the top of the stack. Used to implement the call ``context_manager.__exit__(*exc_info())`` when an exception
has occurred in a :keyword:`with` statement. | trusted_official_docs | CPython Docs | .. opcode:: WITH_EXCEPT_START
Calls the function in position 4 on the stack with arguments (type, val, tb)
representing the exception at the top of the stack. Used to implement the call ``context_manager.__exit__(*exc_info())`` when an exception
has occurred in a :keyword:`with` statement. | .. opcode:: WITH_EXCEPT_START
Calls the function in position 4 on the stack with arguments (type, val, tb)
representing the exception at the top of the stack. Used to implement the call ``context_manager.__exit__(*exc_info())`` when an exception
has occurred in a :keyword:`with` statement. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0ef09a89-845e-44a9-a771-f9597be28c3a | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,681 | supabase-export-v2 | 0f5f6f8b85796649 | If your application uses pseudo instructions or specialized instructions, use the :data:`hasarg` collection instead.
.. versionchanged:: 3.6
Now every instruction has an argument, but opcodes ``< HAVE_ARGUMENT``
ignore it. Before, only opcodes ``>= HAVE_ARGUMENT`` had an argument. | trusted_official_docs | CPython Docs | If your application uses pseudo instructions or specialized instructions, use the :data:`hasarg` collection instead.
.. versionchanged:: 3.6
Now every instruction has an argument, but opcodes ``< HAVE_ARGUMENT``
ignore it. Before, only opcodes ``>= HAVE_ARGUMENT`` had an argument. | If your application uses pseudo instructions or specialized instructions, use the :data:`hasarg` collection instead.
.. versionchanged:: 3.6
Now every instruction has an argument, but opcodes ``< HAVE_ARGUMENT``
ignore it. Before, only opcodes ``>= HAVE_ARGUMENT`` had an argument. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0fdf0ea7-d625-4e24-b58c-653c256f2c28 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,722 | supabase-export-v2 | 79586105f227eeef | These collections are provided for automatic introspection of bytecode instructions:
.. versionchanged:: 3.12
The collections now contain pseudo instructions and instrumented
instructions as well. These are opcodes with values ``>= MIN_PSEUDO_OPCODE``
and ``>= MIN_INSTRUMENTED_OPCODE``. | trusted_official_docs | CPython Docs | These collections are provided for automatic introspection of bytecode instructions:
.. versionchanged:: 3.12
The collections now contain pseudo instructions and instrumented
instructions as well. These are opcodes with values ``>= MIN_PSEUDO_OPCODE``
and ``>= MIN_INSTRUMENTED_OPCODE``. | These collections are provided for automatic introspection of bytecode instructions:
.. versionchanged:: 3.12
The collections now contain pseudo instructions and instrumented
instructions as well. These are opcodes with values ``>= MIN_PSEUDO_OPCODE``
and ``>= MIN_INSTRUMENTED_OPCODE``. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
11231275-8187-441a-9360-bf00cd768702 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,253 | supabase-export-v2 | 6aa116b18cc996da | .. versionchanged:: 3.10 The :pep:`626` :meth:`~codeobject.co_lines` method is used instead of the :attr:`~codeobject.co_firstlineno` and :attr:`!codeobject.co_lnotab` attributes of the :ref:`code object <code-objects>`.
.. versionchanged:: 3.13
Line numbers can be ``None`` for bytecode that does not map to source lin... | trusted_official_docs | CPython Docs | .. versionchanged:: 3.10 The :pep:`626` :meth:`~codeobject.co_lines` method is used instead of the :attr:`~codeobject.co_firstlineno` and :attr:`!codeobject.co_lnotab` attributes of the :ref:`code object <code-objects>`.
.. versionchanged:: 3.13
Line numbers can be ``None`` for bytecode that does not map to source lin... | .. versionchanged:: 3.10 The :pep:`626` :meth:`~codeobject.co_lines` method is used instead of the :attr:`~codeobject.co_firstlineno` and :attr:`!codeobject.co_lnotab` attributes of the :ref:`code object <code-objects>`.
.. versionchanged:: 3.13
Line numbers can be ``None`` for bytecode that does not map to source lin... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1356862f-8b64-4987-9cd1-02684cc3a4cc | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,243 | supabase-export-v2 | f4e2400569e4ae0d | Return an iterator over the instructions in the supplied function, method, source code string or code object.
The iterator generates a series of :class:`Instruction` named tuples giving
the details of each operation in the supplied code. | trusted_official_docs | CPython Docs | Return an iterator over the instructions in the supplied function, method, source code string or code object.
The iterator generates a series of :class:`Instruction` named tuples giving
the details of each operation in the supplied code. | Return an iterator over the instructions in the supplied function, method, source code string or code object.
The iterator generates a series of :class:`Instruction` named tuples giving
the details of each operation in the supplied code. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
139af5a6-7cc1-4d69-b1b3-21f0db6248d5 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,150 | supabase-export-v2 | b51631df567c0db6 | a consequence, the presence of the :opcode:`CACHE` instructions is transparent for forward jumps but needs to be taken into account when reasoning about backward jumps.
.. versionchanged:: 3.13
The output shows logical labels rather than instruction offsets
for jump targets and exception handlers. The ``-O`` command ... | trusted_official_docs | CPython Docs | a consequence, the presence of the :opcode:`CACHE` instructions is transparent for forward jumps but needs to be taken into account when reasoning about backward jumps.
.. versionchanged:: 3.13
The output shows logical labels rather than instruction offsets
for jump targets and exception handlers. The ``-O`` command ... | a consequence, the presence of the :opcode:`CACHE` instructions is transparent for forward jumps but needs to be taken into account when reasoning about backward jumps.
.. versionchanged:: 3.13
The output shows logical labels rather than instruction offsets
for jump targets and exception handlers. The ``-O`` command ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
144839e3-d488-4987-89d5-63db5c254f92 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,472 | supabase-export-v2 | 4f5577aa77dd0344 | Constructs a new :class:`~string.templatelib.Template` instance from a tuple of strings and a tuple of interpolations and pushes the resulting object onto the stack::
interpolations = STACK.pop()
strings = STACK.pop()
STACK.append(_build_template(strings, interpolations)) | trusted_official_docs | CPython Docs | Constructs a new :class:`~string.templatelib.Template` instance from a tuple of strings and a tuple of interpolations and pushes the resulting object onto the stack::
interpolations = STACK.pop()
strings = STACK.pop()
STACK.append(_build_template(strings, interpolations)) | Constructs a new :class:`~string.templatelib.Template` instance from a tuple of strings and a tuple of interpolations and pushes the resulting object onto the stack::
interpolations = STACK.pop()
strings = STACK.pop()
STACK.append(_build_template(strings, interpolations)) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
16b2607d-e5a5-44b8-a203-17e2614d92f3 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,406 | supabase-export-v2 | 28845d97d61c3267 | .. opcode:: RERAISE
Re-raises the exception currently on top of the stack. If oparg is non-zero,
pops an additional value from the stack which is used to set
:attr:`~frame.f_lasti` of the current frame. | trusted_official_docs | CPython Docs | .. opcode:: RERAISE
Re-raises the exception currently on top of the stack. If oparg is non-zero,
pops an additional value from the stack which is used to set
:attr:`~frame.f_lasti` of the current frame. | .. opcode:: RERAISE
Re-raises the exception currently on top of the stack. If oparg is non-zero,
pops an additional value from the stack which is used to set
:attr:`~frame.f_lasti` of the current frame. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
16d37c6e-cbca-4012-a98c-1a88b1695744 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,184 | supabase-export-v2 | 919fec0e903bb0ee | If *show_caches* is ``True``, :meth:`.dis` will display inline cache entries used by the interpreter to specialize the bytecode.
If *adaptive* is ``True``, :meth:`.dis` will display specialized bytecode
that may be different from the original bytecode. | trusted_official_docs | CPython Docs | If *show_caches* is ``True``, :meth:`.dis` will display inline cache entries used by the interpreter to specialize the bytecode.
If *adaptive* is ``True``, :meth:`.dis` will display specialized bytecode
that may be different from the original bytecode. | If *show_caches* is ``True``, :meth:`.dis` will display inline cache entries used by the interpreter to specialize the bytecode.
If *adaptive* is ``True``, :meth:`.dis` will display specialized bytecode
that may be different from the original bytecode. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
198c5c51-8b19-411c-8cbc-1c36e06453da | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,469 | supabase-export-v2 | bcb8a9989f873c72 | .. opcode:: LOAD_FROM_DICT_OR_GLOBALS (i)
Pops a mapping off the stack and looks up the value for ``co_names[namei]``. If the name is not found there, looks it up in the globals and then the builtins,
similar to :opcode:`LOAD_GLOBAL`. This is used for loading global variables in
:ref:`annotation scopes <annotation-sc... | trusted_official_docs | CPython Docs | .. opcode:: LOAD_FROM_DICT_OR_GLOBALS (i)
Pops a mapping off the stack and looks up the value for ``co_names[namei]``. If the name is not found there, looks it up in the globals and then the builtins,
similar to :opcode:`LOAD_GLOBAL`. This is used for loading global variables in
:ref:`annotation scopes <annotation-sc... | .. opcode:: LOAD_FROM_DICT_OR_GLOBALS (i)
Pops a mapping off the stack and looks up the value for ``co_names[namei]``. If the name is not found there, looks it up in the globals and then the builtins,
similar to :opcode:`LOAD_GLOBAL`. This is used for loading global variables in
:ref:`annotation scopes <annotation-sc... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1bf73abc-4449-45f4-84d0-9f129de9632d | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,210 | supabase-export-v2 | f24c866c0ae0496a | Print detailed code object information for the supplied function, method, source code string or code object to *file* (or ``sys.stdout`` if *file* is not specified).
This is a convenient shorthand for ``print(code_info(x), file=file)``,
intended for interactive exploration at the interpreter prompt. | trusted_official_docs | CPython Docs | Print detailed code object information for the supplied function, method, source code string or code object to *file* (or ``sys.stdout`` if *file* is not specified).
This is a convenient shorthand for ``print(code_info(x), file=file)``,
intended for interactive exploration at the interpreter prompt. | Print detailed code object information for the supplied function, method, source code string or code object to *file* (or ``sys.stdout`` if *file* is not specified).
This is a convenient shorthand for ``print(code_info(x), file=file)``,
intended for interactive exploration at the interpreter prompt. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1e7beb5f-0c3b-4704-b5e0-366051702fad | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,311 | supabase-export-v2 | feac4724fead1be8 | **General instructions**
In the following, We will refer to the interpreter stack as ``STACK`` and describe
operations on it as if it was a Python list. The top of the stack corresponds to
``STACK[-1]`` in this language. | trusted_official_docs | CPython Docs | **General instructions**
In the following, We will refer to the interpreter stack as ``STACK`` and describe
operations on it as if it was a Python list. The top of the stack corresponds to
``STACK[-1]`` in this language. | **General instructions**
In the following, We will refer to the interpreter stack as ``STACK`` and describe
operations on it as if it was a Python list. The top of the stack corresponds to
``STACK[-1]`` in this language. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1f3aab1c-4c1b-4736-b87e-13a7f3d533a6 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,216 | supabase-export-v2 | e8d3ee26ccdd30b4 | The disassembly is written as text to the supplied *file* argument if provided and to ``sys.stdout`` otherwise.
The maximal depth of recursion is limited by *depth* unless it is ``None``. ``depth=0`` means no recursion. | trusted_official_docs | CPython Docs | The disassembly is written as text to the supplied *file* argument if provided and to ``sys.stdout`` otherwise.
The maximal depth of recursion is limited by *depth* unless it is ``None``. ``depth=0`` means no recursion. | The disassembly is written as text to the supplied *file* argument if provided and to ``sys.stdout`` otherwise.
The maximal depth of recursion is limited by *depth* unless it is ``None``. ``depth=0`` means no recursion. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
22806a88-745e-4248-b24f-a9e805d76f51 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,227 | supabase-export-v2 | 916efca83b98653f | Disassemble the top-of-stack function of a traceback, using the last traceback if none was passed. The instruction causing the exception is indicated.
The disassembly is written as text to the supplied *file* argument if
provided and to ``sys.stdout`` otherwise. | trusted_official_docs | CPython Docs | Disassemble the top-of-stack function of a traceback, using the last traceback if none was passed. The instruction causing the exception is indicated.
The disassembly is written as text to the supplied *file* argument if
provided and to ``sys.stdout`` otherwise. | Disassemble the top-of-stack function of a traceback, using the last traceback if none was passed. The instruction causing the exception is indicated.
The disassembly is written as text to the supplied *file* argument if
provided and to ``sys.stdout`` otherwise. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2744d235-26b1-4ca6-8b4d-5d985d6ec81f | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,299 | supabase-export-v2 | c415565b4b915362 | .. data:: cache_info
Information about the cache entries of this instruction, as
triplets of the form ``(name, size, data)``, where the ``name``
and ``size`` describe the cache format and data is the contents
of the cache. ``cache_info`` is ``None`` if the instruction does not have
caches. | trusted_official_docs | CPython Docs | .. data:: cache_info
Information about the cache entries of this instruction, as
triplets of the form ``(name, size, data)``, where the ``name``
and ``size`` describe the cache format and data is the contents
of the cache. ``cache_info`` is ``None`` if the instruction does not have
caches. | .. data:: cache_info
Information about the cache entries of this instruction, as
triplets of the form ``(name, size, data)``, where the ``name``
and ``size`` describe the cache format and data is the contents
of the cache. ``cache_info`` is ``None`` if the instruction does not have
caches. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2830234d-930f-41df-85b0-1433683afa73 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,555 | supabase-export-v2 | b78c5fa27ec4521c | .. opcode:: FOR_ITER (delta)
``STACK[-1]`` is an :term:`iterator`. Call its :meth:`~iterator.__next__` method. If this yields a new value, push it on the stack (leaving the iterator below
it). If the iterator indicates it is exhausted then the byte code counter is
incremented by *delta*. | trusted_official_docs | CPython Docs | .. opcode:: FOR_ITER (delta)
``STACK[-1]`` is an :term:`iterator`. Call its :meth:`~iterator.__next__` method. If this yields a new value, push it on the stack (leaving the iterator below
it). If the iterator indicates it is exhausted then the byte code counter is
incremented by *delta*. | .. opcode:: FOR_ITER (delta)
``STACK[-1]`` is an :term:`iterator`. Call its :meth:`~iterator.__next__` method. If this yields a new value, push it on the stack (leaving the iterator below
it). If the iterator indicates it is exhausted then the byte code counter is
incremented by *delta*. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
29368ced-21ac-4a11-8d34-2deb09a0e7f0 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,144 | supabase-export-v2 | 47de819bb1507a72 | .. impl-detail::
Bytecode is an implementation detail of the CPython interpreter. No
guarantees are made that bytecode will not be added, removed, or changed
between versions of Python. Use of this module should not be considered to
work across Python VMs or Python releases. | trusted_official_docs | CPython Docs | .. impl-detail::
Bytecode is an implementation detail of the CPython interpreter. No
guarantees are made that bytecode will not be added, removed, or changed
between versions of Python. Use of this module should not be considered to
work across Python VMs or Python releases. | .. impl-detail::
Bytecode is an implementation detail of the CPython interpreter. No
guarantees are made that bytecode will not be added, removed, or changed
between versions of Python. Use of this module should not be considered to
work across Python VMs or Python releases. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2bd0158c-98ff-4eac-9683-b53e02ac6915 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,145 | supabase-export-v2 | 347600b45add8b53 | be added, removed, or changed between versions of Python. Use of this module should not be considered to work across Python VMs or Python releases.
.. versionchanged:: 3.6
Use 2 bytes for each instruction. Previously the number of bytes varied
by instruction. | trusted_official_docs | CPython Docs | be added, removed, or changed between versions of Python. Use of this module should not be considered to work across Python VMs or Python releases.
.. versionchanged:: 3.6
Use 2 bytes for each instruction. Previously the number of bytes varied
by instruction. | be added, removed, or changed between versions of Python. Use of this module should not be considered to work across Python VMs or Python releases.
.. versionchanged:: 3.6
Use 2 bytes for each instruction. Previously the number of bytes varied
by instruction. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2bf46698-7a18-4379-8800-a22ccb69e9ea | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,708 | supabase-export-v2 | 2312f819e2c7286f | ``SETUP_CLEANUP``, but in case of an exception one more item is popped from the stack before control is transferred to the exception handler at ``target``.
This variant is used in :keyword:`with` and :keyword:`async with`
constructs, which push the return value of the context manager's
:meth:`~object.__enter__` or :m... | trusted_official_docs | CPython Docs | ``SETUP_CLEANUP``, but in case of an exception one more item is popped from the stack before control is transferred to the exception handler at ``target``.
This variant is used in :keyword:`with` and :keyword:`async with`
constructs, which push the return value of the context manager's
:meth:`~object.__enter__` or :m... | ``SETUP_CLEANUP``, but in case of an exception one more item is popped from the stack before control is transferred to the exception handler at ``target``.
This variant is used in :keyword:`with` and :keyword:`async with`
constructs, which push the return value of the context manager's
:meth:`~object.__enter__` or :m... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2c7dd3db-acd5-4749-bee5-bfae4fae918a | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,690 | supabase-export-v2 | 756c0a89811de961 | with the argument | +-----------------------------------+-----------------------------------+ | ``INTRINSIC_TYPEALIAS`` | Creates a | | | :class:`typing.TypeAliasType`; | | | used in the :keyword:`type` | | | statement.
The argument is a tuple|
| | of the type alias's name, |
| | type parameters, and value. |
+-----... | trusted_official_docs | CPython Docs | with the argument | +-----------------------------------+-----------------------------------+ | ``INTRINSIC_TYPEALIAS`` | Creates a | | | :class:`typing.TypeAliasType`; | | | used in the :keyword:`type` | | | statement.
The argument is a tuple|
| | of the type alias's name, |
| | type parameters, and value. |
+-----... | with the argument | +-----------------------------------+-----------------------------------+ | ``INTRINSIC_TYPEALIAS`` | Creates a | | | :class:`typing.TypeAliasType`; | | | used in the :keyword:`type` | | | statement.
The argument is a tuple|
| | of the type alias's name, |
| | type parameters, and value. |
+-----... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2d703e14-a5b6-4974-9d6f-7cd2fbb16ecf | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,410 | supabase-export-v2 | 1f90d86ea4fb6fb3 | .. opcode:: PUSH_EXC_INFO
Pops a value from the stack. Pushes the current exception to the top of the stack. Pushes the value originally popped back to the stack. Used in exception handlers. | trusted_official_docs | CPython Docs | .. opcode:: PUSH_EXC_INFO
Pops a value from the stack. Pushes the current exception to the top of the stack. Pushes the value originally popped back to the stack. Used in exception handlers. | .. opcode:: PUSH_EXC_INFO
Pops a value from the stack. Pushes the current exception to the top of the stack. Pushes the value originally popped back to the stack. Used in exception handlers. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
33773546-720c-4200-be86-f66cea6ac2a8 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,148 | supabase-export-v2 | d6605cf89fc72914 | :mod:`!dis` utility. Furthermore, the interpreter now adapts the bytecode to specialize it for different runtime conditions. The adaptive bytecode can be shown by passing ``adaptive=True``.
.. versionchanged:: 3.12
The argument of a jump is the offset of the target instruction relative
to the instruction that appears... | trusted_official_docs | CPython Docs | :mod:`!dis` utility. Furthermore, the interpreter now adapts the bytecode to specialize it for different runtime conditions. The adaptive bytecode can be shown by passing ``adaptive=True``.
.. versionchanged:: 3.12
The argument of a jump is the offset of the target instruction relative
to the instruction that appears... | :mod:`!dis` utility. Furthermore, the interpreter now adapts the bytecode to specialize it for different runtime conditions. The adaptive bytecode can be shown by passing ``adaptive=True``.
.. versionchanged:: 3.12
The argument of a jump is the offset of the target instruction relative
to the instruction that appears... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
33933ca3-de25-4573-9bbe-26e8ed447fe5 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,682 | supabase-export-v2 | 5a62110a1d5422df | .. versionchanged:: 3.6 Now every instruction has an argument, but opcodes ``< HAVE_ARGUMENT`` ignore it. Before, only opcodes ``>= HAVE_ARGUMENT`` had an argument.
.. versionchanged:: 3.12
Pseudo instructions were added to the :mod:`!dis` module, and for them
it is not true that comparison with ``HAVE_ARGUMENT`` ind... | trusted_official_docs | CPython Docs | .. versionchanged:: 3.6 Now every instruction has an argument, but opcodes ``< HAVE_ARGUMENT`` ignore it. Before, only opcodes ``>= HAVE_ARGUMENT`` had an argument.
.. versionchanged:: 3.12
Pseudo instructions were added to the :mod:`!dis` module, and for them
it is not true that comparison with ``HAVE_ARGUMENT`` ind... | .. versionchanged:: 3.6 Now every instruction has an argument, but opcodes ``< HAVE_ARGUMENT`` ignore it. Before, only opcodes ``>= HAVE_ARGUMENT`` had an argument.
.. versionchanged:: 3.12
Pseudo instructions were added to the :mod:`!dis` module, and for them
it is not true that comparison with ``HAVE_ARGUMENT`` ind... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
34b886e1-f2c4-4188-b489-fbe922b48695 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,245 | supabase-export-v2 | cfff8605f5d75424 | reported for the first source line in the disassembled code. Otherwise, the source line information (if any) is taken directly from the disassembled code object.
The *adaptive* parameter works as it does in :func:`dis`. | trusted_official_docs | CPython Docs | reported for the first source line in the disassembled code. Otherwise, the source line information (if any) is taken directly from the disassembled code object.
The *adaptive* parameter works as it does in :func:`dis`. | reported for the first source line in the disassembled code. Otherwise, the source line information (if any) is taken directly from the disassembled code object.
The *adaptive* parameter works as it does in :func:`dis`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3a30a096-ed65-4c0b-9081-3fa814779f71 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,619 | supabase-export-v2 | 88efaae237ebe59c | Calls a callable object with the number of arguments specified by ``argc``, including one or more named arguments. On the stack are (in ascending order):
* The callable
* ``self`` or ``NULL``
* The remaining positional arguments
* The named arguments
* A :class:`tuple` of keyword argument names | trusted_official_docs | CPython Docs | Calls a callable object with the number of arguments specified by ``argc``, including one or more named arguments. On the stack are (in ascending order):
* The callable
* ``self`` or ``NULL``
* The remaining positional arguments
* The named arguments
* A :class:`tuple` of keyword argument names | Calls a callable object with the number of arguments specified by ``argc``, including one or more named arguments. On the stack are (in ascending order):
* The callable
* ``self`` or ``NULL``
* The remaining positional arguments
* The named arguments
* A :class:`tuple` of keyword argument names | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3aea10e3-fb63-4c19-9285-98979502d895 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,142 | supabase-export-v2 | 1cb722eddbfd5b17 | --------------
The :mod:`!dis` module supports the analysis of CPython :term:`bytecode` by
disassembling it. The CPython bytecode which this module takes as an input is
defined in the file :file:`Include/opcode.h` and used by the compiler and the
interpreter. | trusted_official_docs | CPython Docs | --------------
The :mod:`!dis` module supports the analysis of CPython :term:`bytecode` by
disassembling it. The CPython bytecode which this module takes as an input is
defined in the file :file:`Include/opcode.h` and used by the compiler and the
interpreter. | --------------
The :mod:`!dis` module supports the analysis of CPython :term:`bytecode` by
disassembling it. The CPython bytecode which this module takes as an input is
defined in the file :file:`Include/opcode.h` and used by the compiler and the
interpreter. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4070e787-9660-4a32-b2e0-9362bf842ba3 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,687 | supabase-export-v2 | 72844b66d8270152 | The operand determines which intrinsic function is called:
+-----------------------------------+-----------------------------------+
| Operand | Description |
+===================================+===================================+
| ``INTRINSIC_1_INVALID`` | Not valid |
+-----------------------------------+------... | trusted_official_docs | CPython Docs | The operand determines which intrinsic function is called:
+-----------------------------------+-----------------------------------+
| Operand | Description |
+===================================+===================================+
| ``INTRINSIC_1_INVALID`` | Not valid |
+-----------------------------------+------... | The operand determines which intrinsic function is called:
+-----------------------------------+-----------------------------------+
| Operand | Description |
+===================================+===================================+
| ``INTRINSIC_1_INVALID`` | Not valid |
+-----------------------------------+------... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
41d1ea37-38ce-4397-a8e1-1be0eabdddba | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,381 | supabase-export-v2 | 90adfddb4052b438 | .. opcode:: CLEANUP_THROW
Handles an exception raised during a :meth:`~generator.throw` or
:meth:`~generator.close` call through the current frame. If ``STACK[-1]`` is an
instance of :exc:`StopIteration`, pop three values from the stack and push
its ``value`` member. Otherwise, re-raise ``STACK[-1]``. | trusted_official_docs | CPython Docs | .. opcode:: CLEANUP_THROW
Handles an exception raised during a :meth:`~generator.throw` or
:meth:`~generator.close` call through the current frame. If ``STACK[-1]`` is an
instance of :exc:`StopIteration`, pop three values from the stack and push
its ``value`` member. Otherwise, re-raise ``STACK[-1]``. | .. opcode:: CLEANUP_THROW
Handles an exception raised during a :meth:`~generator.throw` or
:meth:`~generator.close` call through the current frame. If ``STACK[-1]`` is an
instance of :exc:`StopIteration`, pop three values from the stack and push
its ``value`` member. Otherwise, re-raise ``STACK[-1]``. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
42d8b747-4840-4170-977a-daa1d9c43dea | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,689 | supabase-export-v2 | edebbf6d7ec1043f | | +-----------------------------------+-----------------------------------+ | ``INTRINSIC_STOPITERATION_ERROR`` | Extracts the return value from a | | | ``StopIteration`` exception.
|
+-----------------------------------+-----------------------------------+
| ``INTRINSIC_ASYNC_GEN_WRAP`` | Wraps an async generator va... | trusted_official_docs | CPython Docs | | +-----------------------------------+-----------------------------------+ | ``INTRINSIC_STOPITERATION_ERROR`` | Extracts the return value from a | | | ``StopIteration`` exception.
|
+-----------------------------------+-----------------------------------+
| ``INTRINSIC_ASYNC_GEN_WRAP`` | Wraps an async generator va... | | +-----------------------------------+-----------------------------------+ | ``INTRINSIC_STOPITERATION_ERROR`` | Extracts the return value from a | | | ``StopIteration`` exception.
|
+-----------------------------------+-----------------------------------+
| ``INTRINSIC_ASYNC_GEN_WRAP`` | Wraps an async generator va... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4398d516-7504-4e87-a036-00a852ac2bea | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,686 | supabase-export-v2 | 9088748a4e25d08d | intrinsic function with one argument. Passes ``STACK[-1]`` as the argument and sets ``STACK[-1]`` to the result. Used to implement functionality that is not performance critical.
The operand determines which intrinsic function is called: | trusted_official_docs | CPython Docs | intrinsic function with one argument. Passes ``STACK[-1]`` as the argument and sets ``STACK[-1]`` to the result. Used to implement functionality that is not performance critical.
The operand determines which intrinsic function is called: | intrinsic function with one argument. Passes ``STACK[-1]`` as the argument and sets ``STACK[-1]`` to the result. Used to implement functionality that is not performance critical.
The operand determines which intrinsic function is called: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
443da6d2-f30a-4b58-b22b-67556947ba31 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,525 | supabase-export-v2 | ab746e484b5612a1 | .. opcode:: IMPORT_NAME (namei)
Imports the module ``co_names[namei]``. ``STACK[-1]`` and ``STACK[-2]`` are
popped and provide the *fromlist* and *level* arguments of :func:`__import__`. The module object is pushed onto the stack. The current namespace is not affected: for a proper import statement, a subsequent :opco... | trusted_official_docs | CPython Docs | .. opcode:: IMPORT_NAME (namei)
Imports the module ``co_names[namei]``. ``STACK[-1]`` and ``STACK[-2]`` are
popped and provide the *fromlist* and *level* arguments of :func:`__import__`. The module object is pushed onto the stack. The current namespace is not affected: for a proper import statement, a subsequent :opco... | .. opcode:: IMPORT_NAME (namei)
Imports the module ``co_names[namei]``. ``STACK[-1]`` and ``STACK[-2]`` are
popped and provide the *fromlist* and *level* arguments of :func:`__import__`. The module object is pushed onto the stack. The current namespace is not affected: for a proper import statement, a subsequent :opco... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
44b5ce03-85ba-4640-8c0f-a0e96cb03ace | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,611 | supabase-export-v2 | 8c535aaefcf0e98a | Calls a callable object with the number of arguments specified by ``argc``. On the stack are (in ascending order):
* The callable
* ``self`` or ``NULL``
* The remaining positional arguments | trusted_official_docs | CPython Docs | Calls a callable object with the number of arguments specified by ``argc``. On the stack are (in ascending order):
* The callable
* ``self`` or ``NULL``
* The remaining positional arguments | Calls a callable object with the number of arguments specified by ``argc``. On the stack are (in ascending order):
* The callable
* ``self`` or ``NULL``
* The remaining positional arguments | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
45d0d53c-6319-4ea6-b612-e31978dcd22a | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,624 | supabase-export-v2 | 720d67f35e24b2cb | .. opcode:: CALL_FUNCTION_EX (flags)
Calls a callable object with variable set of positional and keyword
arguments. If the lowest bit of *flags* is set, the top of the stack
contains a mapping object containing additional keyword arguments. Before the callable is called, the mapping object and iterable object
are ea... | trusted_official_docs | CPython Docs | .. opcode:: CALL_FUNCTION_EX (flags)
Calls a callable object with variable set of positional and keyword
arguments. If the lowest bit of *flags* is set, the top of the stack
contains a mapping object containing additional keyword arguments. Before the callable is called, the mapping object and iterable object
are ea... | .. opcode:: CALL_FUNCTION_EX (flags)
Calls a callable object with variable set of positional and keyword
arguments. If the lowest bit of *flags* is set, the top of the stack
contains a mapping object containing additional keyword arguments. Before the callable is called, the mapping object and iterable object
are ea... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4756d019-39b3-4129-b5b9-f7c22cc3006e | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,244 | supabase-export-v2 | c98d9e8ea3767b57 | The iterator generates a series of :class:`Instruction` named tuples giving the details of each operation in the supplied code.
If *first_line* is not ``None``, it indicates the line number that should be
reported for the first source line in the disassembled code. Otherwise, the
source line information (if any) is t... | trusted_official_docs | CPython Docs | The iterator generates a series of :class:`Instruction` named tuples giving the details of each operation in the supplied code.
If *first_line* is not ``None``, it indicates the line number that should be
reported for the first source line in the disassembled code. Otherwise, the
source line information (if any) is t... | The iterator generates a series of :class:`Instruction` named tuples giving the details of each operation in the supplied code.
If *first_line* is not ``None``, it indicates the line number that should be
reported for the first source line in the disassembled code. Otherwise, the
source line information (if any) is t... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
48348044-7292-4072-bb27-0f81cc306b18 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,705 | supabase-export-v2 | 6fb8ee2ce2cb7c1f | .. opcode:: SETUP_CLEANUP (target)
Like ``SETUP_FINALLY``, but in case of an exception also pushes the last
instruction (``lasti``) to the stack so that ``RERAISE`` can restore it. If an exception occurs, the value stack level and the last instruction on
the frame are restored to their current state, and control is t... | trusted_official_docs | CPython Docs | .. opcode:: SETUP_CLEANUP (target)
Like ``SETUP_FINALLY``, but in case of an exception also pushes the last
instruction (``lasti``) to the stack so that ``RERAISE`` can restore it. If an exception occurs, the value stack level and the last instruction on
the frame are restored to their current state, and control is t... | .. opcode:: SETUP_CLEANUP (target)
Like ``SETUP_FINALLY``, but in case of an exception also pushes the last
instruction (``lasti``) to the stack so that ``RERAISE`` can restore it. If an exception occurs, the value stack level and the last instruction on
the frame are restored to their current state, and control is t... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4bb11663-ce37-4df8-8e5d-dcb75e893fd9 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,576 | supabase-export-v2 | be2726de10cc7794 | .. opcode:: LOAD_FAST_AND_CLEAR (var_num)
Pushes a reference to the local ``co_varnames[var_num]`` onto the stack (or
pushes ``NULL`` onto the stack if the local variable has not been
initialized) and sets ``co_varnames[var_num]`` to ``NULL``. | trusted_official_docs | CPython Docs | .. opcode:: LOAD_FAST_AND_CLEAR (var_num)
Pushes a reference to the local ``co_varnames[var_num]`` onto the stack (or
pushes ``NULL`` onto the stack if the local variable has not been
initialized) and sets ``co_varnames[var_num]`` to ``NULL``. | .. opcode:: LOAD_FAST_AND_CLEAR (var_num)
Pushes a reference to the local ``co_varnames[var_num]`` onto the stack (or
pushes ``NULL`` onto the stack if the local variable has not been
initialized) and sets ``co_varnames[var_num]`` to ``NULL``. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4bf56d1c-f565-46dd-8ba6-b1caa0dfc1b4 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,205 | supabase-export-v2 | 8181a335648029e6 | Return a formatted multi-line string with detailed code object information for the supplied function, generator, asynchronous generator, coroutine, method, source code string or code object.
Note that the exact contents of code info strings are highly implementation
dependent and they may change arbitrarily across Pyt... | trusted_official_docs | CPython Docs | Return a formatted multi-line string with detailed code object information for the supplied function, generator, asynchronous generator, coroutine, method, source code string or code object.
Note that the exact contents of code info strings are highly implementation
dependent and they may change arbitrarily across Pyt... | Return a formatted multi-line string with detailed code object information for the supplied function, generator, asynchronous generator, coroutine, method, source code string or code object.
Note that the exact contents of code info strings are highly implementation
dependent and they may change arbitrarily across Pyt... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4bfd2ac1-58b0-4974-85d5-441ebf82a95b | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,178 | supabase-export-v2 | 23a358b7e3681b1b | bytecode analysis API allows pieces of Python code to be wrapped in a :class:`Bytecode` object that provides easy access to details of the compiled code.
.. class:: Bytecode(x, *, first_line=None, current_offset=None,\
show_caches=False, adaptive=False, show_offsets=False,\
show_positions=False) | trusted_official_docs | CPython Docs | bytecode analysis API allows pieces of Python code to be wrapped in a :class:`Bytecode` object that provides easy access to details of the compiled code.
.. class:: Bytecode(x, *, first_line=None, current_offset=None,\
show_caches=False, adaptive=False, show_offsets=False,\
show_positions=False) | bytecode analysis API allows pieces of Python code to be wrapped in a :class:`Bytecode` object that provides easy access to details of the compiled code.
.. class:: Bytecode(x, *, first_line=None, current_offset=None,\
show_caches=False, adaptive=False, show_offsets=False,\
show_positions=False) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4c4f8a25-e415-4421-9dea-6ea3124033b1 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,650 | supabase-export-v2 | f4f983567a7f18cd | * ``oparg == 1``: call :func:`str` on *value* * ``oparg == 2``: call :func:`repr` on *value* * ``oparg == 3``: call :func:`ascii` on *value*
Used for implementing formatted string literals (f-strings). | trusted_official_docs | CPython Docs | * ``oparg == 1``: call :func:`str` on *value* * ``oparg == 2``: call :func:`repr` on *value* * ``oparg == 3``: call :func:`ascii` on *value*
Used for implementing formatted string literals (f-strings). | * ``oparg == 1``: call :func:`str` on *value* * ``oparg == 2``: call :func:`repr` on *value* * ``oparg == 3``: call :func:`ascii` on *value*
Used for implementing formatted string literals (f-strings). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4d08e737-86f1-434b-b1c1-c8660b109539 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,674 | supabase-export-v2 | 1e1b810e80e5ecea | .. opcode:: RETURN_GENERATOR
Create a generator, coroutine, or async generator from the current frame. Used as first opcode of in code object for the above mentioned callables. Clear the current frame and return the newly created generator. | trusted_official_docs | CPython Docs | .. opcode:: RETURN_GENERATOR
Create a generator, coroutine, or async generator from the current frame. Used as first opcode of in code object for the above mentioned callables. Clear the current frame and return the newly created generator. | .. opcode:: RETURN_GENERATOR
Create a generator, coroutine, or async generator from the current frame. Used as first opcode of in code object for the above mentioned callables. Clear the current frame and return the newly created generator. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
544a890a-8bed-4826-ae90-fa8ceb3588db | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,608 | supabase-export-v2 | 43ba2a0befa68911 | Raises an exception using one of the 3 forms of the ``raise`` statement, depending on the value of *argc*:
* 0: ``raise`` (re-raise previous exception)
* 1: ``raise STACK[-1]`` (raise exception instance or type at ``STACK[-1]``)
* 2: ``raise STACK[-2] from STACK[-1]`` (raise exception instance or type at
``STACK[-2]... | trusted_official_docs | CPython Docs | Raises an exception using one of the 3 forms of the ``raise`` statement, depending on the value of *argc*:
* 0: ``raise`` (re-raise previous exception)
* 1: ``raise STACK[-1]`` (raise exception instance or type at ``STACK[-1]``)
* 2: ``raise STACK[-2] from STACK[-1]`` (raise exception instance or type at
``STACK[-2]... | Raises an exception using one of the 3 forms of the ``raise`` statement, depending on the value of *argc*:
* 0: ``raise`` (re-raise previous exception)
* 1: ``raise STACK[-1]`` (raise exception instance or type at ``STACK[-1]``)
* 2: ``raise STACK[-2] from STACK[-1]`` (raise exception instance or type at
``STACK[-2]... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
548158b0-94a2-454f-8f2c-bb81d257c964 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,539 | supabase-export-v2 | 790a6a0aca886e3f | oparg is now a relative delta rather than an absolute target. This opcode is a pseudo-instruction, replaced in final bytecode by the directed versions (forward/backward).
.. versionchanged:: 3.12
This is no longer a pseudo-instruction. | trusted_official_docs | CPython Docs | oparg is now a relative delta rather than an absolute target. This opcode is a pseudo-instruction, replaced in final bytecode by the directed versions (forward/backward).
.. versionchanged:: 3.12
This is no longer a pseudo-instruction. | oparg is now a relative delta rather than an absolute target. This opcode is a pseudo-instruction, replaced in final bytecode by the directed versions (forward/backward).
.. versionchanged:: 3.12
This is no longer a pseudo-instruction. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
588d7dec-3bd0-4e4b-824c-58955db318fb | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,683 | supabase-export-v2 | ae54b9d4e1e77635 | Pseudo instructions were added to the :mod:`!dis` module, and for them it is not true that comparison with ``HAVE_ARGUMENT`` indicates whether they use their arg.
.. deprecated:: 3.13
Use :data:`hasarg` instead. | trusted_official_docs | CPython Docs | Pseudo instructions were added to the :mod:`!dis` module, and for them it is not true that comparison with ``HAVE_ARGUMENT`` indicates whether they use their arg.
.. deprecated:: 3.13
Use :data:`hasarg` instead. | Pseudo instructions were added to the :mod:`!dis` module, and for them it is not true that comparison with ``HAVE_ARGUMENT`` indicates whether they use their arg.
.. deprecated:: 3.13
Use :data:`hasarg` instead. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
59dce201-6ac2-4f82-9769-aa007403df22 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,685 | supabase-export-v2 | 167a1073f04930d1 | .. opcode:: CALL_INTRINSIC_1
Calls an intrinsic function with one argument. Passes ``STACK[-1]`` as the
argument and sets ``STACK[-1]`` to the result. Used to implement
functionality that is not performance critical. | trusted_official_docs | CPython Docs | .. opcode:: CALL_INTRINSIC_1
Calls an intrinsic function with one argument. Passes ``STACK[-1]`` as the
argument and sets ``STACK[-1]`` to the result. Used to implement
functionality that is not performance critical. | .. opcode:: CALL_INTRINSIC_1
Calls an intrinsic function with one argument. Passes ``STACK[-1]`` as the
argument and sets ``STACK[-1]`` to the result. Used to implement
functionality that is not performance critical. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5e3e162a-5c13-4b86-9b9f-06eae3eaaff0 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,181 | supabase-export-v2 | c29535bbac93d4a5 | convenience wrapper around many of the functions listed below, most notably :func:`get_instructions`, as iterating over a :class:`Bytecode` instance yields the bytecode operations as :class:`Instruction` instances.
If *first_line* is not ``None``, it indicates the line number that should be
reported for the first sour... | trusted_official_docs | CPython Docs | convenience wrapper around many of the functions listed below, most notably :func:`get_instructions`, as iterating over a :class:`Bytecode` instance yields the bytecode operations as :class:`Instruction` instances.
If *first_line* is not ``None``, it indicates the line number that should be
reported for the first sour... | convenience wrapper around many of the functions listed below, most notably :func:`get_instructions`, as iterating over a :class:`Bytecode` instance yields the bytecode operations as :class:`Instruction` instances.
If *first_line* is not ``None``, it indicates the line number that should be
reported for the first sour... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5eee3f60-f545-403a-be24-9d0a4c26e7f9 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,527 | supabase-export-v2 | 73296d8d40526d5d | .. opcode:: IMPORT_FROM (namei)
Loads the attribute ``co_names[namei]`` from the module found in ``STACK[-1]``. The resulting object is pushed onto the stack, to be subsequently stored by a
:opcode:`STORE_FAST` instruction. | trusted_official_docs | CPython Docs | .. opcode:: IMPORT_FROM (namei)
Loads the attribute ``co_names[namei]`` from the module found in ``STACK[-1]``. The resulting object is pushed onto the stack, to be subsequently stored by a
:opcode:`STORE_FAST` instruction. | .. opcode:: IMPORT_FROM (namei)
Loads the attribute ``co_names[namei]`` from the module found in ``STACK[-1]``. The resulting object is pushed onto the stack, to be subsequently stored by a
:opcode:`STORE_FAST` instruction. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
60fbd82a-2bc8-481c-9e2e-f02bae7f3e03 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,367 | supabase-export-v2 | 3a24f2bdacd11953 | Implements ``STACK[-1] = get_awaitable(STACK[-1])``, where ``get_awaitable(o)`` returns ``o`` if ``o`` is a coroutine object or a generator object with the :data:`~inspect.CO_ITERABLE_COROUTINE` flag, or resolves ``o.__await__``.
If the ``where`` operand is nonzero, it indicates where the instruction
occurs: | trusted_official_docs | CPython Docs | Implements ``STACK[-1] = get_awaitable(STACK[-1])``, where ``get_awaitable(o)`` returns ``o`` if ``o`` is a coroutine object or a generator object with the :data:`~inspect.CO_ITERABLE_COROUTINE` flag, or resolves ``o.__await__``.
If the ``where`` operand is nonzero, it indicates where the instruction
occurs: | Implements ``STACK[-1] = get_awaitable(STACK[-1])``, where ``get_awaitable(o)`` returns ``o`` if ``o`` is a coroutine object or a generator object with the :data:`~inspect.CO_ITERABLE_COROUTINE` flag, or resolves ``o.__await__``.
If the ``where`` operand is nonzero, it indicates where the instruction
occurs: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6298bc77-28fb-4c00-bcdc-9a699f0ffe6e | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,512 | supabase-export-v2 | 608ba77f917fba2b | With respect to its argument, it works similarly to :opcode:`LOAD_ATTR`, except that ``namei`` is shifted left by 2 bits instead of 1.
The low bit of ``namei`` signals to attempt a method load, as with
:opcode:`LOAD_ATTR`, which results in pushing ``NULL`` and the loaded method. When it is unset a single value is push... | trusted_official_docs | CPython Docs | With respect to its argument, it works similarly to :opcode:`LOAD_ATTR`, except that ``namei`` is shifted left by 2 bits instead of 1.
The low bit of ``namei`` signals to attempt a method load, as with
:opcode:`LOAD_ATTR`, which results in pushing ``NULL`` and the loaded method. When it is unset a single value is push... | With respect to its argument, it works similarly to :opcode:`LOAD_ATTR`, except that ``namei`` is shifted left by 2 bits instead of 1.
The low bit of ``namei`` signals to attempt a method load, as with
:opcode:`LOAD_ATTR`, which results in pushing ``NULL`` and the loaded method. When it is unset a single value is push... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
63d9e10e-2a26-4cb2-8231-f5dc2e02cbc5 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,510 | supabase-export-v2 | 479e1feb525e2af3 | It pops three values from the stack (from top of stack down):
* ``self``: the first argument to the current method
* ``cls``: the class within which the current method was defined
* the global ``super`` | trusted_official_docs | CPython Docs | It pops three values from the stack (from top of stack down):
* ``self``: the first argument to the current method
* ``cls``: the class within which the current method was defined
* the global ``super`` | It pops three values from the stack (from top of stack down):
* ``self``: the first argument to the current method
* ``cls``: the class within which the current method was defined
* the global ``super`` | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6a43a15f-1775-4d46-8a93-c7741361a79b | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,478 | supabase-export-v2 | 97de4a420cbc33d3 | If the low bit of ``format`` is set, it indicates that the interpolation contains a format specification.
If ``format >> 2`` is non-zero, it indicates that the interpolation
contains a conversion. The value of ``format >> 2`` is the conversion type
(``0`` for no conversion, ``1`` for ``!s``, ``2`` for ``!r``, and
``... | trusted_official_docs | CPython Docs | If the low bit of ``format`` is set, it indicates that the interpolation contains a format specification.
If ``format >> 2`` is non-zero, it indicates that the interpolation
contains a conversion. The value of ``format >> 2`` is the conversion type
(``0`` for no conversion, ``1`` for ``!s``, ``2`` for ``!r``, and
``... | If the low bit of ``format`` is set, it indicates that the interpolation contains a format specification.
If ``format >> 2`` is non-zero, it indicates that the interpolation
contains a conversion. The value of ``format >> 2`` is the conversion type
(``0`` for no conversion, ``1`` for ``!s``, ``2`` for ``!r``, and
``... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6b81515b-aa85-4d48-9caa-b5327229f62d | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,430 | supabase-export-v2 | 44f6b57c8cff2877 | .. opcode:: MATCH_MAPPING
If ``STACK[-1]`` is an instance of :class:`collections.abc.Mapping` (or, more
technically: if it has the :c:macro:`Py_TPFLAGS_MAPPING` flag set in its
:c:member:`~PyTypeObject.tp_flags`), push ``True`` onto the stack. Otherwise,
push ``False``. | trusted_official_docs | CPython Docs | .. opcode:: MATCH_MAPPING
If ``STACK[-1]`` is an instance of :class:`collections.abc.Mapping` (or, more
technically: if it has the :c:macro:`Py_TPFLAGS_MAPPING` flag set in its
:c:member:`~PyTypeObject.tp_flags`), push ``True`` onto the stack. Otherwise,
push ``False``. | .. opcode:: MATCH_MAPPING
If ``STACK[-1]`` is an instance of :class:`collections.abc.Mapping` (or, more
technically: if it has the :c:macro:`Py_TPFLAGS_MAPPING` flag set in its
:c:member:`~PyTypeObject.tp_flags`), push ``True`` onto the stack. Otherwise,
push ``False``. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6dba37ba-1397-4d44-aae8-c379a959fc2d | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,707 | supabase-export-v2 | 18881fa40395c8aa | .. opcode:: SETUP_WITH (target)
Like ``SETUP_CLEANUP``, but in case of an exception one more item is popped
from the stack before control is transferred to the exception handler at
``target``. | trusted_official_docs | CPython Docs | .. opcode:: SETUP_WITH (target)
Like ``SETUP_CLEANUP``, but in case of an exception one more item is popped
from the stack before control is transferred to the exception handler at
``target``. | .. opcode:: SETUP_WITH (target)
Like ``SETUP_CLEANUP``, but in case of an exception one more item is popped
from the stack before control is transferred to the exception handler at
``target``. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6dd2cdac-c77d-4fe2-aca7-0b16e5fdcb2b | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,258 | supabase-export-v2 | be67371ba3e0d12f | Compute the stack effect of *opcode* with argument *oparg*.
If the code has a jump target and *jump* is ``True``, :func:`~stack_effect`
will return the stack effect of jumping. If *jump* is ``False``,
it will return the stack effect of not jumping. And if *jump* is
``None`` (default), it will return the maximal stac... | trusted_official_docs | CPython Docs | Compute the stack effect of *opcode* with argument *oparg*.
If the code has a jump target and *jump* is ``True``, :func:`~stack_effect`
will return the stack effect of jumping. If *jump* is ``False``,
it will return the stack effect of not jumping. And if *jump* is
``None`` (default), it will return the maximal stac... | Compute the stack effect of *opcode* with argument *oparg*.
If the code has a jump target and *jump* is ``True``, :func:`~stack_effect`
will return the stack effect of jumping. If *jump* is ``False``,
it will return the stack effect of not jumping. And if *jump* is
``None`` (default), it will return the maximal stac... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6e6b7ed2-ba29-4d63-a9f9-d9301afb1048 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,477 | supabase-export-v2 | 6338c82f5cd70bd6 | If no conversion or format specification is present, ``format`` is set to ``2``.
If the low bit of ``format`` is set, it indicates that the interpolation
contains a format specification. | trusted_official_docs | CPython Docs | If no conversion or format specification is present, ``format`` is set to ``2``.
If the low bit of ``format`` is set, it indicates that the interpolation
contains a format specification. | If no conversion or format specification is present, ``format`` is set to ``2``.
If the low bit of ``format`` is set, it indicates that the interpolation
contains a format specification. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6edbc987-aa0a-4412-b069-ed7b63d9e296 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,734 | supabase-export-v2 | 20c827d53938ae09 | .. data:: hasfree
Sequence of bytecodes that access a :term:`free (closure) variable <closure variable>`. 'free' in this context refers to names in the current scope that are
referenced by inner scopes or names in outer scopes that are referenced
from this scope. It does *not* include references to global or builtin ... | trusted_official_docs | CPython Docs | .. data:: hasfree
Sequence of bytecodes that access a :term:`free (closure) variable <closure variable>`. 'free' in this context refers to names in the current scope that are
referenced by inner scopes or names in outer scopes that are referenced
from this scope. It does *not* include references to global or builtin ... | .. data:: hasfree
Sequence of bytecodes that access a :term:`free (closure) variable <closure variable>`. 'free' in this context refers to names in the current scope that are
referenced by inner scopes or names in outer scopes that are referenced
from this scope. It does *not* include references to global or builtin ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6f0dee03-8de9-4fd3-b9fe-564bb21a6259 | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,538 | supabase-export-v2 | 8d2f39e482892c9b | If ``STACK[-1]`` is true, increments the bytecode counter by *delta*. ``STACK[-1]`` is popped.
.. versionchanged:: 3.11
The oparg is now a relative delta rather than an absolute target. This opcode is a pseudo-instruction, replaced in final bytecode by
the directed versions (forward/backward). | trusted_official_docs | CPython Docs | If ``STACK[-1]`` is true, increments the bytecode counter by *delta*. ``STACK[-1]`` is popped.
.. versionchanged:: 3.11
The oparg is now a relative delta rather than an absolute target. This opcode is a pseudo-instruction, replaced in final bytecode by
the directed versions (forward/backward). | If ``STACK[-1]`` is true, increments the bytecode counter by *delta*. ``STACK[-1]`` is popped.
.. versionchanged:: 3.11
The oparg is now a relative delta rather than an absolute target. This opcode is a pseudo-instruction, replaced in final bytecode by
the directed versions (forward/backward). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6f5ddbfe-27d3-4d39-a4de-645660347cdc | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,331 | supabase-export-v2 | b00dba2169e07e4d | the interpreter to cache useful data directly in the bytecode itself. It is automatically hidden by all ``dis`` utilities, but can be viewed with ``show_caches=True``.
Logically, this space is part of the preceding instruction. Many opcodes
expect to be followed by an exact number of caches, and will instruct the
int... | trusted_official_docs | CPython Docs | the interpreter to cache useful data directly in the bytecode itself. It is automatically hidden by all ``dis`` utilities, but can be viewed with ``show_caches=True``.
Logically, this space is part of the preceding instruction. Many opcodes
expect to be followed by an exact number of caches, and will instruct the
int... | the interpreter to cache useful data directly in the bytecode itself. It is automatically hidden by all ``dis`` utilities, but can be viewed with ``show_caches=True``.
Logically, this space is part of the preceding instruction. Many opcodes
expect to be followed by an exact number of caches, and will instruct the
int... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6fe20c01-5e42-4560-805a-992eae9b4b3c | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,209 | supabase-export-v2 | df7fdda739963f9b | .. function:: show_code(x, *, file=None)
Print detailed code object information for the supplied function, method,
source code string or code object to *file* (or ``sys.stdout`` if *file*
is not specified). | trusted_official_docs | CPython Docs | .. function:: show_code(x, *, file=None)
Print detailed code object information for the supplied function, method,
source code string or code object to *file* (or ``sys.stdout`` if *file*
is not specified). | .. function:: show_code(x, *, file=None)
Print detailed code object information for the supplied function, method,
source code string or code object to *file* (or ``sys.stdout`` if *file*
is not specified). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7125f712-e351-4b4c-be4f-a2c35cc8d0ec | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,483 | supabase-export-v2 | 42525f3ed518d75f | Creates a tuple consuming *count* items from the stack, and pushes the resulting tuple onto the stack::
if count == 0:
value = ()
else:
value = tuple(STACK[-count:])
STACK = STACK[:-count] | trusted_official_docs | CPython Docs | Creates a tuple consuming *count* items from the stack, and pushes the resulting tuple onto the stack::
if count == 0:
value = ()
else:
value = tuple(STACK[-count:])
STACK = STACK[:-count] | Creates a tuple consuming *count* items from the stack, and pushes the resulting tuple onto the stack::
if count == 0:
value = ()
else:
value = tuple(STACK[-count:])
STACK = STACK[:-count] | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
71d524b6-9a17-4832-ae75-f7f88655592e | CPython Docs | file://datasets/cpython/Doc/library/dis.rst | unknown | 042f3535-e48e-4c80-96dd-0d8bcf67c5cb | 48,516 | supabase-export-v2 | 2de567f4eb0fe1af | .. opcode:: COMPARE_OP (opname)
Performs a Boolean operation. The operation name can be found in
``cmp_op[opname >> 5]``. If the fifth-lowest bit of ``opname`` is set
(``opname & 16``), the result should be coerced to ``bool``. | trusted_official_docs | CPython Docs | .. opcode:: COMPARE_OP (opname)
Performs a Boolean operation. The operation name can be found in
``cmp_op[opname >> 5]``. If the fifth-lowest bit of ``opname`` is set
(``opname & 16``), the result should be coerced to ``bool``. | .. opcode:: COMPARE_OP (opname)
Performs a Boolean operation. The operation name can be found in
``cmp_op[opname >> 5]``. If the fifth-lowest bit of ``opname`` is set
(``opname & 16``), the result should be coerced to ``bool``. | 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.