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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e7a850b0-5ccd-4b43-9f07-863c6432971f | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,069 | supabase-export-v2 | bb5b55ebea6f4947 | .. method:: SSLSocket.selected_alpn_protocol()
Return the protocol that was selected during the TLS handshake. If
:meth:`SSLContext.set_alpn_protocols` was not called, if the other party does
not support ALPN, if this socket does not support any of the client's
proposed protocols, or if the handshake has not happene... | trusted_official_docs | CPython Docs | .. method:: SSLSocket.selected_alpn_protocol()
Return the protocol that was selected during the TLS handshake. If
:meth:`SSLContext.set_alpn_protocols` was not called, if the other party does
not support ALPN, if this socket does not support any of the client's
proposed protocols, or if the handshake has not happene... | .. method:: SSLSocket.selected_alpn_protocol()
Return the protocol that was selected during the TLS handshake. If
:meth:`SSLContext.set_alpn_protocols` was not called, if the other party does
not support ALPN, if this socket does not support any of the client's
proposed protocols, or if the handshake has not happene... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e84e313d-d408-4d8e-8ff5-ef4906e459a6 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,359 | supabase-export-v2 | 2677a5f6f3e93563 | Server-side operation ^^^^^^^^^^^^^^^^^^^^^
For server operation, typically you'll need to have a server certificate, and
private key, each in a file. You'll first create a context holding the key
and the certificate, so that clients can check your authenticity. Then
you'll open a socket, bind it to a port, call :meth:... | trusted_official_docs | CPython Docs | Server-side operation ^^^^^^^^^^^^^^^^^^^^^
For server operation, typically you'll need to have a server certificate, and
private key, each in a file. You'll first create a context holding the key
and the certificate, so that clients can check your authenticity. Then
you'll open a socket, bind it to a port, call :meth:... | Server-side operation ^^^^^^^^^^^^^^^^^^^^^
For server operation, typically you'll need to have a server certificate, and
private key, each in a file. You'll first create a context holding the key
and the certificate, so that clients can check your authenticity. Then
you'll open a socket, bind it to a port, call :meth:... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e85626aa-951e-44b2-aabc-2c08cfe22888 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 32,682 | supabase-export-v2 | 008e210f8e7d4cd3 | .. include:: ../includes/wasm-notavail.rst
This section documents the objects and functions in the ``ssl`` module; for more
general information about TLS, SSL, and certificates, the reader is referred to
the documents in the "See Also" section at the bottom. | trusted_official_docs | CPython Docs | .. include:: ../includes/wasm-notavail.rst
This section documents the objects and functions in the ``ssl`` module; for more
general information about TLS, SSL, and certificates, the reader is referred to
the documents in the "See Also" section at the bottom. | .. include:: ../includes/wasm-notavail.rst
This section documents the objects and functions in the ``ssl`` module; for more
general information about TLS, SSL, and certificates, the reader is referred to
the documents in the "See Also" section at the bottom. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e8697738-1069-4207-86d9-1ebc6e19388c | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,334 | supabase-export-v2 | d679ef86c0259e08 | Self-signed certificates ^^^^^^^^^^^^^^^^^^^^^^^^
If you are going to create a server that provides SSL-encrypted connection
services, you will need to acquire a certificate for that service. There are
many ways of acquiring appropriate certificates, such as buying one from a
certification authority. Another common pra... | trusted_official_docs | CPython Docs | Self-signed certificates ^^^^^^^^^^^^^^^^^^^^^^^^
If you are going to create a server that provides SSL-encrypted connection
services, you will need to acquire a certificate for that service. There are
many ways of acquiring appropriate certificates, such as buying one from a
certification authority. Another common pra... | Self-signed certificates ^^^^^^^^^^^^^^^^^^^^^^^^
If you are going to create a server that provides SSL-encrypted connection
services, you will need to acquire a certificate for that service. There are
many ways of acquiring appropriate certificates, such as buying one from a
certification authority. Another common pra... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e94c85aa-377d-417a-8935-fcd84f7d9b4a | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,110 | supabase-export-v2 | 388a0b7f01e1f43e | default. .. [3] TLS 1.3 protocol will be available with :data:`PROTOCOL_TLS` in OpenSSL >= 1.1.1. There is no dedicated PROTOCOL constant for just TLS 1.3.
.. seealso::
:func:`create_default_context` lets the :mod:`!ssl` module choose
security settings for a given purpose. | trusted_official_docs | CPython Docs | default. .. [3] TLS 1.3 protocol will be available with :data:`PROTOCOL_TLS` in OpenSSL >= 1.1.1. There is no dedicated PROTOCOL constant for just TLS 1.3.
.. seealso::
:func:`create_default_context` lets the :mod:`!ssl` module choose
security settings for a given purpose. | default. .. [3] TLS 1.3 protocol will be available with :data:`PROTOCOL_TLS` in OpenSSL >= 1.1.1. There is no dedicated PROTOCOL constant for just TLS 1.3.
.. seealso::
:func:`create_default_context` lets the :mod:`!ssl` module choose
security settings for a given purpose. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
e9c254ea-29ff-486b-9d73-6dae24535cb5 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,429 | supabase-export-v2 | 64804deb26057a4e | Verifying certificates ''''''''''''''''''''''
When calling the :class:`SSLContext` constructor directly,
:const:`CERT_NONE` is the default. Since it does not authenticate the other
peer, it can be insecure, especially in client mode where most of the time you
would like to ensure the authenticity of the server you're t... | trusted_official_docs | CPython Docs | Verifying certificates ''''''''''''''''''''''
When calling the :class:`SSLContext` constructor directly,
:const:`CERT_NONE` is the default. Since it does not authenticate the other
peer, it can be insecure, especially in client mode where most of the time you
would like to ensure the authenticity of the server you're t... | Verifying certificates ''''''''''''''''''''''
When calling the :class:`SSLContext` constructor directly,
:const:`CERT_NONE` is the default. Since it does not authenticate the other
peer, it can be insecure, especially in client mode where most of the time you
would like to ensure the authenticity of the server you're t... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eb2416e4-a295-45aa-a96a-727895d7329e | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,009 | supabase-export-v2 | c3b578897d2aa185 | and return the result as a ``bytes`` instance. If *buffer* is specified, then read into the buffer instead, and return the number of bytes read.
Raise :exc:`SSLWantReadError` or :exc:`SSLWantWriteError` if the socket is
:ref:`non-blocking <ssl-nonblocking>` and the read would block. | trusted_official_docs | CPython Docs | and return the result as a ``bytes`` instance. If *buffer* is specified, then read into the buffer instead, and return the number of bytes read.
Raise :exc:`SSLWantReadError` or :exc:`SSLWantWriteError` if the socket is
:ref:`non-blocking <ssl-nonblocking>` and the read would block. | and return the result as a ``bytes`` instance. If *buffer* is specified, then read into the buffer instead, and return the number of bytes read.
Raise :exc:`SSLWantReadError` or :exc:`SSLWantWriteError` if the socket is
:ref:`non-blocking <ssl-nonblocking>` and the read would block. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ebe6c022-3179-4e29-a612-18c74f9b11f1 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,323 | supabase-export-v2 | 7cc271598b4c68d5 | need not concern itself with its mechanics. But the application does usually need to provide sets of certificates to allow this process to take place.
Python uses files to contain certificates. They should be formatted as "PEM"
(see :rfc:`1422`), which is a base-64 encoded form wrapped with a header line
and a footer l... | trusted_official_docs | CPython Docs | need not concern itself with its mechanics. But the application does usually need to provide sets of certificates to allow this process to take place.
Python uses files to contain certificates. They should be formatted as "PEM"
(see :rfc:`1422`), which is a base-64 encoded form wrapped with a header line
and a footer l... | need not concern itself with its mechanics. But the application does usually need to provide sets of certificates to allow this process to take place.
Python uses files to contain certificates. They should be formatted as "PEM"
(see :rfc:`1422`), which is a base-64 encoded form wrapped with a header line
and a footer l... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ebf948e2-1f6f-4838-b33f-dfbf6bb79dfe | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,331 | supabase-export-v2 | 1c8e5d8817b950b8 | Combined key and certificate ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Often the private key is stored in the same file as the certificate; in this
case, only the ``certfile`` parameter to :meth:`SSLContext.load_cert_chain`
needs to be passed. If the private key is stored
with the certificate, it should come before the first certif... | trusted_official_docs | CPython Docs | Combined key and certificate ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Often the private key is stored in the same file as the certificate; in this
case, only the ``certfile`` parameter to :meth:`SSLContext.load_cert_chain`
needs to be passed. If the private key is stored
with the certificate, it should come before the first certif... | Combined key and certificate ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Often the private key is stored in the same file as the certificate; in this
case, only the ``certfile`` parameter to :meth:`SSLContext.load_cert_chain`
needs to be passed. If the private key is stored
with the certificate, it should come before the first certif... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ec5ace4f-d967-4327-915b-9088c3f82976 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 32,778 | supabase-export-v2 | 28239f15af90d988 | .. function:: cert_time_to_seconds(cert_time)
Return the time in seconds since the epoch, given the ``cert_time``
string representing the "notBefore" or "notAfter" date from a
certificate in ``"%b %d %H:%M:%S %Y %Z"`` strptime format (C
locale). | trusted_official_docs | CPython Docs | .. function:: cert_time_to_seconds(cert_time)
Return the time in seconds since the epoch, given the ``cert_time``
string representing the "notBefore" or "notAfter" date from a
certificate in ``"%b %d %H:%M:%S %Y %Z"`` strptime format (C
locale). | .. function:: cert_time_to_seconds(cert_time)
Return the time in seconds since the epoch, given the ``cert_time``
string representing the "notBefore" or "notAfter" date from a
certificate in ``"%b %d %H:%M:%S %Y %Z"`` strptime format (C
locale). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
ee2ae550-e90c-498b-a8f2-42ac7aa6c240 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 32,754 | supabase-export-v2 | 055ef34c9ef5ebe1 | .. exception:: SSLEOFError
A subclass of :exc:`SSLError` raised when the SSL connection has been
terminated abruptly. Generally, you shouldn't try to reuse the underlying
transport when this error is encountered. | trusted_official_docs | CPython Docs | .. exception:: SSLEOFError
A subclass of :exc:`SSLError` raised when the SSL connection has been
terminated abruptly. Generally, you shouldn't try to reuse the underlying
transport when this error is encountered. | .. exception:: SSLEOFError
A subclass of :exc:`SSLError` raised when the SSL connection has been
terminated abruptly. Generally, you shouldn't try to reuse the underlying
transport when this error is encountered. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
eef3332d-7dbc-43cc-b545-b8a4e7ca9b92 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,330 | supabase-export-v2 | 3d1a7f7bb6d50336 | first chain it finds in the file which matches. The platform's certificates file can be used by calling :meth:`SSLContext.load_default_certs`, this is done automatically with :func:`.create_default_context`.
Combined key and certificate
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | trusted_official_docs | CPython Docs | first chain it finds in the file which matches. The platform's certificates file can be used by calling :meth:`SSLContext.load_default_certs`, this is done automatically with :func:`.create_default_context`.
Combined key and certificate
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | first chain it finds in the file which matches. The platform's certificates file can be used by calling :meth:`SSLContext.load_default_certs`, this is done automatically with :func:`.create_default_context`.
Combined key and certificate
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
efe2f7e1-477d-4774-850b-93ebe8c68b7f | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,346 | supabase-export-v2 | 040ecb9d2e5bd3f7 | If you prefer to tune security settings yourself, you might create a context from scratch (but beware that you might not get the settings right)::
>>> context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
>>> context.load_verify_locations("/etc/ssl/certs/ca-bundle.crt") | trusted_official_docs | CPython Docs | If you prefer to tune security settings yourself, you might create a context from scratch (but beware that you might not get the settings right)::
>>> context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
>>> context.load_verify_locations("/etc/ssl/certs/ca-bundle.crt") | If you prefer to tune security settings yourself, you might create a context from scratch (but beware that you might not get the settings right)::
>>> context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
>>> context.load_verify_locations("/etc/ssl/certs/ca-bundle.crt") | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f02bd91b-07dc-4fde-96c7-2b9bcfea246e | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,264 | supabase-export-v2 | 8143efc7edce1347 | of SSL options enabled on this context. The default value is :data:`OP_ALL`, but you can specify other options such as :data:`OP_NO_SSLv2` by ORing them together.
.. versionchanged:: 3.6
:attr:`SSLContext.options` returns :class:`Options` flags: | trusted_official_docs | CPython Docs | of SSL options enabled on this context. The default value is :data:`OP_ALL`, but you can specify other options such as :data:`OP_NO_SSLv2` by ORing them together.
.. versionchanged:: 3.6
:attr:`SSLContext.options` returns :class:`Options` flags: | of SSL options enabled on this context. The default value is :data:`OP_ALL`, but you can specify other options such as :data:`OP_NO_SSLv2` by ORing them together.
.. versionchanged:: 3.6
:attr:`SSLContext.options` returns :class:`Options` flags: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f2174da8-b8c7-4b19-8cb1-b38428ae635d | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,184 | supabase-export-v2 | 7efb10922de1fd87 | .. method:: SSLContext.set_alpn_protocols(alpn_protocols)
Specify which protocols the socket should advertise during the SSL/TLS
handshake. It should be a list of ASCII strings, like ``['http/1.1',
'spdy/2']``, ordered by preference. The selection of a protocol will happen
during the handshake, and will play out acc... | trusted_official_docs | CPython Docs | .. method:: SSLContext.set_alpn_protocols(alpn_protocols)
Specify which protocols the socket should advertise during the SSL/TLS
handshake. It should be a list of ASCII strings, like ``['http/1.1',
'spdy/2']``, ordered by preference. The selection of a protocol will happen
during the handshake, and will play out acc... | .. method:: SSLContext.set_alpn_protocols(alpn_protocols)
Specify which protocols the socket should advertise during the SSL/TLS
handshake. It should be a list of ASCII strings, like ``['http/1.1',
'spdy/2']``, ordered by preference. The selection of a protocol will happen
during the handshake, and will play out acc... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f39b448e-4cc3-48b5-9928-6ea9282f57c3 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,327 | supabase-export-v2 | 3dbe7ed85ffbe9c0 | to the certificate of the certification authority that signed our server certificate, to the root certificate of the agency which issued the certification authority's certificate::
-----BEGIN CERTIFICATE-----
... (certificate for your server)... -----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
... (the certific... | trusted_official_docs | CPython Docs | to the certificate of the certification authority that signed our server certificate, to the root certificate of the agency which issued the certification authority's certificate::
-----BEGIN CERTIFICATE-----
... (certificate for your server)... -----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
... (the certific... | to the certificate of the certification authority that signed our server certificate, to the root certificate of the agency which issued the certification authority's certificate::
-----BEGIN CERTIFICATE-----
... (certificate for your server)... -----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
... (the certific... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f55faed7-e5e8-4f30-b8d0-f11c8ef04d3b | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,058 | supabase-export-v2 | 93f91f5969e85cb0 | .. method:: SSLSocket.server_sigalg()
Return the signature algorithm used by the server to complete the TLS
handshake on this connection, or ``None`` if no connection has been
established or the cipher suite has no signature. | trusted_official_docs | CPython Docs | .. method:: SSLSocket.server_sigalg()
Return the signature algorithm used by the server to complete the TLS
handshake on this connection, or ``None`` if no connection has been
established or the cipher suite has no signature. | .. method:: SSLSocket.server_sigalg()
Return the signature algorithm used by the server to complete the TLS
handshake on this connection, or ``None`` if no connection has been
established or the cipher suite has no signature. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f56a5e27-8945-4ec3-8a71-19decbaba400 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,035 | supabase-export-v2 | 21956d3e0bd46e61 | * for a client SSL socket, the server will always provide a certificate, regardless of whether validation was required;
* for a server SSL socket, the client will only provide a certificate
when requested by the server; therefore :meth:`getpeercert` will return
:const:`None` if you used :const:`CERT_NONE` (rather tha... | trusted_official_docs | CPython Docs | * for a client SSL socket, the server will always provide a certificate, regardless of whether validation was required;
* for a server SSL socket, the client will only provide a certificate
when requested by the server; therefore :meth:`getpeercert` will return
:const:`None` if you used :const:`CERT_NONE` (rather tha... | * for a client SSL socket, the server will always provide a certificate, regardless of whether validation was required;
* for a server SSL socket, the client will only provide a certificate
when requested by the server; therefore :meth:`getpeercert` will return
:const:`None` if you used :const:`CERT_NONE` (rather tha... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f6b2771d-0c6e-421b-bf6c-f4606da04403 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 32,680 | supabase-export-v2 | 2867972b5cdeeaaf | to the operating system socket APIs. The installed version of OpenSSL may also cause variations in behavior. For example, TLSv1.3 comes with OpenSSL version 1.1.1.
.. warning::
Don't use this module without reading the :ref:`ssl-security`. Doing so
may lead to a false sense of security, as the default settings of the... | trusted_official_docs | CPython Docs | to the operating system socket APIs. The installed version of OpenSSL may also cause variations in behavior. For example, TLSv1.3 comes with OpenSSL version 1.1.1.
.. warning::
Don't use this module without reading the :ref:`ssl-security`. Doing so
may lead to a false sense of security, as the default settings of the... | to the operating system socket APIs. The installed version of OpenSSL may also cause variations in behavior. For example, TLSv1.3 comes with OpenSSL version 1.1.1.
.. warning::
Don't use this module without reading the :ref:`ssl-security`. Doing so
may lead to a false sense of security, as the default settings of the... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f7209b99-0d20-4c27-bb66-a895a1a9f95b | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 32,772 | supabase-export-v2 | d8e1c3a893297cbe | the SSL pseudo-random number generator has been seeded with 'enough' randomness, and ``False`` otherwise. Use :func:`ssl.RAND_add` to increase the randomness of the pseudo-random number generator.
.. function:: RAND_add(bytes, entropy, /) | trusted_official_docs | CPython Docs | the SSL pseudo-random number generator has been seeded with 'enough' randomness, and ``False`` otherwise. Use :func:`ssl.RAND_add` to increase the randomness of the pseudo-random number generator.
.. function:: RAND_add(bytes, entropy, /) | the SSL pseudo-random number generator has been seeded with 'enough' randomness, and ``False`` otherwise. Use :func:`ssl.RAND_add` to increase the randomness of the pseudo-random number generator.
.. function:: RAND_add(bytes, entropy, /) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f72d8c1a-4570-442b-8ca7-c7ab04364f4f | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,395 | supabase-export-v2 | 49064b19abf4412f | - Any form of network IO; ``recv()`` and ``send()`` read and write only to the underlying :class:`MemoryBIO` buffers.
- There is no *do_handshake_on_connect* machinery. You must always manually
call :meth:`~SSLSocket.do_handshake` to start the handshake. | trusted_official_docs | CPython Docs | - Any form of network IO; ``recv()`` and ``send()`` read and write only to the underlying :class:`MemoryBIO` buffers.
- There is no *do_handshake_on_connect* machinery. You must always manually
call :meth:`~SSLSocket.do_handshake` to start the handshake. | - Any form of network IO; ``recv()`` and ``send()`` read and write only to the underlying :class:`MemoryBIO` buffers.
- There is no *do_handshake_on_connect* machinery. You must always manually
call :meth:`~SSLSocket.do_handshake` to start the handshake. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f88a7662-ecb7-499b-bfc7-489dfe319210 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 32,876 | supabase-export-v2 | 7f637a3844a449fa | .. data:: OP_ALL
Enables workarounds for various bugs present in other SSL implementations. This option is set by default. It does not necessarily set the same
flags as OpenSSL's ``SSL_OP_ALL`` constant. | trusted_official_docs | CPython Docs | .. data:: OP_ALL
Enables workarounds for various bugs present in other SSL implementations. This option is set by default. It does not necessarily set the same
flags as OpenSSL's ``SSL_OP_ALL`` constant. | .. data:: OP_ALL
Enables workarounds for various bugs present in other SSL implementations. This option is set by default. It does not necessarily set the same
flags as OpenSSL's ``SSL_OP_ALL`` constant. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f8eac441-e30f-4c2b-a30a-dd2718695564 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,029 | supabase-export-v2 | 1e92a5a442f582c1 | .. method:: SSLSocket.getpeercert(binary_form=False)
If there is no certificate for the peer on the other end of the connection,
return ``None``. If the SSL handshake hasn't been done yet, raise
:exc:`ValueError`. | trusted_official_docs | CPython Docs | .. method:: SSLSocket.getpeercert(binary_form=False)
If there is no certificate for the peer on the other end of the connection,
return ``None``. If the SSL handshake hasn't been done yet, raise
:exc:`ValueError`. | .. method:: SSLSocket.getpeercert(binary_form=False)
If there is no certificate for the peer on the other end of the connection,
return ``None``. If the SSL handshake hasn't been done yet, raise
:exc:`ValueError`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
f910ab84-f9cd-4af2-95fe-9c37b7e45a88 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,378 | supabase-export-v2 | e8eee8f5fb12bc36 | be non-blocking: the :meth:`SSLSocket.do_handshake` method has to be retried until it returns successfully. Here is a synopsis using :func:`~select.select` to wait for the socket's readiness::
while True:
try:
sock.do_handshake()
break
except ssl.SSLWantReadError:
select.select([sock], [], [])
except ssl.SSLWantW... | trusted_official_docs | CPython Docs | be non-blocking: the :meth:`SSLSocket.do_handshake` method has to be retried until it returns successfully. Here is a synopsis using :func:`~select.select` to wait for the socket's readiness::
while True:
try:
sock.do_handshake()
break
except ssl.SSLWantReadError:
select.select([sock], [], [])
except ssl.SSLWantW... | be non-blocking: the :meth:`SSLSocket.do_handshake` method has to be retried until it returns successfully. Here is a synopsis using :func:`~select.select` to wait for the socket's readiness::
while True:
try:
sock.do_handshake()
break
except ssl.SSLWantReadError:
select.select([sock], [], [])
except ssl.SSLWantW... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fabfa599-37c0-4be6-ab79-7ec4de892103 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,204 | supabase-export-v2 | d0c380c79114ce19 | given *server_name_callback* is similar to *sni_callback*, except that when the server hostname is an IDN-encoded internationalized domain name, the *server_name_callback* receives a decoded U-label (``"pythön.org"``).
If there is a decoding error on the server name, the TLS connection will
terminate with an :const:`A... | trusted_official_docs | CPython Docs | given *server_name_callback* is similar to *sni_callback*, except that when the server hostname is an IDN-encoded internationalized domain name, the *server_name_callback* receives a decoded U-label (``"pythön.org"``).
If there is a decoding error on the server name, the TLS connection will
terminate with an :const:`A... | given *server_name_callback* is similar to *sni_callback*, except that when the server hostname is an IDN-encoded internationalized domain name, the *server_name_callback* receives a decoded U-label (``"pythön.org"``).
If there is a decoding error on the server name, the TLS connection will
terminate with an :const:`A... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fb1fbb8e-2e4d-46aa-ba67-998d1860742b | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,062 | supabase-export-v2 | 17f1f7c912c9e23c | Return the compression algorithm being used as a string, or ``None`` if the connection isn't compressed.
If the higher-level protocol supports its own compression mechanism,
you can use :data:`OP_NO_COMPRESSION` to disable SSL-level compression. | trusted_official_docs | CPython Docs | Return the compression algorithm being used as a string, or ``None`` if the connection isn't compressed.
If the higher-level protocol supports its own compression mechanism,
you can use :data:`OP_NO_COMPRESSION` to disable SSL-level compression. | Return the compression algorithm being used as a string, or ``None`` if the connection isn't compressed.
If the higher-level protocol supports its own compression mechanism,
you can use :data:`OP_NO_COMPRESSION` to disable SSL-level compression. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fb40e34c-ce6c-4627-ac6f-5bf589971089 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,001 | supabase-export-v2 | a2c7db24f803a682 | .. versionchanged:: 3.5 The :meth:`sendfile` method was added.
.. versionchanged:: 3.5
The :meth:`shutdown` does not reset the socket timeout each time bytes
are received or sent. The socket timeout is now the maximum total duration
of the shutdown. | trusted_official_docs | CPython Docs | .. versionchanged:: 3.5 The :meth:`sendfile` method was added.
.. versionchanged:: 3.5
The :meth:`shutdown` does not reset the socket timeout each time bytes
are received or sent. The socket timeout is now the maximum total duration
of the shutdown. | .. versionchanged:: 3.5 The :meth:`sendfile` method was added.
.. versionchanged:: 3.5
The :meth:`shutdown` does not reset the socket timeout each time bytes
are received or sent. The socket timeout is now the maximum total duration
of the shutdown. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fc1672b0-8e4b-46de-b4f7-da1773a2c905 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,283 | supabase-export-v2 | e4e68b650a8ac5a7 | .. attribute:: SSLContext.verify_flags
The flags for certificate verification operations. You can set flags like
:data:`VERIFY_CRL_CHECK_LEAF` by ORing them together. By default OpenSSL
does neither require nor verify certificate revocation lists (CRLs). | trusted_official_docs | CPython Docs | .. attribute:: SSLContext.verify_flags
The flags for certificate verification operations. You can set flags like
:data:`VERIFY_CRL_CHECK_LEAF` by ORing them together. By default OpenSSL
does neither require nor verify certificate revocation lists (CRLs). | .. attribute:: SSLContext.verify_flags
The flags for certificate verification operations. You can set flags like
:data:`VERIFY_CRL_CHECK_LEAF` by ORing them together. By default OpenSSL
does neither require nor verify certificate revocation lists (CRLs). | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fdb54abe-c7e8-43a6-9b62-cd2a485b1755 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,151 | supabase-export-v2 | 432c207fcfdfea52 | Example::
>>> ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
>>> ctx.set_ciphers('ECDHE+AESGCM:!ECDSA')
>>> ctx.get_ciphers()
[{'aead': True,
'alg_bits': 256,
'auth': 'auth-rsa',
'description': 'ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA '
'Enc=AESGCM(256) Mac=AEAD',
'digest': None,
'id': 50380848,
'kea': ... | trusted_official_docs | CPython Docs | Example::
>>> ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
>>> ctx.set_ciphers('ECDHE+AESGCM:!ECDSA')
>>> ctx.get_ciphers()
[{'aead': True,
'alg_bits': 256,
'auth': 'auth-rsa',
'description': 'ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA '
'Enc=AESGCM(256) Mac=AEAD',
'digest': None,
'id': 50380848,
'kea': ... | Example::
>>> ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
>>> ctx.set_ciphers('ECDHE+AESGCM:!ECDSA')
>>> ctx.get_ciphers()
[{'aead': True,
'alg_bits': 256,
'auth': 'auth-rsa',
'description': 'ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA '
'Enc=AESGCM(256) Mac=AEAD',
'digest': None,
'id': 50380848,
'kea': ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
fe06cdb0-d305-4b4e-ab7c-8e405845c0d5 | CPython Docs | file://datasets/cpython/Doc/library/ssl.rst | unknown | 07d79692-13ee-4262-a503-2686ca28e16e | 33,310 | supabase-export-v2 | 8441f246884be24b | ``identity_hint`` is an optional identity hint string sent to the client. The string must be less than or equal to ``256`` octets when UTF-8 encoded.
.. note::
When using TLS 1.3 the ``identity_hint`` parameter is not sent to the client. | trusted_official_docs | CPython Docs | ``identity_hint`` is an optional identity hint string sent to the client. The string must be less than or equal to ``256`` octets when UTF-8 encoded.
.. note::
When using TLS 1.3 the ``identity_hint`` parameter is not sent to the client. | ``identity_hint`` is an optional identity hint string sent to the client. The string must be less than or equal to ``256`` octets when UTF-8 encoded.
.. note::
When using TLS 1.3 the ``identity_hint`` parameter is not sent to the client. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
39506181-2582-4b71-899b-df47cc36a80f | CPython Docs | file://datasets/cpython/Doc/library/token.rst | unknown | 80c90199-dc76-41b1-99c0-6d6a5028790e | 33,462 | supabase-export-v2 | 0b11f776038ca93b | The module also provides a mapping from numeric codes to names and some functions. The functions mirror definitions in the Python C header files.
Note that a token's value may depend on tokenizer options. For example, a
``"+"`` token may be reported as either :data:`PLUS` or :data:`OP`, or
a ``"match"`` token may be ei... | trusted_official_docs | CPython Docs | The module also provides a mapping from numeric codes to names and some functions. The functions mirror definitions in the Python C header files.
Note that a token's value may depend on tokenizer options. For example, a
``"+"`` token may be reported as either :data:`PLUS` or :data:`OP`, or
a ``"match"`` token may be ei... | The module also provides a mapping from numeric codes to names and some functions. The functions mirror definitions in the Python C header files.
Note that a token's value may depend on tokenizer options. For example, a
``"+"`` token may be reported as either :data:`PLUS` or :data:`OP`, or
a ``"match"`` token may be ei... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3aef787e-aad5-4247-9911-ab9daf41ad0d | CPython Docs | file://datasets/cpython/Doc/library/token.rst | unknown | 80c90199-dc76-41b1-99c0-6d6a5028790e | 33,486 | supabase-export-v2 | 4e1cdb63fd879eaa | .. data:: NL
Token value used to indicate a non-terminating newline. :data:`!NL` tokens are generated when a logical line of code is continued
over multiple physical lines. The parser ignores :data:`!NL` tokens. | trusted_official_docs | CPython Docs | .. data:: NL
Token value used to indicate a non-terminating newline. :data:`!NL` tokens are generated when a logical line of code is continued
over multiple physical lines. The parser ignores :data:`!NL` tokens. | .. data:: NL
Token value used to indicate a non-terminating newline. :data:`!NL` tokens are generated when a logical line of code is continued
over multiple physical lines. The parser ignores :data:`!NL` tokens. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4b90424c-7b22-484e-a382-3a64514e5f6d | CPython Docs | file://datasets/cpython/Doc/library/token.rst | unknown | 80c90199-dc76-41b1-99c0-6d6a5028790e | 33,460 | supabase-export-v2 | 33f1990bb38af993 | --------------
This module provides constants which represent the numeric values of leaf nodes
of the parse tree (terminal tokens). Refer to the file :file:`Grammar/Tokens`
in the Python distribution for the definitions of the names in the context of
the language grammar. The specific numeric values which the names map... | trusted_official_docs | CPython Docs | --------------
This module provides constants which represent the numeric values of leaf nodes
of the parse tree (terminal tokens). Refer to the file :file:`Grammar/Tokens`
in the Python distribution for the definitions of the names in the context of
the language grammar. The specific numeric values which the names map... | --------------
This module provides constants which represent the numeric values of leaf nodes
of the parse tree (terminal tokens). Refer to the file :file:`Grammar/Tokens`
in the Python distribution for the definitions of the names in the context of
the language grammar. The specific numeric values which the names map... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
78b64eef-c451-4188-9169-644c917f3e85 | CPython Docs | file://datasets/cpython/Doc/library/token.rst | unknown | 80c90199-dc76-41b1-99c0-6d6a5028790e | 33,545 | supabase-export-v2 | 8178aa317269052d | .. versionchanged:: 3.7 Removed :data:`!AWAIT` and :data:`!ASYNC` tokens. "async" and "await" are now tokenized as :data:`NAME` tokens.
.. versionchanged:: 3.8
Added :data:`TYPE_COMMENT`, :data:`TYPE_IGNORE`, :data:`COLONEQUAL`. Added :data:`!AWAIT` and :data:`!ASYNC` tokens back (they're needed
to support parsing ol... | trusted_official_docs | CPython Docs | .. versionchanged:: 3.7 Removed :data:`!AWAIT` and :data:`!ASYNC` tokens. "async" and "await" are now tokenized as :data:`NAME` tokens.
.. versionchanged:: 3.8
Added :data:`TYPE_COMMENT`, :data:`TYPE_IGNORE`, :data:`COLONEQUAL`. Added :data:`!AWAIT` and :data:`!ASYNC` tokens back (they're needed
to support parsing ol... | .. versionchanged:: 3.7 Removed :data:`!AWAIT` and :data:`!ASYNC` tokens. "async" and "await" are now tokenized as :data:`NAME` tokens.
.. versionchanged:: 3.8
Added :data:`TYPE_COMMENT`, :data:`TYPE_IGNORE`, :data:`COLONEQUAL`. Added :data:`!AWAIT` and :data:`!ASYNC` tokens back (they're needed
to support parsing ol... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
877b84bb-3818-4391-9236-126595b4d7fb | CPython Docs | file://datasets/cpython/Doc/library/token.rst | unknown | 80c90199-dc76-41b1-99c0-6d6a5028790e | 33,546 | supabase-export-v2 | 56903f6bef5dc829 | :data:`TYPE_IGNORE`, :data:`COLONEQUAL`. Added :data:`!AWAIT` and :data:`!ASYNC` tokens back (they're needed to support parsing older Python versions for :func:`ast.parse` with ``feature_version`` set to 6 or lower).
.. versionchanged:: 3.12
Added :data:`EXCLAMATION`. | trusted_official_docs | CPython Docs | :data:`TYPE_IGNORE`, :data:`COLONEQUAL`. Added :data:`!AWAIT` and :data:`!ASYNC` tokens back (they're needed to support parsing older Python versions for :func:`ast.parse` with ``feature_version`` set to 6 or lower).
.. versionchanged:: 3.12
Added :data:`EXCLAMATION`. | :data:`TYPE_IGNORE`, :data:`COLONEQUAL`. Added :data:`!AWAIT` and :data:`!ASYNC` tokens back (they're needed to support parsing older Python versions for :func:`ast.parse` with ``feature_version`` set to 6 or lower).
.. versionchanged:: 3.12
Added :data:`EXCLAMATION`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
89f4a632-498c-4500-9f9d-51fb583ae461 | CPython Docs | file://datasets/cpython/Doc/library/token.rst | unknown | 80c90199-dc76-41b1-99c0-6d6a5028790e | 33,461 | supabase-export-v2 | b076ac69b2ec678d | definitions of the names in the context of the language grammar. The specific numeric values which the names map to may change between Python versions.
The module also provides a mapping from numeric codes to names and some
functions. The functions mirror definitions in the Python C header files. | trusted_official_docs | CPython Docs | definitions of the names in the context of the language grammar. The specific numeric values which the names map to may change between Python versions.
The module also provides a mapping from numeric codes to names and some
functions. The functions mirror definitions in the Python C header files. | definitions of the names in the context of the language grammar. The specific numeric values which the names map to may change between Python versions.
The module also provides a mapping from numeric codes to names and some
functions. The functions mirror definitions in the Python C header files. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
8aa006e8-4913-40b6-a7cf-cf7f6d67f0c2 | CPython Docs | file://datasets/cpython/Doc/library/token.rst | unknown | 80c90199-dc76-41b1-99c0-6d6a5028790e | 33,476 | supabase-export-v2 | 1973a9ed2830a859 | .. data:: STRING
Token value that indicates a :ref:`string or byte literal <strings>`,
excluding :ref:`formatted string literals <f-strings>`. The token string is not interpreted:
it includes the surrounding quotation marks and the prefix (if given);
backslashes are included literally, without processing escape sequ... | trusted_official_docs | CPython Docs | .. data:: STRING
Token value that indicates a :ref:`string or byte literal <strings>`,
excluding :ref:`formatted string literals <f-strings>`. The token string is not interpreted:
it includes the surrounding quotation marks and the prefix (if given);
backslashes are included literally, without processing escape sequ... | .. data:: STRING
Token value that indicates a :ref:`string or byte literal <strings>`,
excluding :ref:`formatted string literals <f-strings>`. The token string is not interpreted:
it includes the surrounding quotation marks and the prefix (if given);
backslashes are included literally, without processing escape sequ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
975b4685-a2e6-4c8f-9e32-7a34765cc243 | CPython Docs | file://datasets/cpython/Doc/library/token.rst | unknown | 80c90199-dc76-41b1-99c0-6d6a5028790e | 33,531 | supabase-export-v2 | 0d654a0fa60d3724 | Token value used to indicate wrong input.
The :mod:`tokenize` module generally indicates errors by
raising exceptions instead of emitting this token. It can also emit tokens such as :data:`OP` or :data:`NAME` with strings that
are later rejected by the parser. | trusted_official_docs | CPython Docs | Token value used to indicate wrong input.
The :mod:`tokenize` module generally indicates errors by
raising exceptions instead of emitting this token. It can also emit tokens such as :data:`OP` or :data:`NAME` with strings that
are later rejected by the parser. | Token value used to indicate wrong input.
The :mod:`tokenize` module generally indicates errors by
raising exceptions instead of emitting this token. It can also emit tokens such as :data:`OP` or :data:`NAME` with strings that
are later rejected by the parser. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
bce0d0b7-1b56-4089-a1e0-64b61ba0d03b | CPython Docs | file://datasets/cpython/Doc/library/token.rst | unknown | 80c90199-dc76-41b1-99c0-6d6a5028790e | 33,521 | supabase-export-v2 | de7cf1fef1a19d84 | This token type isn't used by the C tokenizer but is needed for the :mod:`tokenize` module.
The following token types are not produced by the :mod:`tokenize` module,
and are defined for special uses in the tokenizer or parser: | trusted_official_docs | CPython Docs | This token type isn't used by the C tokenizer but is needed for the :mod:`tokenize` module.
The following token types are not produced by the :mod:`tokenize` module,
and are defined for special uses in the tokenizer or parser: | This token type isn't used by the C tokenizer but is needed for the :mod:`tokenize` module.
The following token types are not produced by the :mod:`tokenize` module,
and are defined for special uses in the tokenizer or parser: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
03fd3fc0-491f-4a23-808a-6a7ddbcff79c | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,696 | supabase-export-v2 | 05995f0c58cb45c7 | list of commands contains the ``silent`` command, or a command that resumes execution, then the breakpoint message containing information about the frame is not displayed.
.. versionchanged:: 3.14
Frame information will not be displayed if a command that resumes execution
is present in the command list. | trusted_official_docs | CPython Docs | list of commands contains the ``silent`` command, or a command that resumes execution, then the breakpoint message containing information about the frame is not displayed.
.. versionchanged:: 3.14
Frame information will not be displayed if a command that resumes execution
is present in the command list. | list of commands contains the ``silent`` command, or a command that resumes execution, then the breakpoint message containing information about the frame is not displayed.
.. versionchanged:: 3.14
Frame information will not be displayed if a command that resumes execution
is present in the command list. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0671fbb8-44ae-4db3-8063-039c27fa6fdc | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,673 | supabase-export-v2 | b9839a1998818e7a | set a break at the first executable statement within that function. *function* can be any expression that evaluates to a function in the current namespace.
If a second argument is present, it is an expression which must evaluate to
true before the breakpoint is honored. | trusted_official_docs | CPython Docs | set a break at the first executable statement within that function. *function* can be any expression that evaluates to a function in the current namespace.
If a second argument is present, it is an expression which must evaluate to
true before the breakpoint is honored. | set a break at the first executable statement within that function. *function* can be any expression that evaluates to a function in the current namespace.
If a second argument is present, it is an expression which must evaluate to
true before the breakpoint is honored. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
08d21004-f4c2-4378-9a4b-eabb210ded58 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,650 | supabase-export-v2 | 75727f2e9dc3b566 | The debugger supports :ref:`aliases <debugger-aliases>`. Aliases can have parameters which allows one a certain level of adaptability to the context under examination.
Multiple commands may be entered on a single line, separated by ``;;``. (A
single ``;`` is not used as it is the separator for multiple commands in a li... | trusted_official_docs | CPython Docs | The debugger supports :ref:`aliases <debugger-aliases>`. Aliases can have parameters which allows one a certain level of adaptability to the context under examination.
Multiple commands may be entered on a single line, separated by ``;;``. (A
single ``;`` is not used as it is the separator for multiple commands in a li... | The debugger supports :ref:`aliases <debugger-aliases>`. Aliases can have parameters which allows one a certain level of adaptability to the context under examination.
Multiple commands may be entered on a single line, separated by ``;;``. (A
single ``;`` is not used as it is the separator for multiple commands in a li... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0aa54c53-757b-421e-bbb6-83a6df9da54c | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,627 | supabase-export-v2 | b24fec3b0a920778 | allows you to break into the debugger again by pressing :kbd:`Ctrl-C`. If you want Pdb not to touch the SIGINT handler, set *nosigint* to true.
The *readrc* argument defaults to true and controls whether Pdb will load
.pdbrc files from the filesystem. | trusted_official_docs | CPython Docs | allows you to break into the debugger again by pressing :kbd:`Ctrl-C`. If you want Pdb not to touch the SIGINT handler, set *nosigint* to true.
The *readrc* argument defaults to true and controls whether Pdb will load
.pdbrc files from the filesystem. | allows you to break into the debugger again by pressing :kbd:`Ctrl-C`. If you want Pdb not to touch the SIGINT handler, set *nosigint* to true.
The *readrc* argument defaults to true and controls whether Pdb will load
.pdbrc files from the filesystem. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0be21a45-959d-402f-af64-ffb43759c68c | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,572 | supabase-export-v2 | 59c5db5c22827b5f | python -m pdb [-c command] (-m module | -p pid | pyfile) [args ...]
When invoked as a module, pdb will automatically enter post-mortem debugging if
the program being debugged exits abnormally. After post-mortem debugging (or
after normal exit of the program), pdb will restart the program. Automatic
restarting preserves... | trusted_official_docs | CPython Docs | python -m pdb [-c command] (-m module | -p pid | pyfile) [args ...]
When invoked as a module, pdb will automatically enter post-mortem debugging if
the program being debugged exits abnormally. After post-mortem debugging (or
after normal exit of the program), pdb will restart the program. Automatic
restarting preserves... | python -m pdb [-c command] (-m module | -p pid | pyfile) [args ...]
When invoked as a module, pdb will automatically enter post-mortem debugging if
the program being debugged exits abnormally. After post-mortem debugging (or
after normal exit of the program), pdb will restart the program. Automatic
restarting preserves... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
0c38e51a-ac28-4943-9dc5-1545f13e9524 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,588 | supabase-export-v2 | 3753e292c80180b9 | The typical usage to inspect a crashed program is::
>>> import pdb
>>> def f(x):
... print(1 / x)
... >>> f(0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in f
ZeroDivisionError: division by zero
>>> pdb.pm()
> <stdin>(2)f()
(Pdb) p x
0
(Pdb) | trusted_official_docs | CPython Docs | The typical usage to inspect a crashed program is::
>>> import pdb
>>> def f(x):
... print(1 / x)
... >>> f(0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in f
ZeroDivisionError: division by zero
>>> pdb.pm()
> <stdin>(2)f()
(Pdb) p x
0
(Pdb) | The typical usage to inspect a crashed program is::
>>> import pdb
>>> def f(x):
... print(1 / x)
... >>> f(0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in f
ZeroDivisionError: division by zero
>>> pdb.pm()
> <stdin>(2)f()
(Pdb) p x
0
(Pdb) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
109287a9-ccb8-4f6c-8bd5-58d01dff61df | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,755 | supabase-export-v2 | f354de8c3b54f0d3 | replaced by all the parameters. If *command* is omitted, the current alias for *name* is shown. If no arguments are given, all aliases are listed.
Aliases may be nested and can contain anything that can be legally typed at
the pdb prompt. Note that internal pdb commands *can* be overridden by
aliases. Such a command ... | trusted_official_docs | CPython Docs | replaced by all the parameters. If *command* is omitted, the current alias for *name* is shown. If no arguments are given, all aliases are listed.
Aliases may be nested and can contain anything that can be legally typed at
the pdb prompt. Note that internal pdb commands *can* be overridden by
aliases. Such a command ... | replaced by all the parameters. If *command* is omitted, the current alias for *name* is shown. If no arguments are given, all aliases are listed.
Aliases may be nested and can contain anything that can be legally typed at
the pdb prompt. Note that internal pdb commands *can* be overridden by
aliases. Such a command ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
138795d0-d05d-44c5-94ce-abede8b20740 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,626 | supabase-export-v2 | 7f711aec51926861 | iterable of glob-style module name patterns. The debugger will not step into frames that originate in a module that matches one of these patterns. [1]_
By default, Pdb sets a handler for the SIGINT signal (which is sent when the
user presses :kbd:`Ctrl-C` on the console) when you give a :pdbcmd:`continue` command. Thi... | trusted_official_docs | CPython Docs | iterable of glob-style module name patterns. The debugger will not step into frames that originate in a module that matches one of these patterns. [1]_
By default, Pdb sets a handler for the SIGINT signal (which is sent when the
user presses :kbd:`Ctrl-C` on the console) when you give a :pdbcmd:`continue` command. Thi... | iterable of glob-style module name patterns. The debugger will not step into frames that originate in a module that matches one of these patterns. [1]_
By default, Pdb sets a handler for the SIGINT signal (which is sent when the
user presses :kbd:`Ctrl-C` on the console) when you give a :pdbcmd:`continue` command. Thi... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
15e355c8-a2b6-44ba-bb0d-31b6723a8970 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,560 | supabase-export-v2 | c870e316aa3e991f | breakpoint()
at the location you want to break into the debugger, and then run the program. You can then step through the code following this statement, and continue
running without the debugger using the :pdbcmd:`continue` command. | trusted_official_docs | CPython Docs | breakpoint()
at the location you want to break into the debugger, and then run the program. You can then step through the code following this statement, and continue
running without the debugger using the :pdbcmd:`continue` command. | breakpoint()
at the location you want to break into the debugger, and then run the program. You can then step through the code following this statement, and continue
running without the debugger using the :pdbcmd:`continue` command. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
160c8ac9-c1b6-4f3a-b2d3-3dac0c8bbd44 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,711 | supabase-export-v2 | 7a89c7e0191b1d33 | in the bottom-most frame. This lets you jump back and execute code again, or jump forward to skip code that you don't want to run.
It should be noted that not all jumps are allowed -- for instance it is not
possible to jump into the middle of a :keyword:`for` loop or out of a
:keyword:`finally` clause. | trusted_official_docs | CPython Docs | in the bottom-most frame. This lets you jump back and execute code again, or jump forward to skip code that you don't want to run.
It should be noted that not all jumps are allowed -- for instance it is not
possible to jump into the middle of a :keyword:`for` loop or out of a
:keyword:`finally` clause. | in the bottom-most frame. This lets you jump back and execute code again, or jump forward to skip code that you don't want to run.
It should be noted that not all jumps are allowed -- for instance it is not
possible to jump into the middle of a :keyword:`for` loop or out of a
:keyword:`finally` clause. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
1782a24c-6c53-4248-9939-bef019502263 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,552 | supabase-export-v2 | 24fd282ae185072a | --------------
The module :mod:`!pdb` defines an interactive source code debugger for Python
programs. It supports setting (conditional) breakpoints and single stepping at
the source line level, inspection of stack frames, source code listing, and
evaluation of arbitrary Python code in the context of any stack frame. I... | trusted_official_docs | CPython Docs | --------------
The module :mod:`!pdb` defines an interactive source code debugger for Python
programs. It supports setting (conditional) breakpoints and single stepping at
the source line level, inspection of stack frames, source code listing, and
evaluation of arbitrary Python code in the context of any stack frame. I... | --------------
The module :mod:`!pdb` defines an interactive source code debugger for Python
programs. It supports setting (conditional) breakpoints and single stepping at
the source line level, inspection of stack frames, source code listing, and
evaluation of arbitrary Python code in the context of any stack frame. I... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
17afebb8-f362-40b4-ad2b-6fe759d9266f | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,665 | supabase-export-v2 | 616afc1a9736c11d | frames. If *count* is positive, print the most recent *count* frames. An arrow (``>``) indicates the current frame, which determines the context of most commands.
.. versionchanged:: 3.14
*count* argument is added. | trusted_official_docs | CPython Docs | frames. If *count* is positive, print the most recent *count* frames. An arrow (``>``) indicates the current frame, which determines the context of most commands.
.. versionchanged:: 3.14
*count* argument is added. | frames. If *count* is positive, print the most recent *count* frames. An arrow (``>``) indicates the current frame, which determines the context of most commands.
.. versionchanged:: 3.14
*count* argument is added. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
183db332-451d-45a0-a982-4b16343f5bbc | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,658 | supabase-export-v2 | 48a1bac0c8a36872 | .. index:: pair: .pdbrc; file triple: debugger; configuration; file
If a file :file:`.pdbrc` exists in the user's home directory or in the current
directory, it is read with ``'utf-8'`` encoding and executed as if it had been
typed at the debugger prompt, with the exception that empty lines and lines
starting with ``#`... | trusted_official_docs | CPython Docs | .. index:: pair: .pdbrc; file triple: debugger; configuration; file
If a file :file:`.pdbrc` exists in the user's home directory or in the current
directory, it is read with ``'utf-8'`` encoding and executed as if it had been
typed at the debugger prompt, with the exception that empty lines and lines
starting with ``#`... | .. index:: pair: .pdbrc; file triple: debugger; configuration; file
If a file :file:`.pdbrc` exists in the user's home directory or in the current
directory, it is read with ``'utf-8'`` encoding and executed as if it had been
typed at the debugger prompt, with the exception that empty lines and lines
starting with ``#`... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
21aa9c20-3998-437f-acbd-4f1754915683 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,659 | supabase-export-v2 | 536716db9a15ab41 | aliases. If both files exist, the one in the home directory is read first and aliases defined there can be overridden by the local file.
.. versionchanged:: 3.2
:file:`.pdbrc` can now contain commands that continue debugging, such as
:pdbcmd:`continue` or :pdbcmd:`next`. Previously, these commands had no
effect. | trusted_official_docs | CPython Docs | aliases. If both files exist, the one in the home directory is read first and aliases defined there can be overridden by the local file.
.. versionchanged:: 3.2
:file:`.pdbrc` can now contain commands that continue debugging, such as
:pdbcmd:`continue` or :pdbcmd:`next`. Previously, these commands had no
effect. | aliases. If both files exist, the one in the home directory is read first and aliases defined there can be overridden by the local file.
.. versionchanged:: 3.2
:file:`.pdbrc` can now contain commands that continue debugging, such as
:pdbcmd:`continue` or :pdbcmd:`next`. Previously, these commands had no
effect. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2211c41f-c119-4f5a-9554-863413371cb5 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,565 | supabase-export-v2 | 743bc8a1719798ca | The debugger's prompt is ``(Pdb)``, which is the indicator that you are in debug mode::
> ...(2)double()
-> breakpoint()
(Pdb) p x
3
(Pdb) continue
3 * 2 is 6 | trusted_official_docs | CPython Docs | The debugger's prompt is ``(Pdb)``, which is the indicator that you are in debug mode::
> ...(2)double()
-> breakpoint()
(Pdb) p x
3
(Pdb) continue
3 * 2 is 6 | The debugger's prompt is ``(Pdb)``, which is the indicator that you are in debug mode::
> ...(2)double()
-> breakpoint()
(Pdb) p x
3
(Pdb) continue
3 * 2 is 6 | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
248d43cd-b97d-46dc-8a83-3eef8934e397 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,712 | supabase-export-v2 | 9ba64af4b2bc05f2 | jumps are allowed -- for instance it is not possible to jump into the middle of a :keyword:`for` loop or out of a :keyword:`finally` clause.
.. pdbcommand:: l(ist) [first[, last]] | trusted_official_docs | CPython Docs | jumps are allowed -- for instance it is not possible to jump into the middle of a :keyword:`for` loop or out of a :keyword:`finally` clause.
.. pdbcommand:: l(ist) [first[, last]] | jumps are allowed -- for instance it is not possible to jump into the middle of a :keyword:`for` loop or out of a :keyword:`finally` clause.
.. pdbcommand:: l(ist) [first[, last]] | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
266fd1ea-1606-472c-ad45-e912d3583d44 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,739 | supabase-export-v2 | cf48e91ef43c3fe5 | Display won't realize ``lst`` has been changed because the result of evaluation is modified in place by ``lst.append(1)`` before being compared::
> example.py(3)<module>()
-> pass
(Pdb) display lst
display lst: []
(Pdb) n
> example.py(4)<module>()
-> lst.append(1)
(Pdb) n
> example.py(5)<module>()
-> print(lst... | trusted_official_docs | CPython Docs | Display won't realize ``lst`` has been changed because the result of evaluation is modified in place by ``lst.append(1)`` before being compared::
> example.py(3)<module>()
-> pass
(Pdb) display lst
display lst: []
(Pdb) n
> example.py(4)<module>()
-> lst.append(1)
(Pdb) n
> example.py(5)<module>()
-> print(lst... | Display won't realize ``lst`` has been changed because the result of evaluation is modified in place by ``lst.append(1)`` before being compared::
> example.py(3)<module>()
-> pass
(Pdb) display lst
display lst: []
(Pdb) n
> example.py(4)<module>()
-> lst.append(1)
(Pdb) n
> example.py(5)<module>()
-> print(lst... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
281246b9-62d6-4f69-a843-d6fcd77d7fbd | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,735 | supabase-export-v2 | 0e764bd7b6fd09cc | .. note::
Display evaluates *expression* and compares to the result of the previous
evaluation of *expression*, so when the result is mutable, display may not
be able to pick up the changes. | trusted_official_docs | CPython Docs | .. note::
Display evaluates *expression* and compares to the result of the previous
evaluation of *expression*, so when the result is mutable, display may not
be able to pick up the changes. | .. note::
Display evaluates *expression* and compares to the result of the previous
evaluation of *expression*, so when the result is mutable, display may not
be able to pick up the changes. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2ac32750-a80a-4c23-9810-a0d210b2d8c5 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,651 | supabase-export-v2 | 10490703dcbe05c3 | it is in the middle of a quoted string. A workaround for strings with double semicolons is to use implicit string concatenation ``';'';'`` or ``";"";"``.
To set a temporary global variable, use a *convenience variable*. A *convenience
variable* is a variable whose name starts with ``$``. For example, ``$foo = 1``
sets ... | trusted_official_docs | CPython Docs | it is in the middle of a quoted string. A workaround for strings with double semicolons is to use implicit string concatenation ``';'';'`` or ``";"";"``.
To set a temporary global variable, use a *convenience variable*. A *convenience
variable* is a variable whose name starts with ``$``. For example, ``$foo = 1``
sets ... | it is in the middle of a quoted string. A workaround for strings with double semicolons is to use implicit string concatenation ``';'';'`` or ``";"";"``.
To set a temporary global variable, use a *convenience variable*. A *convenience
variable* is a variable whose name starts with ``$``. For example, ``$foo = 1``
sets ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2b2c3626-e30c-4a7c-a0ee-1a67673f3678 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,625 | supabase-export-v2 | 46b620017d5ae98a | The *completekey*, *stdin* and *stdout* arguments are passed to the underlying :class:`cmd.Cmd` class; see the description there.
The *skip* argument, if given, must be an iterable of glob-style module name
patterns. The debugger will not step into frames that originate in a module
that matches one of these patterns.... | trusted_official_docs | CPython Docs | The *completekey*, *stdin* and *stdout* arguments are passed to the underlying :class:`cmd.Cmd` class; see the description there.
The *skip* argument, if given, must be an iterable of glob-style module name
patterns. The debugger will not step into frames that originate in a module
that matches one of these patterns.... | The *completekey*, *stdin* and *stdout* arguments are passed to the underlying :class:`cmd.Cmd` class; see the description there.
The *skip* argument, if given, must be an iterable of glob-style module name
patterns. The debugger will not step into frames that originate in a module
that matches one of these patterns.... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2be79021-a51b-4fc7-9f22-7cf50cea5a12 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,757 | supabase-export-v2 | 9abd1b6407ee1710 | As an example, here are two useful aliases (especially when placed in the :file:`.pdbrc` file)::
# Print instance variables (usage "pi classInst")
alias pi for k in %1.__dict__.keys(): print(f"%1.{k} = {%1.__dict__[k]}")
# Print instance variables in self
alias ps pi self | trusted_official_docs | CPython Docs | As an example, here are two useful aliases (especially when placed in the :file:`.pdbrc` file)::
# Print instance variables (usage "pi classInst")
alias pi for k in %1.__dict__.keys(): print(f"%1.{k} = {%1.__dict__[k]}")
# Print instance variables in self
alias ps pi self | As an example, here are two useful aliases (especially when placed in the :file:`.pdbrc` file)::
# Print instance variables (usage "pi classInst")
alias pi for k in %1.__dict__.keys(): print(f"%1.{k} = {%1.__dict__[k]}")
# Print instance variables in self
alias ps pi self | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2d9d444e-5b59-41d6-9113-7b83f76c9b7e | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,779 | supabase-export-v2 | 6a8b7ebbc0123991 | List or jump between chained exceptions.
When using ``pdb.pm()`` or ``Pdb.post_mortem(...)`` with a chained exception
instead of a traceback, it allows the user to move between the
chained exceptions using ``exceptions`` command to list exceptions, and
``exceptions <number>`` to switch to that exception. | trusted_official_docs | CPython Docs | List or jump between chained exceptions.
When using ``pdb.pm()`` or ``Pdb.post_mortem(...)`` with a chained exception
instead of a traceback, it allows the user to move between the
chained exceptions using ``exceptions`` command to list exceptions, and
``exceptions <number>`` to switch to that exception. | List or jump between chained exceptions.
When using ``pdb.pm()`` or ``Pdb.post_mortem(...)`` with a chained exception
instead of a traceback, it allows the user to move between the
chained exceptions using ``exceptions`` command to list exceptions, and
``exceptions <number>`` to switch to that exception. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2dc236ef-5d43-4e12-811e-842acee9d4aa | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,686 | supabase-export-v2 | ab3de0873495dc51 | When non-zero, the *count* is decremented each time the breakpoint is reached and the breakpoint is not disabled and any associated condition evaluates to true.
.. pdbcommand:: condition bpnumber [condition] | trusted_official_docs | CPython Docs | When non-zero, the *count* is decremented each time the breakpoint is reached and the breakpoint is not disabled and any associated condition evaluates to true.
.. pdbcommand:: condition bpnumber [condition] | When non-zero, the *count* is decremented each time the breakpoint is reached and the breakpoint is not disabled and any associated condition evaluates to true.
.. pdbcommand:: condition bpnumber [condition] | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
2e5f8e4f-eb59-491b-805a-8ffa32cd316f | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,584 | supabase-export-v2 | b21b7af682b1f836 | .. note::
Attaching to a process that is blocked in a system call or waiting for I/O
will only work once the next bytecode instruction is executed or when the
process receives a signal. | trusted_official_docs | CPython Docs | .. note::
Attaching to a process that is blocked in a system call or waiting for I/O
will only work once the next bytecode instruction is executed or when the
process receives a signal. | .. note::
Attaching to a process that is blocked in a system call or waiting for I/O
will only work once the next bytecode instruction is executed or when the
process receives a signal. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
35d585c4-fdf6-4b73-9349-ac51dfe0627a | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,674 | supabase-export-v2 | 83a1a8b6a7c6a9f2 | If a second argument is present, it is an expression which must evaluate to true before the breakpoint is honored.
Without argument, list all breaks, including for each breakpoint, the number
of times that breakpoint has been hit, the current ignore count, and the
associated condition if any. | trusted_official_docs | CPython Docs | If a second argument is present, it is an expression which must evaluate to true before the breakpoint is honored.
Without argument, list all breaks, including for each breakpoint, the number
of times that breakpoint has been hit, the current ignore count, and the
associated condition if any. | If a second argument is present, it is an expression which must evaluate to true before the breakpoint is honored.
Without argument, list all breaks, including for each breakpoint, the number
of times that breakpoint has been hit, the current ignore count, and the
associated condition if any. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
36b4f52c-b658-4ee8-a4ba-32ebc50bbafb | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,593 | supabase-export-v2 | eba063fcf35e4251 | which the code is executed; by default the dictionary of the module :mod:`__main__` is used. (See the explanation of the built-in :func:`exec` or :func:`eval` functions.)
.. function:: runeval(expression, globals=None, locals=None) | trusted_official_docs | CPython Docs | which the code is executed; by default the dictionary of the module :mod:`__main__` is used. (See the explanation of the built-in :func:`exec` or :func:`eval` functions.)
.. function:: runeval(expression, globals=None, locals=None) | which the code is executed; by default the dictionary of the module :mod:`__main__` is used. (See the explanation of the built-in :func:`exec` or :func:`eval` functions.)
.. function:: runeval(expression, globals=None, locals=None) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
36bf0928-d2b7-4daf-8f80-f0a617aa5615 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,609 | supabase-export-v2 | e79e6000d5c9971c | .. function:: post_mortem(t=None)
Enter post-mortem debugging of the given exception or
:ref:`traceback object <traceback-objects>`. If no value is given, it uses
the exception that is currently being handled, or raises ``ValueError`` if
there isn’t one. | trusted_official_docs | CPython Docs | .. function:: post_mortem(t=None)
Enter post-mortem debugging of the given exception or
:ref:`traceback object <traceback-objects>`. If no value is given, it uses
the exception that is currently being handled, or raises ``ValueError`` if
there isn’t one. | .. function:: post_mortem(t=None)
Enter post-mortem debugging of the given exception or
:ref:`traceback object <traceback-objects>`. If no value is given, it uses
the exception that is currently being handled, or raises ``ValueError`` if
there isn’t one. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
3f42d847-89d3-42a7-a342-e92cf37a660c | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,596 | supabase-export-v2 | d29c99285a24d10f | .. function:: runcall(function, *args, **kwds)
Call the *function* (a function or method object, not a string) with the
given arguments. When :func:`runcall` returns, it returns whatever the
function call returned. The debugger prompt appears as soon as the function
is entered. | trusted_official_docs | CPython Docs | .. function:: runcall(function, *args, **kwds)
Call the *function* (a function or method object, not a string) with the
given arguments. When :func:`runcall` returns, it returns whatever the
function call returned. The debugger prompt appears as soon as the function
is entered. | .. function:: runcall(function, *args, **kwds)
Call the *function* (a function or method object, not a string) with the
given arguments. When :func:`runcall` returns, it returns whatever the
function call returned. The debugger prompt appears as soon as the function
is entered. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
42407ad3-8fc2-4ac7-b0ef-d484c54a32f4 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,564 | supabase-export-v2 | 2741194018e76e98 | def double(x): breakpoint() return x * 2 val = 3 print(f"{val} * 2 is {double(val)}")
The debugger's prompt is ``(Pdb)``, which is the indicator that you are in debug mode:: | trusted_official_docs | CPython Docs | def double(x): breakpoint() return x * 2 val = 3 print(f"{val} * 2 is {double(val)}")
The debugger's prompt is ``(Pdb)``, which is the indicator that you are in debug mode:: | def double(x): breakpoint() return x * 2 val = 3 print(f"{val} * 2 is {double(val)}")
The debugger's prompt is ``(Pdb)``, which is the indicator that you are in debug mode:: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
43249339-7cc5-4271-b890-7b47954c5982 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,573 | supabase-export-v2 | afceb1e12a93af53 | restart the program. Automatic restarting preserves pdb's state (such as breakpoints) and in most cases is more useful than quitting the debugger upon program's exit.
.. option:: -c, --command <command> | trusted_official_docs | CPython Docs | restart the program. Automatic restarting preserves pdb's state (such as breakpoints) and in most cases is more useful than quitting the debugger upon program's exit.
.. option:: -c, --command <command> | restart the program. Automatic restarting preserves pdb's state (such as breakpoints) and in most cases is more useful than quitting the debugger upon program's exit.
.. option:: -c, --command <command> | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
438add03-d9b1-424f-a645-742b3cf44a9b | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,713 | supabase-export-v2 | f9ab12350e62778c | .. pdbcommand:: l(ist) [first[, last]]
List source code for the current file. Without arguments, list 11 lines
around the current line or continue the previous listing. With ``.`` as
argument, list 11 lines around the current line. With one argument,
list 11 lines around at that line. With two arguments, list the gi... | trusted_official_docs | CPython Docs | .. pdbcommand:: l(ist) [first[, last]]
List source code for the current file. Without arguments, list 11 lines
around the current line or continue the previous listing. With ``.`` as
argument, list 11 lines around the current line. With one argument,
list 11 lines around at that line. With two arguments, list the gi... | .. pdbcommand:: l(ist) [first[, last]]
List source code for the current file. Without arguments, list 11 lines
around the current line or continue the previous listing. With ``.`` as
argument, list 11 lines around the current line. With one argument,
list 11 lines around at that line. With two arguments, list the gi... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
44cd549c-ef7d-4e42-9078-09d6c92fbf22 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,756 | supabase-export-v2 | 33d098b60be1b201 | the alias is removed. Aliasing is recursively applied to the first word of the command line; all other words in the line are left alone.
As an example, here are two useful aliases (especially when placed in the
:file:`.pdbrc` file):: | trusted_official_docs | CPython Docs | the alias is removed. Aliasing is recursively applied to the first word of the command line; all other words in the line are left alone.
As an example, here are two useful aliases (especially when placed in the
:file:`.pdbrc` file):: | the alias is removed. Aliasing is recursively applied to the first word of the command line; all other words in the line are left alone.
As an example, here are two useful aliases (especially when placed in the
:file:`.pdbrc` file):: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
477fb729-aede-4628-9b46-63fbb330d22a | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,671 | supabase-export-v2 | 6c2219b2618f8b71 | .. pdbcommand:: b(reak) [([filename:]lineno | function) [, condition]]
With a *lineno* argument, set a break at line *lineno* in the current file. The line number may be prefixed with a *filename* and a colon,
to specify a breakpoint in another file (possibly one that hasn't been loaded
yet). The file is searched on ... | trusted_official_docs | CPython Docs | .. pdbcommand:: b(reak) [([filename:]lineno | function) [, condition]]
With a *lineno* argument, set a break at line *lineno* in the current file. The line number may be prefixed with a *filename* and a colon,
to specify a breakpoint in another file (possibly one that hasn't been loaded
yet). The file is searched on ... | .. pdbcommand:: b(reak) [([filename:]lineno | function) [, condition]]
With a *lineno* argument, set a break at line *lineno* in the current file. The line number may be prefixed with a *filename* and a colon,
to specify a breakpoint in another file (possibly one that hasn't been loaded
yet). The file is searched on ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
48738b5c-f6ed-4913-825c-2c1db2273e65 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,703 | supabase-export-v2 | 7f3bd617971dcd0e | Without argument, continue execution until the line with a number greater than the current one is reached.
With *lineno*, continue execution until a line with a number greater or
equal to *lineno* is reached. In both cases, also stop when the current frame
returns. | trusted_official_docs | CPython Docs | Without argument, continue execution until the line with a number greater than the current one is reached.
With *lineno*, continue execution until a line with a number greater or
equal to *lineno* is reached. In both cases, also stop when the current frame
returns. | Without argument, continue execution until the line with a number greater than the current one is reached.
With *lineno*, continue execution until a line with a number greater or
equal to *lineno* is reached. In both cases, also stop when the current frame
returns. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
491004e0-0a0d-4627-ac78-5ea4f8c74beb | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,594 | supabase-export-v2 | 93f42e136f1b2b07 | .. function:: runeval(expression, globals=None, locals=None)
Evaluate the *expression* (given as a string or a code object) under debugger
control. When :func:`runeval` returns, it returns the value of the
*expression*. Otherwise this function is similar to :func:`run`. | trusted_official_docs | CPython Docs | .. function:: runeval(expression, globals=None, locals=None)
Evaluate the *expression* (given as a string or a code object) under debugger
control. When :func:`runeval` returns, it returns the value of the
*expression*. Otherwise this function is similar to :func:`run`. | .. function:: runeval(expression, globals=None, locals=None)
Evaluate the *expression* (given as a string or a code object) under debugger
control. When :func:`runeval` returns, it returns the value of the
*expression*. Otherwise this function is similar to :func:`run`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
49c7c323-7059-4d5a-b543-672745b0a1c4 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,682 | supabase-export-v2 | 3330cdb43bcc627b | means it cannot cause the program to stop execution, but unlike clearing a breakpoint, it remains in the list of breakpoints and can be (re-)enabled.
.. pdbcommand:: enable bpnumber [bpnumber ...] | trusted_official_docs | CPython Docs | means it cannot cause the program to stop execution, but unlike clearing a breakpoint, it remains in the list of breakpoints and can be (re-)enabled.
.. pdbcommand:: enable bpnumber [bpnumber ...] | means it cannot cause the program to stop execution, but unlike clearing a breakpoint, it remains in the list of breakpoints and can be (re-)enabled.
.. pdbcommand:: enable bpnumber [bpnumber ...] | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
4f8b1a9c-5875-44aa-8a32-2abd86c9c112 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,695 | supabase-export-v2 | c722780be0d48389 | with a simple next or step), you may encounter another breakpoint—which could have its own command list, leading to ambiguities about which list to execute.
If the list of commands contains the ``silent`` command, or a command that
resumes execution, then the breakpoint message containing information about
the frame ... | trusted_official_docs | CPython Docs | with a simple next or step), you may encounter another breakpoint—which could have its own command list, leading to ambiguities about which list to execute.
If the list of commands contains the ``silent`` command, or a command that
resumes execution, then the breakpoint message containing information about
the frame ... | with a simple next or step), you may encounter another breakpoint—which could have its own command list, leading to ambiguities about which list to execute.
If the list of commands contains the ``silent`` command, or a command that
resumes execution, then the breakpoint message containing information about
the frame ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
58ffc09f-f049-41b6-b4bb-f2b7517e1de9 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,622 | supabase-export-v2 | 59a47db557e51684 | instantiating the :class:`Pdb` class and calling the method of the same name. If you want to access further features, you have to do this yourself:
.. class:: Pdb(completekey='tab', stdin=None, stdout=None, skip=None, \
nosigint=False, readrc=True, mode=None, backend=None, colorize=False) | trusted_official_docs | CPython Docs | instantiating the :class:`Pdb` class and calling the method of the same name. If you want to access further features, you have to do this yourself:
.. class:: Pdb(completekey='tab', stdin=None, stdout=None, skip=None, \
nosigint=False, readrc=True, mode=None, backend=None, colorize=False) | instantiating the :class:`Pdb` class and calling the method of the same name. If you want to access further features, you have to do this yourself:
.. class:: Pdb(completekey='tab', stdin=None, stdout=None, skip=None, \
nosigint=False, readrc=True, mode=None, backend=None, colorize=False) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5b372599-e384-4c60-8140-62ffcce1ada6 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,687 | supabase-export-v2 | 017dedaad8b98754 | .. pdbcommand:: condition bpnumber [condition]
Set a new *condition* for the breakpoint, an expression which must evaluate
to true before the breakpoint is honored. If *condition* is absent, any
existing condition is removed; i.e., the breakpoint is made unconditional. | trusted_official_docs | CPython Docs | .. pdbcommand:: condition bpnumber [condition]
Set a new *condition* for the breakpoint, an expression which must evaluate
to true before the breakpoint is honored. If *condition* is absent, any
existing condition is removed; i.e., the breakpoint is made unconditional. | .. pdbcommand:: condition bpnumber [condition]
Set a new *condition* for the breakpoint, an expression which must evaluate
to true before the breakpoint is honored. If *condition* is absent, any
existing condition is removed; i.e., the breakpoint is made unconditional. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
5f1650ef-801c-4094-b8f8-c851000a37d2 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,610 | supabase-export-v2 | b5a778d9ec910c51 | or :ref:`traceback object <traceback-objects>`. If no value is given, it uses the exception that is currently being handled, or raises ``ValueError`` if there isn’t one.
.. versionchanged:: 3.13
Support for exception objects was added. | trusted_official_docs | CPython Docs | or :ref:`traceback object <traceback-objects>`. If no value is given, it uses the exception that is currently being handled, or raises ``ValueError`` if there isn’t one.
.. versionchanged:: 3.13
Support for exception objects was added. | or :ref:`traceback object <traceback-objects>`. If no value is given, it uses the exception that is currently being handled, or raises ``ValueError`` if there isn’t one.
.. versionchanged:: 3.13
Support for exception objects was added. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6009175f-0209-411d-9cfd-c31d069577b7 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,648 | supabase-export-v2 | 7c2342cda97b8a04 | variable or call a function. When an exception occurs in such a statement, the exception name is printed but the debugger's state is not changed.
.. versionchanged:: 3.13
Expressions/Statements whose prefix is a pdb command are now correctly
identified and executed. | trusted_official_docs | CPython Docs | variable or call a function. When an exception occurs in such a statement, the exception name is printed but the debugger's state is not changed.
.. versionchanged:: 3.13
Expressions/Statements whose prefix is a pdb command are now correctly
identified and executed. | variable or call a function. When an exception occurs in such a statement, the exception name is printed but the debugger's state is not changed.
.. versionchanged:: 3.13
Expressions/Statements whose prefix is a pdb command are now correctly
identified and executed. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
616a19b5-b5d9-4a9e-9f81-225ae1ccc8b5 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,589 | supabase-export-v2 | 1798a9adcf261855 | File "<stdin>", line 1, in <module> File "<stdin>", line 2, in f ZeroDivisionError: division by zero >>> pdb.pm() > <stdin>(2)f() (Pdb) p x 0 (Pdb)
.. versionchanged:: 3.13
The implementation of :pep:`667` means that name assignments made via ``pdb``
will immediately affect the active scope, even when running inside ... | trusted_official_docs | CPython Docs | File "<stdin>", line 1, in <module> File "<stdin>", line 2, in f ZeroDivisionError: division by zero >>> pdb.pm() > <stdin>(2)f() (Pdb) p x 0 (Pdb)
.. versionchanged:: 3.13
The implementation of :pep:`667` means that name assignments made via ``pdb``
will immediately affect the active scope, even when running inside ... | File "<stdin>", line 1, in <module> File "<stdin>", line 2, in f ZeroDivisionError: division by zero >>> pdb.pm() > <stdin>(2)f() (Pdb) p x 0 (Pdb)
.. versionchanged:: 3.13
The implementation of :pep:`667` means that name assignments made via ``pdb``
will immediately affect the active scope, even when running inside ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6229468d-2d2d-4d1b-90f1-1d4177fe085a | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,771 | supabase-export-v2 | 652029c52207bfcd | Quit from the debugger. The program being executed is aborted. An end-of-file input is equivalent to :pdbcmd:`quit`.
A confirmation prompt will be shown if the debugger is invoked in
``'inline'`` mode. Either ``y``, ``Y``, ``<Enter>`` or ``EOF``
will confirm the quit. | trusted_official_docs | CPython Docs | Quit from the debugger. The program being executed is aborted. An end-of-file input is equivalent to :pdbcmd:`quit`.
A confirmation prompt will be shown if the debugger is invoked in
``'inline'`` mode. Either ``y``, ``Y``, ``<Enter>`` or ``EOF``
will confirm the quit. | Quit from the debugger. The program being executed is aborted. An end-of-file input is equivalent to :pdbcmd:`quit`.
A confirmation prompt will be shown if the debugger is invoked in
``'inline'`` mode. Either ``y``, ``Y``, ``<Enter>`` or ``EOF``
will confirm the quit. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
64011a18-d889-4a4c-b3e6-beb97fcd7ce4 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,630 | supabase-export-v2 | 5158b7a7d0780f14 | to use for the debugger. If ``None`` is passed, the default backend will be used. See :func:`set_default_backend`. Otherwise the supported backends are ``'settrace'`` and ``'monitoring'``.
The *colorize* argument, if set to ``True``, will enable colorized output in the
debugger, if color is supported. This will highli... | trusted_official_docs | CPython Docs | to use for the debugger. If ``None`` is passed, the default backend will be used. See :func:`set_default_backend`. Otherwise the supported backends are ``'settrace'`` and ``'monitoring'``.
The *colorize* argument, if set to ``True``, will enable colorized output in the
debugger, if color is supported. This will highli... | to use for the debugger. If ``None`` is passed, the default backend will be used. See :func:`set_default_backend`. Otherwise the supported backends are ``'settrace'`` and ``'monitoring'``.
The *colorize* argument, if set to ``True``, will enable colorized output in the
debugger, if color is supported. This will highli... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
655e524c-68f6-46c0-b6c4-1d30c661c643 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,557 | supabase-export-v2 | e1de8b92827da547 | Module :mod:`faulthandler` Used to dump Python tracebacks explicitly, on a fault, after a timeout, or on a user signal.
Module :mod:`traceback`
Standard interface to extract, format and print stack traces of Python programs. | trusted_official_docs | CPython Docs | Module :mod:`faulthandler` Used to dump Python tracebacks explicitly, on a fault, after a timeout, or on a user signal.
Module :mod:`traceback`
Standard interface to extract, format and print stack traces of Python programs. | Module :mod:`faulthandler` Used to dump Python tracebacks explicitly, on a fault, after a timeout, or on a user signal.
Module :mod:`traceback`
Standard interface to extract, format and print stack traces of Python programs. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
67d011e8-e654-4fa2-ba3e-6666317f3fe7 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,621 | supabase-export-v2 | 3bbe95bc2bfe5341 | .. versionadded:: 3.14
The ``run*`` functions and :func:`set_trace` are aliases for instantiating the
:class:`Pdb` class and calling the method of the same name. If you want to
access further features, you have to do this yourself: | trusted_official_docs | CPython Docs | .. versionadded:: 3.14
The ``run*`` functions and :func:`set_trace` are aliases for instantiating the
:class:`Pdb` class and calling the method of the same name. If you want to
access further features, you have to do this yourself: | .. versionadded:: 3.14
The ``run*`` functions and :func:`set_trace` are aliases for instantiating the
:class:`Pdb` class and calling the method of the same name. If you want to
access further features, you have to do this yourself: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6aa2c153-4e0b-45dd-9cf3-7471efb64ed8 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,595 | supabase-export-v2 | a393e3970232dace | string or a code object) under debugger control. When :func:`runeval` returns, it returns the value of the *expression*. Otherwise this function is similar to :func:`run`.
.. function:: runcall(function, *args, **kwds) | trusted_official_docs | CPython Docs | string or a code object) under debugger control. When :func:`runeval` returns, it returns the value of the *expression*. Otherwise this function is similar to :func:`run`.
.. function:: runcall(function, *args, **kwds) | string or a code object) under debugger control. When :func:`runeval` returns, it returns the value of the *expression*. Otherwise this function is similar to :func:`run`.
.. function:: runcall(function, *args, **kwds) | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
6d5d30d5-43a3-4c73-b8c2-929d4bc597ae | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,554 | supabase-export-v2 | e7d8c3a969908ec8 | .. index:: single: Pdb (class in pdb) pair: module; bdb pair: module; cmd
The debugger is extensible -- it is actually defined as the class :class:`Pdb`. This is currently undocumented but easily understood by reading the source. The
extension interface uses the modules :mod:`bdb` and :mod:`cmd`. | trusted_official_docs | CPython Docs | .. index:: single: Pdb (class in pdb) pair: module; bdb pair: module; cmd
The debugger is extensible -- it is actually defined as the class :class:`Pdb`. This is currently undocumented but easily understood by reading the source. The
extension interface uses the modules :mod:`bdb` and :mod:`cmd`. | .. index:: single: Pdb (class in pdb) pair: module; bdb pair: module; cmd
The debugger is extensible -- it is actually defined as the class :class:`Pdb`. This is currently undocumented but easily understood by reading the source. The
extension interface uses the modules :mod:`bdb` and :mod:`cmd`. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
700a79c5-eda9-4027-ae38-0ab8d33e9755 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,675 | supabase-export-v2 | 4fc922a454f8945f | all breaks, including for each breakpoint, the number of times that breakpoint has been hit, the current ignore count, and the associated condition if any.
Each breakpoint is assigned a number to which all the other
breakpoint commands refer. | trusted_official_docs | CPython Docs | all breaks, including for each breakpoint, the number of times that breakpoint has been hit, the current ignore count, and the associated condition if any.
Each breakpoint is assigned a number to which all the other
breakpoint commands refer. | all breaks, including for each breakpoint, the number of times that breakpoint has been hit, the current ignore count, and the associated condition if any.
Each breakpoint is assigned a number to which all the other
breakpoint commands refer. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
70137f86-93cc-4871-81d8-add6eb6d53af | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,715 | supabase-export-v2 | 69dacfaaf464467e | exception is being debugged, the line where the exception was originally raised or propagated is indicated by ``>>``, if it differs from the current line.
.. versionchanged:: 3.2
Added the ``>>`` marker. | trusted_official_docs | CPython Docs | exception is being debugged, the line where the exception was originally raised or propagated is indicated by ``>>``, if it differs from the current line.
.. versionchanged:: 3.2
Added the ``>>`` marker. | exception is being debugged, the line where the exception was originally raised or propagated is indicated by ``>>``, if it differs from the current line.
.. versionchanged:: 3.2
Added the ``>>`` marker. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7218b1b4-7bac-4b98-840e-3fd05630a485 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,553 | supabase-export-v2 | 2e694fe575388b38 | and evaluation of arbitrary Python code in the context of any stack frame. It also supports post-mortem debugging and can be called under program control.
.. index::
single: Pdb (class in pdb)
pair: module; bdb
pair: module; cmd | trusted_official_docs | CPython Docs | and evaluation of arbitrary Python code in the context of any stack frame. It also supports post-mortem debugging and can be called under program control.
.. index::
single: Pdb (class in pdb)
pair: module; bdb
pair: module; cmd | and evaluation of arbitrary Python code in the context of any stack frame. It also supports post-mortem debugging and can be called under program control.
.. index::
single: Pdb (class in pdb)
pair: module; bdb
pair: module; cmd | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
73b069ef-8b8a-474b-8ae8-8d155e3fc3bb | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,592 | supabase-export-v2 | 3115c2a26ed3a26a | .. function:: run(statement, globals=None, locals=None)
Execute the *statement* (given as a string or a code object) under debugger
control. The debugger prompt appears before any code is executed; you can
set breakpoints and type :pdbcmd:`continue`, or you can step through the
statement using :pdbcmd:`step` or :pdb... | trusted_official_docs | CPython Docs | .. function:: run(statement, globals=None, locals=None)
Execute the *statement* (given as a string or a code object) under debugger
control. The debugger prompt appears before any code is executed; you can
set breakpoints and type :pdbcmd:`continue`, or you can step through the
statement using :pdbcmd:`step` or :pdb... | .. function:: run(statement, globals=None, locals=None)
Execute the *statement* (given as a string or a code object) under debugger
control. The debugger prompt appears before any code is executed; you can
set breakpoints and type :pdbcmd:`continue`, or you can step through the
statement using :pdbcmd:`step` or :pdb... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
740f6c6a-fb2e-4f3d-992e-2da1b004db2e | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,586 | supabase-export-v2 | d3d9389014a7ed37 | Typical usage to execute a statement under control of the debugger is::
>>> import pdb
>>> def f(x):
... print(1 / x)
>>> pdb.run("f(2)")
> <string>(1)<module>()
(Pdb) continue
0.5
>>> | trusted_official_docs | CPython Docs | Typical usage to execute a statement under control of the debugger is::
>>> import pdb
>>> def f(x):
... print(1 / x)
>>> pdb.run("f(2)")
> <string>(1)<module>()
(Pdb) continue
0.5
>>> | Typical usage to execute a statement under control of the debugger is::
>>> import pdb
>>> def f(x):
... print(1 / x)
>>> pdb.run("f(2)")
> <string>(1)<module>()
(Pdb) continue
0.5
>>> | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
75d2910e-729b-4334-b088-410a03da8284 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,662 | supabase-export-v2 | 72e5718072633770 | .. pdbcommand:: h(elp) [command]
Without argument, print the list of available commands. With a *command* as
argument, print help about that command. ``help pdb`` displays the full
documentation (the docstring of the :mod:`pdb` module). Since the *command*
argument must be an identifier, ``help exec`` must be entere... | trusted_official_docs | CPython Docs | .. pdbcommand:: h(elp) [command]
Without argument, print the list of available commands. With a *command* as
argument, print help about that command. ``help pdb`` displays the full
documentation (the docstring of the :mod:`pdb` module). Since the *command*
argument must be an identifier, ``help exec`` must be entere... | .. pdbcommand:: h(elp) [command]
Without argument, print the list of available commands. With a *command* as
argument, print help about that command. ``help pdb`` displays the full
documentation (the docstring of the :mod:`pdb` module). Since the *command*
argument must be an identifier, ``help exec`` must be entere... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
77dbb447-d6d4-4748-9e5b-3b30fdbab9a1 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,710 | supabase-export-v2 | 53bf7d9a908bf002 | .. pdbcommand:: j(ump) lineno
Set the next line that will be executed. Only available in the bottom-most
frame. This lets you jump back and execute code again, or jump forward to
skip code that you don't want to run. | trusted_official_docs | CPython Docs | .. pdbcommand:: j(ump) lineno
Set the next line that will be executed. Only available in the bottom-most
frame. This lets you jump back and execute code again, or jump forward to
skip code that you don't want to run. | .. pdbcommand:: j(ump) lineno
Set the next line that will be executed. Only available in the bottom-most
frame. This lets you jump back and execute code again, or jump forward to
skip code that you don't want to run. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
77fa5083-b864-41dd-b64d-0c53a9a8c96b | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,646 | supabase-export-v2 | 475a275ac67ef243 | brackets (``[]``) in the command syntax; the square brackets must not be typed. Alternatives in the command syntax are separated by a vertical bar (``|``).
Entering a blank line repeats the last command entered. Exception: if the last
command was a :pdbcmd:`list` command, the next 11 lines are listed. | trusted_official_docs | CPython Docs | brackets (``[]``) in the command syntax; the square brackets must not be typed. Alternatives in the command syntax are separated by a vertical bar (``|``).
Entering a blank line repeats the last command entered. Exception: if the last
command was a :pdbcmd:`list` command, the next 11 lines are listed. | brackets (``[]``) in the command syntax; the square brackets must not be typed. Alternatives in the command syntax are separated by a vertical bar (``|``).
Entering a blank line repeats the last command entered. Exception: if the last
command was a :pdbcmd:`list` command, the next 11 lines are listed. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
79195c5a-7b11-4965-942b-7c251244e2af | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,754 | supabase-export-v2 | 2f7643d17d0fbec1 | .. pdbcommand:: alias [name [command]]
Create an alias called *name* that executes *command*. The *command* must
*not* be enclosed in quotes. Replaceable parameters can be indicated by
``%1``, ``%2``, ... and ``%9``, while ``%*`` is replaced by all the parameters. If *command* is omitted, the current alias for *name*... | trusted_official_docs | CPython Docs | .. pdbcommand:: alias [name [command]]
Create an alias called *name* that executes *command*. The *command* must
*not* be enclosed in quotes. Replaceable parameters can be indicated by
``%1``, ``%2``, ... and ``%9``, while ``%*`` is replaced by all the parameters. If *command* is omitted, the current alias for *name*... | .. pdbcommand:: alias [name [command]]
Create an alias called *name* that executes *command*. The *command* must
*not* be enclosed in quotes. Replaceable parameters can be indicated by
``%1``, ``%2``, ... and ``%9``, while ``%*`` is replaced by all the parameters. If *command* is omitted, the current alias for *name*... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7b6559f5-ca77-4717-acff-bc3d0dc09a29 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,740 | supabase-export-v2 | 9f2d81e6ba2efcc4 | > example.py(3)<module>() -> pass (Pdb) display lst display lst: [] (Pdb) n > example.py(4)<module>() -> lst.append(1) (Pdb) n > example.py(5)<module>() -> print(lst) (Pdb)
You can do some tricks with copy mechanism to make it work:: | trusted_official_docs | CPython Docs | > example.py(3)<module>() -> pass (Pdb) display lst display lst: [] (Pdb) n > example.py(4)<module>() -> lst.append(1) (Pdb) n > example.py(5)<module>() -> print(lst) (Pdb)
You can do some tricks with copy mechanism to make it work:: | > example.py(3)<module>() -> pass (Pdb) display lst display lst: [] (Pdb) n > example.py(4)<module>() -> lst.append(1) (Pdb) n > example.py(5)<module>() -> print(lst) (Pdb)
You can do some tricks with copy mechanism to make it work:: | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7b883f38-6965-440a-b30f-87a28439c962 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,664 | supabase-export-v2 | 9c188f8e833eb861 | .. pdbcommand:: w(here) [count]
Print a stack trace, with the most recent frame at the bottom. if *count*
is 0, print the current frame entry. If *count* is negative, print the least
recent - *count* frames. If *count* is positive, print the most recent
*count* frames. An arrow (``>``)
indicates the current frame, ... | trusted_official_docs | CPython Docs | .. pdbcommand:: w(here) [count]
Print a stack trace, with the most recent frame at the bottom. if *count*
is 0, print the current frame entry. If *count* is negative, print the least
recent - *count* frames. If *count* is positive, print the most recent
*count* frames. An arrow (``>``)
indicates the current frame, ... | .. pdbcommand:: w(here) [count]
Print a stack trace, with the most recent frame at the bottom. if *count*
is 0, print the current frame entry. If *count* is negative, print the least
recent - *count* frames. If *count* is positive, print the most recent
*count* frames. An arrow (``>``)
indicates the current frame, ... | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
7f2559c1-0ca7-4bf7-8ac4-b24cfb1e58fc | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,748 | supabase-export-v2 | ef41f4bc9a75bb3c | .. note::
As ``interact`` creates a new dedicated namespace for code execution,
assignments to variables will not affect the original namespaces. However, modifications to any referenced mutable objects will be reflected
in the original namespaces as usual. | trusted_official_docs | CPython Docs | .. note::
As ``interact`` creates a new dedicated namespace for code execution,
assignments to variables will not affect the original namespaces. However, modifications to any referenced mutable objects will be reflected
in the original namespaces as usual. | .. note::
As ``interact`` creates a new dedicated namespace for code execution,
assignments to variables will not affect the original namespaces. However, modifications to any referenced mutable objects will be reflected
in the original namespaces as usual. | python, official-docs, cpython, P0 | Local_Trusted_Corpus | |
807d25ef-9a20-42b2-9f63-085659725b76 | CPython Docs | file://datasets/cpython/Doc/library/pdb.rst | unknown | ed25a592-6f4d-4c83-9421-7881c7b9269c | 33,645 | supabase-export-v2 | e7a05193bf17b9a4 | Debugger commands -----------------
The commands recognized by the debugger are listed below. Most commands can be
abbreviated to one or two letters as indicated; e.g. ``h(elp)`` means that
either ``h`` or ``help`` can be used to enter the help command (but not ``he``
or ``hel``, nor ``H`` or ``Help`` or ``HELP``). Arg... | trusted_official_docs | CPython Docs | Debugger commands -----------------
The commands recognized by the debugger are listed below. Most commands can be
abbreviated to one or two letters as indicated; e.g. ``h(elp)`` means that
either ``h`` or ``help`` can be used to enter the help command (but not ``he``
or ``hel``, nor ``H`` or ``Help`` or ``HELP``). Arg... | Debugger commands -----------------
The commands recognized by the debugger are listed below. Most commands can be
abbreviated to one or two letters as indicated; e.g. ``h(elp)`` means that
either ``h`` or ``help`` can be used to enter the help command (but not ``he``
or ``hel``, nor ``H`` or ``Help`` or ``HELP``). Arg... | 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.