<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/logging, branch enum-private-310</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-45401: Change shouldRollover() methods to only rollover regular f… (GH-28822) (#28867)</title>
<updated>2021-10-11T10:01:12+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-10-11T10:01:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5aca34f17c4baf8e4882a7e8a827cff06ac6ef25'/>
<id>5aca34f17c4baf8e4882a7e8a827cff06ac6ef25</id>
<content type='text'>
…iles.

Also changed some historical return values from 1 -&gt; True and 0 -&gt; False.
(cherry picked from commit 62a667784ba7b84611ebd50fa8a1a464cde32235)

Co-authored-by: Vinay Sajip &lt;vinay_sajip@yahoo.co.uk&gt;

Co-authored-by: Vinay Sajip &lt;vinay_sajip@yahoo.co.uk&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
…iles.

Also changed some historical return values from 1 -&gt; True and 0 -&gt; False.
(cherry picked from commit 62a667784ba7b84611ebd50fa8a1a464cde32235)

Co-authored-by: Vinay Sajip &lt;vinay_sajip@yahoo.co.uk&gt;

Co-authored-by: Vinay Sajip &lt;vinay_sajip@yahoo.co.uk&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44753: Don't use logfile extension when determining old files to be deleted (GH-27475) (GH-27487)</title>
<updated>2021-07-30T16:20:59+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-07-30T16:20:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6e6dc2517379289932c68fc986ee3994468374fc'/>
<id>6e6dc2517379289932c68fc986ee3994468374fc</id>
<content type='text'>
(cherry picked from commit 6ff890380971752299325bd28eab80ec936975cf)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 6ff890380971752299325bd28eab80ec936975cf)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380)</title>
<updated>2021-07-26T22:34:32+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-07-26T22:34:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6fc1efa4546ad94a904239fd5efb84e02894eb31'/>
<id>6fc1efa4546ad94a904239fd5efb84e02894eb31</id>
<content type='text'>
Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;
(cherry picked from commit 11749e2dc20ad6a76e9a39e948853e89b2b4bbed)

Co-authored-by: Mariusz Felisiak &lt;felisiak.mariusz@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;
(cherry picked from commit 11749e2dc20ad6a76e9a39e948853e89b2b4bbed)

Co-authored-by: Mariusz Felisiak &lt;felisiak.mariusz@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43731: Add an `encoding` parameter to logging.fileConfig() (GH-25273)</title>
<updated>2021-04-13T09:17:03+00:00</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2021-04-13T09:17:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c2b7a66b91cdb96fbfdb160f96797208ddc5e436'/>
<id>c2b7a66b91cdb96fbfdb160f96797208ddc5e436</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25189)</title>
<updated>2021-04-06T02:18:41+00:00</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2021-04-06T02:18:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fb78692f2ad5ee4747f13a73943fbf134b637669'/>
<id>fb78692f2ad5ee4747f13a73943fbf134b637669</id>
<content type='text'>
* Fix _sitebuiltins
* Fix test_inspect
* Fix test_interpreters
* Fix test_io
* Fix test_iter
* Fix test_json
* Fix test_linecache
* Fix test_lltrace
* Fix test_logging
* Fix logging</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix _sitebuiltins
* Fix test_inspect
* Fix test_interpreters
* Fix test_io
* Fix test_iter
* Fix test_json
* Fix test_linecache
* Fix test_lltrace
* Fix test_logging
* Fix logging</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43353: Document that logging.getLevelName() accepts string representation of logging level. (GH-24693)</title>
<updated>2021-03-08T11:16:20+00:00</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2021-03-08T11:16:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bbba28212ce0f58096a4043f32442c6e727b74fc'/>
<id>bbba28212ce0f58096a4043f32442c6e727b74fc</id>
<content type='text'>
[bpo-43353]()

Automerge-Triggered-By: GH:vsajip</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[bpo-43353]()

