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
f9479058-817c-494c-ad9e-aff127e92511
CPython Docs
file://datasets/cpython/Doc/library/concurrent.futures.rst
unknown
63cd1e54-22a0-432e-b1e0-98f5c05b8259
17,724
supabase-export-v2
bfef751873749a23
Other caveats from parent :class:`ThreadPoolExecutor` apply here. :meth:`~Executor.submit` and :meth:`~Executor.map` work like normal, except the worker serializes the callable and arguments using :mod:`pickle` when sending them to its interpreter. The worker likewise serializes the return value when sending it back.
trusted_official_docs
CPython Docs
Other caveats from parent :class:`ThreadPoolExecutor` apply here. :meth:`~Executor.submit` and :meth:`~Executor.map` work like normal, except the worker serializes the callable and arguments using :mod:`pickle` when sending them to its interpreter. The worker likewise serializes the return value when sending it back.
Other caveats from parent :class:`ThreadPoolExecutor` apply here. :meth:`~Executor.submit` and :meth:`~Executor.map` work like normal, except the worker serializes the callable and arguments using :mod:`pickle` when sending them to its interpreter. The worker likewise serializes the return value when sending it back.
python, official-docs, cpython, P0
Local_Trusted_Corpus
fc33fa74-1c1b-40ff-bdb7-ebcdb5b864a8
CPython Docs
file://datasets/cpython/Doc/library/concurrent.futures.rst
unknown
63cd1e54-22a0-432e-b1e0-98f5c05b8259
17,684
supabase-export-v2
838e06ac0f25da6b
executor as a :term:`context manager` via the :keyword:`with` statement, which will shutdown the :class:`Executor` (waiting as if :meth:`Executor.shutdown` were called with *wait* set to ``True``):: import shutil with ThreadPoolExecutor(max_workers=4) as e: e.submit(shutil.copy, 'src1.txt', 'dest1.txt') e.submit(shu...
trusted_official_docs
CPython Docs
executor as a :term:`context manager` via the :keyword:`with` statement, which will shutdown the :class:`Executor` (waiting as if :meth:`Executor.shutdown` were called with *wait* set to ``True``):: import shutil with ThreadPoolExecutor(max_workers=4) as e: e.submit(shutil.copy, 'src1.txt', 'dest1.txt') e.submit(shu...
executor as a :term:`context manager` via the :keyword:`with` statement, which will shutdown the :class:`Executor` (waiting as if :meth:`Executor.shutdown` were called with *wait* set to ``True``):: import shutil with ThreadPoolExecutor(max_workers=4) as e: e.submit(shutil.copy, 'src1.txt', 'dest1.txt') e.submit(shu...
python, official-docs, cpython, P0
Local_Trusted_Corpus
fe7c2e33-535b-4ea3-a841-d0b9e5535d28
CPython Docs
file://datasets/cpython/Doc/library/concurrent.futures.rst
unknown
63cd1e54-22a0-432e-b1e0-98f5c05b8259
17,710
supabase-export-v2
39ae1fb75ac5b4b7
# Retrieve a single page and report the URL and contents def load_url(url, timeout): with urllib.request.urlopen(url, timeout=timeout) as conn: return conn.read() # We can use a with statement to ensure threads are cleaned up promptly with concurrent.futures.ThreadPoolExecutor(max_workers=5) as executor: # Start the ...
trusted_official_docs
CPython Docs
# Retrieve a single page and report the URL and contents def load_url(url, timeout): with urllib.request.urlopen(url, timeout=timeout) as conn: return conn.read() # We can use a with statement to ensure threads are cleaned up promptly with concurrent.futures.ThreadPoolExecutor(max_workers=5) as executor: # Start the ...
# Retrieve a single page and report the URL and contents def load_url(url, timeout): with urllib.request.urlopen(url, timeout=timeout) as conn: return conn.read() # We can use a with statement to ensure threads are cleaned up promptly with concurrent.futures.ThreadPoolExecutor(max_workers=5) as executor: # Start the ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
01488875-ed61-41b6-b6c5-0ec463325ec2
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,877
supabase-export-v2
63146ef924de02cc
Arguments have the same meaning as for :func:`~pprint.pp`. Note that they are in a different order, and that *sort_dicts* defaults to ``True``. >>> import pprint >>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni'] >>> stuff.insert(0, stuff[:]) >>> pp = pprint.PrettyPrinter(indent=4) >>> pp.pprint(stuff) [ ...
trusted_official_docs
CPython Docs
Arguments have the same meaning as for :func:`~pprint.pp`. Note that they are in a different order, and that *sort_dicts* defaults to ``True``. >>> import pprint >>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni'] >>> stuff.insert(0, stuff[:]) >>> pp = pprint.PrettyPrinter(indent=4) >>> pp.pprint(stuff) [ ...
Arguments have the same meaning as for :func:`~pprint.pp`. Note that they are in a different order, and that *sort_dicts* defaults to ``True``. >>> import pprint >>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni'] >>> stuff.insert(0, stuff[:]) >>> pp = pprint.PrettyPrinter(indent=4) >>> pp.pprint(stuff) [ ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0a8869bd-4c41-4c9c-8805-b58fe55acc91
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,853
supabase-export-v2
600f1e3214dddee3
formatted on a separate line, otherwise as many items as will fit within the *width* will be formatted on each output line. Incompatible with *expand*. :param bool expand: If ``True``, opening parentheses and brackets will be followed by a newline and the following content will be indented by one level, similar to ...
trusted_official_docs
CPython Docs
formatted on a separate line, otherwise as many items as will fit within the *width* will be formatted on each output line. Incompatible with *expand*. :param bool expand: If ``True``, opening parentheses and brackets will be followed by a newline and the following content will be indented by one level, similar to ...
formatted on a separate line, otherwise as many items as will fit within the *width* will be formatted on each output line. Incompatible with *expand*. :param bool expand: If ``True``, opening parentheses and brackets will be followed by a newline and the following content will be indented by one level, similar to ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
14b13112-1b6d-4e57-9177-99f3cf4bce2d
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,905
supabase-export-v2
69237bbda608b8ba
' 'should be written for\n' 'that purpose.\n' '\n' 'Typical contents for this file would include an overview of ' 'the project, basic\n' 'usage examples, etc. Generally, including the project ' 'changelog in here is not\n' 'a good idea, although a simple "What\'s New" section for the ' 'most recent version\n' 'may ...
trusted_official_docs
CPython Docs
' 'should be written for\n' 'that purpose.\n' '\n' 'Typical contents for this file would include an overview of ' 'the project, basic\n' 'usage examples, etc. Generally, including the project ' 'changelog in here is not\n' 'a good idea, although a simple "What\'s New" section for the ' 'most recent version\n' 'may ...
' 'should be written for\n' 'that purpose.\n' '\n' 'Typical contents for this file would include an overview of ' 'the project, basic\n' 'usage examples, etc. Generally, including the project ' 'changelog in here is not\n' 'a good idea, although a simple "What\'s New" section for the ' 'most recent version\n' 'may ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1c3961c7-65bf-4760-b01f-8f8a328dd499
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,915
supabase-export-v2
5d389a7999292421
project\n' '=======================\n' '\n' 'This is the description file for the project.\n' '\n' 'The file should use UTF-8 encoding and be written using ReStructured ' 'Text. It\n' 'will be used to generate the project webpage on PyPI, and should be ' 'written for\n' 'that purpose.\n' '\n' 'Typical contents for...
trusted_official_docs
CPython Docs
project\n' '=======================\n' '\n' 'This is the description file for the project.\n' '\n' 'The file should use UTF-8 encoding and be written using ReStructured ' 'Text. It\n' 'will be used to generate the project webpage on PyPI, and should be ' 'written for\n' 'that purpose.\n' '\n' 'Typical contents for...
project\n' '=======================\n' '\n' 'This is the description file for the project.\n' '\n' 'The file should use UTF-8 encoding and be written using ReStructured ' 'Text. It\n' 'will be used to generate the project webpage on PyPI, and should be ' 'written for\n' 'that purpose.\n' '\n' 'Typical contents for...
python, official-docs, cpython, P0
Local_Trusted_Corpus
27160958-9041-4930-8d61-3f55b38b4565
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,878
supabase-export-v2
50fd9353a1b9f62e
pp.pprint(stuff) [ [ 'spam', 'eggs', 'lumberjack', 'knights', 'ni', ], 'spam', 'eggs', 'lumberjack', 'knights', 'ni', ] >>> tup = ('spam', ('eggs', ('lumberjack', ('knights', ('ni', ('dead', ... ('parrot', ('fresh fruit',)))))))) >>> pp = pprint.PrettyPrinter(depth=6) >>> pp.pprint(tup) ('spam', ('eggs', ('lumberjac...
trusted_official_docs
CPython Docs
pp.pprint(stuff) [ [ 'spam', 'eggs', 'lumberjack', 'knights', 'ni', ], 'spam', 'eggs', 'lumberjack', 'knights', 'ni', ] >>> tup = ('spam', ('eggs', ('lumberjack', ('knights', ('ni', ('dead', ... ('parrot', ('fresh fruit',)))))))) >>> pp = pprint.PrettyPrinter(depth=6) >>> pp.pprint(tup) ('spam', ('eggs', ('lumberjac...
pp.pprint(stuff) [ [ 'spam', 'eggs', 'lumberjack', 'knights', 'ni', ], 'spam', 'eggs', 'lumberjack', 'knights', 'ni', ] >>> tup = ('spam', ('eggs', ('lumberjack', ('knights', ('ni', ('dead', ... ('parrot', ('fresh fruit',)))))))) >>> pp = pprint.PrettyPrinter(depth=6) >>> pp.pprint(tup) ('spam', ('eggs', ('lumberjac...
python, official-docs, cpython, P0
Local_Trusted_Corpus
31b95ef8-b135-488f-8206-399302b8f41e
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,910
supabase-export-v2
33a898f820505a92
Additionally, maximum character *width* can be suggested. If a long object cannot be split, the specified width will be exceeded:: >>> pprint.pp(project_info, depth=1, width=60) {'author': 'The Python Packaging Authority', 'author_email': 'pypa-dev@googlegroups.com', 'bugtrack_url': None, 'classifiers': [...], 'de...
trusted_official_docs
CPython Docs
Additionally, maximum character *width* can be suggested. If a long object cannot be split, the specified width will be exceeded:: >>> pprint.pp(project_info, depth=1, width=60) {'author': 'The Python Packaging Authority', 'author_email': 'pypa-dev@googlegroups.com', 'bugtrack_url': None, 'classifiers': [...], 'de...
Additionally, maximum character *width* can be suggested. If a long object cannot be split, the specified width will be exceeded:: >>> pprint.pp(project_info, depth=1, width=60) {'author': 'The Python Packaging Authority', 'author_email': 'pypa-dev@googlegroups.com', 'bugtrack_url': None, 'classifiers': [...], 'de...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4bb0c26c-6fd7-49dc-8de1-539ae26e2a42
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,914
supabase-export-v2
ef2a1df0e1b037cf
Lastly, we can format like pretty-printed JSON with the *expand* parameter. Best results are achieved with a higher *indent* value:: >>> pprint.pp(project_info, indent=4, expand=True) { 'author': 'The Python Packaging Authority', 'author_email': 'pypa-dev@googlegroups.com', 'bugtrack_url': None, 'classifiers': [ ...
trusted_official_docs
CPython Docs
Lastly, we can format like pretty-printed JSON with the *expand* parameter. Best results are achieved with a higher *indent* value:: >>> pprint.pp(project_info, indent=4, expand=True) { 'author': 'The Python Packaging Authority', 'author_email': 'pypa-dev@googlegroups.com', 'bugtrack_url': None, 'classifiers': [ ...
Lastly, we can format like pretty-printed JSON with the *expand* parameter. Best results are achieved with a higher *indent* value:: >>> pprint.pp(project_info, indent=4, expand=True) { 'author': 'The Python Packaging Authority', 'author_email': 'pypa-dev@googlegroups.com', 'bugtrack_url': None, 'classifiers': [ ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
585f83d4-1d5d-4b23-9ee2-b57027673a27
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,869
supabase-export-v2
3c0e60eeb8df987c
.. function:: saferepr(object) Return a string representation of *object*, protected against recursion in some common data structures, namely instances of :class:`dict`, :class:`list` and :class:`tuple` or subclasses whose ``__repr__`` has not been overridden. If the representation of object exposes a recursive entr...
trusted_official_docs
CPython Docs
.. function:: saferepr(object) Return a string representation of *object*, protected against recursion in some common data structures, namely instances of :class:`dict`, :class:`list` and :class:`tuple` or subclasses whose ``__repr__`` has not been overridden. If the representation of object exposes a recursive entr...
.. function:: saferepr(object) Return a string representation of *object*, protected against recursion in some common data structures, namely instances of :class:`dict`, :class:`list` and :class:`tuple` or subclasses whose ``__repr__`` has not been overridden. If the representation of object exposes a recursive entr...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5f146063-ae98-4f18-a551-67c85de17758
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,898
supabase-export-v2
c26ada3953fa4dc2
gives the requested limit to recursion; this will be ``0`` if there is no requested limit. This argument should be passed unmodified to recursive calls. The fourth argument, *level*, gives the current level; recursive calls should be passed a value less than that of the current call.
trusted_official_docs
CPython Docs
gives the requested limit to recursion; this will be ``0`` if there is no requested limit. This argument should be passed unmodified to recursive calls. The fourth argument, *level*, gives the current level; recursive calls should be passed a value less than that of the current call.
gives the requested limit to recursion; this will be ``0`` if there is no requested limit. This argument should be passed unmodified to recursive calls. The fourth argument, *level*, gives the current level; recursive calls should be passed a value less than that of the current call.
python, official-docs, cpython, P0
Local_Trusted_Corpus
64d7ef4d-00ca-44a7-af73-9426699b1140
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,904
supabase-export-v2
13e9e407b8927ef0
project\n' '=======================\n' '\n' 'This is the description file for the project.\n' '\n' 'The file should use UTF-8 encoding and be written using ' 'ReStructured Text. It\n' 'will be used to generate the project webpage on PyPI, and ' 'should be written for\n' 'that purpose.\n' '\n' 'Typical contents for...
trusted_official_docs
CPython Docs
project\n' '=======================\n' '\n' 'This is the description file for the project.\n' '\n' 'The file should use UTF-8 encoding and be written using ' 'ReStructured Text. It\n' 'will be used to generate the project webpage on PyPI, and ' 'should be written for\n' 'that purpose.\n' '\n' 'Typical contents for...
project\n' '=======================\n' '\n' 'This is the description file for the project.\n' '\n' 'The file should use UTF-8 encoding and be written using ' 'ReStructured Text. It\n' 'will be used to generate the project webpage on PyPI, and ' 'should be written for\n' 'that purpose.\n' '\n' 'Typical contents for...
python, official-docs, cpython, P0
Local_Trusted_Corpus
66373918-c31e-451e-a323-6ce2f22e54e8
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,842
supabase-export-v2
ae6aea8e94bcfe73
it can, and breaks them onto multiple lines if they don't fit within the allowed width, adjustable by the *width* parameter defaulting to 80 characters. .. versionchanged:: 3.9 Added support for pretty-printing :class:`types.SimpleNamespace`.
trusted_official_docs
CPython Docs
it can, and breaks them onto multiple lines if they don't fit within the allowed width, adjustable by the *width* parameter defaulting to 80 characters. .. versionchanged:: 3.9 Added support for pretty-printing :class:`types.SimpleNamespace`.
it can, and breaks them onto multiple lines if they don't fit within the allowed width, adjustable by the *width* parameter defaulting to 80 characters. .. versionchanged:: 3.9 Added support for pretty-printing :class:`types.SimpleNamespace`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
70852855-a584-4124-afe8-6447766605bd
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,849
supabase-export-v2
dcf3fac5424783c0
to which the output will be written by calling its :meth:`!write` method. If ``None`` (the default), :data:`sys.stdout` is used. :type stream: :term:`file-like object` | None :param int indent: The amount of indentation added for each nesting level.
trusted_official_docs
CPython Docs
to which the output will be written by calling its :meth:`!write` method. If ``None`` (the default), :data:`sys.stdout` is used. :type stream: :term:`file-like object` | None :param int indent: The amount of indentation added for each nesting level.
to which the output will be written by calling its :meth:`!write` method. If ``None`` (the default), :data:`sys.stdout` is used. :type stream: :term:`file-like object` | None :param int indent: The amount of indentation added for each nesting level.
python, official-docs, cpython, P0
Local_Trusted_Corpus
730fdcde-8274-4e7d-a167-017ba00b646f
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,907
supabase-export-v2
62dfc7589b9a23ba
The result can be limited to a certain *depth* (ellipsis is used for deeper contents):: >>> pprint.pp(project_info, depth=1) {'author': 'The Python Packaging Authority', 'author_email': 'pypa-dev@googlegroups.com', 'bugtrack_url': None, 'classifiers': [...], 'description': 'A sample Python project\n' '===========...
trusted_official_docs
CPython Docs
The result can be limited to a certain *depth* (ellipsis is used for deeper contents):: >>> pprint.pp(project_info, depth=1) {'author': 'The Python Packaging Authority', 'author_email': 'pypa-dev@googlegroups.com', 'bugtrack_url': None, 'classifiers': [...], 'description': 'A sample Python project\n' '===========...
The result can be limited to a certain *depth* (ellipsis is used for deeper contents):: >>> pprint.pp(project_info, depth=1) {'author': 'The Python Packaging Authority', 'author_email': 'pypa-dev@googlegroups.com', 'bugtrack_url': None, 'classifiers': [...], 'description': 'A sample Python project\n' '===========...
python, official-docs, cpython, P0
Local_Trusted_Corpus
75000362-68fb-4da7-9bd7-3af82dc3287f
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,912
supabase-export-v2
08e2b2cf67111353
be written ' 'for\n' 'that purpose.\n' '\n' 'Typical contents for this file would ' 'include an overview of the project, ' 'basic\n' 'usage examples, etc. Generally, including ' 'the project changelog in here is not\n' 'a good idea, although a simple "What\'s ' 'New" section for the most recent version\n' 'may be a...
trusted_official_docs
CPython Docs
be written ' 'for\n' 'that purpose.\n' '\n' 'Typical contents for this file would ' 'include an overview of the project, ' 'basic\n' 'usage examples, etc. Generally, including ' 'the project changelog in here is not\n' 'a good idea, although a simple "What\'s ' 'New" section for the most recent version\n' 'may be a...
be written ' 'for\n' 'that purpose.\n' '\n' 'Typical contents for this file would ' 'include an overview of the project, ' 'basic\n' 'usage examples, etc. Generally, including ' 'the project changelog in here is not\n' 'a good idea, although a simple "What\'s ' 'New" section for the most recent version\n' 'may be a...
python, official-docs, cpython, P0
Local_Trusted_Corpus
771821e2-1ca3-4494-b5cf-1ff5ac2ddc29
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,897
supabase-export-v2
47690090304a6b92
.. method:: PrettyPrinter.format(object, context, maxlevels, level) Returns three values: the formatted version of *object* as a string, a flag indicating whether the result is readable, and a flag indicating whether recursion was detected. The first argument is the object to be presented. The second is a dictionary...
trusted_official_docs
CPython Docs
.. method:: PrettyPrinter.format(object, context, maxlevels, level) Returns three values: the formatted version of *object* as a string, a flag indicating whether the result is readable, and a flag indicating whether recursion was detected. The first argument is the object to be presented. The second is a dictionary...
.. method:: PrettyPrinter.format(object, context, maxlevels, level) Returns three values: the formatted version of *object* as a string, a flag indicating whether the result is readable, and a flag indicating whether recursion was detected. The first argument is the object to be presented. The second is a dictionary...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7b131f8c-ac3e-4191-872a-1370b680172f
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,864
supabase-export-v2
edda15093f534421
.. index:: pair: built-in function; eval Determine if the formatted representation of *object* is "readable", or can be used to reconstruct the value using :func:`eval`. This always returns ``False`` for recursive objects.
trusted_official_docs
CPython Docs
.. index:: pair: built-in function; eval Determine if the formatted representation of *object* is "readable", or can be used to reconstruct the value using :func:`eval`. This always returns ``False`` for recursive objects.
.. index:: pair: built-in function; eval Determine if the formatted representation of *object* is "readable", or can be used to reconstruct the value using :func:`eval`. This always returns ``False`` for recursive objects.
python, official-docs, cpython, P0
Local_Trusted_Corpus
80116ce4-94bc-4378-939f-ed126bb2a023
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,859
supabase-export-v2
da0b92e22012a116
.. function:: pprint(object, stream=None, indent=1, width=80, depth=None, *, \ compact=False, expand=False, sort_dicts=True, \ underscore_numbers=False) Alias for :func:`~pprint.pp` with *sort_dicts* set to ``True`` by default, which would automatically sort the dictionaries' keys, you might want to use :func:`~pprin...
trusted_official_docs
CPython Docs
.. function:: pprint(object, stream=None, indent=1, width=80, depth=None, *, \ compact=False, expand=False, sort_dicts=True, \ underscore_numbers=False) Alias for :func:`~pprint.pp` with *sort_dicts* set to ``True`` by default, which would automatically sort the dictionaries' keys, you might want to use :func:`~pprin...
.. function:: pprint(object, stream=None, indent=1, width=80, depth=None, *, \ compact=False, expand=False, sort_dicts=True, \ underscore_numbers=False) Alias for :func:`~pprint.pp` with *sort_dicts* set to ``True`` by default, which would automatically sort the dictionaries' keys, you might want to use :func:`~pprin...
python, official-docs, cpython, P0
Local_Trusted_Corpus
81892845-7f46-43a7-b7bc-26be6920bbd5
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,911
supabase-export-v2
8cae8ab1e6acc320
'=======================\n' '\n' 'This is the description file for the ' 'project.\n' '\n' 'The file should use UTF-8 encoding and be ' 'written using ReStructured Text. It\n' 'will be used to generate the project ' 'webpage on PyPI, and should be written ' 'for\n' 'that purpose.\n' '\n' 'Typical contents for thi...
trusted_official_docs
CPython Docs
'=======================\n' '\n' 'This is the description file for the ' 'project.\n' '\n' 'The file should use UTF-8 encoding and be ' 'written using ReStructured Text. It\n' 'will be used to generate the project ' 'webpage on PyPI, and should be written ' 'for\n' 'that purpose.\n' '\n' 'Typical contents for thi...
'=======================\n' '\n' 'This is the description file for the ' 'project.\n' '\n' 'The file should use UTF-8 encoding and be ' 'written using ReStructured Text. It\n' 'will be used to generate the project ' 'webpage on PyPI, and should be written ' 'for\n' 'that purpose.\n' '\n' 'Typical contents for thi...
python, official-docs, cpython, P0
Local_Trusted_Corpus
837c1f8a-f623-4a99-8c51-7355d63c4efd
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,867
supabase-export-v2
5e5eba3ad3b5f28b
.. function:: isrecursive(object) Determine if *object* requires a recursive representation. This function is subject to the same limitations as noted in :func:`saferepr` below and may raise an :exc:`RecursionError` if it fails to detect a recursive object.
trusted_official_docs
CPython Docs
.. function:: isrecursive(object) Determine if *object* requires a recursive representation. This function is subject to the same limitations as noted in :func:`saferepr` below and may raise an :exc:`RecursionError` if it fails to detect a recursive object.
.. function:: isrecursive(object) Determine if *object* requires a recursive representation. This function is subject to the same limitations as noted in :func:`saferepr` below and may raise an :exc:`RecursionError` if it fails to detect a recursive object.
python, official-docs, cpython, P0
Local_Trusted_Corpus
84297cf4-7304-4455-9da1-7bc57cc50ace
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,840
supabase-export-v2
030c4f5360606528
-------------- The :mod:`!pprint` module provides a capability to "pretty-print" arbitrary Python data structures in a form which can be used as input to the interpreter. If the formatted structures include objects which are not fundamental Python types, the representation may not be loadable. This may be the case if o...
trusted_official_docs
CPython Docs
-------------- The :mod:`!pprint` module provides a capability to "pretty-print" arbitrary Python data structures in a form which can be used as input to the interpreter. If the formatted structures include objects which are not fundamental Python types, the representation may not be loadable. This may be the case if o...
-------------- The :mod:`!pprint` module provides a capability to "pretty-print" arbitrary Python data structures in a form which can be used as input to the interpreter. If the formatted structures include objects which are not fundamental Python types, the representation may not be loadable. This may be the case if o...
python, official-docs, cpython, P0
Local_Trusted_Corpus
971c5099-3b37-4de6-9cbb-65257489e042
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,855
supabase-export-v2
fe42f67fc73139a2
:param bool sort_dicts: If ``True``, dictionaries will be formatted with their keys sorted, otherwise they will be displayed in insertion order (the default). :param bool underscore_numbers: If ``True``, integers will be formatted with the ``_`` character for a thousands separator, otherwise underscores are not disp...
trusted_official_docs
CPython Docs
:param bool sort_dicts: If ``True``, dictionaries will be formatted with their keys sorted, otherwise they will be displayed in insertion order (the default). :param bool underscore_numbers: If ``True``, integers will be formatted with the ``_`` character for a thousands separator, otherwise underscores are not disp...
:param bool sort_dicts: If ``True``, dictionaries will be formatted with their keys sorted, otherwise they will be displayed in insertion order (the default). :param bool underscore_numbers: If ``True``, integers will be formatted with the ``_`` character for a thousands separator, otherwise underscores are not disp...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9a537792-4f45-45fb-8fc2-624e98c0fe98
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,895
supabase-export-v2
0aecbb5d67481ff4
Determine if the object requires a recursive representation. This method is provided as a hook to allow subclasses to modify the way objects are converted to strings. The default implementation uses the internals of the :func:`saferepr` implementation.
trusted_official_docs
CPython Docs
Determine if the object requires a recursive representation. This method is provided as a hook to allow subclasses to modify the way objects are converted to strings. The default implementation uses the internals of the :func:`saferepr` implementation.
Determine if the object requires a recursive representation. This method is provided as a hook to allow subclasses to modify the way objects are converted to strings. The default implementation uses the internals of the :func:`saferepr` implementation.
python, official-docs, cpython, P0
Local_Trusted_Corpus
a2b6f4a4-8bf1-4e8d-9b58-cb061cbec815
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,892
supabase-export-v2
0d62babc72f5a72c
.. index:: pair: built-in function; eval Determine if the formatted representation of the object is "readable," or can be used to reconstruct the value using :func:`eval`. Note that this returns ``False`` for recursive objects. If the *depth* parameter of the :class:`PrettyPrinter` is set and the object is deeper th...
trusted_official_docs
CPython Docs
.. index:: pair: built-in function; eval Determine if the formatted representation of the object is "readable," or can be used to reconstruct the value using :func:`eval`. Note that this returns ``False`` for recursive objects. If the *depth* parameter of the :class:`PrettyPrinter` is set and the object is deeper th...
.. index:: pair: built-in function; eval Determine if the formatted representation of the object is "readable," or can be used to reconstruct the value using :func:`eval`. Note that this returns ``False`` for recursive objects. If the *depth* parameter of the :class:`PrettyPrinter` is set and the object is deeper th...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a5266c4b-a339-49cc-a084-acedbd0bb5be
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,889
supabase-export-v2
42266350f73881cf
Print the formatted representation of *object* on the configured stream, followed by a newline. The following methods provide the implementations for the corresponding functions of the same names. Using these methods on an instance is slightly more efficient since new :class:`PrettyPrinter` objects don't need to be cre...
trusted_official_docs
CPython Docs
Print the formatted representation of *object* on the configured stream, followed by a newline. The following methods provide the implementations for the corresponding functions of the same names. Using these methods on an instance is slightly more efficient since new :class:`PrettyPrinter` objects don't need to be cre...
Print the formatted representation of *object* on the configured stream, followed by a newline. The following methods provide the implementations for the corresponding functions of the same names. Using these methods on an instance is slightly more efficient since new :class:`PrettyPrinter` objects don't need to be cre...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b18dab4c-db91-42db-8d98-d1ff52de36e1
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,852
supabase-export-v2
d9e933f61e4d6d60
is replaced by ``...``. If ``None`` (the default), there is no constraint on the depth of the objects being formatted. :type depth: int | None :param bool compact: Control the way long :term:`sequences <sequence>` are formatted. If ``False`` (the default), each item of a sequence will be formatted on a separate line,...
trusted_official_docs
CPython Docs
is replaced by ``...``. If ``None`` (the default), there is no constraint on the depth of the objects being formatted. :type depth: int | None :param bool compact: Control the way long :term:`sequences <sequence>` are formatted. If ``False`` (the default), each item of a sequence will be formatted on a separate line,...
is replaced by ``...``. If ``None`` (the default), there is no constraint on the depth of the objects being formatted. :type depth: int | None :param bool compact: Control the way long :term:`sequences <sequence>` are formatted. If ``False`` (the default), each item of a sequence will be formatted on a separate line,...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b407669f-bd98-470f-b575-edd406fedc11
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,901
supabase-export-v2
fad5c227c9193fa6
To demonstrate several uses of the :func:`~pprint.pp` function and its parameters, let's fetch information about a project from `PyPI <https://pypi.org>`_:: >>> import json >>> import pprint >>> from urllib.request import urlopen >>> with urlopen('https://pypi.org/pypi/sampleproject/1.2.0/json') as resp: ... projec...
trusted_official_docs
CPython Docs
To demonstrate several uses of the :func:`~pprint.pp` function and its parameters, let's fetch information about a project from `PyPI <https://pypi.org>`_:: >>> import json >>> import pprint >>> from urllib.request import urlopen >>> with urlopen('https://pypi.org/pypi/sampleproject/1.2.0/json') as resp: ... projec...
To demonstrate several uses of the :func:`~pprint.pp` function and its parameters, let's fetch information about a project from `PyPI <https://pypi.org>`_:: >>> import json >>> import pprint >>> from urllib.request import urlopen >>> with urlopen('https://pypi.org/pypi/sampleproject/1.2.0/json') as resp: ... projec...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b591df37-5345-48b3-96dd-80e2c6758c96
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,860
supabase-export-v2
7928fcc89920b7ff
set to ``True`` by default, which would automatically sort the dictionaries' keys, you might want to use :func:`~pprint.pp` instead where it is ``False`` by default. .. function:: pformat(object, indent=1, width=80, depth=None, *, \ compact=False, expand=False, sort_dicts=True, \ underscore_numbers=False)
trusted_official_docs
CPython Docs
set to ``True`` by default, which would automatically sort the dictionaries' keys, you might want to use :func:`~pprint.pp` instead where it is ``False`` by default. .. function:: pformat(object, indent=1, width=80, depth=None, *, \ compact=False, expand=False, sort_dicts=True, \ underscore_numbers=False)
set to ``True`` by default, which would automatically sort the dictionaries' keys, you might want to use :func:`~pprint.pp` instead where it is ``False`` by default. .. function:: pformat(object, indent=1, width=80, depth=None, *, \ compact=False, expand=False, sort_dicts=True, \ underscore_numbers=False)
python, official-docs, cpython, P0
Local_Trusted_Corpus
baa1f7c7-33c0-4090-a57c-fc643fda9905
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,846
supabase-export-v2
ce70eacd595f8f96
.. function:: pp(object, stream=None, indent=1, width=80, depth=None, *, \ compact=False, expand=False, sort_dicts=False, \ underscore_numbers=False) Prints the formatted representation of *object*, followed by a newline. This function may be used in the interactive interpreter instead of the :func:`print` function fo...
trusted_official_docs
CPython Docs
.. function:: pp(object, stream=None, indent=1, width=80, depth=None, *, \ compact=False, expand=False, sort_dicts=False, \ underscore_numbers=False) Prints the formatted representation of *object*, followed by a newline. This function may be used in the interactive interpreter instead of the :func:`print` function fo...
.. function:: pp(object, stream=None, indent=1, width=80, depth=None, *, \ compact=False, expand=False, sort_dicts=False, \ underscore_numbers=False) Prints the formatted representation of *object*, followed by a newline. This function may be used in the interactive interpreter instead of the :func:`print` function fo...
python, official-docs, cpython, P0
Local_Trusted_Corpus
bad235fa-f5a7-4c8f-9e3e-8b4885e01771
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,913
supabase-export-v2
06c54d41452938fb
'maintainer_email': None, 'name': 'sampleproject', 'package_url': 'https://pypi.org/project/sampleproject/', 'platform': 'UNKNOWN', 'project_url': 'https://pypi.org/project/sampleproject/', 'project_urls': {...}, 'release_url': 'https://pypi.org/project/sampleproject/1.2.0/', 'requires_dist': None, 'requires_python': N...
trusted_official_docs
CPython Docs
'maintainer_email': None, 'name': 'sampleproject', 'package_url': 'https://pypi.org/project/sampleproject/', 'platform': 'UNKNOWN', 'project_url': 'https://pypi.org/project/sampleproject/', 'project_urls': {...}, 'release_url': 'https://pypi.org/project/sampleproject/1.2.0/', 'requires_dist': None, 'requires_python': N...
'maintainer_email': None, 'name': 'sampleproject', 'package_url': 'https://pypi.org/project/sampleproject/', 'platform': 'UNKNOWN', 'project_url': 'https://pypi.org/project/sampleproject/', 'project_urls': {...}, 'release_url': 'https://pypi.org/project/sampleproject/1.2.0/', 'requires_dist': None, 'requires_python': N...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c2cc1340-54d5-4317-9a48-8f4143df59be
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,856
supabase-export-v2
c1dff820b69cfeec
:param bool underscore_numbers: If ``True``, integers will be formatted with the ``_`` character for a thousands separator, otherwise underscores are not displayed (the default). >>> import pprint >>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni'] >>> stuff.insert(0, stuff) >>> pprint.pp(stuff) [<Recursion...
trusted_official_docs
CPython Docs
:param bool underscore_numbers: If ``True``, integers will be formatted with the ``_`` character for a thousands separator, otherwise underscores are not displayed (the default). >>> import pprint >>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni'] >>> stuff.insert(0, stuff) >>> pprint.pp(stuff) [<Recursion...
:param bool underscore_numbers: If ``True``, integers will be formatted with the ``_`` character for a thousands separator, otherwise underscores are not displayed (the default). >>> import pprint >>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni'] >>> stuff.insert(0, stuff) >>> pprint.pp(stuff) [<Recursion...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c380892e-eab5-4c81-a49e-be80f958edb7
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,896
supabase-export-v2
8457b4ea5c496ceb
as a hook to allow subclasses to modify the way objects are converted to strings. The default implementation uses the internals of the :func:`saferepr` implementation. .. method:: PrettyPrinter.format(object, context, maxlevels, level)
trusted_official_docs
CPython Docs
as a hook to allow subclasses to modify the way objects are converted to strings. The default implementation uses the internals of the :func:`saferepr` implementation. .. method:: PrettyPrinter.format(object, context, maxlevels, level)
as a hook to allow subclasses to modify the way objects are converted to strings. The default implementation uses the internals of the :func:`saferepr` implementation. .. method:: PrettyPrinter.format(object, context, maxlevels, level)
python, official-docs, cpython, P0
Local_Trusted_Corpus
c8dda0ec-f46d-4d2b-89e6-d0a4e00d9dc4
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,850
supabase-export-v2
64fa5fdbfa375146
:param int indent: The amount of indentation added for each nesting level. :param int width: The desired maximum number of characters per line in the output. If a structure cannot be formatted within the width constraint, a best effort will be made.
trusted_official_docs
CPython Docs
:param int indent: The amount of indentation added for each nesting level. :param int width: The desired maximum number of characters per line in the output. If a structure cannot be formatted within the width constraint, a best effort will be made.
:param int indent: The amount of indentation added for each nesting level. :param int width: The desired maximum number of characters per line in the output. If a structure cannot be formatted within the width constraint, a best effort will be made.
python, official-docs, cpython, P0
Local_Trusted_Corpus
c91d26d4-5654-4398-b019-ae3fafafd75a
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,870
supabase-export-v2
d19ea0d999c0f0cf
representation of object exposes a recursive entry, the recursive reference will be represented as ``<Recursion on typename with id=number>``. The representation is not otherwise formatted. >>> pprint.saferepr(stuff) "[<Recursion on list with id=...>, 'spam', 'eggs', 'lumberjack', 'knights', 'ni']"
trusted_official_docs
CPython Docs
representation of object exposes a recursive entry, the recursive reference will be represented as ``<Recursion on typename with id=number>``. The representation is not otherwise formatted. >>> pprint.saferepr(stuff) "[<Recursion on list with id=...>, 'spam', 'eggs', 'lumberjack', 'knights', 'ni']"
representation of object exposes a recursive entry, the recursive reference will be represented as ``<Recursion on typename with id=number>``. The representation is not otherwise formatted. >>> pprint.saferepr(stuff) "[<Recursion on list with id=...>, 'spam', 'eggs', 'lumberjack', 'knights', 'ni']"
python, official-docs, cpython, P0
Local_Trusted_Corpus
cd458c6a-0373-493c-b922-db8c51484ee8
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,906
supabase-export-v2
8ab66c0b59e2a737
'sampleproject', 'package_url': 'https://pypi.org/project/sampleproject/', 'platform': 'UNKNOWN', 'project_url': 'https://pypi.org/project/sampleproject/', 'project_urls': {'Download': 'UNKNOWN', 'Homepage': 'https://github.com/pypa/sampleproject'}, 'release_url': 'https://pypi.org/project/sampleproject/1.2.0/', 'requi...
trusted_official_docs
CPython Docs
'sampleproject', 'package_url': 'https://pypi.org/project/sampleproject/', 'platform': 'UNKNOWN', 'project_url': 'https://pypi.org/project/sampleproject/', 'project_urls': {'Download': 'UNKNOWN', 'Homepage': 'https://github.com/pypa/sampleproject'}, 'release_url': 'https://pypi.org/project/sampleproject/1.2.0/', 'requi...
'sampleproject', 'package_url': 'https://pypi.org/project/sampleproject/', 'platform': 'UNKNOWN', 'project_url': 'https://pypi.org/project/sampleproject/', 'project_urls': {'Download': 'UNKNOWN', 'Homepage': 'https://github.com/pypa/sampleproject'}, 'release_url': 'https://pypi.org/project/sampleproject/1.2.0/', 'requi...
python, official-docs, cpython, P0
Local_Trusted_Corpus
dd85c060-e0b9-4f83-bb6f-7917f60b9c37
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,847
supabase-export-v2
7224ffaadf1b1e47
used in the interactive interpreter instead of the :func:`print` function for inspecting values. Tip: you can reassign ``print = pprint.pp`` for use within a scope. :param object: The object to be printed.
trusted_official_docs
CPython Docs
used in the interactive interpreter instead of the :func:`print` function for inspecting values. Tip: you can reassign ``print = pprint.pp`` for use within a scope. :param object: The object to be printed.
used in the interactive interpreter instead of the :func:`print` function for inspecting values. Tip: you can reassign ``print = pprint.pp`` for use within a scope. :param object: The object to be printed.
python, official-docs, cpython, P0
Local_Trusted_Corpus
de22ba0b-6bcc-444a-86a9-ed86cdba6b20
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,841
supabase-export-v2
6cd03fa52ac45558
the case if objects such as files, sockets or classes are included, as well as many other objects which are not representable as Python literals. The formatted representation keeps objects on a single line if it can, and breaks them onto multiple lines if they don't fit within the allowed width, adjustable by the *widt...
trusted_official_docs
CPython Docs
the case if objects such as files, sockets or classes are included, as well as many other objects which are not representable as Python literals. The formatted representation keeps objects on a single line if it can, and breaks them onto multiple lines if they don't fit within the allowed width, adjustable by the *widt...
the case if objects such as files, sockets or classes are included, as well as many other objects which are not representable as Python literals. The formatted representation keeps objects on a single line if it can, and breaks them onto multiple lines if they don't fit within the allowed width, adjustable by the *widt...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e208b661-7a09-4e79-b0f1-5e2108af60ae
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,854
supabase-export-v2
682ec4ec3a7420a4
and brackets will be followed by a newline and the following content will be indented by one level, similar to pretty-printed JSON. Incompatible with *compact*. :param bool sort_dicts: If ``True``, dictionaries will be formatted with their keys sorted, otherwise they will be displayed in insertion order (the default...
trusted_official_docs
CPython Docs
and brackets will be followed by a newline and the following content will be indented by one level, similar to pretty-printed JSON. Incompatible with *compact*. :param bool sort_dicts: If ``True``, dictionaries will be formatted with their keys sorted, otherwise they will be displayed in insertion order (the default...
and brackets will be followed by a newline and the following content will be indented by one level, similar to pretty-printed JSON. Incompatible with *compact*. :param bool sort_dicts: If ``True``, dictionaries will be formatted with their keys sorted, otherwise they will be displayed in insertion order (the default...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e3569fdc-a946-4481-92b6-fdf6145b0d37
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,916
supabase-export-v2
d07e61ff57156847
should be ' 'written for\n' 'that purpose.\n' '\n' 'Typical contents for this file would include an overview of the project, ' 'basic\n' 'usage examples, etc. Generally, including the project changelog in here ' 'is not\n' 'a good idea, although a simple "What\'s New" section for the most recent ' 'version\n' 'may ...
trusted_official_docs
CPython Docs
should be ' 'written for\n' 'that purpose.\n' '\n' 'Typical contents for this file would include an overview of the project, ' 'basic\n' 'usage examples, etc. Generally, including the project changelog in here ' 'is not\n' 'a good idea, although a simple "What\'s New" section for the most recent ' 'version\n' 'may ...
should be ' 'written for\n' 'that purpose.\n' '\n' 'Typical contents for this file would include an overview of the project, ' 'basic\n' 'usage examples, etc. Generally, including the project changelog in here ' 'is not\n' 'a good idea, although a simple "What\'s New" section for the most recent ' 'version\n' 'may ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e5d469bd-4b16-492b-91a5-09355edefe9f
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,909
supabase-export-v2
d66dfd4515c4547e
'maintainer_email': None, 'name': 'sampleproject', 'package_url': 'https://pypi.org/project/sampleproject/', 'platform': 'UNKNOWN', 'project_url': 'https://pypi.org/project/sampleproject/', 'project_urls': {...}, 'release_url': 'https://pypi.org/project/sampleproject/1.2.0/', 'requires_dist': None, 'requires_python': N...
trusted_official_docs
CPython Docs
'maintainer_email': None, 'name': 'sampleproject', 'package_url': 'https://pypi.org/project/sampleproject/', 'platform': 'UNKNOWN', 'project_url': 'https://pypi.org/project/sampleproject/', 'project_urls': {...}, 'release_url': 'https://pypi.org/project/sampleproject/1.2.0/', 'requires_dist': None, 'requires_python': N...
'maintainer_email': None, 'name': 'sampleproject', 'package_url': 'https://pypi.org/project/sampleproject/', 'platform': 'UNKNOWN', 'project_url': 'https://pypi.org/project/sampleproject/', 'project_urls': {...}, 'release_url': 'https://pypi.org/project/sampleproject/1.2.0/', 'requires_dist': None, 'requires_python': N...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f0c49ce0-905b-4594-8ae3-35204d3140d5
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,861
supabase-export-v2
826e69601ddc2467
.. function:: pformat(object, indent=1, width=80, depth=None, *, \ compact=False, expand=False, sort_dicts=True, \ underscore_numbers=False) Return the formatted representation of *object* as a string. *indent*, *width*, *depth*, *compact*, *expand*, *sort_dicts* and *underscore_numbers* are passed to the :class:`Pre...
trusted_official_docs
CPython Docs
.. function:: pformat(object, indent=1, width=80, depth=None, *, \ compact=False, expand=False, sort_dicts=True, \ underscore_numbers=False) Return the formatted representation of *object* as a string. *indent*, *width*, *depth*, *compact*, *expand*, *sort_dicts* and *underscore_numbers* are passed to the :class:`Pre...
.. function:: pformat(object, indent=1, width=80, depth=None, *, \ compact=False, expand=False, sort_dicts=True, \ underscore_numbers=False) Return the formatted representation of *object* as a string. *indent*, *width*, *depth*, *compact*, *expand*, *sort_dicts* and *underscore_numbers* are passed to the :class:`Pre...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f0c7a5a3-7e4a-4df9-93f2-859327c31a05
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,851
supabase-export-v2
2666d1a969d9f617
maximum number of characters per line in the output. If a structure cannot be formatted within the width constraint, a best effort will be made. :param depth: The number of nesting levels which may be printed. If the data structure being printed is too deep, the next contained level is replaced by ``...``. If ``None`...
trusted_official_docs
CPython Docs
maximum number of characters per line in the output. If a structure cannot be formatted within the width constraint, a best effort will be made. :param depth: The number of nesting levels which may be printed. If the data structure being printed is too deep, the next contained level is replaced by ``...``. If ``None`...
maximum number of characters per line in the output. If a structure cannot be formatted within the width constraint, a best effort will be made. :param depth: The number of nesting levels which may be printed. If the data structure being printed is too deep, the next contained level is replaced by ``...``. If ``None`...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f71634a2-6c41-497e-9039-3b21e979fdd6
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,848
supabase-export-v2
eb3463430bf77e7d
:param object: The object to be printed. :param stream: A file-like object to which the output will be written by calling its :meth:`!write` method. If ``None`` (the default), :data:`sys.stdout` is used. :type stream: :term:`file-like object` | None
trusted_official_docs
CPython Docs
:param object: The object to be printed. :param stream: A file-like object to which the output will be written by calling its :meth:`!write` method. If ``None`` (the default), :data:`sys.stdout` is used. :type stream: :term:`file-like object` | None
:param object: The object to be printed. :param stream: A file-like object to which the output will be written by calling its :meth:`!write` method. If ``None`` (the default), :data:`sys.stdout` is used. :type stream: :term:`file-like object` | None
python, official-docs, cpython, P0
Local_Trusted_Corpus
f7db30f2-959f-428e-841f-66441108714b
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,908
supabase-export-v2
ca082a1d6e6f2132
' 'should be written for\n' 'that purpose.\n' '\n' 'Typical contents for this file would include an overview of ' 'the project, basic\n' 'usage examples, etc. Generally, including the project ' 'changelog in here is not\n' 'a good idea, although a simple "What\'s New" section for the ' 'most recent version\n' 'may ...
trusted_official_docs
CPython Docs
' 'should be written for\n' 'that purpose.\n' '\n' 'Typical contents for this file would include an overview of ' 'the project, basic\n' 'usage examples, etc. Generally, including the project ' 'changelog in here is not\n' 'a good idea, although a simple "What\'s New" section for the ' 'most recent version\n' 'may ...
' 'should be written for\n' 'that purpose.\n' '\n' 'Typical contents for this file would include an overview of ' 'the project, basic\n' 'usage examples, etc. Generally, including the project ' 'changelog in here is not\n' 'a good idea, although a simple "What\'s New" section for the ' 'most recent version\n' 'may ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
fd38b410-c22b-4eee-96cc-fd8ca8b07449
CPython Docs
file://datasets/cpython/Doc/library/pprint.rst
unknown
09d46c17-ae1f-49f7-aee1-2f571b7f6ec5
17,903
supabase-export-v2
f7b874cc43f665c1
In its basic form, :func:`~pprint.pp` shows the whole object:: >>> pprint.pp(project_info) {'author': 'The Python Packaging Authority', 'author_email': 'pypa-dev@googlegroups.com', 'bugtrack_url': None, 'classifiers': ['Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved ...
trusted_official_docs
CPython Docs
In its basic form, :func:`~pprint.pp` shows the whole object:: >>> pprint.pp(project_info) {'author': 'The Python Packaging Authority', 'author_email': 'pypa-dev@googlegroups.com', 'bugtrack_url': None, 'classifiers': ['Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved ...
In its basic form, :func:`~pprint.pp` shows the whole object:: >>> pprint.pp(project_info) {'author': 'The Python Packaging Authority', 'author_email': 'pypa-dev@googlegroups.com', 'bugtrack_url': None, 'classifiers': ['Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1473602c-0152-4f32-b417-1ffb854fd234
CPython Docs
file://datasets/cpython/Doc/library/curses.panel.rst
unknown
b9ae0831-cec5-43e7-94b8-d9070b8e7f08
17,930
supabase-export-v2
4d21565653a1c53f
.. function:: new_panel(win) Returns a panel object, associating it with the given window *win*. Be aware that you need to keep the returned panel object referenced explicitly. If you don't, the panel object is garbage collected and removed from the panel stack.
trusted_official_docs
CPython Docs
.. function:: new_panel(win) Returns a panel object, associating it with the given window *win*. Be aware that you need to keep the returned panel object referenced explicitly. If you don't, the panel object is garbage collected and removed from the panel stack.
.. function:: new_panel(win) Returns a panel object, associating it with the given window *win*. Be aware that you need to keep the returned panel object referenced explicitly. If you don't, the panel object is garbage collected and removed from the panel stack.
python, official-docs, cpython, P0
Local_Trusted_Corpus
35110cb2-df94-4974-9007-f8d0e13c5f2c
CPython Docs
file://datasets/cpython/Doc/library/curses.panel.rst
unknown
b9ae0831-cec5-43e7-94b8-d9070b8e7f08
17,938
supabase-export-v2
4e281fc8fa5505eb
always a window associated with a panel which determines the content, while the panel methods are responsible for the window's depth in the panel stack. Panel objects have the following methods:
trusted_official_docs
CPython Docs
always a window associated with a panel which determines the content, while the panel methods are responsible for the window's depth in the panel stack. Panel objects have the following methods:
always a window associated with a panel which determines the content, while the panel methods are responsible for the window's depth in the panel stack. Panel objects have the following methods:
python, official-docs, cpython, P0
Local_Trusted_Corpus
823b0f83-aa8e-4202-ad3d-a90eafa3a3aa
CPython Docs
file://datasets/cpython/Doc/library/curses.panel.rst
unknown
b9ae0831-cec5-43e7-94b8-d9070b8e7f08
17,937
supabase-export-v2
5cba2815007ea198
Panel Objects ------------- Panel objects, as returned by :func:`new_panel` above, are windows with a stacking order. There's always a window associated with a panel which determines the content, while the panel methods are responsible for the window's depth in the panel stack.
trusted_official_docs
CPython Docs
Panel Objects ------------- Panel objects, as returned by :func:`new_panel` above, are windows with a stacking order. There's always a window associated with a panel which determines the content, while the panel methods are responsible for the window's depth in the panel stack.
Panel Objects ------------- Panel objects, as returned by :func:`new_panel` above, are windows with a stacking order. There's always a window associated with a panel which determines the content, while the panel methods are responsible for the window's depth in the panel stack.
python, official-docs, cpython, P0
Local_Trusted_Corpus
f2192f40-c86c-483e-926f-e9a42df99bc4
CPython Docs
file://datasets/cpython/Doc/library/curses.panel.rst
unknown
b9ae0831-cec5-43e7-94b8-d9070b8e7f08
17,924
supabase-export-v2
ee8dc87204ebcc61
-------------- Panels are windows with the added feature of depth, so they can be stacked on top of each other, and only the visible portions of each window will be displayed. Panels can be added, moved up or down in the stack, and removed.
trusted_official_docs
CPython Docs
-------------- Panels are windows with the added feature of depth, so they can be stacked on top of each other, and only the visible portions of each window will be displayed. Panels can be added, moved up or down in the stack, and removed.
-------------- Panels are windows with the added feature of depth, so they can be stacked on top of each other, and only the visible portions of each window will be displayed. Panels can be added, moved up or down in the stack, and removed.
python, official-docs, cpython, P0
Local_Trusted_Corpus
9d34ed5b-5740-4602-b250-dc49c5842981
CPython Docs
file://datasets/cpython/Doc/library/crypt.rst
unknown
8c466b97-08ba-4b98-9c32-ef5eb77f0f35
17,968
supabase-export-v2
8425d1f06fe0f128
standard library. Other possible replacements are third-party libraries from PyPI: :pypi:`legacycrypt`, :pypi:`bcrypt`, or :pypi:`argon2-cffi`. These are not supported or maintained by the Python core team. The last version of Python that provided the :mod:`!crypt` module was `Python 3.12 <https://docs.python.org/3.12/...
trusted_official_docs
CPython Docs
standard library. Other possible replacements are third-party libraries from PyPI: :pypi:`legacycrypt`, :pypi:`bcrypt`, or :pypi:`argon2-cffi`. These are not supported or maintained by the Python core team. The last version of Python that provided the :mod:`!crypt` module was `Python 3.12 <https://docs.python.org/3.12/...
standard library. Other possible replacements are third-party libraries from PyPI: :pypi:`legacycrypt`, :pypi:`bcrypt`, or :pypi:`argon2-cffi`. These are not supported or maintained by the Python core team. The last version of Python that provided the :mod:`!crypt` module was `Python 3.12 <https://docs.python.org/3.12/...
python, official-docs, cpython, P0
Local_Trusted_Corpus
aae4a199-6e14-4863-832f-eed1b5ae9bba
CPython Docs
file://datasets/cpython/Doc/library/crypt.rst
unknown
8c466b97-08ba-4b98-9c32-ef5eb77f0f35
17,967
supabase-export-v2
a6eff14355a1e51c
part of the Python standard library. It was :ref:`removed in Python 3.13 <whatsnew313-pep594>` after being deprecated in Python 3.11. The removal was decided in :pep:`594`. Applications can use the :mod:`hashlib` module from the standard library. Other possible replacements are third-party libraries from PyPI: :pypi:`l...
trusted_official_docs
CPython Docs
part of the Python standard library. It was :ref:`removed in Python 3.13 <whatsnew313-pep594>` after being deprecated in Python 3.11. The removal was decided in :pep:`594`. Applications can use the :mod:`hashlib` module from the standard library. Other possible replacements are third-party libraries from PyPI: :pypi:`l...
part of the Python standard library. It was :ref:`removed in Python 3.13 <whatsnew313-pep594>` after being deprecated in Python 3.11. The removal was decided in :pep:`594`. Applications can use the :mod:`hashlib` module from the standard library. Other possible replacements are third-party libraries from PyPI: :pypi:`l...
python, official-docs, cpython, P0
Local_Trusted_Corpus
02234ea2-4b23-4b43-9fa6-ad419bfa77c8
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,181
supabase-export-v2
14fe9e7cec171093
name of a keyfile, or a 2-value tuple with the names of the keyfile and certificate file. (This tuple is passed to the :meth:`smtplib.SMTP.starttls` method.) A timeout can be specified for communication with the SMTP server using the *timeout* argument.
trusted_official_docs
CPython Docs
name of a keyfile, or a 2-value tuple with the names of the keyfile and certificate file. (This tuple is passed to the :meth:`smtplib.SMTP.starttls` method.) A timeout can be specified for communication with the SMTP server using the *timeout* argument.
name of a keyfile, or a 2-value tuple with the names of the keyfile and certificate file. (This tuple is passed to the :meth:`smtplib.SMTP.starttls` method.) A timeout can be specified for communication with the SMTP server using the *timeout* argument.
python, official-docs, cpython, P0
Local_Trusted_Corpus
02464e07-4a78-4079-8170-74b83fa8e178
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,021
supabase-export-v2
01d7cc5f438e410a
is deferred until the first call to :meth:`emit`. By default, the file grows indefinitely. If *errors* is provided, it determines how encoding errors are handled. .. versionchanged:: 3.6 As well as string values, :class:`~pathlib.Path` objects are also accepted for the *filename* argument.
trusted_official_docs
CPython Docs
is deferred until the first call to :meth:`emit`. By default, the file grows indefinitely. If *errors* is provided, it determines how encoding errors are handled. .. versionchanged:: 3.6 As well as string values, :class:`~pathlib.Path` objects are also accepted for the *filename* argument.
is deferred until the first call to :meth:`emit`. By default, the file grows indefinitely. If *errors* is provided, it determines how encoding errors are handled. .. versionchanged:: 3.6 As well as string values, :class:`~pathlib.Path` objects are also accepted for the *filename* argument.
python, official-docs, cpython, P0
Local_Trusted_Corpus
038f031b-dc71-4786-bcda-d00777f8541b
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,094
supabase-export-v2
d5a5bd712c69e8ae
.. method:: getFilesToDelete() Returns a list of filenames which should be deleted as part of rollover. These are the absolute paths of the oldest backup log files written by the handler.
trusted_official_docs
CPython Docs
.. method:: getFilesToDelete() Returns a list of filenames which should be deleted as part of rollover. These are the absolute paths of the oldest backup log files written by the handler.
.. method:: getFilesToDelete() Returns a list of filenames which should be deleted as part of rollover. These are the absolute paths of the oldest backup log files written by the handler.
python, official-docs, cpython, P0
Local_Trusted_Corpus
03b33a14-0cfd-414a-be61-e6ad50c5efbe
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,035
supabase-export-v2
94976d05a9fb0512
fast as possible. It should also return the same output every time for a given input, otherwise the rollover behaviour may not work as expected. It's also worth noting that care should be taken when using a namer to preserve certain attributes in the filename which are used during rotation. For example, :class:`Rotati...
trusted_official_docs
CPython Docs
fast as possible. It should also return the same output every time for a given input, otherwise the rollover behaviour may not work as expected. It's also worth noting that care should be taken when using a namer to preserve certain attributes in the filename which are used during rotation. For example, :class:`Rotati...
fast as possible. It should also return the same output every time for a given input, otherwise the rollover behaviour may not work as expected. It's also worth noting that care should be taken when using a namer to preserve certain attributes in the filename which are used during rotation. For example, :class:`Rotati...
python, official-docs, cpython, P0
Local_Trusted_Corpus
06592f71-5706-421b-a053-18ed9871fe5d
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,029
supabase-export-v2
d9ad8b2d83e7a108
BaseRotatingHandler ^^^^^^^^^^^^^^^^^^^ The :class:`BaseRotatingHandler` class, located in the :mod:`!logging.handlers` module, is the base class for the rotating file handlers, :class:`RotatingFileHandler` and :class:`TimedRotatingFileHandler`. You should not need to instantiate this class, but it has attributes and m...
trusted_official_docs
CPython Docs
BaseRotatingHandler ^^^^^^^^^^^^^^^^^^^ The :class:`BaseRotatingHandler` class, located in the :mod:`!logging.handlers` module, is the base class for the rotating file handlers, :class:`RotatingFileHandler` and :class:`TimedRotatingFileHandler`. You should not need to instantiate this class, but it has attributes and m...
BaseRotatingHandler ^^^^^^^^^^^^^^^^^^^ The :class:`BaseRotatingHandler` class, located in the :mod:`!logging.handlers` module, is the base class for the rotating file handlers, :class:`RotatingFileHandler` and :class:`TimedRotatingFileHandler`. You should not need to instantiate this class, but it has attributes and m...
python, official-docs, cpython, P0
Local_Trusted_Corpus
06be4a65-f911-491b-9166-49af42b90ba6
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,175
supabase-export-v2
0ce4209497072e51
.. method:: getMessageID(record) Returns the message ID for the record. If you are using your own messages, you could do this by having the *msg* passed to the logger being an ID rather than a format string. Then, in here, you could use a dictionary lookup to get the message ID. This version returns 1, which is the ...
trusted_official_docs
CPython Docs
.. method:: getMessageID(record) Returns the message ID for the record. If you are using your own messages, you could do this by having the *msg* passed to the logger being an ID rather than a format string. Then, in here, you could use a dictionary lookup to get the message ID. This version returns 1, which is the ...
.. method:: getMessageID(record) Returns the message ID for the record. If you are using your own messages, you could do this by having the *msg* passed to the logger being an ID rather than a format string. Then, in here, you could use a dictionary lookup to get the message ID. This version returns 1, which is the ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
09fb21c0-9872-4900-abd4-184106d9baca
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,052
supabase-export-v2
ffe2daaa48b67ae4
.. versionadded:: 3.3 The reason the attributes exist is to save you having to subclass - you can use the same callables for instances of :class:`RotatingFileHandler` and :class:`TimedRotatingFileHandler`. If either the namer or rotator callable raises an exception, this will be handled in the same way as any other exc...
trusted_official_docs
CPython Docs
.. versionadded:: 3.3 The reason the attributes exist is to save you having to subclass - you can use the same callables for instances of :class:`RotatingFileHandler` and :class:`TimedRotatingFileHandler`. If either the namer or rotator callable raises an exception, this will be handled in the same way as any other exc...
.. versionadded:: 3.3 The reason the attributes exist is to save you having to subclass - you can use the same callables for instances of :class:`RotatingFileHandler` and :class:`TimedRotatingFileHandler`. If either the namer or rotator callable raises an exception, this will be handled in the same way as any other exc...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0bb812fb-d18b-4118-933b-7b738e598490
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,243
supabase-export-v2
e62467557ea44334
.. class:: QueueListener(queue, *handlers, respect_handler_level=False) Returns a new instance of the :class:`QueueListener` class. The instance is initialized with the queue to send messages to and a list of handlers which will handle entries placed on the queue. The queue can be any queue-like object; it's passed ...
trusted_official_docs
CPython Docs
.. class:: QueueListener(queue, *handlers, respect_handler_level=False) Returns a new instance of the :class:`QueueListener` class. The instance is initialized with the queue to send messages to and a list of handlers which will handle entries placed on the queue. The queue can be any queue-like object; it's passed ...
.. class:: QueueListener(queue, *handlers, respect_handler_level=False) Returns a new instance of the :class:`QueueListener` class. The instance is initialized with the queue to send messages to and a list of handlers which will handle entries placed on the queue. The queue can be any queue-like object; it's passed ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
13b3fcc1-3fb8-4589-b501-53374be5e454
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,180
supabase-export-v2
4656b7ef5ac5685b
a string, the standard SMTP port is used. If your SMTP server requires authentication, you can specify a (username, password) tuple for the *credentials* argument. To specify the use of a secure protocol (TLS), pass in a tuple to the *secure* argument. This will only be used when authentication credentials are suppli...
trusted_official_docs
CPython Docs
a string, the standard SMTP port is used. If your SMTP server requires authentication, you can specify a (username, password) tuple for the *credentials* argument. To specify the use of a secure protocol (TLS), pass in a tuple to the *secure* argument. This will only be used when authentication credentials are suppli...
a string, the standard SMTP port is used. If your SMTP server requires authentication, you can specify a (username, password) tuple for the *credentials* argument. To specify the use of a secure protocol (TLS), pass in a tuple to the *secure* argument. This will only be used when authentication credentials are suppli...
python, official-docs, cpython, P0
Local_Trusted_Corpus
166624f7-5e14-4b10-98a4-cb3e8a6ab24d
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,118
supabase-export-v2
94990128294f0ad3
This behaviour is controlled by the following handler attributes: * ``retryStart`` (initial delay, defaulting to 1.0 seconds). * ``retryFactor`` (multiplier, defaulting to 2.0). * ``retryMax`` (maximum delay, defaulting to 30.0 seconds).
trusted_official_docs
CPython Docs
This behaviour is controlled by the following handler attributes: * ``retryStart`` (initial delay, defaulting to 1.0 seconds). * ``retryFactor`` (multiplier, defaulting to 2.0). * ``retryMax`` (maximum delay, defaulting to 30.0 seconds).
This behaviour is controlled by the following handler attributes: * ``retryStart`` (initial delay, defaulting to 1.0 seconds). * ``retryFactor`` (multiplier, defaulting to 2.0). * ``retryMax`` (maximum delay, defaulting to 30.0 seconds).
python, official-docs, cpython, P0
Local_Trusted_Corpus
16dc8bbb-e69b-4577-a3b0-f949bdd2fcb3
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,116
supabase-export-v2
a35257bd5e31509a
.. method:: createSocket() Tries to create a socket; on failure, uses an exponential back-off algorithm. On initial failure, the handler will drop the message it was trying to send. When subsequent messages are handled by the same instance, it will not try connecting until some time has passed. The default paramete...
trusted_official_docs
CPython Docs
.. method:: createSocket() Tries to create a socket; on failure, uses an exponential back-off algorithm. On initial failure, the handler will drop the message it was trying to send. When subsequent messages are handled by the same instance, it will not try connecting until some time has passed. The default paramete...
.. method:: createSocket() Tries to create a socket; on failure, uses an exponential back-off algorithm. On initial failure, the handler will drop the message it was trying to send. When subsequent messages are handled by the same instance, it will not try connecting until some time has passed. The default paramete...
python, official-docs, cpython, P0
Local_Trusted_Corpus
17f27988-10b6-4e18-ab04-08b90ffbcd65
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,053
supabase-export-v2
e5a2e5480993a55c
exception, this will be handled in the same way as any other exception during an :meth:`emit` call, i.e. via the :meth:`handleError` method of the handler. If you need to make more significant changes to rotation processing, you can override the methods.
trusted_official_docs
CPython Docs
exception, this will be handled in the same way as any other exception during an :meth:`emit` call, i.e. via the :meth:`handleError` method of the handler. If you need to make more significant changes to rotation processing, you can override the methods.
exception, this will be handled in the same way as any other exception during an :meth:`emit` call, i.e. via the :meth:`handleError` method of the handler. If you need to make more significant changes to rotation processing, you can override the methods.
python, official-docs, cpython, P0
Local_Trusted_Corpus
191cf109-f00b-4e24-8ba4-eba35194f755
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,061
supabase-export-v2
7f62ca3ea7fd996a
5 and a base file name of :file:`app.log`, you would get :file:`app.log`, :file:`app.log.1`, :file:`app.log.2`, up to :file:`app.log.5`. The file being written to is always :file:`app.log`. When this file is filled, it is closed and renamed to :file:`app.log.1`, and if files :file:`app.log.1`, :file:`app.log.2`, etc....
trusted_official_docs
CPython Docs
5 and a base file name of :file:`app.log`, you would get :file:`app.log`, :file:`app.log.1`, :file:`app.log.2`, up to :file:`app.log.5`. The file being written to is always :file:`app.log`. When this file is filled, it is closed and renamed to :file:`app.log.1`, and if files :file:`app.log.1`, :file:`app.log.2`, etc....
5 and a base file name of :file:`app.log`, you would get :file:`app.log`, :file:`app.log.1`, :file:`app.log.2`, up to :file:`app.log.5`. The file being written to is always :file:`app.log`. When this file is filled, it is closed and renamed to :file:`app.log.1`, and if files :file:`app.log.1`, :file:`app.log.2`, etc....
python, official-docs, cpython, P0
Local_Trusted_Corpus
1eb4fc04-f328-4e16-b4c3-085ba9859872
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,204
supabase-export-v2
40aac580eee4e6bf
.. method:: flush() For a :class:`MemoryHandler` instance, flushing means just sending the buffered records to the target, if there is one. The buffer is also cleared when buffered records are sent to the target. Override if you want different behavior.
trusted_official_docs
CPython Docs
.. method:: flush() For a :class:`MemoryHandler` instance, flushing means just sending the buffered records to the target, if there is one. The buffer is also cleared when buffered records are sent to the target. Override if you want different behavior.
.. method:: flush() For a :class:`MemoryHandler` instance, flushing means just sending the buffered records to the target, if there is one. The buffer is also cleared when buffered records are sent to the target. Override if you want different behavior.
python, official-docs, cpython, P0
Local_Trusted_Corpus
1f4b3f45-d4ef-4b5a-8ce6-d46a8b7abd00
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,076
supabase-export-v2
61fee525fae906c3
You can use the *when* to specify the type of *interval*. The list of possible values is below. Note that they are not case sensitive. +----------------+----------------------------+-------------------------+ | Value | Type of interval | If/how *atTime* is used | +================+============================+=======...
trusted_official_docs
CPython Docs
You can use the *when* to specify the type of *interval*. The list of possible values is below. Note that they are not case sensitive. +----------------+----------------------------+-------------------------+ | Value | Type of interval | If/how *atTime* is used | +================+============================+=======...
You can use the *when* to specify the type of *interval*. The list of possible values is below. Note that they are not case sensitive. +----------------+----------------------------+-------------------------+ | Value | Type of interval | If/how *atTime* is used | +================+============================+=======...
python, official-docs, cpython, P0
Local_Trusted_Corpus
1f4d9eca-7b8e-40b8-8d24-e7a736c3493b
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,221
supabase-export-v2
3f0ccb3461ab1127
The :class:`QueueHandler` class, located in the :mod:`!logging.handlers` module, supports sending logging messages to a queue, such as those implemented in the :mod:`queue` or :mod:`multiprocessing` modules. Along with the :class:`QueueListener` class, :class:`QueueHandler` can be used to let handlers do their work on ...
trusted_official_docs
CPython Docs
The :class:`QueueHandler` class, located in the :mod:`!logging.handlers` module, supports sending logging messages to a queue, such as those implemented in the :mod:`queue` or :mod:`multiprocessing` modules. Along with the :class:`QueueListener` class, :class:`QueueHandler` can be used to let handlers do their work on ...
The :class:`QueueHandler` class, located in the :mod:`!logging.handlers` module, supports sending logging messages to a queue, such as those implemented in the :mod:`queue` or :mod:`multiprocessing` modules. Along with the :class:`QueueListener` class, :class:`QueueHandler` can be used to let handlers do their work on ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
20e55a43-5e71-4e37-9503-2ae465e29be2
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,241
supabase-export-v2
81128341950dd726
thread, to one or more handlers for processing. While :class:`QueueListener` is not itself a handler, it is documented here because it works hand-in-hand with :class:`QueueHandler`. Along with the :class:`QueueHandler` class, :class:`QueueListener` can be used to let handlers do their work on a separate thread from the...
trusted_official_docs
CPython Docs
thread, to one or more handlers for processing. While :class:`QueueListener` is not itself a handler, it is documented here because it works hand-in-hand with :class:`QueueHandler`. Along with the :class:`QueueHandler` class, :class:`QueueListener` can be used to let handlers do their work on a separate thread from the...
thread, to one or more handlers for processing. While :class:`QueueListener` is not itself a handler, it is documented here because it works hand-in-hand with :class:`QueueHandler`. Along with the :class:`QueueHandler` class, :class:`QueueListener` can be used to let handlers do their work on a separate thread from the...
python, official-docs, cpython, P0
Local_Trusted_Corpus
21413027-0f63-418b-b2ba-4e0525776344
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,242
supabase-export-v2
8497e2c4ac110581
need to respond as quickly as possible, while any potentially slow operations (such as sending an email via :class:`SMTPHandler`) are done on a separate thread. .. class:: QueueListener(queue, *handlers, respect_handler_level=False)
trusted_official_docs
CPython Docs
need to respond as quickly as possible, while any potentially slow operations (such as sending an email via :class:`SMTPHandler`) are done on a separate thread. .. class:: QueueListener(queue, *handlers, respect_handler_level=False)
need to respond as quickly as possible, while any potentially slow operations (such as sending an email via :class:`SMTPHandler`) are done on a separate thread. .. class:: QueueListener(queue, *handlers, respect_handler_level=False)
python, official-docs, cpython, P0
Local_Trusted_Corpus
229e8a84-061e-4e7a-8754-1c32006aed3a
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,080
supabase-export-v2
ed01c3a4db319ec6
created), the last modification time of an existing log file, or else the current time, is used to compute when the next rotation will occur. If the *utc* argument is true, times in UTC will be used; otherwise local time is used.
trusted_official_docs
CPython Docs
created), the last modification time of an existing log file, or else the current time, is used to compute when the next rotation will occur. If the *utc* argument is true, times in UTC will be used; otherwise local time is used.
created), the last modification time of an existing log file, or else the current time, is used to compute when the next rotation will occur. If the *utc* argument is true, times in UTC will be used; otherwise local time is used.
python, official-docs, cpython, P0
Local_Trusted_Corpus
23676be2-18db-4c43-813a-7b6753fea438
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,215
supabase-export-v2
0b5ce0eed8f4219c
.. method:: mapLogRecord(record) Provides a dictionary, based on ``record``, which is to be URL-encoded and sent to the web server. The default implementation just returns ``record.__dict__``. This method can be overridden if e.g. only a subset of :class:`~logging.LogRecord` is to be sent to the web server, or if m...
trusted_official_docs
CPython Docs
.. method:: mapLogRecord(record) Provides a dictionary, based on ``record``, which is to be URL-encoded and sent to the web server. The default implementation just returns ``record.__dict__``. This method can be overridden if e.g. only a subset of :class:`~logging.LogRecord` is to be sent to the web server, or if m...
.. method:: mapLogRecord(record) Provides a dictionary, based on ``record``, which is to be URL-encoded and sent to the web server. The default implementation just returns ``record.__dict__``. This method can be overridden if e.g. only a subset of :class:`~logging.LogRecord` is to be sent to the web server, or if m...
python, official-docs, cpython, P0
Local_Trusted_Corpus
2940a580-0253-4259-98d0-5c5b2baed545
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,001
supabase-export-v2
f80097b498d33038
Outputs the record to the file. Note that if the file was closed due to logging shutdown at exit and the file mode is 'w', the record will not be emitted (see :issue:`42378`).
trusted_official_docs
CPython Docs
Outputs the record to the file. Note that if the file was closed due to logging shutdown at exit and the file mode is 'w', the record will not be emitted (see :issue:`42378`).
Outputs the record to the file. Note that if the file was closed due to logging shutdown at exit and the file mode is 'w', the record will not be emitted (see :issue:`42378`).
python, official-docs, cpython, P0
Local_Trusted_Corpus
2cfe5a36-ba53-491c-ad8a-9d307af663e1
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,084
supabase-export-v2
f121a9a04ed38d8d
in these cases, the *atTime* value is effectively used to compute the *initial* rollover, and subsequent rollovers would be calculated via the normal interval calculation. If *errors* is specified, it's used to determine how encoding errors are handled.
trusted_official_docs
CPython Docs
in these cases, the *atTime* value is effectively used to compute the *initial* rollover, and subsequent rollovers would be calculated via the normal interval calculation. If *errors* is specified, it's used to determine how encoding errors are handled.
in these cases, the *atTime* value is effectively used to compute the *initial* rollover, and subsequent rollovers would be calculated via the normal interval calculation. If *errors* is specified, it's used to determine how encoding errors are handled.
python, official-docs, cpython, P0
Local_Trusted_Corpus
2e8b297d-da7a-459f-90ca-7bc0199ec70a
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,140
supabase-export-v2
d6a9e4eca270eb32
the behaviour of their syslog daemon - it no longer listens on a domain socket. Therefore, you cannot expect :class:`SysLogHandler` to work on this system. See :gh:`91070` for more information.
trusted_official_docs
CPython Docs
the behaviour of their syslog daemon - it no longer listens on a domain socket. Therefore, you cannot expect :class:`SysLogHandler` to work on this system. See :gh:`91070` for more information.
the behaviour of their syslog daemon - it no longer listens on a domain socket. Therefore, you cannot expect :class:`SysLogHandler` to work on this system. See :gh:`91070` for more information.
python, official-docs, cpython, P0
Local_Trusted_Corpus
2fc055c8-359c-4188-a898-cca2900682b7
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,017
supabase-export-v2
2c90554bf9525483
module, is a :class:`FileHandler` which watches the file it is logging to. If the file changes, it is closed and reopened using the file name. A file change can happen because of usage of programs such as *newsyslog* and *logrotate* which perform log file rotation. This handler, intended for use under Unix/Linux, watch...
trusted_official_docs
CPython Docs
module, is a :class:`FileHandler` which watches the file it is logging to. If the file changes, it is closed and reopened using the file name. A file change can happen because of usage of programs such as *newsyslog* and *logrotate* which perform log file rotation. This handler, intended for use under Unix/Linux, watch...
module, is a :class:`FileHandler` which watches the file it is logging to. If the file changes, it is closed and reopened using the file name. A file change can happen because of usage of programs such as *newsyslog* and *logrotate* which perform log file rotation. This handler, intended for use under Unix/Linux, watch...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3993bbc6-cfe7-41fe-a192-66d82e842745
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,211
supabase-export-v2
e7dcdbdd09cb681d
The :class:`HTTPHandler` class, located in the :mod:`!logging.handlers` module, supports sending logging messages to a web server, using either ``GET`` or ``POST`` semantics. .. class:: HTTPHandler(host, url, method='GET', secure=False, credentials=None, context=None)
trusted_official_docs
CPython Docs
The :class:`HTTPHandler` class, located in the :mod:`!logging.handlers` module, supports sending logging messages to a web server, using either ``GET`` or ``POST`` semantics. .. class:: HTTPHandler(host, url, method='GET', secure=False, credentials=None, context=None)
The :class:`HTTPHandler` class, located in the :mod:`!logging.handlers` module, supports sending logging messages to a web server, using either ``GET`` or ``POST`` semantics. .. class:: HTTPHandler(host, url, method='GET', secure=False, credentials=None, context=None)
python, official-docs, cpython, P0
Local_Trusted_Corpus
39c04ced-845a-43bd-a41e-df2aac7795e2
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,245
supabase-export-v2
16c485895f0d9a13
.. note:: If you are using :mod:`multiprocessing`, you should avoid using :class:`~queue.SimpleQueue` and instead use :class:`multiprocessing.Queue`. If ``respect_handler_level`` is ``True``, a handler's level is respected (compared with the level for the message) when deciding whether to pass messages to that handle...
trusted_official_docs
CPython Docs
.. note:: If you are using :mod:`multiprocessing`, you should avoid using :class:`~queue.SimpleQueue` and instead use :class:`multiprocessing.Queue`. If ``respect_handler_level`` is ``True``, a handler's level is respected (compared with the level for the message) when deciding whether to pass messages to that handle...
.. note:: If you are using :mod:`multiprocessing`, you should avoid using :class:`~queue.SimpleQueue` and instead use :class:`multiprocessing.Queue`. If ``respect_handler_level`` is ``True``, a handler's level is respected (compared with the level for the message) when deciding whether to pass messages to that handle...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3c3767c9-155d-4f2e-ae6f-b8e80d34563e
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,158
supabase-export-v2
2241c7129ddf0df9
**Facilities** +---------------+---------------+ | Name (string) | Symbolic value| +===============+===============+ | ``auth`` | LOG_AUTH | +---------------+---------------+ | ``authpriv`` | LOG_AUTHPRIV | +---------------+---------------+ | ``cron`` | LOG_CRON | +---------------+---------------+ | ``daemon``...
trusted_official_docs
CPython Docs
**Facilities** +---------------+---------------+ | Name (string) | Symbolic value| +===============+===============+ | ``auth`` | LOG_AUTH | +---------------+---------------+ | ``authpriv`` | LOG_AUTHPRIV | +---------------+---------------+ | ``cron`` | LOG_CRON | +---------------+---------------+ | ``daemon``...
**Facilities** +---------------+---------------+ | Name (string) | Symbolic value| +===============+===============+ | ``auth`` | LOG_AUTH | +---------------+---------------+ | ``authpriv`` | LOG_AUTHPRIV | +---------------+---------------+ | ``cron`` | LOG_CRON | +---------------+---------------+ | ``daemon``...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3ccf567f-5054-4d7a-affe-94ef12b870b5
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,224
supabase-export-v2
1a3c5e5ec147465d
send messages to it. The queue is not *required* to have the task tracking API, which means that you can use :class:`~queue.SimpleQueue` instances for *queue*. .. note:: If you are using :mod:`multiprocessing`, you should avoid using :class:`~queue.SimpleQueue` and instead use :class:`multiprocessing.Queue`.
trusted_official_docs
CPython Docs
send messages to it. The queue is not *required* to have the task tracking API, which means that you can use :class:`~queue.SimpleQueue` instances for *queue*. .. note:: If you are using :mod:`multiprocessing`, you should avoid using :class:`~queue.SimpleQueue` and instead use :class:`multiprocessing.Queue`.
send messages to it. The queue is not *required* to have the task tracking API, which means that you can use :class:`~queue.SimpleQueue` instances for *queue*. .. note:: If you are using :mod:`multiprocessing`, you should avoid using :class:`~queue.SimpleQueue` and instead use :class:`multiprocessing.Queue`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
40200bc2-3b28-405f-bf8f-a89abc136bdf
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,114
supabase-export-v2
34706cb03024fce1
Send a pickled byte-string *packet* to the socket. The format of the sent byte-string is as described in the documentation for :meth:`~SocketHandler.makePickle`. This function allows for partial sends, which can happen when the network is busy.
trusted_official_docs
CPython Docs
Send a pickled byte-string *packet* to the socket. The format of the sent byte-string is as described in the documentation for :meth:`~SocketHandler.makePickle`. This function allows for partial sends, which can happen when the network is busy.
Send a pickled byte-string *packet* to the socket. The format of the sent byte-string is as described in the documentation for :meth:`~SocketHandler.makePickle`. This function allows for partial sends, which can happen when the network is busy.
python, official-docs, cpython, P0
Local_Trusted_Corpus
44173664-0756-42f8-9c17-b6787a10bf20
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
17,982
supabase-export-v2
7fc9526feb48f55a
.. method:: emit(record) If a formatter is specified, it is used to format the record. The record is then written to the stream followed by :attr:`terminator`. If exception information is present, it is formatted using :func:`traceback.print_exception` and appended to the stream.
trusted_official_docs
CPython Docs
.. method:: emit(record) If a formatter is specified, it is used to format the record. The record is then written to the stream followed by :attr:`terminator`. If exception information is present, it is formatted using :func:`traceback.print_exception` and appended to the stream.
.. method:: emit(record) If a formatter is specified, it is used to format the record. The record is then written to the stream followed by :attr:`terminator`. If exception information is present, it is formatted using :func:`traceback.print_exception` and appended to the stream.
python, official-docs, cpython, P0
Local_Trusted_Corpus
46eafae2-3781-48c5-91eb-b4eedf9265ec
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,012
supabase-export-v2
cbccc07fc56a8a09
This method returns ``None`` for the lock, since there is no underlying I/O to which access needs to be serialized. See :ref:`library-config` for more information on how to use :class:`NullHandler`.
trusted_official_docs
CPython Docs
This method returns ``None`` for the lock, since there is no underlying I/O to which access needs to be serialized. See :ref:`library-config` for more information on how to use :class:`NullHandler`.
This method returns ``None`` for the lock, since there is no underlying I/O to which access needs to be serialized. See :ref:`library-config` for more information on how to use :class:`NullHandler`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
48290a25-a8ff-44ed-9801-fc1ad704e209
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,110
supabase-export-v2
1b392b4f1cd230f8
dictionary in binary format with a length prefix, and returns it ready for transmission across the socket. The details of this operation are equivalent to:: data = pickle.dumps(record_attr_dict, 1) datalen = struct.pack('>L', len(data)) return datalen + data
trusted_official_docs
CPython Docs
dictionary in binary format with a length prefix, and returns it ready for transmission across the socket. The details of this operation are equivalent to:: data = pickle.dumps(record_attr_dict, 1) datalen = struct.pack('>L', len(data)) return datalen + data
dictionary in binary format with a length prefix, and returns it ready for transmission across the socket. The details of this operation are equivalent to:: data = pickle.dumps(record_attr_dict, 1) datalen = struct.pack('>L', len(data)) return datalen + data
python, official-docs, cpython, P0
Local_Trusted_Corpus
4b0008b8-0054-43e3-9224-15332c5e8137
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,163
supabase-export-v2
da267fccb38f7a15
NTEventLogHandler ^^^^^^^^^^^^^^^^^ The :class:`NTEventLogHandler` class, located in the :mod:`!logging.handlers` module, supports sending logging messages to a local Windows NT, Windows 2000 or Windows XP event log. Before you can use it, you need Mark Hammond's Win32 extensions for Python installed.
trusted_official_docs
CPython Docs
NTEventLogHandler ^^^^^^^^^^^^^^^^^ The :class:`NTEventLogHandler` class, located in the :mod:`!logging.handlers` module, supports sending logging messages to a local Windows NT, Windows 2000 or Windows XP event log. Before you can use it, you need Mark Hammond's Win32 extensions for Python installed.
NTEventLogHandler ^^^^^^^^^^^^^^^^^ The :class:`NTEventLogHandler` class, located in the :mod:`!logging.handlers` module, supports sending logging messages to a local Windows NT, Windows 2000 or Windows XP event log. Before you can use it, you need Mark Hammond's Win32 extensions for Python installed.
python, official-docs, cpython, P0
Local_Trusted_Corpus
4d82d409-34c0-405a-8c9f-1243bb0c4eae
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,138
supabase-export-v2
4a638a5e3c575a27
This can help prevent the program from hanging indefinitely if the syslog server is unreachable. By default, *timeout* is ``None``, meaning no timeout is applied. Note that if your server is not listening on UDP port 514, :class:`SysLogHandler` may appear not to work. In that case, check what address you should be us...
trusted_official_docs
CPython Docs
This can help prevent the program from hanging indefinitely if the syslog server is unreachable. By default, *timeout* is ``None``, meaning no timeout is applied. Note that if your server is not listening on UDP port 514, :class:`SysLogHandler` may appear not to work. In that case, check what address you should be us...
This can help prevent the program from hanging indefinitely if the syslog server is unreachable. By default, *timeout* is ``None``, meaning no timeout is applied. Note that if your server is not listening on UDP port 514, :class:`SysLogHandler` may appear not to work. In that case, check what address you should be us...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5122bfc6-6f47-4eb0-84a1-445626954635
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,262
supabase-export-v2
9b177f74a635e4aa
.. method:: enqueue_sentinel() Writes a sentinel to the queue to tell the listener to quit. This implementation uses ``put_nowait()``. You may want to override this method if you want to use timeouts or work with custom queue implementations.
trusted_official_docs
CPython Docs
.. method:: enqueue_sentinel() Writes a sentinel to the queue to tell the listener to quit. This implementation uses ``put_nowait()``. You may want to override this method if you want to use timeouts or work with custom queue implementations.
.. method:: enqueue_sentinel() Writes a sentinel to the queue to tell the listener to quit. This implementation uses ``put_nowait()``. You may want to override this method if you want to use timeouts or work with custom queue implementations.
python, official-docs, cpython, P0
Local_Trusted_Corpus
5354b6d1-7c38-4aa8-81c7-af2e7f2c2bba
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,049
supabase-export-v2
847697a394c75d71
When rotating, rotate the current log. The default implementation calls the 'rotator' attribute of the handler, if it's callable, passing the source and dest arguments to it. If the attribute isn't callable (the default is ``None``), the source is simply renamed to the destination.
trusted_official_docs
CPython Docs
When rotating, rotate the current log. The default implementation calls the 'rotator' attribute of the handler, if it's callable, passing the source and dest arguments to it. If the attribute isn't callable (the default is ``None``), the source is simply renamed to the destination.
When rotating, rotate the current log. The default implementation calls the 'rotator' attribute of the handler, if it's callable, passing the source and dest arguments to it. If the attribute isn't callable (the default is ``None``), the source is simply renamed to the destination.
python, official-docs, cpython, P0
Local_Trusted_Corpus
539faabc-abeb-4c36-98e8-39510cc0bf5c
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,045
supabase-export-v2
c5bb4795e02d8a0d
the handler, if it's callable, passing the default name to it. If the attribute isn't callable (the default is ``None``), the name is returned unchanged. :param default_name: The default name for the log file.
trusted_official_docs
CPython Docs
the handler, if it's callable, passing the default name to it. If the attribute isn't callable (the default is ``None``), the name is returned unchanged. :param default_name: The default name for the log file.
the handler, if it's callable, passing the default name to it. If the attribute isn't callable (the default is ``None``), the name is returned unchanged. :param default_name: The default name for the log file.
python, official-docs, cpython, P0
Local_Trusted_Corpus
54bebc7f-d853-4016-83da-8e2405c4cad8
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,117
supabase-export-v2
c43a78fa8618b222
if after that delay the connection still can't be made, the handler will double the delay each time up to a maximum of 30 seconds. This behaviour is controlled by the following handler attributes:
trusted_official_docs
CPython Docs
if after that delay the connection still can't be made, the handler will double the delay each time up to a maximum of 30 seconds. This behaviour is controlled by the following handler attributes:
if after that delay the connection still can't be made, the handler will double the delay each time up to a maximum of 30 seconds. This behaviour is controlled by the following handler attributes:
python, official-docs, cpython, P0
Local_Trusted_Corpus
56c76b54-4fd7-4a38-88f6-a9e7f8147195
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,149
supabase-export-v2
6c2d32519949f92e
The record is formatted, and then sent to the syslog server. If exception information is present, it is *not* sent to the server. .. versionchanged:: 3.2.1 (See: :issue:`12168`.) In earlier versions, the message sent to the syslog daemons was always terminated with a NUL byte, because early versions of these daemons...
trusted_official_docs
CPython Docs
The record is formatted, and then sent to the syslog server. If exception information is present, it is *not* sent to the server. .. versionchanged:: 3.2.1 (See: :issue:`12168`.) In earlier versions, the message sent to the syslog daemons was always terminated with a NUL byte, because early versions of these daemons...
The record is formatted, and then sent to the syslog server. If exception information is present, it is *not* sent to the server. .. versionchanged:: 3.2.1 (See: :issue:`12168`.) In earlier versions, the message sent to the syslog daemons was always terminated with a NUL byte, because early versions of these daemons...
python, official-docs, cpython, P0
Local_Trusted_Corpus
5b81e789-d4f3-4ce4-8c3f-ae84baa6eb93
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,016
supabase-export-v2
01ea89eae844d830
.. currentmodule:: logging.handlers The :class:`WatchedFileHandler` class, located in the :mod:`!logging.handlers` module, is a :class:`FileHandler` which watches the file it is logging to. If the file changes, it is closed and reopened using the file name.
trusted_official_docs
CPython Docs
.. currentmodule:: logging.handlers The :class:`WatchedFileHandler` class, located in the :mod:`!logging.handlers` module, is a :class:`FileHandler` which watches the file it is logging to. If the file changes, it is closed and reopened using the file name.
.. currentmodule:: logging.handlers The :class:`WatchedFileHandler` class, located in the :mod:`!logging.handlers` module, is a :class:`FileHandler` which watches the file it is logging to. If the file changes, it is closed and reopened using the file name.
python, official-docs, cpython, P0
Local_Trusted_Corpus
5e43cb97-b27e-47d5-9ef1-d21d418458d5
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,003
supabase-export-v2
30abfd402239ea49
.. versionadded:: 3.1 The :class:`NullHandler` class, located in the core :mod:`logging` package, does not do any formatting or output. It is essentially a 'no-op' handler for use by library developers.
trusted_official_docs
CPython Docs
.. versionadded:: 3.1 The :class:`NullHandler` class, located in the core :mod:`logging` package, does not do any formatting or output. It is essentially a 'no-op' handler for use by library developers.
.. versionadded:: 3.1 The :class:`NullHandler` class, located in the core :mod:`logging` package, does not do any formatting or output. It is essentially a 'no-op' handler for use by library developers.
python, official-docs, cpython, P0
Local_Trusted_Corpus
5f6debbf-f425-4c60-882a-bddff8710a11
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,150
supabase-export-v2
e1831f3f89a217d2
if it's there, and even more recent daemons (which adhere more closely to RFC 5424) pass the NUL byte on as part of the message. To enable easier handling of syslog messages in the face of all these differing daemon behaviours, the appending of the NUL byte has been made configurable, through the use of a class-level...
trusted_official_docs
CPython Docs
if it's there, and even more recent daemons (which adhere more closely to RFC 5424) pass the NUL byte on as part of the message. To enable easier handling of syslog messages in the face of all these differing daemon behaviours, the appending of the NUL byte has been made configurable, through the use of a class-level...
if it's there, and even more recent daemons (which adhere more closely to RFC 5424) pass the NUL byte on as part of the message. To enable easier handling of syslog messages in the face of all these differing daemon behaviours, the appending of the NUL byte has been made configurable, through the use of a class-level...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6b336987-8e2f-4869-a176-a2c11cf80c46
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,018
supabase-export-v2
1bc7e66d84cd1ea6
device or inode have changed.) If the file has changed, the old file stream is closed, and the file opened to get a new stream. This handler is not appropriate for use under Windows, because under Windows open log files cannot be moved or renamed - logging opens the files with exclusive locks - and so there is no need ...
trusted_official_docs
CPython Docs
device or inode have changed.) If the file has changed, the old file stream is closed, and the file opened to get a new stream. This handler is not appropriate for use under Windows, because under Windows open log files cannot be moved or renamed - logging opens the files with exclusive locks - and so there is no need ...
device or inode have changed.) If the file has changed, the old file stream is closed, and the file opened to get a new stream. This handler is not appropriate for use under Windows, because under Windows open log files cannot be moved or renamed - logging opens the files with exclusive locks - and so there is no need ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6d31f554-c174-46f4-9a80-3d3287e35989
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,246
supabase-export-v2
af8d466816554191
whether to pass messages to that handler; otherwise, the behaviour is as in previous Python versions - to always pass each message to each handler. .. versionchanged:: 3.5 The ``respect_handler_level`` argument was added.
trusted_official_docs
CPython Docs
whether to pass messages to that handler; otherwise, the behaviour is as in previous Python versions - to always pass each message to each handler. .. versionchanged:: 3.5 The ``respect_handler_level`` argument was added.
whether to pass messages to that handler; otherwise, the behaviour is as in previous Python versions - to always pass each message to each handler. .. versionchanged:: 3.5 The ``respect_handler_level`` argument was added.
python, official-docs, cpython, P0
Local_Trusted_Corpus
6dd7e9be-cfc6-4d3f-ae20-52674e84112e
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,077
supabase-export-v2
46c0f4a079ae5716
if | Used to compute initial | | | *atTime* not specified, | rollover time | | | else at time *atTime* | | +----------------+----------------------------+-------------------------+ When using weekday-based rotation, specify 'W0' for Monday, 'W1' for Tuesday, and so on up to 'W6' for Sunday. In this case, the value pas...
trusted_official_docs
CPython Docs
if | Used to compute initial | | | *atTime* not specified, | rollover time | | | else at time *atTime* | | +----------------+----------------------------+-------------------------+ When using weekday-based rotation, specify 'W0' for Monday, 'W1' for Tuesday, and so on up to 'W6' for Sunday. In this case, the value pas...
if | Used to compute initial | | | *atTime* not specified, | rollover time | | | else at time *atTime* | | +----------------+----------------------------+-------------------------+ When using weekday-based rotation, specify 'W0' for Monday, 'W1' for Tuesday, and so on up to 'W6' for Sunday. In this case, the value pas...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6f41dbe7-6ed6-4c0b-9f0d-71a003cb0ab1
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
18,247
supabase-export-v2
76037eb415429cc5
.. versionchanged:: 3.5 The ``respect_handler_level`` argument was added. .. versionchanged:: 3.14 :class:`QueueListener` can now be used as a context manager via :keyword:`with`. When entering the context, the listener is started. When exiting the context, the listener is stopped. :meth:`~contextmanager.__enter__` ...
trusted_official_docs
CPython Docs
.. versionchanged:: 3.5 The ``respect_handler_level`` argument was added. .. versionchanged:: 3.14 :class:`QueueListener` can now be used as a context manager via :keyword:`with`. When entering the context, the listener is started. When exiting the context, the listener is stopped. :meth:`~contextmanager.__enter__` ...
.. versionchanged:: 3.5 The ``respect_handler_level`` argument was added. .. versionchanged:: 3.14 :class:`QueueListener` can now be used as a context manager via :keyword:`with`. When entering the context, the listener is started. When exiting the context, the listener is stopped. :meth:`~contextmanager.__enter__` ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
709fe38e-1779-48bd-843d-2566bfe2c5eb
CPython Docs
file://datasets/cpython/Doc/library/logging.handlers.rst
unknown
282416c4-7b1b-4e29-b486-13efc02caf3e
17,984
supabase-export-v2
1b2f7b7f2f63425b
.. method:: flush() Flushes the stream by calling its :meth:`flush` method. Note that the :meth:`close` method is inherited from :class:`~logging.Handler` and so does no output, so an explicit :meth:`flush` call may be needed at times.
trusted_official_docs
CPython Docs
.. method:: flush() Flushes the stream by calling its :meth:`flush` method. Note that the :meth:`close` method is inherited from :class:`~logging.Handler` and so does no output, so an explicit :meth:`flush` call may be needed at times.
.. method:: flush() Flushes the stream by calling its :meth:`flush` method. Note that the :meth:`close` method is inherited from :class:`~logging.Handler` and so does no output, so an explicit :meth:`flush` call may be needed at times.
python, official-docs, cpython, P0
Local_Trusted_Corpus