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
a6ed994a-dd36-4e1b-993a-cfbe1a2c93c6
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,925
supabase-export-v2
dd0057ab6a81d942
.. method:: format(record) The record's attribute dictionary is used as the operand to a string formatting operation. Returns the resulting string. Before formatting the dictionary, a couple of preparatory steps are carried out. The *message* attribute of the record is computed using *msg* % *args*. If the formatti...
trusted_official_docs
CPython Docs
.. method:: format(record) The record's attribute dictionary is used as the operand to a string formatting operation. Returns the resulting string. Before formatting the dictionary, a couple of preparatory steps are carried out. The *message* attribute of the record is computed using *msg* % *args*. If the formatti...
.. method:: format(record) The record's attribute dictionary is used as the operand to a string formatting operation. Returns the resulting string. Before formatting the dictionary, a couple of preparatory steps are carried out. The *message* attribute of the record is computed using *msg* % *args*. If the formatti...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a7ab548e-2a30-49a9-af41-f0037eea25e5
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,936
supabase-export-v2
58d83c775fcbe91a
.. method:: formatStack(stack_info) Formats the specified stack information (a string as returned by :func:`traceback.print_stack`, but with the last newline removed) as a string. This default implementation just returns the input value.
trusted_official_docs
CPython Docs
.. method:: formatStack(stack_info) Formats the specified stack information (a string as returned by :func:`traceback.print_stack`, but with the last newline removed) as a string. This default implementation just returns the input value.
.. method:: formatStack(stack_info) Formats the specified stack information (a string as returned by :func:`traceback.print_stack`, but with the last newline removed) as a string. This default implementation just returns the input value.
python, official-docs, cpython, P0
Local_Trusted_Corpus
a95952bc-8091-4061-863a-876b98f98188
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,867
supabase-export-v2
e2d035ab836ae1bd
Logging Levels -------------- The numeric values of logging levels are given in the following table. These are primarily of interest if you want to define your own levels, and need them to have specific values relative to the predefined levels. If you define a level with the same numeric value, it overwrites the predef...
trusted_official_docs
CPython Docs
Logging Levels -------------- The numeric values of logging levels are given in the following table. These are primarily of interest if you want to define your own levels, and need them to have specific values relative to the predefined levels. If you define a level with the same numeric value, it overwrites the predef...
Logging Levels -------------- The numeric values of logging levels are given in the following table. These are primarily of interest if you want to define your own levels, and need them to have specific values relative to the predefined levels. If you define a level with the same numeric value, it overwrites the predef...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ada15978-3c2f-4d74-858d-05c58d428ae4
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,767
supabase-export-v2
78a1f2e8bbe9dc36
unfamiliar with logging, the best way to get to grips with it is to view the tutorials (**see the links above and on the right**). The basic classes defined by the module, together with their attributes and methods, are listed in the sections below.
trusted_official_docs
CPython Docs
unfamiliar with logging, the best way to get to grips with it is to view the tutorials (**see the links above and on the right**). The basic classes defined by the module, together with their attributes and methods, are listed in the sections below.
unfamiliar with logging, the best way to get to grips with it is to view the tutorials (**see the links above and on the right**). The basic classes defined by the module, together with their attributes and methods, are listed in the sections below.
python, official-docs, cpython, P0
Local_Trusted_Corpus
adfbc540-d6d2-4ec5-8e6f-8bf30e6effef
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,080
supabase-export-v2
b94dc09fe48a9cd8
this :ref:`mode <filemodes>`. Defaults | | | to ``'a'``. | +--------------+---------------------------------------------+ | *format* | Use the specified format string for the | | | handler. Defaults to attributes | | | ``levelname``, ``name`` and ``message`` | | | separated by colons. | +--------------+-------------...
trusted_official_docs
CPython Docs
this :ref:`mode <filemodes>`. Defaults | | | to ``'a'``. | +--------------+---------------------------------------------+ | *format* | Use the specified format string for the | | | handler. Defaults to attributes | | | ``levelname``, ``name`` and ``message`` | | | separated by colons. | +--------------+-------------...
this :ref:`mode <filemodes>`. Defaults | | | to ``'a'``. | +--------------+---------------------------------------------+ | *format* | Use the specified format string for the | | | handler. Defaults to attributes | | | ``levelname``, ``name`` and ``message`` | | | separated by colons. | +--------------+-------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ae52ed31-b53a-4c5f-9c9d-36b4532ae989
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,109
supabase-export-v2
59a4586115bbb768
Default: ``True``. If :data:`raiseExceptions` is ``False``, exceptions get silently ignored. This is what is mostly wanted for a logging system - most users will not care about errors in the logging system, they are more interested in application errors.
trusted_official_docs
CPython Docs
Default: ``True``. If :data:`raiseExceptions` is ``False``, exceptions get silently ignored. This is what is mostly wanted for a logging system - most users will not care about errors in the logging system, they are more interested in application errors.
Default: ``True``. If :data:`raiseExceptions` is ``False``, exceptions get silently ignored. This is what is mostly wanted for a logging system - most users will not care about errors in the logging system, they are more interested in application errors.
python, official-docs, cpython, P0
Local_Trusted_Corpus
af6fd810-a1b6-4ed2-8b76-4b2da6785f0c
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,982
supabase-export-v2
fa37a5c7005c60c3
into the format string. The following table lists (in alphabetical order) the attribute names, their meanings and the corresponding placeholder in a %-style format string. If you are using {}-formatting (:func:`str.format`), you can use ``{attrname}`` as the placeholder in the format string. If you are using $-formatti...
trusted_official_docs
CPython Docs
into the format string. The following table lists (in alphabetical order) the attribute names, their meanings and the corresponding placeholder in a %-style format string. If you are using {}-formatting (:func:`str.format`), you can use ``{attrname}`` as the placeholder in the format string. If you are using $-formatti...
into the format string. The following table lists (in alphabetical order) the attribute names, their meanings and the corresponding placeholder in a %-style format string. If you are using {}-formatting (:func:`str.format`), you can use ``{attrname}`` as the placeholder in the format string. If you are using $-formatti...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b0eff064-b2f3-4564-af70-d170f19464a2
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,050
supabase-export-v2
2ba58e5548a0ce3f
effective level. If ``logging.disable(logging.NOTSET)`` is called, it effectively removes this overriding level, so that logging output again depends on the effective levels of individual loggers. Note that if you have defined any custom logging level higher than ``CRITICAL`` (this is not recommended), you won't be ab...
trusted_official_docs
CPython Docs
effective level. If ``logging.disable(logging.NOTSET)`` is called, it effectively removes this overriding level, so that logging output again depends on the effective levels of individual loggers. Note that if you have defined any custom logging level higher than ``CRITICAL`` (this is not recommended), you won't be ab...
effective level. If ``logging.disable(logging.NOTSET)`` is called, it effectively removes this overriding level, so that logging output again depends on the effective levels of individual loggers. Note that if you have defined any custom logging level higher than ``CRITICAL`` (this is not recommended), you won't be ab...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b108b605-198a-47e9-88b8-6fc6f68730e7
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,754
supabase-export-v2
c0b7df84fbc25b4f
This module defines functions and classes which implement a flexible event logging system for applications and libraries. The key benefit of having the logging API provided by a standard library module is that all Python modules can participate in logging, so your application log can include your own messages integrate...
trusted_official_docs
CPython Docs
This module defines functions and classes which implement a flexible event logging system for applications and libraries. The key benefit of having the logging API provided by a standard library module is that all Python modules can participate in logging, so your application log can include your own messages integrate...
This module defines functions and classes which implement a flexible event logging system for applications and libraries. The key benefit of having the logging API provided by a standard library module is that all Python modules can participate in logging, so your application log can include your own messages integrate...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b25aad04-0822-4c1d-9a2a-b6f2f71a7876
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,910
supabase-export-v2
f276138b85c53cdb
lock, whereas this thread tries to acquire the module-level lock *after* the handler-level lock (because in this method, the handler-level lock has already been acquired). For a list of handlers included as standard, see :mod:`logging.handlers`.
trusted_official_docs
CPython Docs
lock, whereas this thread tries to acquire the module-level lock *after* the handler-level lock (because in this method, the handler-level lock has already been acquired). For a list of handlers included as standard, see :mod:`logging.handlers`.
lock, whereas this thread tries to acquire the module-level lock *after* the handler-level lock (because in this method, the handler-level lock has already been acquired). For a list of handlers included as standard, see :mod:`logging.handlers`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
b28bae09-7614-44c7-9e6c-66154c70ac4b
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,795
supabase-export-v2
a52845f886ee10f7
will be emitted by whichever handler or handlers service this logger, unless a handler's level has been set to a higher severity level than *level*. When a logger is created, the level is set to :const:`NOTSET` (which causes all messages to be processed when the logger is the root logger, or delegation to the parent ...
trusted_official_docs
CPython Docs
will be emitted by whichever handler or handlers service this logger, unless a handler's level has been set to a higher severity level than *level*. When a logger is created, the level is set to :const:`NOTSET` (which causes all messages to be processed when the logger is the root logger, or delegation to the parent ...
will be emitted by whichever handler or handlers service this logger, unless a handler's level has been set to a higher severity level than *level*. When a logger is created, the level is set to :const:`NOTSET` (which causes all messages to be processed when the logger is the root logger, or delegation to the parent ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b36df7b3-262a-42cf-9cb4-22d580c56e9c
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,992
supabase-export-v2
79ae49a11a728168
issued (if available). | +----------------+-------------------------+-----------------------------------------------+ | process | ``%(process)d`` | Process ID (if available). | +----------------+-------------------------+-----------------------------------------------+ | processName | ``%(processName)s`` | Process name...
trusted_official_docs
CPython Docs
issued (if available). | +----------------+-------------------------+-----------------------------------------------+ | process | ``%(process)d`` | Process ID (if available). | +----------------+-------------------------+-----------------------------------------------+ | processName | ``%(processName)s`` | Process name...
issued (if available). | +----------------+-------------------------+-----------------------------------------------+ | process | ``%(process)d`` | Process ID (if available). | +----------------+-------------------------+-----------------------------------------------+ | processName | ``%(processName)s`` | Process name...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b4fcc4b6-9dc6-4460-b236-9aeb84ad8858
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,821
supabase-export-v2
dba59a8bedd255c9
are not the information for the helper function/method, but rather its caller. The name of this parameter mirrors the equivalent one in the :mod:`warnings` module. The fourth keyword argument is *extra* which can be used to pass a dictionary which is used to populate the :attr:`~object.__dict__` of the :class:`LogRec...
trusted_official_docs
CPython Docs
are not the information for the helper function/method, but rather its caller. The name of this parameter mirrors the equivalent one in the :mod:`warnings` module. The fourth keyword argument is *extra* which can be used to pass a dictionary which is used to populate the :attr:`~object.__dict__` of the :class:`LogRec...
are not the information for the helper function/method, but rather its caller. The name of this parameter mirrors the equivalent one in the :mod:`warnings` module. The fourth keyword argument is *extra* which can be used to pass a dictionary which is used to populate the :attr:`~object.__dict__` of the :class:`LogRec...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b618cf1d-9073-44d5-aa1d-606880a47e11
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,930
supabase-export-v2
c9e41630da79b632
value and the other letters are as per the :func:`time.strftime` documentation. An example time in this format is ``2003-01-23 00:29:50,411``. The resulting string is returned. This function uses a user-configurable function to convert the creation time to a tuple. By default, :func:`time.localtime` is used; to change...
trusted_official_docs
CPython Docs
value and the other letters are as per the :func:`time.strftime` documentation. An example time in this format is ``2003-01-23 00:29:50,411``. The resulting string is returned. This function uses a user-configurable function to convert the creation time to a tuple. By default, :func:`time.localtime` is used; to change...
value and the other letters are as per the :func:`time.strftime` documentation. An example time in this format is ``2003-01-23 00:29:50,411``. The resulting string is returned. This function uses a user-configurable function to convert the creation time to a tuple. By default, :func:`time.localtime` is used; to change...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b6f7f49b-ac41-4904-aba3-33f146d7fe7e
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,796
supabase-export-v2
b4afc712cea25bf9
the root logger, or delegation to the parent when the logger is a non-root logger). Note that the root logger is created with level :const:`WARNING`. The term 'delegation to the parent' means that if a logger has a level of NOTSET, its chain of ancestor loggers is traversed until either an ancestor with a level other...
trusted_official_docs
CPython Docs
the root logger, or delegation to the parent when the logger is a non-root logger). Note that the root logger is created with level :const:`WARNING`. The term 'delegation to the parent' means that if a logger has a level of NOTSET, its chain of ancestor loggers is traversed until either an ancestor with a level other...
the root logger, or delegation to the parent when the logger is a non-root logger). Note that the root logger is created with level :const:`WARNING`. The term 'delegation to the parent' means that if a logger has a level of NOTSET, its chain of ancestor loggers is traversed until either an ancestor with a level other...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b810a7da-931a-4289-a98a-f4287fc14a15
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,026
supabase-export-v2
1e81ed861ae17ed9
from within a new class definition, to ensure that installing a customized :class:`Logger` class will not undo customizations already applied by other code. For example:: class MyLogger(logging.getLoggerClass()): # ... override behaviour here
trusted_official_docs
CPython Docs
from within a new class definition, to ensure that installing a customized :class:`Logger` class will not undo customizations already applied by other code. For example:: class MyLogger(logging.getLoggerClass()): # ... override behaviour here
from within a new class definition, to ensure that installing a customized :class:`Logger` class will not undo customizations already applied by other code. For example:: class MyLogger(logging.getLoggerClass()): # ... override behaviour here
python, official-docs, cpython, P0
Local_Trusted_Corpus
b9f82227-93bc-46d4-9c0e-69c28fa32e07
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,999
supabase-export-v2
2e6033ab1e6f8835
used to conveniently pass contextual information into logging calls. For a usage example, see the section on :ref:`adding contextual information to your logging output <context-info>`. .. class:: LoggerAdapter(logger, extra=None, merge_extra=False)
trusted_official_docs
CPython Docs
used to conveniently pass contextual information into logging calls. For a usage example, see the section on :ref:`adding contextual information to your logging output <context-info>`. .. class:: LoggerAdapter(logger, extra=None, merge_extra=False)
used to conveniently pass contextual information into logging calls. For a usage example, see the section on :ref:`adding contextual information to your logging output <context-info>`. .. class:: LoggerAdapter(logger, extra=None, merge_extra=False)
python, official-docs, cpython, P0
Local_Trusted_Corpus
bd17614d-bc22-4ebf-8944-03f4490c76e3
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,844
supabase-export-v2
d2ffda4a6fbc7d48
.. method:: Logger.exception(msg, *args, **kwargs) Logs a message with level :const:`ERROR` on this logger. The arguments are interpreted as for :meth:`debug`. Exception info is added to the logging message. This method should only be called from an exception handler.
trusted_official_docs
CPython Docs
.. method:: Logger.exception(msg, *args, **kwargs) Logs a message with level :const:`ERROR` on this logger. The arguments are interpreted as for :meth:`debug`. Exception info is added to the logging message. This method should only be called from an exception handler.
.. method:: Logger.exception(msg, *args, **kwargs) Logs a message with level :const:`ERROR` on this logger. The arguments are interpreted as for :meth:`debug`. Exception info is added to the logging message. This method should only be called from an exception handler.
python, official-docs, cpython, P0
Local_Trusted_Corpus
bf5589fc-ce49-49ba-b1bc-5d06ee87722d
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,952
supabase-export-v2
50e601a4366834f7
been generated by descendant loggers will not be filtered by a logger's filter setting, unless the filter has also been applied to those descendant loggers. You don't actually need to subclass ``Filter``: you can pass any instance which has a ``filter`` method with the same semantics.
trusted_official_docs
CPython Docs
been generated by descendant loggers will not be filtered by a logger's filter setting, unless the filter has also been applied to those descendant loggers. You don't actually need to subclass ``Filter``: you can pass any instance which has a ``filter`` method with the same semantics.
been generated by descendant loggers will not be filtered by a logger's filter setting, unless the filter has also been applied to those descendant loggers. You don't actually need to subclass ``Filter``: you can pass any instance which has a ``filter`` method with the same semantics.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c49b6c4b-0f36-490b-ba75-2eec11b24950
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,991
supabase-export-v2
48afbc539df3b6dc
an arbitrary object | | | | (see :ref:`arbitrary-object-messages`). | +----------------+-------------------------+-----------------------------------------------+ | name | ``%(name)s`` | Name of the logger used to log the call. | +----------------+-------------------------+----------------------------------------------...
trusted_official_docs
CPython Docs
an arbitrary object | | | | (see :ref:`arbitrary-object-messages`). | +----------------+-------------------------+-----------------------------------------------+ | name | ``%(name)s`` | Name of the logger used to log the call. | +----------------+-------------------------+----------------------------------------------...
an arbitrary object | | | | (see :ref:`arbitrary-object-messages`). | +----------------+-------------------------+-----------------------------------------------+ | name | ``%(name)s`` | Name of the logger used to log the call. | +----------------+-------------------------+----------------------------------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c4d9c9ee-4bc0-4c07-80e7-59070376eba3
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,049
supabase-export-v2
ae16b912ee8752c4
.. function:: disable(level=CRITICAL) Provides an overriding level *level* for all loggers which takes precedence over the logger's own level. When the need arises to temporarily throttle logging output down across the whole application, this function can be useful. Its effect is to disable all logging calls of seve...
trusted_official_docs
CPython Docs
.. function:: disable(level=CRITICAL) Provides an overriding level *level* for all loggers which takes precedence over the logger's own level. When the need arises to temporarily throttle logging output down across the whole application, this function can be useful. Its effect is to disable all logging calls of seve...
.. function:: disable(level=CRITICAL) Provides an overriding level *level* for all loggers which takes precedence over the logger's own level. When the need arises to temporarily throttle logging output down across the whole application, this function can be useful. Its effect is to disable all logging calls of seve...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c5097e67-a0b4-4aa8-b078-5dea216425e6
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,920
supabase-export-v2
8504da1c6e946b51
:param validate: If ``True`` (the default), incorrect or mismatched *fmt* and *style* will raise a :exc:`ValueError`; for example, ``logging.Formatter('%(asctime)s - %(message)s', style='{')``. :type validate: bool :param defaults: A dictionary with default values to use in custom fields. For example, ``logging.Format...
trusted_official_docs
CPython Docs
:param validate: If ``True`` (the default), incorrect or mismatched *fmt* and *style* will raise a :exc:`ValueError`; for example, ``logging.Formatter('%(asctime)s - %(message)s', style='{')``. :type validate: bool :param defaults: A dictionary with default values to use in custom fields. For example, ``logging.Format...
:param validate: If ``True`` (the default), incorrect or mismatched *fmt* and *style* will raise a :exc:`ValueError`; for example, ``logging.Formatter('%(asctime)s - %(message)s', style='{')``. :type validate: bool :param defaults: A dictionary with default values to use in custom fields. For example, ``logging.Format...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c76784c4-0ad2-4ca6-87e4-413b9a6926ad
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,084
supabase-export-v2
acd2c89484b58a0e
and thus | | | used when opening the output file. If not | | | specified, the value 'backslashreplace' is | | | used. Note that if ``None`` is specified, | | | it will be passed as such to :func:`open`, | | | which means that it will be treated the | | | same as passing 'errors'. | +--------------+-----------------...
trusted_official_docs
CPython Docs
and thus | | | used when opening the output file. If not | | | specified, the value 'backslashreplace' is | | | used. Note that if ``None`` is specified, | | | it will be passed as such to :func:`open`, | | | which means that it will be treated the | | | same as passing 'errors'. | +--------------+-----------------...
and thus | | | used when opening the output file. If not | | | specified, the value 'backslashreplace' is | | | used. Note that if ``None`` is specified, | | | it will be passed as such to :func:`open`, | | | which means that it will be treated the | | | same as passing 'errors'. | +--------------+-----------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c81c5344-eed0-4004-95bd-8486a247bced
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,035
supabase-export-v2
5d87d7f87881384e
and should therefore prefer creating a module-level logger and calling :meth:`Logger.debug` (or other level-specific methods) on it, as described at the beginning of this documentation. .. function:: info(msg, *args, **kwargs)
trusted_official_docs
CPython Docs
and should therefore prefer creating a module-level logger and calling :meth:`Logger.debug` (or other level-specific methods) on it, as described at the beginning of this documentation. .. function:: info(msg, *args, **kwargs)
and should therefore prefer creating a module-level logger and calling :meth:`Logger.debug` (or other level-specific methods) on it, as described at the beginning of this documentation. .. function:: info(msg, *args, **kwargs)
python, official-docs, cpython, P0
Local_Trusted_Corpus
c847a560-7c72-46b8-89e8-2e7048e9d795
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,088
supabase-export-v2
4038beaa786ee0cb
added. Additional checks were added to catch situations where incompatible arguments are specified (e.g. *handlers* together with *stream* or *filename*, or *stream* together with *filename*). .. versionchanged:: 3.8 The *force* argument was added.
trusted_official_docs
CPython Docs
added. Additional checks were added to catch situations where incompatible arguments are specified (e.g. *handlers* together with *stream* or *filename*, or *stream* together with *filename*). .. versionchanged:: 3.8 The *force* argument was added.
added. Additional checks were added to catch situations where incompatible arguments are specified (e.g. *handlers* together with *stream* or *filename*, or *stream* together with *filename*). .. versionchanged:: 3.8 The *force* argument was added.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c868d629-82ac-4790-a947-882deb759db3
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,988
supabase-export-v2
68f1fde9ce9f5a54
+----------------+-------------------------+-----------------------------------------------+ | levelname | ``%(levelname)s`` | Text logging level for the message | | | | (``'DEBUG'``, ``'INFO'``, ``'WARNING'``, | | | | ``'ERROR'``, ``'CRITICAL'``). | +----------------+-------------------------+-------------------------...
trusted_official_docs
CPython Docs
+----------------+-------------------------+-----------------------------------------------+ | levelname | ``%(levelname)s`` | Text logging level for the message | | | | (``'DEBUG'``, ``'INFO'``, ``'WARNING'``, | | | | ``'ERROR'``, ``'CRITICAL'``). | +----------------+-------------------------+-------------------------...
+----------------+-------------------------+-----------------------------------------------+ | levelname | ``%(levelname)s`` | Text logging level for the message | | | | (``'DEBUG'``, ``'INFO'``, ``'WARNING'``, | | | | ``'ERROR'``, ``'CRITICAL'``). | +----------------+-------------------------+-------------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c884cc4e-0bdf-4018-b02c-3db1c92df7ff
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,963
supabase-export-v2
ee186986bfc81d6b
the :class:`!LogRecord` will always have this value, even though it may be emitted by a handler attached to a different (ancestor) logger. :type name: str :param level: The :ref:`numeric level <levels>` of the logging event (such as ``10`` for ``DEBUG``, ``20`` for ``INFO``, etc). Note that this is converted to *two* ...
trusted_official_docs
CPython Docs
the :class:`!LogRecord` will always have this value, even though it may be emitted by a handler attached to a different (ancestor) logger. :type name: str :param level: The :ref:`numeric level <levels>` of the logging event (such as ``10`` for ``DEBUG``, ``20`` for ``INFO``, etc). Note that this is converted to *two* ...
the :class:`!LogRecord` will always have this value, even though it may be emitted by a handler attached to a different (ancestor) logger. :type name: str :param level: The :ref:`numeric level <levels>` of the logging event (such as ``10`` for ``DEBUG``, ``20`` for ``INFO``, etc). Note that this is converted to *two* ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c8b5a7d4-7415-4677-9426-09d44e580496
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,792
supabase-export-v2
811e61a8d909b093
This attribute disables handling of any events. It is set to ``False`` in the initializer, and only changed by logging configuration code. .. note:: This attribute should be treated as read-only.
trusted_official_docs
CPython Docs
This attribute disables handling of any events. It is set to ``False`` in the initializer, and only changed by logging configuration code. .. note:: This attribute should be treated as read-only.
This attribute disables handling of any events. It is set to ``False`` in the initializer, and only changed by logging configuration code. .. note:: This attribute should be treated as read-only.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c9acaa94-caa4-4a3f-905f-a8e6d2f6eb89
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,827
supabase-export-v2
0a0ecac8d7dd39c4
not be logged because a string formatting exception will occur. So in this case, you always need to pass the *extra* dictionary with these keys. While this might be annoying, this feature is intended for use in specialized circumstances, such as multi-threaded servers where the same code executes in many contexts, an...
trusted_official_docs
CPython Docs
not be logged because a string formatting exception will occur. So in this case, you always need to pass the *extra* dictionary with these keys. While this might be annoying, this feature is intended for use in specialized circumstances, such as multi-threaded servers where the same code executes in many contexts, an...
not be logged because a string formatting exception will occur. So in this case, you always need to pass the *extra* dictionary with these keys. While this might be annoying, this feature is intended for use in specialized circumstances, such as multi-threaded servers where the same code executes in many contexts, an...
python, official-docs, cpython, P0
Local_Trusted_Corpus
cb10fae5-e214-4688-94c5-64764b01ffae
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,802
supabase-export-v2
22b4fb6515b3edce
.. method:: Logger.isEnabledFor(level) Indicates if a message of severity *level* would be processed by this logger. This method checks first the module-level level set by ``logging.disable(level)`` and then the logger's effective level as determined by :meth:`getEffectiveLevel`.
trusted_official_docs
CPython Docs
.. method:: Logger.isEnabledFor(level) Indicates if a message of severity *level* would be processed by this logger. This method checks first the module-level level set by ``logging.disable(level)`` and then the logger's effective level as determined by :meth:`getEffectiveLevel`.
.. method:: Logger.isEnabledFor(level) Indicates if a message of severity *level* would be processed by this logger. This method checks first the module-level level set by ``logging.disable(level)`` and then the logger's effective level as determined by :meth:`getEffectiveLevel`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
cc16d7c3-9658-43ec-ac45-cd350371688a
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,974
supabase-export-v2
6a8f0a39bfa512de
providing a factory which is used to create the record. The factory can be set using :func:`getLogRecordFactory` and :func:`setLogRecordFactory` (see this for the factory's signature). This functionality can be used to inject your own values into a :class:`LogRecord` at creation time. You can use the following pattern...
trusted_official_docs
CPython Docs
providing a factory which is used to create the record. The factory can be set using :func:`getLogRecordFactory` and :func:`setLogRecordFactory` (see this for the factory's signature). This functionality can be used to inject your own values into a :class:`LogRecord` at creation time. You can use the following pattern...
providing a factory which is used to create the record. The factory can be set using :func:`getLogRecordFactory` and :func:`setLogRecordFactory` (see this for the factory's signature). This functionality can be used to inject your own values into a :class:`LogRecord` at creation time. You can use the following pattern...
python, official-docs, cpython, P0
Local_Trusted_Corpus
cc1da925-bbaa-4487-b898-dce162673d6c
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,092
supabase-export-v2
d2cf342a99e9e122
.. function:: shutdown() Informs the logging system to perform an orderly shutdown by flushing and closing all handlers. This should be called at application exit and no further use of the logging system should be made after this call.
trusted_official_docs
CPython Docs
.. function:: shutdown() Informs the logging system to perform an orderly shutdown by flushing and closing all handlers. This should be called at application exit and no further use of the logging system should be made after this call.
.. function:: shutdown() Informs the logging system to perform an orderly shutdown by flushing and closing all handlers. This should be called at application exit and no further use of the logging system should be made after this call.
python, official-docs, cpython, P0
Local_Trusted_Corpus
ce72adb2-cc45-44f0-aa6f-5327a1a058bb
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,825
supabase-export-v2
d40428b4246222c6
2006-02-08 22:20:02,165 192.168.0.1 fbloggs Protocol problem: connection reset The keys in the dictionary passed in *extra* should not clash with the keys used by the logging system. (See the section on :ref:`logrecord-attributes` for more information on which keys are used by the logging system.)
trusted_official_docs
CPython Docs
2006-02-08 22:20:02,165 192.168.0.1 fbloggs Protocol problem: connection reset The keys in the dictionary passed in *extra* should not clash with the keys used by the logging system. (See the section on :ref:`logrecord-attributes` for more information on which keys are used by the logging system.)
2006-02-08 22:20:02,165 192.168.0.1 fbloggs Protocol problem: connection reset The keys in the dictionary passed in *extra* should not clash with the keys used by the logging system. (See the section on :ref:`logrecord-attributes` for more information on which keys are used by the logging system.)
python, official-docs, cpython, P0
Local_Trusted_Corpus
d0b7101f-60dd-43b3-bd5d-62e479e07570
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,039
supabase-export-v2
e3176ef4116c248b
Logs a message with level :const:`WARNING` on the root logger. The arguments and behavior are otherwise the same as for :func:`debug`. .. note:: There is an obsolete function ``warn`` which is functionally identical to ``warning``. As ``warn`` is deprecated, please do not use it - use ``warning`` instead.
trusted_official_docs
CPython Docs
Logs a message with level :const:`WARNING` on the root logger. The arguments and behavior are otherwise the same as for :func:`debug`. .. note:: There is an obsolete function ``warn`` which is functionally identical to ``warning``. As ``warn`` is deprecated, please do not use it - use ``warning`` instead.
Logs a message with level :const:`WARNING` on the root logger. The arguments and behavior are otherwise the same as for :func:`debug`. .. note:: There is an obsolete function ``warn`` which is functionally identical to ``warning``. As ``warn`` is deprecated, please do not use it - use ``warning`` instead.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d0cd5fa0-1f81-4692-bcd7-dfaa4dfb0ae0
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,766
supabase-export-v2
332921bd8fe56dc3
at module level eventually forward their messages to its handlers. :func:`~logging.basicConfig` provides a quick way to configure the root logger that handles many use cases. The module provides a lot of functionality and flexibility. If you are unfamiliar with logging, the best way to get to grips with it is to view t...
trusted_official_docs
CPython Docs
at module level eventually forward their messages to its handlers. :func:`~logging.basicConfig` provides a quick way to configure the root logger that handles many use cases. The module provides a lot of functionality and flexibility. If you are unfamiliar with logging, the best way to get to grips with it is to view t...
at module level eventually forward their messages to its handlers. :func:`~logging.basicConfig` provides a quick way to configure the root logger that handles many use cases. The module provides a lot of functionality and flexibility. If you are unfamiliar with logging, the best way to get to grips with it is to view t...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d4df3389-1292-4831-995b-5e6fada241bf
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,054
supabase-export-v2
cedc6fa714c0c2d4
are that all levels used must be registered using this function, levels should be positive integers and they should increase in increasing order of severity. .. note:: If you are thinking of defining your own levels, please see the section on :ref:`custom-levels`.
trusted_official_docs
CPython Docs
are that all levels used must be registered using this function, levels should be positive integers and they should increase in increasing order of severity. .. note:: If you are thinking of defining your own levels, please see the section on :ref:`custom-levels`.
are that all levels used must be registered using this function, levels should be positive integers and they should increase in increasing order of severity. .. note:: If you are thinking of defining your own levels, please see the section on :ref:`custom-levels`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d6616281-2555-4bea-ae98-041e0fd8b049
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,961
supabase-export-v2
89019dd8fea6bede
Contains all the information pertinent to the event being logged. The primary information is passed in *msg* and *args*, which are combined using ``msg % args`` to create the :attr:`!message` attribute of the record.
trusted_official_docs
CPython Docs
Contains all the information pertinent to the event being logged. The primary information is passed in *msg* and *args*, which are combined using ``msg % args`` to create the :attr:`!message` attribute of the record.
Contains all the information pertinent to the event being logged. The primary information is passed in *msg* and *args*, which are combined using ``msg % args`` to create the :attr:`!message` attribute of the record.
python, official-docs, cpython, P0
Local_Trusted_Corpus
dbe9bff2-4c51-433b-87a0-3e72e8b633ab
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,964
supabase-export-v2
11eee5be90afc23b
that this is converted to *two* attributes of the LogRecord: :attr:`!levelno` for the numeric value and :attr:`!levelname` for the corresponding level name. :type level: int :param pathname: The full string path of the source file where the logging call was made. :type pathname: str
trusted_official_docs
CPython Docs
that this is converted to *two* attributes of the LogRecord: :attr:`!levelno` for the numeric value and :attr:`!levelname` for the corresponding level name. :type level: int :param pathname: The full string path of the source file where the logging call was made. :type pathname: str
that this is converted to *two* attributes of the LogRecord: :attr:`!levelno` for the numeric value and :attr:`!levelname` for the corresponding level name. :type level: int :param pathname: The full string path of the source file where the logging call was made. :type pathname: str
python, official-docs, cpython, P0
Local_Trusted_Corpus
dc8fb430-25a9-427e-b2d6-7a5e071559be
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,814
supabase-export-v2
0182350beb589bfd
There are four keyword arguments in *kwargs* which are inspected: *exc_info*, *stack_info*, *stacklevel* and *extra*. If *exc_info* does not evaluate as false, it causes exception information to be added to the logging message. If an exception tuple (in the format returned by :func:`sys.exc_info`) or an exception ins...
trusted_official_docs
CPython Docs
There are four keyword arguments in *kwargs* which are inspected: *exc_info*, *stack_info*, *stacklevel* and *extra*. If *exc_info* does not evaluate as false, it causes exception information to be added to the logging message. If an exception tuple (in the format returned by :func:`sys.exc_info`) or an exception ins...
There are four keyword arguments in *kwargs* which are inspected: *exc_info*, *stack_info*, *stacklevel* and *extra*. If *exc_info* does not evaluate as false, it causes exception information to be added to the logging message. If an exception tuple (in the format returned by :func:`sys.exc_info`) or an exception ins...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ddafd823-c988-44a8-81ac-f2cd37595d7d
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,783
supabase-export-v2
60de722ce6f7253e
this logger. Messages are passed directly to the ancestor loggers' handlers - neither the level nor filters of the ancestor loggers in question are considered. If this evaluates to false, logging messages are not passed to the handlers of ancestor loggers.
trusted_official_docs
CPython Docs
this logger. Messages are passed directly to the ancestor loggers' handlers - neither the level nor filters of the ancestor loggers in question are considered. If this evaluates to false, logging messages are not passed to the handlers of ancestor loggers.
this logger. Messages are passed directly to the ancestor loggers' handlers - neither the level nor filters of the ancestor loggers in question are considered. If this evaluates to false, logging messages are not passed to the handlers of ancestor loggers.
python, official-docs, cpython, P0
Local_Trusted_Corpus
df2652a8-e685-4bac-a9df-1d918adee5b6
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,829
supabase-export-v2
81506347c283a088
this logger (or any of its ancestors, taking into account the relevant :attr:`Logger.propagate` attributes), the message will be sent to the handler set on :data:`lastResort`. .. versionchanged:: 3.2 The *stack_info* parameter was added.
trusted_official_docs
CPython Docs
this logger (or any of its ancestors, taking into account the relevant :attr:`Logger.propagate` attributes), the message will be sent to the handler set on :data:`lastResort`. .. versionchanged:: 3.2 The *stack_info* parameter was added.
this logger (or any of its ancestors, taking into account the relevant :attr:`Logger.propagate` attributes), the message will be sent to the handler set on :data:`lastResort`. .. versionchanged:: 3.2 The *stack_info* parameter was added.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e006bf68-ff50-4144-ae6d-059fb18bc993
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,998
supabase-export-v2
0f2321931aba0fb5
LoggerAdapter Objects --------------------- :class:`LoggerAdapter` instances are used to conveniently pass contextual information into logging calls. For a usage example, see the section on :ref:`adding contextual information to your logging output <context-info>`.
trusted_official_docs
CPython Docs
LoggerAdapter Objects --------------------- :class:`LoggerAdapter` instances are used to conveniently pass contextual information into logging calls. For a usage example, see the section on :ref:`adding contextual information to your logging output <context-info>`.
LoggerAdapter Objects --------------------- :class:`LoggerAdapter` instances are used to conveniently pass contextual information into logging calls. For a usage example, see the section on :ref:`adding contextual information to your logging output <context-info>`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e745134e-c6ec-42a0-be4d-ed6272760ca0
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,085
supabase-export-v2
bfb0df183892fa06
is to create | | | and use an instance of | | | :class:`logging.Formatter` based on | | | arguments *format*, *datefmt* and *style*. | | | When *formatter* is specified together with | | | any of the three arguments *format*, | | | *datefmt* and *style*, a ``ValueError`` is | | | raised to signal that these argumen...
trusted_official_docs
CPython Docs
is to create | | | and use an instance of | | | :class:`logging.Formatter` based on | | | arguments *format*, *datefmt* and *style*. | | | When *formatter* is specified together with | | | any of the three arguments *format*, | | | *datefmt* and *style*, a ``ValueError`` is | | | raised to signal that these argumen...
is to create | | | and use an instance of | | | :class:`logging.Formatter` based on | | | arguments *format*, *datefmt* and *style*. | | | When *formatter* is specified together with | | | any of the three arguments *format*, | | | *datefmt* and *style*, a ``ValueError`` is | | | raised to signal that these argumen...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e779ecc1-58a3-4186-a12c-2034cecfecd2
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,897
supabase-export-v2
9cb95220abc0a3ee
.. method:: Handler.close() Tidy up any resources used by the handler. This version does no output but removes the handler from an internal map of handlers, which is used for handler lookup by name.
trusted_official_docs
CPython Docs
.. method:: Handler.close() Tidy up any resources used by the handler. This version does no output but removes the handler from an internal map of handlers, which is used for handler lookup by name.
.. method:: Handler.close() Tidy up any resources used by the handler. This version does no output but removes the handler from an internal map of handlers, which is used for handler lookup by name.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e9806737-7f15-41a7-b865-a072e75a5251
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,885
supabase-export-v2
1211b183f2bf7cab
See :ref:`levels` for a list of levels. .. versionchanged:: 3.2 The *level* parameter now accepts a string representation of the level such as 'INFO' as an alternative to the integer constants such as :const:`INFO`.
trusted_official_docs
CPython Docs
See :ref:`levels` for a list of levels. .. versionchanged:: 3.2 The *level* parameter now accepts a string representation of the level such as 'INFO' as an alternative to the integer constants such as :const:`INFO`.
See :ref:`levels` for a list of levels. .. versionchanged:: 3.2 The *level* parameter now accepts a string representation of the level such as 'INFO' as an alternative to the integer constants such as :const:`INFO`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e996f991-d3ce-4230-acf7-313a659e777f
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,025
supabase-export-v2
1145cdd5643a5a53
.. function:: getLoggerClass() Return either the standard :class:`Logger` class, or the last class passed to :func:`setLoggerClass`. This function may be called from within a new class definition, to ensure that installing a customized :class:`Logger` class will not undo customizations already applied by other code....
trusted_official_docs
CPython Docs
.. function:: getLoggerClass() Return either the standard :class:`Logger` class, or the last class passed to :func:`setLoggerClass`. This function may be called from within a new class definition, to ensure that installing a customized :class:`Logger` class will not undo customizations already applied by other code....
.. function:: getLoggerClass() Return either the standard :class:`Logger` class, or the last class passed to :func:`setLoggerClass`. This function may be called from within a new class definition, to ensure that installing a customized :class:`Logger` class will not undo customizations already applied by other code....
python, official-docs, cpython, P0
Local_Trusted_Corpus
ebf41047-7306-471c-bd35-9b6f570e41bf
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,820
supabase-export-v2
85dfd3b0d3ba3317
This mimics the ``Traceback (most recent call last):`` which is used when displaying exception frames. The third optional keyword argument is *stacklevel*, which defaults to ``1``. If greater than 1, the corresponding number of stack frames are skipped when computing the line number and function name set in the :class...
trusted_official_docs
CPython Docs
This mimics the ``Traceback (most recent call last):`` which is used when displaying exception frames. The third optional keyword argument is *stacklevel*, which defaults to ``1``. If greater than 1, the corresponding number of stack frames are skipped when computing the line number and function name set in the :class...
This mimics the ``Traceback (most recent call last):`` which is used when displaying exception frames. The third optional keyword argument is *stacklevel*, which defaults to ``1``. If greater than 1, the corresponding number of stack frames are skipped when computing the line number and function name set in the :class...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f1396b1c-b9cc-4e9f-ab1b-e18011a6e59c
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,120
supabase-export-v2
47850650280ba6d6
:pep:`282` - A Logging System The proposal which described this feature for inclusion in the Python standard library. `Original Python logging package <https://old.red-dove.com/python_logging.html>`_ This is the original source for the :mod:`!logging` package. The version of the package available from this site is su...
trusted_official_docs
CPython Docs
:pep:`282` - A Logging System The proposal which described this feature for inclusion in the Python standard library. `Original Python logging package <https://old.red-dove.com/python_logging.html>`_ This is the original source for the :mod:`!logging` package. The version of the package available from this site is su...
:pep:`282` - A Logging System The proposal which described this feature for inclusion in the Python standard library. `Original Python logging package <https://old.red-dove.com/python_logging.html>`_ This is the original source for the :mod:`!logging` package. The version of the package available from this site is su...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f4080dd3-a56f-4df3-b91e-f4af09e12687
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,828
supabase-export-v2
075344263c7c8ed6
and authenticated user name, in the above example). In such circumstances, it is likely that specialized :class:`Formatter`\ s would be used with particular :class:`Handler`\ s. If no handler is attached to this logger (or any of its ancestors, taking into account the relevant :attr:`Logger.propagate` attributes), th...
trusted_official_docs
CPython Docs
and authenticated user name, in the above example). In such circumstances, it is likely that specialized :class:`Formatter`\ s would be used with particular :class:`Handler`\ s. If no handler is attached to this logger (or any of its ancestors, taking into account the relevant :attr:`Logger.propagate` attributes), th...
and authenticated user name, in the above example). In such circumstances, it is likely that specialized :class:`Formatter`\ s would be used with particular :class:`Handler`\ s. If no handler is attached to this logger (or any of its ancestors, taking into account the relevant :attr:`Logger.propagate` attributes), th...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f4a48b40-a63e-4a53-942d-7a6369d20104
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,064
supabase-export-v2
d5b7393d4bb4e754
an integer level and the level name displayed in the formatted log output by means of the ``%(levelname)s`` format specifier (see :ref:`logrecord-attributes`), and vice versa. .. versionchanged:: 3.4 In Python versions earlier than 3.4, this function could also be passed a text level, and would return the correspondi...
trusted_official_docs
CPython Docs
an integer level and the level name displayed in the formatted log output by means of the ``%(levelname)s`` format specifier (see :ref:`logrecord-attributes`), and vice versa. .. versionchanged:: 3.4 In Python versions earlier than 3.4, this function could also be passed a text level, and would return the correspondi...
an integer level and the level name displayed in the formatted log output by means of the ``%(levelname)s`` format specifier (see :ref:`logrecord-attributes`), and vice versa. .. versionchanged:: 3.4 In Python versions earlier than 3.4, this function could also be passed a text level, and would return the correspondi...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f51308de-4a80-4bde-a3e3-52c41ff67157
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,799
supabase-export-v2
80e6d67237d8987c
reached, and it has a level of NOTSET, then all messages will be processed. Otherwise, the root's level will be used as the effective level. See :ref:`levels` for a list of levels.
trusted_official_docs
CPython Docs
reached, and it has a level of NOTSET, then all messages will be processed. Otherwise, the root's level will be used as the effective level. See :ref:`levels` for a list of levels.
reached, and it has a level of NOTSET, then all messages will be processed. Otherwise, the root's level will be used as the effective level. See :ref:`levels` for a list of levels.
python, official-docs, cpython, P0
Local_Trusted_Corpus
f6e93557-a76c-41bd-a58b-76838b3464ba
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
34,931
supabase-export-v2
86a0a9514b652ced
it for all formatters, for example if you want all logging times to be shown in GMT, set the ``converter`` attribute in the ``Formatter`` class. .. versionchanged:: 3.3 Previously, the default format was hard-coded as in this example: ``2010-09-06 22:38:15,292`` where the part before the comma is handled by a strpti...
trusted_official_docs
CPython Docs
it for all formatters, for example if you want all logging times to be shown in GMT, set the ``converter`` attribute in the ``Formatter`` class. .. versionchanged:: 3.3 Previously, the default format was hard-coded as in this example: ``2010-09-06 22:38:15,292`` where the part before the comma is handled by a strpti...
it for all formatters, for example if you want all logging times to be shown in GMT, set the ``converter`` attribute in the ``Formatter`` class. .. versionchanged:: 3.3 Previously, the default format was hard-coded as in this example: ``2010-09-06 22:38:15,292`` where the part before the comma is handled by a strpti...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f7169961-2676-4d96-8225-802893a80be6
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,033
supabase-export-v2
3cdefeb0bd62c1ab
function that calls :meth:`Logger.debug`, on the root logger. The handling of the arguments is in every way identical to what is described in that method. The only difference is that if the root logger has no handlers, then :func:`basicConfig` is called, prior to calling ``debug`` on the root logger.
trusted_official_docs
CPython Docs
function that calls :meth:`Logger.debug`, on the root logger. The handling of the arguments is in every way identical to what is described in that method. The only difference is that if the root logger has no handlers, then :func:`basicConfig` is called, prior to calling ``debug`` on the root logger.
function that calls :meth:`Logger.debug`, on the root logger. The handling of the arguments is in every way identical to what is described in that method. The only difference is that if the root logger has no handlers, then :func:`basicConfig` is called, prior to calling ``debug`` on the root logger.
python, official-docs, cpython, P0
Local_Trusted_Corpus
f7be3759-6ee8-4f78-8992-236f5f105bde
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,083
supabase-export-v2
4077c52a322083b0
| | root logger are removed and closed, before | | | carrying out the configuration as specified | | | by the other arguments. | +--------------+---------------------------------------------+ | *encoding* | If this keyword argument is specified along | | | with *filename*, its value is used when the | | | :class:`F...
trusted_official_docs
CPython Docs
| | root logger are removed and closed, before | | | carrying out the configuration as specified | | | by the other arguments. | +--------------+---------------------------------------------+ | *encoding* | If this keyword argument is specified along | | | with *filename*, its value is used when the | | | :class:`F...
| | root logger are removed and closed, before | | | carrying out the configuration as specified | | | by the other arguments. | +--------------+---------------------------------------------+ | *encoding* | If this keyword argument is specified along | | | with *filename*, its value is used when the | | | :class:`F...
python, official-docs, cpython, P0
Local_Trusted_Corpus
fa6de8b0-dceb-4828-a46e-2c668bfc36ff
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,061
supabase-export-v2
c4284ca28bc581a1
associated with *level* is returned. If a numeric value corresponding to one of the defined levels is passed in, the corresponding string representation is returned. The *level* parameter also accepts a string representation of the level such as 'INFO'. In such cases, this functions returns the corresponding numeric ...
trusted_official_docs
CPython Docs
associated with *level* is returned. If a numeric value corresponding to one of the defined levels is passed in, the corresponding string representation is returned. The *level* parameter also accepts a string representation of the level such as 'INFO'. In such cases, this functions returns the corresponding numeric ...
associated with *level* is returned. If a numeric value corresponding to one of the defined levels is passed in, the corresponding string representation is returned. The *level* parameter also accepts a string representation of the level such as 'INFO'. In such cases, this functions returns the corresponding numeric ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
fde3ea1a-323f-4866-8a30-bfdcf6b479ce
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,100
supabase-export-v2
96f759e934ee0f22
versionadded:: 3.2 This function has been provided, along with :func:`getLogRecordFactory`, to allow developers more control over how the :class:`LogRecord` representing a logging event is constructed. The factory has the following signature:
trusted_official_docs
CPython Docs
versionadded:: 3.2 This function has been provided, along with :func:`getLogRecordFactory`, to allow developers more control over how the :class:`LogRecord` representing a logging event is constructed. The factory has the following signature:
versionadded:: 3.2 This function has been provided, along with :func:`getLogRecordFactory`, to allow developers more control over how the :class:`LogRecord` representing a logging event is constructed. The factory has the following signature:
python, official-docs, cpython, P0
Local_Trusted_Corpus
fe20e69c-eb28-43aa-9053-976078e5a44f
CPython Docs
file://datasets/cpython/Doc/library/logging.rst
unknown
5841a24b-ddb2-4f1a-b487-0154a4ee3e9c
35,079
supabase-export-v2
10ffbcbf7ccfe557
.. tabularcolumns:: |l|L| +--------------+---------------------------------------------+ | Format | Description | +==============+=============================================+ | *filename* | Specifies that a :class:`FileHandler` be | | | created, using the specified filename, | | | rather than a :class:`StreamHan...
trusted_official_docs
CPython Docs
.. tabularcolumns:: |l|L| +--------------+---------------------------------------------+ | Format | Description | +==============+=============================================+ | *filename* | Specifies that a :class:`FileHandler` be | | | created, using the specified filename, | | | rather than a :class:`StreamHan...
.. tabularcolumns:: |l|L| +--------------+---------------------------------------------+ | Format | Description | +==============+=============================================+ | *filename* | Specifies that a :class:`FileHandler` be | | | created, using the specified filename, | | | rather than a :class:`StreamHan...
python, official-docs, cpython, P0
Local_Trusted_Corpus
04cb3b3b-b0a9-4e53-bcd0-6104ff67a4e1
CPython Docs
file://datasets/cpython/Doc/library/tkinter.font.rst
unknown
32b7e119-8508-4243-91f8-4b9f0c5112a8
35,142
supabase-export-v2
b55c0ce9bf6f34b0
.. method:: measure(text, displayof=None) Return amount of space the text would occupy on the specified display when formatted in the current font. If no display is specified then the main application window is assumed.
trusted_official_docs
CPython Docs
.. method:: measure(text, displayof=None) Return amount of space the text would occupy on the specified display when formatted in the current font. If no display is specified then the main application window is assumed.
.. method:: measure(text, displayof=None) Return amount of space the text would occupy on the specified display when formatted in the current font. If no display is specified then the main application window is assumed.
python, official-docs, cpython, P0
Local_Trusted_Corpus
380e97df-5b41-4995-9fda-6ba0127c6774
CPython Docs
file://datasets/cpython/Doc/library/tkinter.font.rst
unknown
32b7e119-8508-4243-91f8-4b9f0c5112a8
35,133
supabase-export-v2
744971f3d4ac81b6
additional keyword options (ignored if *font* is specified): | *family* - font family i.e. Courier, Times | *size* - font size | If *size* is positive it is interpreted as size in points. | If *size* is a negative number its absolute value is treated | as size in pixels. | *weight* - font emphasis (NORMAL, BOLD) | ...
trusted_official_docs
CPython Docs
additional keyword options (ignored if *font* is specified): | *family* - font family i.e. Courier, Times | *size* - font size | If *size* is positive it is interpreted as size in points. | If *size* is a negative number its absolute value is treated | as size in pixels. | *weight* - font emphasis (NORMAL, BOLD) | ...
additional keyword options (ignored if *font* is specified): | *family* - font family i.e. Courier, Times | *size* - font size | If *size* is positive it is interpreted as size in points. | If *size* is a negative number its absolute value is treated | as size in pixels. | *weight* - font emphasis (NORMAL, BOLD) | ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3e8b57c1-ba53-4c69-abae-5453a3b5b7d2
CPython Docs
file://datasets/cpython/Doc/library/tkinter.font.rst
unknown
32b7e119-8508-4243-91f8-4b9f0c5112a8
35,147
supabase-export-v2
67b98a7dfe18e1b5
*descent* - distance between baseline and lowest point that a character of the font can occupy *linespace* - minimum vertical separation necessary between any two characters of the font that ensures no vertical overlap between lines.
trusted_official_docs
CPython Docs
*descent* - distance between baseline and lowest point that a character of the font can occupy *linespace* - minimum vertical separation necessary between any two characters of the font that ensures no vertical overlap between lines.
*descent* - distance between baseline and lowest point that a character of the font can occupy *linespace* - minimum vertical separation necessary between any two characters of the font that ensures no vertical overlap between lines.
python, official-docs, cpython, P0
Local_Trusted_Corpus
51f2900d-0eb7-46c3-a5f2-ce23652eda4e
CPython Docs
file://datasets/cpython/Doc/library/tkinter.font.rst
unknown
32b7e119-8508-4243-91f8-4b9f0c5112a8
35,146
supabase-export-v2
0acda99d8531c9e3
*ascent* - distance between baseline and highest point that a character of the font can occupy *descent* - distance between baseline and lowest point that a character of the font can occupy
trusted_official_docs
CPython Docs
*ascent* - distance between baseline and highest point that a character of the font can occupy *descent* - distance between baseline and lowest point that a character of the font can occupy
*ascent* - distance between baseline and highest point that a character of the font can occupy *descent* - distance between baseline and lowest point that a character of the font can occupy
python, official-docs, cpython, P0
Local_Trusted_Corpus
5287f310-928c-468a-ad05-402d6c6b8a83
CPython Docs
file://datasets/cpython/Doc/library/tkinter.font.rst
unknown
32b7e119-8508-4243-91f8-4b9f0c5112a8
35,132
supabase-export-v2
3f45bad9a713ed53
*font* - font specifier tuple (family, size, options) | *name* - unique font name | *exists* - self points to existing named font if true additional keyword options (ignored if *font* is specified):
trusted_official_docs
CPython Docs
*font* - font specifier tuple (family, size, options) | *name* - unique font name | *exists* - self points to existing named font if true additional keyword options (ignored if *font* is specified):
*font* - font specifier tuple (family, size, options) | *name* - unique font name | *exists* - self points to existing named font if true additional keyword options (ignored if *font* is specified):
python, official-docs, cpython, P0
Local_Trusted_Corpus
85058205-b310-47f8-8de4-d39c0498764f
CPython Docs
file://datasets/cpython/Doc/library/tkinter.font.rst
unknown
32b7e119-8508-4243-91f8-4b9f0c5112a8
35,129
supabase-export-v2
9fda50a4b0e2197b
.. class:: Font(root=None, font=None, name=None, exists=False, **options) The :class:`Font` class represents a named font. *Font* instances are given unique names and can be specified by their family, size, and style configuration. Named fonts are Tk's method of creating and identifying fonts as a single object, rat...
trusted_official_docs
CPython Docs
.. class:: Font(root=None, font=None, name=None, exists=False, **options) The :class:`Font` class represents a named font. *Font* instances are given unique names and can be specified by their family, size, and style configuration. Named fonts are Tk's method of creating and identifying fonts as a single object, rat...
.. class:: Font(root=None, font=None, name=None, exists=False, **options) The :class:`Font` class represents a named font. *Font* instances are given unique names and can be specified by their family, size, and style configuration. Named fonts are Tk's method of creating and identifying fonts as a single object, rat...
python, official-docs, cpython, P0
Local_Trusted_Corpus
07bdcbef-ca81-4595-a1a5-c4611eebe430
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,250
supabase-export-v2
f858442e9e722a2d
control managers (SCM) in the iterable. Support is defined by having a method named ``create_{scm}_ignore_file``. The only value supported by default is ``"git"`` via :meth:`create_git_ignore_file`. .. versionchanged:: 3.4 Added the ``with_pip`` parameter
trusted_official_docs
CPython Docs
control managers (SCM) in the iterable. Support is defined by having a method named ``create_{scm}_ignore_file``. The only value supported by default is ``"git"`` via :meth:`create_git_ignore_file`. .. versionchanged:: 3.4 Added the ``with_pip`` parameter
control managers (SCM) in the iterable. Support is defined by having a method named ``create_{scm}_ignore_file``. The only value supported by default is ``"git"`` via :meth:`create_git_ignore_file`. .. versionchanged:: 3.4 Added the ``with_pip`` parameter
python, official-docs, cpython, P0
Local_Trusted_Corpus
0c26cafb-e7c6-422e-b078-d1d66eb3366a
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,291
supabase-export-v2
3c25c47862392ae8
This method can be called from :meth:`setup_scripts` or :meth:`post_setup` in subclasses to assist in installing custom scripts into the virtual environment. *path* is the path to a directory that should contain subdirectories ``common``, ``posix``, ``nt``; each containing scripts destined for the ``bin`` directory i...
trusted_official_docs
CPython Docs
This method can be called from :meth:`setup_scripts` or :meth:`post_setup` in subclasses to assist in installing custom scripts into the virtual environment. *path* is the path to a directory that should contain subdirectories ``common``, ``posix``, ``nt``; each containing scripts destined for the ``bin`` directory i...
This method can be called from :meth:`setup_scripts` or :meth:`post_setup` in subclasses to assist in installing custom scripts into the virtual environment. *path* is the path to a directory that should contain subdirectories ``common``, ``posix``, ``nt``; each containing scripts destined for the ``bin`` directory i...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0ea40f6c-9c56-4c0b-9fa1-fa2484a78c13
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,325
supabase-export-v2
c9cd24d6dbeb89c1
setuptools archive which gets downloaded pred = lambda o: o.startswith('setuptools-') and o.endswith('.tar.gz') files = filter(pred, os.listdir(context.bin_path)) for f in files: f = os.path.join(context.bin_path, f) os.unlink(f) def install_pip(self, context): """ Install pip in the virtual environment.
trusted_official_docs
CPython Docs
setuptools archive which gets downloaded pred = lambda o: o.startswith('setuptools-') and o.endswith('.tar.gz') files = filter(pred, os.listdir(context.bin_path)) for f in files: f = os.path.join(context.bin_path, f) os.unlink(f) def install_pip(self, context): """ Install pip in the virtual environment.
setuptools archive which gets downloaded pred = lambda o: o.startswith('setuptools-') and o.endswith('.tar.gz') files = filter(pred, os.listdir(context.bin_path)) for f in files: f = os.path.join(context.bin_path, f) os.unlink(f) def install_pip(self, context): """ Install pip in the virtual environment.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0f5fe40b-c43b-4a10-8b38-dc9b17bb75d2
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,242
supabase-export-v2
88eefe74886eca41
The :class:`EnvBuilder` class accepts the following keyword arguments on instantiation: * *system_site_packages* -- a boolean value indicating that the system Python site-packages should be available to the environment (defaults to ``False``).
trusted_official_docs
CPython Docs
The :class:`EnvBuilder` class accepts the following keyword arguments on instantiation: * *system_site_packages* -- a boolean value indicating that the system Python site-packages should be available to the environment (defaults to ``False``).
The :class:`EnvBuilder` class accepts the following keyword arguments on instantiation: * *system_site_packages* -- a boolean value indicating that the system Python site-packages should be available to the environment (defaults to ``False``).
python, official-docs, cpython, P0
Local_Trusted_Corpus
0f646476-5fd7-4f2e-9d9c-a7a630611a87
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,303
supabase-export-v2
8569623f35ca08ee
redirector scripts as part of :meth:`setup_python` instead of :meth:`setup_scripts`. This was not the case in 3.7.2. When using symlinks, the original executables will be linked. There is also a module-level convenience function:
trusted_official_docs
CPython Docs
redirector scripts as part of :meth:`setup_python` instead of :meth:`setup_scripts`. This was not the case in 3.7.2. When using symlinks, the original executables will be linked. There is also a module-level convenience function:
redirector scripts as part of :meth:`setup_python` instead of :meth:`setup_scripts`. This was not the case in 3.7.2. When using symlinks, the original executables will be linked. There is also a module-level convenience function:
python, official-docs, cpython, P0
Local_Trusted_Corpus
1027366f-913c-4cbd-899d-cb7699dd9d3c
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,229
supabase-export-v2
750e5af7361e7102
their full path. The invocation of the activation script is platform-specific (:samp:`{<venv>}` must be replaced by the path to the directory containing the virtual environment): +-------------+------------+--------------------------------------------------+ | Platform | Shell | Command to activate virtual environment ...
trusted_official_docs
CPython Docs
their full path. The invocation of the activation script is platform-specific (:samp:`{<venv>}` must be replaced by the path to the directory containing the virtual environment): +-------------+------------+--------------------------------------------------+ | Platform | Shell | Command to activate virtual environment ...
their full path. The invocation of the activation script is platform-specific (:samp:`{<venv>}` must be replaced by the path to the directory containing the virtual environment): +-------------+------------+--------------------------------------------------+ | Platform | Shell | Command to activate virtual environment ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
102e8948-f5cc-4b94-8041-b2000ef24c9d
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,236
supabase-export-v2
4cdd4e992a8223f6
the old location. If you move an environment because you moved a parent directory of it, you should recreate the environment in its new location. Otherwise, software installed into the environment may not work as expected.
trusted_official_docs
CPython Docs
the old location. If you move an environment because you moved a parent directory of it, you should recreate the environment in its new location. Otherwise, software installed into the environment may not work as expected.
the old location. If you move an environment because you moved a parent directory of it, you should recreate the environment in its new location. Otherwise, software installed into the environment may not work as expected.
python, official-docs, cpython, P0
Local_Trusted_Corpus
14c415a1-de51-4218-aff2-122c8f027f4f
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,315
supabase-export-v2
d8e30414dfff3f17
class ExtendedEnvBuilder(venv.EnvBuilder): """ This builder installs setuptools and pip so that you can pip or easy_install other packages into the created virtual environment. :param nodist: If true, setuptools and pip are not installed into the created virtual environment. :param nopip: If true, pip is not installed...
trusted_official_docs
CPython Docs
class ExtendedEnvBuilder(venv.EnvBuilder): """ This builder installs setuptools and pip so that you can pip or easy_install other packages into the created virtual environment. :param nodist: If true, setuptools and pip are not installed into the created virtual environment. :param nopip: If true, pip is not installed...
class ExtendedEnvBuilder(venv.EnvBuilder): """ This builder installs setuptools and pip so that you can pip or easy_install other packages into the created virtual environment. :param nodist: If true, setuptools and pip are not installed into the created virtual environment. :param nopip: If true, pip is not installed...
python, official-docs, cpython, P0
Local_Trusted_Corpus
17757306-3197-492b-b831-939ac650fe2d
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,318
supabase-export-v2
6dd416b4d6a860d2
If a callable is not specified, default progress information is output to sys.stderr. """ def __init__(self, *args, **kwargs): self.nodist = kwargs.pop('nodist', False) self.nopip = kwargs.pop('nopip', False) self.progress = kwargs.pop('progress', None) self.verbose = kwargs.pop('verbose', False) super().__init__(...
trusted_official_docs
CPython Docs
If a callable is not specified, default progress information is output to sys.stderr. """ def __init__(self, *args, **kwargs): self.nodist = kwargs.pop('nodist', False) self.nopip = kwargs.pop('nopip', False) self.progress = kwargs.pop('progress', None) self.verbose = kwargs.pop('verbose', False) super().__init__(...
If a callable is not specified, default progress information is output to sys.stderr. """ def __init__(self, *args, **kwargs): self.nodist = kwargs.pop('nodist', False) self.nopip = kwargs.pop('nopip', False) self.progress = kwargs.pop('progress', None) self.verbose = kwargs.pop('verbose', False) super().__init__(...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1acf2f40-d036-4ab4-b0bf-7ef78e350819
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,317
supabase-export-v2
469b25c0826df1c4
itself, and 'stdout' and 'stderr', which are obtained by reading lines from the output streams of a subprocess which is used to install the app. If a callable is not specified, default progress information is output to sys.stderr. """
trusted_official_docs
CPython Docs
itself, and 'stdout' and 'stderr', which are obtained by reading lines from the output streams of a subprocess which is used to install the app. If a callable is not specified, default progress information is output to sys.stderr. """
itself, and 'stdout' and 'stderr', which are obtained by reading lines from the output streams of a subprocess which is used to install the app. If a callable is not specified, default progress information is output to sys.stderr. """
python, official-docs, cpython, P0
Local_Trusted_Corpus
1eb92d01-d4bc-4d8a-8409-830701ed2a60
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,264
supabase-export-v2
47d49c4a6331c984
* ``env_dir`` - The location of the virtual environment. Used for ``__VENV_DIR__`` in activation scripts (see :meth:`install_scripts`). * ``env_name`` - The name of the virtual environment. Used for ``__VENV_NAME__`` in activation scripts (see :meth:`install_scripts`).
trusted_official_docs
CPython Docs
* ``env_dir`` - The location of the virtual environment. Used for ``__VENV_DIR__`` in activation scripts (see :meth:`install_scripts`). * ``env_name`` - The name of the virtual environment. Used for ``__VENV_NAME__`` in activation scripts (see :meth:`install_scripts`).
* ``env_dir`` - The location of the virtual environment. Used for ``__VENV_DIR__`` in activation scripts (see :meth:`install_scripts`). * ``env_name`` - The name of the virtual environment. Used for ``__VENV_NAME__`` in activation scripts (see :meth:`install_scripts`).
python, official-docs, cpython, P0
Local_Trusted_Corpus
20e43fde-b6ed-44c3-8cf1-43762c8e3eeb
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,316
supabase-export-v2
4f39e51bdd150582
progress callable. If specified, it is called with two arguments: a string indicating some progress, and a context indicating where the string is coming from. The context argument can have one of three values: 'main', indicating that it is called from virtualize() itself, and 'stdout' and 'stderr', which are obtained...
trusted_official_docs
CPython Docs
progress callable. If specified, it is called with two arguments: a string indicating some progress, and a context indicating where the string is coming from. The context argument can have one of three values: 'main', indicating that it is called from virtualize() itself, and 'stdout' and 'stderr', which are obtained...
progress callable. If specified, it is called with two arguments: a string indicating some progress, and a context indicating where the string is coming from. The context argument can have one of three values: 'main', indicating that it is called from virtualize() itself, and 'stdout' and 'stderr', which are obtained...
python, official-docs, cpython, P0
Local_Trusted_Corpus
23143ca0-88dc-4d4b-b5aa-42e1492c6622
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,224
supabase-export-v2
848dd44640bd000b
Unless the ``--without-pip`` option is given, :mod:`ensurepip` will be invoked to bootstrap ``pip`` into the virtual environment. Multiple paths can be given to ``venv``, in which case an identical virtual environment will be created, according to the given options, at each provided path.
trusted_official_docs
CPython Docs
Unless the ``--without-pip`` option is given, :mod:`ensurepip` will be invoked to bootstrap ``pip`` into the virtual environment. Multiple paths can be given to ``venv``, in which case an identical virtual environment will be created, according to the given options, at each provided path.
Unless the ``--without-pip`` option is given, :mod:`ensurepip` will be invoked to bootstrap ``pip`` into the virtual environment. Multiple paths can be given to ``venv``, in which case an identical virtual environment will be created, according to the given options, at each provided path.
python, official-docs, cpython, P0
Local_Trusted_Corpus
236e05a9-57a2-4d05-a852-cea6e74555cd
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,163
supabase-export-v2
a16297fe16255091
base environment, so that only those explicitly installed in the virtual environment are available. See :ref:`sys-path-init-virtual-environments` and :mod:`site`'s :ref:`virtual environments documentation <site-virtual-environments-configuration>` for more information. When used from within a virtual environment, commo...
trusted_official_docs
CPython Docs
base environment, so that only those explicitly installed in the virtual environment are available. See :ref:`sys-path-init-virtual-environments` and :mod:`site`'s :ref:`virtual environments documentation <site-virtual-environments-configuration>` for more information. When used from within a virtual environment, commo...
base environment, so that only those explicitly installed in the virtual environment are available. See :ref:`sys-path-init-virtual-environments` and :mod:`site`'s :ref:`virtual environments documentation <site-virtual-environments-configuration>` for more information. When used from within a virtual environment, commo...
python, official-docs, cpython, P0
Local_Trusted_Corpus
24efef59-e41b-4546-af73-6dbf6b90e6ac
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,292
supabase-export-v2
b01b6b310c03415e
for the ``bin`` directory in the environment. The contents of ``common`` and the directory corresponding to :data:`os.name` are copied after some text replacement of placeholders: * ``__VENV_DIR__`` is replaced with the absolute path of the environment directory.
trusted_official_docs
CPython Docs
for the ``bin`` directory in the environment. The contents of ``common`` and the directory corresponding to :data:`os.name` are copied after some text replacement of placeholders: * ``__VENV_DIR__`` is replaced with the absolute path of the environment directory.
for the ``bin`` directory in the environment. The contents of ``common`` and the directory corresponding to :data:`os.name` are copied after some text replacement of placeholders: * ``__VENV_DIR__`` is replaced with the absolute path of the environment directory.
python, official-docs, cpython, P0
Local_Trusted_Corpus
27cd4d54-961a-43d7-af17-1a38645899f4
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,212
supabase-export-v2
2cb6d5427874d305
.. versionchanged:: 3.4 In earlier versions, if the target directory already existed, an error was raised, unless the ``--clear`` or ``--upgrade`` option was provided. .. versionchanged:: 3.9 Add ``--upgrade-deps`` option to upgrade pip + setuptools to the latest on PyPI.
trusted_official_docs
CPython Docs
.. versionchanged:: 3.4 In earlier versions, if the target directory already existed, an error was raised, unless the ``--clear`` or ``--upgrade`` option was provided. .. versionchanged:: 3.9 Add ``--upgrade-deps`` option to upgrade pip + setuptools to the latest on PyPI.
.. versionchanged:: 3.4 In earlier versions, if the target directory already existed, an error was raised, unless the ``--clear`` or ``--upgrade`` option was provided. .. versionchanged:: 3.9 Add ``--upgrade-deps`` option to upgrade pip + setuptools to the latest on PyPI.
python, official-docs, cpython, P0
Local_Trusted_Corpus
2b461b72-ec4b-4b00-9ffe-27d7848600be
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,261
supabase-export-v2
dbccf00032f83970
.. method:: ensure_directories(env_dir) Creates the environment directory and all necessary subdirectories that don't already exist, and returns a context object. This context object is just a holder for attributes (such as paths) for use by the other methods. If the :class:`EnvBuilder` is created with the arg ``cl...
trusted_official_docs
CPython Docs
.. method:: ensure_directories(env_dir) Creates the environment directory and all necessary subdirectories that don't already exist, and returns a context object. This context object is just a holder for attributes (such as paths) for use by the other methods. If the :class:`EnvBuilder` is created with the arg ``cl...
.. method:: ensure_directories(env_dir) Creates the environment directory and all necessary subdirectories that don't already exist, and returns a context object. This context object is just a holder for attributes (such as paths) for use by the other methods. If the :class:`EnvBuilder` is created with the arg ``cl...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2c5dfdf7-790a-49b0-9fd9-c6e964fb5d94
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,167
supabase-export-v2
c3a430f99665b710
in a directory, conventionally named ``.venv`` or ``venv`` in the project directory, or under a container directory for lots of virtual environments, such as ``~/.virtualenvs``. * Not checked into source control systems such as Git.
trusted_official_docs
CPython Docs
in a directory, conventionally named ``.venv`` or ``venv`` in the project directory, or under a container directory for lots of virtual environments, such as ``~/.virtualenvs``. * Not checked into source control systems such as Git.
in a directory, conventionally named ``.venv`` or ``venv`` in the project directory, or under a container directory for lots of virtual environments, such as ``~/.virtualenvs``. * Not checked into source control systems such as Git.
python, official-docs, cpython, P0
Local_Trusted_Corpus
2f5c0f5d-b286-4c2e-8ea3-047b1afc799a
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,239
supabase-export-v2
440eebcf76ac7f53
.. highlight:: python The high-level method described above makes use of a simple API which provides mechanisms for third-party virtual environment creators to customize environment creation according to their needs, the :class:`EnvBuilder` class.
trusted_official_docs
CPython Docs
.. highlight:: python The high-level method described above makes use of a simple API which provides mechanisms for third-party virtual environment creators to customize environment creation according to their needs, the :class:`EnvBuilder` class.
.. highlight:: python The high-level method described above makes use of a simple API which provides mechanisms for third-party virtual environment creators to customize environment creation according to their needs, the :class:`EnvBuilder` class.
python, official-docs, cpython, P0
Local_Trusted_Corpus
3058cbf8-f005-4200-b482-77b5b87db035
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,319
supabase-export-v2
3f8e569dc834fde8
def __init__(self, *args, **kwargs): self.nodist = kwargs.pop('nodist', False) self.nopip = kwargs.pop('nopip', False) self.progress = kwargs.pop('progress', None) self.verbose = kwargs.pop('verbose', False) super().__init__(*args, **kwargs) def post_setup(self, context): """ Set up any packages which need to be pre-...
trusted_official_docs
CPython Docs
def __init__(self, *args, **kwargs): self.nodist = kwargs.pop('nodist', False) self.nopip = kwargs.pop('nopip', False) self.progress = kwargs.pop('progress', None) self.verbose = kwargs.pop('verbose', False) super().__init__(*args, **kwargs) def post_setup(self, context): """ Set up any packages which need to be pre-...
def __init__(self, *args, **kwargs): self.nodist = kwargs.pop('nodist', False) self.nopip = kwargs.pop('nopip', False) self.progress = kwargs.pop('progress', None) self.verbose = kwargs.pop('verbose', False) super().__init__(*args, **kwargs) def post_setup(self, context): """ Set up any packages which need to be pre-...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3bca4f95-825a-44e3-a73c-1b8d57cd7f19
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,188
supabase-export-v2
fe2a20204c9bc6e7
Creates virtual Python environments in one or more target directories. Once an environment has been created, you may wish to activate it, e.g. by sourcing an activate script in its bin directory.
trusted_official_docs
CPython Docs
Creates virtual Python environments in one or more target directories. Once an environment has been created, you may wish to activate it, e.g. by sourcing an activate script in its bin directory.
Creates virtual Python environments in one or more target directories. Once an environment has been created, you may wish to activate it, e.g. by sourcing an activate script in its bin directory.
python, official-docs, cpython, P0
Local_Trusted_Corpus
426671a3-843c-4e99-84a8-6fbf08139822
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,272
supabase-export-v2
31e93da5c4d8308b
* ``bin_name`` - The name of the script path relative to the virtual environment location. Used for ``__VENV_BIN_NAME__`` in activation scripts (see :meth:`install_scripts`). * ``env_exe`` - The name of the Python interpreter in the virtual environment. Used for ``__VENV_PYTHON__`` in activation scripts (see :meth:`i...
trusted_official_docs
CPython Docs
* ``bin_name`` - The name of the script path relative to the virtual environment location. Used for ``__VENV_BIN_NAME__`` in activation scripts (see :meth:`install_scripts`). * ``env_exe`` - The name of the Python interpreter in the virtual environment. Used for ``__VENV_PYTHON__`` in activation scripts (see :meth:`i...
* ``bin_name`` - The name of the script path relative to the virtual environment location. Used for ``__VENV_BIN_NAME__`` in activation scripts (see :meth:`install_scripts`). * ``env_exe`` - The name of the Python interpreter in the virtual environment. Used for ``__VENV_PYTHON__`` in activation scripts (see :meth:`i...
python, official-docs, cpython, P0
Local_Trusted_Corpus
48e8cee1-bb8b-4850-8b32-e0ab52a56372
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,302
supabase-export-v2
ae22515ec2a64d99
redirector scripts for ``python[w].exe`` instead of copying the actual binaries. In 3.7.2 only :meth:`setup_python` does nothing unless running from a build in the source tree. .. versionchanged:: 3.7.3 Windows copies the redirector scripts as part of :meth:`setup_python` instead of :meth:`setup_scripts`. This was no...
trusted_official_docs
CPython Docs
redirector scripts for ``python[w].exe`` instead of copying the actual binaries. In 3.7.2 only :meth:`setup_python` does nothing unless running from a build in the source tree. .. versionchanged:: 3.7.3 Windows copies the redirector scripts as part of :meth:`setup_python` instead of :meth:`setup_scripts`. This was no...
redirector scripts for ``python[w].exe`` instead of copying the actual binaries. In 3.7.2 only :meth:`setup_python` does nothing unless running from a build in the source tree. .. versionchanged:: 3.7.3 Windows copies the redirector scripts as part of :meth:`setup_python` instead of :meth:`setup_scripts`. This was no...
python, official-docs, cpython, P0
Local_Trusted_Corpus
48f5243b-8fbc-4e84-b7b1-8ea62825d6bd
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,247
supabase-export-v2
5485961433687b93
* *with_pip* -- a boolean value which, if true, ensures pip is installed in the virtual environment. This uses :mod:`ensurepip` with the ``--default-pip`` option. * *prompt* -- a string to be used after virtual environment is activated (defaults to ``None`` which means directory name of the environment would be used)...
trusted_official_docs
CPython Docs
* *with_pip* -- a boolean value which, if true, ensures pip is installed in the virtual environment. This uses :mod:`ensurepip` with the ``--default-pip`` option. * *prompt* -- a string to be used after virtual environment is activated (defaults to ``None`` which means directory name of the environment would be used)...
* *with_pip* -- a boolean value which, if true, ensures pip is installed in the virtual environment. This uses :mod:`ensurepip` with the ``--default-pip`` option. * *prompt* -- a string to be used after virtual environment is activated (defaults to ``None`` which means directory name of the environment would be used)...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4ad3b051-e82a-47c3-b8b2-0270181f2472
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,246
supabase-export-v2
83d9213e359b6a5b
which, if true, will upgrade an existing environment with the running Python - for use when that Python has been upgraded in-place (defaults to ``False``). * *with_pip* -- a boolean value which, if true, ensures pip is installed in the virtual environment. This uses :mod:`ensurepip` with the ``--default-pip`` option.
trusted_official_docs
CPython Docs
which, if true, will upgrade an existing environment with the running Python - for use when that Python has been upgraded in-place (defaults to ``False``). * *with_pip* -- a boolean value which, if true, ensures pip is installed in the virtual environment. This uses :mod:`ensurepip` with the ``--default-pip`` option.
which, if true, will upgrade an existing environment with the running Python - for use when that Python has been upgraded in-place (defaults to ``False``). * *with_pip* -- a boolean value which, if true, ensures pip is installed in the virtual environment. This uses :mod:`ensurepip` with the ``--default-pip`` option.
python, official-docs, cpython, P0
Local_Trusted_Corpus
58101639-fdc7-425e-ac2d-47400e7f44e8
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,230
supabase-export-v2
ec4bdf01a764c044
pwsh | :samp:`$ {<venv>}/bin/Activate.ps1` | +-------------+------------+--------------------------------------------------+ | Windows | cmd.exe | :samp:`C:\\> {<venv>}\\Scripts\\activate.bat` | | +------------+--------------------------------------------------+ | | PowerShell | :samp:`PS C:\\> {<venv>}\\Scripts\\Activ...
trusted_official_docs
CPython Docs
pwsh | :samp:`$ {<venv>}/bin/Activate.ps1` | +-------------+------------+--------------------------------------------------+ | Windows | cmd.exe | :samp:`C:\\> {<venv>}\\Scripts\\activate.bat` | | +------------+--------------------------------------------------+ | | PowerShell | :samp:`PS C:\\> {<venv>}\\Scripts\\Activ...
pwsh | :samp:`$ {<venv>}/bin/Activate.ps1` | +-------------+------------+--------------------------------------------------+ | Windows | cmd.exe | :samp:`C:\\> {<venv>}\\Scripts\\activate.bat` | | +------------+--------------------------------------------------+ | | PowerShell | :samp:`PS C:\\> {<venv>}\\Scripts\\Activ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5a50fb69-264a-4ed6-9080-c64eb35996e9
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,240
supabase-export-v2
738678c35a9c33f3
makes use of a simple API which provides mechanisms for third-party virtual environment creators to customize environment creation according to their needs, the :class:`EnvBuilder` class. .. class:: EnvBuilder(system_site_packages=False, clear=False, \ symlinks=False, upgrade=False, with_pip=False, \ prompt=None, upg...
trusted_official_docs
CPython Docs
makes use of a simple API which provides mechanisms for third-party virtual environment creators to customize environment creation according to their needs, the :class:`EnvBuilder` class. .. class:: EnvBuilder(system_site_packages=False, clear=False, \ symlinks=False, upgrade=False, with_pip=False, \ prompt=None, upg...
makes use of a simple API which provides mechanisms for third-party virtual environment creators to customize environment creation according to their needs, the :class:`EnvBuilder` class. .. class:: EnvBuilder(system_site_packages=False, clear=False, \ symlinks=False, upgrade=False, with_pip=False, \ prompt=None, upg...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5c4abf46-5737-487f-8211-57ba6e524573
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,164
supabase-export-v2
bb7564abcc15b783
virtual environment, common installation tools such as :pypi:`pip` will install Python packages into a virtual environment without needing to be told to do so explicitly. A virtual environment is (amongst other things):
trusted_official_docs
CPython Docs
virtual environment, common installation tools such as :pypi:`pip` will install Python packages into a virtual environment without needing to be told to do so explicitly. A virtual environment is (amongst other things):
virtual environment, common installation tools such as :pypi:`pip` will install Python packages into a virtual environment without needing to be told to do so explicitly. A virtual environment is (amongst other things):
python, official-docs, cpython, P0
Local_Trusted_Corpus
5f384235-d846-44f3-8399-57907c2f747c
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,275
supabase-export-v2
90d3a37ddbfbea19
.. versionchanged:: 3.11 The *venv* :ref:`sysconfig installation scheme <installation_paths>` is used to construct the paths of the created directories. .. versionchanged:: 3.12 The attribute ``lib_path`` was added to the context, and the context object was documented.
trusted_official_docs
CPython Docs
.. versionchanged:: 3.11 The *venv* :ref:`sysconfig installation scheme <installation_paths>` is used to construct the paths of the created directories. .. versionchanged:: 3.12 The attribute ``lib_path`` was added to the context, and the context object was documented.
.. versionchanged:: 3.11 The *venv* :ref:`sysconfig installation scheme <installation_paths>` is used to construct the paths of the created directories. .. versionchanged:: 3.12 The attribute ``lib_path`` was added to the context, and the context object was documented.
python, official-docs, cpython, P0
Local_Trusted_Corpus
5f38a1fb-93ee-40d4-a535-3f0c6ecee085
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,178
supabase-export-v2
d6473a7101e83c38
python -m venv /path/to/new/virtual/environment This creates the target directory (including parent directories as needed) and places a :file:`pyvenv.cfg` file in it with a ``home`` key pointing to the Python installation from which the command was run. It also creates a :file:`bin` (or :file:`Scripts` on Windows) subd...
trusted_official_docs
CPython Docs
python -m venv /path/to/new/virtual/environment This creates the target directory (including parent directories as needed) and places a :file:`pyvenv.cfg` file in it with a ``home`` key pointing to the Python installation from which the command was run. It also creates a :file:`bin` (or :file:`Scripts` on Windows) subd...
python -m venv /path/to/new/virtual/environment This creates the target directory (including parent directories as needed) and places a :file:`pyvenv.cfg` file in it with a ``home`` key pointing to the Python installation from which the command was run. It also creates a :file:`bin` (or :file:`Scripts` on Windows) subd...
python, official-docs, cpython, P0
Local_Trusted_Corpus
620d24ea-68e7-4bca-95f1-02dcd105f011
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,237
supabase-export-v2
ca464da20d156ea9
Otherwise, software installed into the environment may not work as expected. You can deactivate a virtual environment by typing ``deactivate`` in your shell. The exact mechanism is platform-specific and is an internal implementation detail (typically, a script or shell function will be used).
trusted_official_docs
CPython Docs
Otherwise, software installed into the environment may not work as expected. You can deactivate a virtual environment by typing ``deactivate`` in your shell. The exact mechanism is platform-specific and is an internal implementation detail (typically, a script or shell function will be used).
Otherwise, software installed into the environment may not work as expected. You can deactivate a virtual environment by typing ``deactivate`` in your shell. The exact mechanism is platform-specific and is an internal implementation detail (typically, a script or shell function will be used).
python, official-docs, cpython, P0
Local_Trusted_Corpus
633b8d52-8dc8-4fd3-8cf8-26b7aa0c259e
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,274
supabase-export-v2
943059d3ac795982
* ``env_exec_cmd`` - The name of the Python interpreter, taking into account filesystem redirections. This can be used to run Python in the virtual environment. .. versionchanged:: 3.11 The *venv* :ref:`sysconfig installation scheme <installation_paths>` is used to construct the paths of the created directories.
trusted_official_docs
CPython Docs
* ``env_exec_cmd`` - The name of the Python interpreter, taking into account filesystem redirections. This can be used to run Python in the virtual environment. .. versionchanged:: 3.11 The *venv* :ref:`sysconfig installation scheme <installation_paths>` is used to construct the paths of the created directories.
* ``env_exec_cmd`` - The name of the Python interpreter, taking into account filesystem redirections. This can be used to run Python in the virtual environment. .. versionchanged:: 3.11 The *venv* :ref:`sysconfig installation scheme <installation_paths>` is used to construct the paths of the created directories.
python, official-docs, cpython, P0
Local_Trusted_Corpus
675b443a-2d19-4ba4-9b46-f003259dc4f7
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,313
supabase-export-v2
a1319f01c5f01c97
The following script shows how to extend :class:`EnvBuilder` by implementing a subclass which installs setuptools and pip into a created virtual environment:: import os import os.path from subprocess import Popen, PIPE import sys from threading import Thread from urllib.parse import urlsplit from urllib.request i...
trusted_official_docs
CPython Docs
The following script shows how to extend :class:`EnvBuilder` by implementing a subclass which installs setuptools and pip into a created virtual environment:: import os import os.path from subprocess import Popen, PIPE import sys from threading import Thread from urllib.parse import urlsplit from urllib.request i...
The following script shows how to extend :class:`EnvBuilder` by implementing a subclass which installs setuptools and pip into a created virtual environment:: import os import os.path from subprocess import Popen, PIPE import sys from threading import Thread from urllib.parse import urlsplit from urllib.request i...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6abef6cf-d81c-4da5-9aa7-7604609581dc
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,280
supabase-export-v2
2f0663a2e117869d
.. method:: setup_python(context) Creates a copy or symlink to the Python executable in the environment. On POSIX systems, if a specific executable ``python3.x`` was used, symlinks to ``python`` and ``python3`` will be created pointing to that executable, unless files with those names already exist.
trusted_official_docs
CPython Docs
.. method:: setup_python(context) Creates a copy or symlink to the Python executable in the environment. On POSIX systems, if a specific executable ``python3.x`` was used, symlinks to ``python`` and ``python3`` will be created pointing to that executable, unless files with those names already exist.
.. method:: setup_python(context) Creates a copy or symlink to the Python executable in the environment. On POSIX systems, if a specific executable ``python3.x`` was used, symlinks to ``python`` and ``python3`` will be created pointing to that executable, unless files with those names already exist.
python, official-docs, cpython, P0
Local_Trusted_Corpus
6fcaf08e-f6af-4c11-83f7-80680e6f3ffe
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,305
supabase-export-v2
fa20476368b86c01
.. function:: create(env_dir, system_site_packages=False, clear=False, \ symlinks=False, with_pip=False, prompt=None, \ upgrade_deps=False, *, scm_ignore_files=frozenset()) Create an :class:`EnvBuilder` with the given keyword arguments, and call its :meth:`~EnvBuilder.create` method with the *env_dir* argument.
trusted_official_docs
CPython Docs
.. function:: create(env_dir, system_site_packages=False, clear=False, \ symlinks=False, with_pip=False, prompt=None, \ upgrade_deps=False, *, scm_ignore_files=frozenset()) Create an :class:`EnvBuilder` with the given keyword arguments, and call its :meth:`~EnvBuilder.create` method with the *env_dir* argument.
.. function:: create(env_dir, system_site_packages=False, clear=False, \ symlinks=False, with_pip=False, prompt=None, \ upgrade_deps=False, *, scm_ignore_files=frozenset()) Create an :class:`EnvBuilder` with the given keyword arguments, and call its :meth:`~EnvBuilder.create` method with the *env_dir* argument.
python, official-docs, cpython, P0
Local_Trusted_Corpus
6ff9845a-382b-480b-b74f-bc59d020ec91
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,330
supabase-export-v2
ba6859e6c720657a
if __name__ == '__main__': rc = 1 try: main() rc = 0 except Exception as e: print('Error: %s' % e, file=sys.stderr) sys.exit(rc) This script is also available for download `online <https://gist.github.com/vsajip/4673395>`_.
trusted_official_docs
CPython Docs
if __name__ == '__main__': rc = 1 try: main() rc = 0 except Exception as e: print('Error: %s' % e, file=sys.stderr) sys.exit(rc) This script is also available for download `online <https://gist.github.com/vsajip/4673395>`_.
if __name__ == '__main__': rc = 1 try: main() rc = 0 except Exception as e: print('Error: %s' % e, file=sys.stderr) sys.exit(rc) This script is also available for download `online <https://gist.github.com/vsajip/4673395>`_.
python, official-docs, cpython, P0
Local_Trusted_Corpus
7074af05-2e26-4e03-9ac8-be3c78ddf9a8
CPython Docs
file://datasets/cpython/Doc/library/venv.rst
unknown
eb9bf09a-8e87-4a67-96a5-b5f9ac1d2c60
35,323
supabase-export-v2
30cfbdaa5455ecf0
= Thread(target=self.reader, args=(p.stderr, 'stderr')) t2.start() p.wait() t1.join() t2.join() if progress is not None: progress('done.', 'main') else: sys.stderr.write('done.\n') # Clean up - no longer needed os.unlink(distpath) def install_setuptools(self, context): """ Install setuptools in the virtual environmen...
trusted_official_docs
CPython Docs
= Thread(target=self.reader, args=(p.stderr, 'stderr')) t2.start() p.wait() t1.join() t2.join() if progress is not None: progress('done.', 'main') else: sys.stderr.write('done.\n') # Clean up - no longer needed os.unlink(distpath) def install_setuptools(self, context): """ Install setuptools in the virtual environmen...
= Thread(target=self.reader, args=(p.stderr, 'stderr')) t2.start() p.wait() t1.join() t2.join() if progress is not None: progress('done.', 'main') else: sys.stderr.write('done.\n') # Clean up - no longer needed os.unlink(distpath) def install_setuptools(self, context): """ Install setuptools in the virtual environmen...
python, official-docs, cpython, P0
Local_Trusted_Corpus