Automerge-Triggered-By: GH:vsajip</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42644: Validate values in logging.disable() (#23786)</title>
<updated>2020-12-16T09:43:39+00:00</updated>
<author>
<name>Matthias Bussonnier</name>
<email>bussonniermatthias@gmail.com</email>
</author>
<published>2020-12-16T09:43:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b32d8b4f9bcd2e7d11240b6b9de0262cf8f5e09d'/>
<id>b32d8b4f9bcd2e7d11240b6b9de0262cf8f5e09d</id>
<content type='text'>
* bpo-42644: Validate values in logging.disable()

Technically make the value of manager a property that checks and convert
values assigned to it properly. This has the side effect of making
`logging.disable` also accept strings representing the various level of
warnings.

We want to validate the type of the disable attribute at assignment
time, as it is later compared to other levels when emitting warnings and
would generate a `TypeError: '&gt;=' not supported between ....` in a
different part of the code base, which can make it difficult to track
down.

When assigned an incorrect value; it will raise a TypeError when the
wrong type, or ValueError if an invalid str.

Co-authored-by: Andrew Svetlov &lt;andrew.svetlov@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-42644: Validate values in logging.disable()

Technically make the value of manager a property that checks and convert
values assigned to it properly. This has the side effect of making
`logging.disable` also accept strings representing the various level of
warnings.

We want to validate the type of the disable attribute at assignment
time, as it is later compared to other levels when emitting warnings and
would generate a `TypeError: '&gt;=' not supported between ....` in a
different part of the code base, which can make it difficult to track
down.

When assigned an incorrect value; it will raise a TypeError when the
wrong type, or ValueError if an invalid str.

Co-authored-by: Andrew Svetlov &lt;andrew.svetlov@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-26789: Fix logging.FileHandler._open() at exit (GH-23053)</title>
<updated>2020-11-02T22:17:46+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-11-02T22:17:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=45df61fd2d58e8db33179f3b5d00e53fe6a7e592'/>
<id>45df61fd2d58e8db33179f3b5d00e53fe6a7e592</id>
<content type='text'>
The logging.FileHandler class now keeps a reference to the builtin
open() function to be able to open or reopen the file during Python
finalization.

Fix errors like:

    Exception ignored in: (...)
    Traceback (most recent call last):
      (...)
      File ".../logging/__init__.py", line 1463, in error
      File ".../logging/__init__.py", line 1577, in _log
      File ".../logging/__init__.py", line 1587, in handle
      File ".../logging/__init__.py", line 1649, in callHandlers
      File ".../logging/__init__.py", line 948, in handle
      File ".../logging/__init__.py", line 1182, in emit
      File ".../logging/__init__.py", line 1171, in _open
    NameError: name 'open' is not defined</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The logging.FileHandler class now keeps a reference to the builtin
open() function to be able to open or reopen the file during Python
finalization.

Fix errors like:

    Exception ignored in: (...)
    Traceback (most recent call last):
      (...)
      File ".../logging/__init__.py", line 1463, in error
      File ".../logging/__init__.py", line 1577, in _log
      File ".../logging/__init__.py", line 1587, in handle
      File ".../logging/__init__.py", line 1649, in callHandlers
      File ".../logging/__init__.py", line 948, in handle
      File ".../logging/__init__.py", line 1182, in emit
      File ".../logging/__init__.py", line 1171, in _open
    NameError: name 'open' is not defined</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42011: Update documentation of logging.Filter.filter() (GH-22692)</title>
<updated>2020-10-16T14:14:07+00:00</updated>
<author>
<name>Necdet Can Atesman</name>
<email>can@atesman.at</email>
</author>
<published>2020-10-16T14:14:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e9959c71185d0850c84e3aba0301fbc238f194a9'/>
<id>e9959c71185d0850c84e3aba0301fbc238f194a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Delete extra 'the' from `Formatter` class docstring (GH-22530)</title>
<updated>2020-10-04T16:09:26+00:00</updated>
<author>
<name>Hansraj Das</name>
<email>raj.das.136@gmail.com</email>
</author>
<published>2020-10-04T16:09:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a619af43ccd10bab363b1e59814a2e2727422545'/>
<id>a619af43ccd10bab363b1e59814a2e2727422545</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
