<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/logging, branch v3.7.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/logging?h=v3.7.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/logging?h=v3.7.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-10-23T10:07:06Z</updated>
<entry>
<title>bpo-35046: do only one system call per line (logging.StreamHandler) (GH-10042) (GH-10050)</title>
<updated>2018-10-23T10:07:06Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-10-23T10:07:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d730719b094cb006711b1cd546927b863c173b31'/>
<id>urn:sha1:d730719b094cb006711b1cd546927b863c173b31</id>
<content type='text'>
(cherry picked from commit b7d62050e7d5fc208ae7673613da4f1f2bc565c4)</content>
</entry>
<entry>
<title>bpo-6721: Hold logging locks across fork() (GH-4071) (#9291)</title>
<updated>2018-10-07T07:09:59Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-10-07T07:09:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3b699932e5ac3e76031bbb6d700fbea07492641d'/>
<id>urn:sha1:3b699932e5ac3e76031bbb6d700fbea07492641d</id>
<content type='text'>
bpo-6721: When os.fork() was called while another thread holds a logging lock, the child process may deadlock when it tries to log.  This fixes that by acquiring all logging locks before fork and releasing them afterwards.

A regression test that fails before this change is included.

Within the new unittest itself: There is a small _potential_ due to mixing of fork and a thread in the child process if the parent's thread happened to hold a non-reentrant library call lock (malloc?) when the os.fork() happens.  buildbots and time will tell if this actually manifests itself in this test or not.  :/  A functionality test that avoids that would be a challenge.

An alternate test that isn't trying to produce the deadlock itself but just checking that the release and acquire calls are made would be the next best alternative if so.
(cherry picked from commit 19003841e965bbf56fd06824d6093620c1b66f9e)

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt; [Google]</content>
</entry>
<entry>
<title>bpo-34334: Don't log traceback twice in QueueHandler (GH-9537) (GH-9581)</title>
<updated>2018-10-07T04:33:37Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-10-07T04:33:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1a2189353f744f79a43511707c090c3807a4978e'/>
<id>urn:sha1:1a2189353f744f79a43511707c090c3807a4978e</id>
<content type='text'>
(cherry picked from commit d345bb4d9b6e16c681cd8a4e1fff94ecd6b0bb09)

Co-authored-by: Cheryl Sabella &lt;cheryl.sabella@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-34415: Updated logging.Formatter docstring. (GH-8811) (GH-8817)</title>
<updated>2018-08-19T07:20:13Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-08-19T07:20:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e4ae8f1b3147d7f0a461b4ffdde9bcc9e6a2083'/>
<id>urn:sha1:2e4ae8f1b3147d7f0a461b4ffdde9bcc9e6a2083</id>
<content type='text'>
(cherry picked from commit d3d3171da895d8cb880f23fae6be778f0ac23be7)
</content>
</entry>
<entry>
<title>bpo-33978: Close existing handlers before logging (re-)configuration. (GH-8008) (GH-8044)</title>
<updated>2018-07-02T09:35:09Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-07-02T09:35:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f49afc3d983350f4f04d221a26573721f23c475'/>
<id>urn:sha1:6f49afc3d983350f4f04d221a26573721f23c475</id>
<content type='text'>
(cherry picked from commit 087570af6d5d39b51bdd5e660a53903960e58678)

Co-authored-by: Xtreak &lt;tirkarthi@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>bpo-33400: Clarified documentation to indicate no strict adherence to ISO 8601. (GH-6702) (GH-6704)</title>
<updated>2018-05-28T12:29:13Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-05-28T12:29:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=eb8516becc267caeb0ca6f9c41e805d1ba1caaa3'/>
<id>urn:sha1:eb8516becc267caeb0ca6f9c41e805d1ba1caaa3</id>
<content type='text'>
(cherry picked from commit c4994dc00d9828a99510f3851da93b0e1c18361d)

Co-authored-by: Vinay Sajip &lt;vinay_sajip@yahoo.co.uk&gt;</content>
</entry>
<entry>
<title>Revert unneccessary changes made in bpo-30296 and apply other improvements. (GH-2624)</title>
<updated>2018-02-26T16:22:24Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-02-26T16:22:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f8a3485dcd41a00c5e99c5be6adc67cb2638b366'/>
<id>urn:sha1:f8a3485dcd41a00c5e99c5be6adc67cb2638b366</id>
<content type='text'>
(cherry picked from commit 3f2e6f15d64d81633b1fc0b308afc0d6e9026b61)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-30904: Removed duplicated Host: header. (#4465)</title>
<updated>2017-11-19T18:36:17Z</updated>
<author>
<name>Vinay Sajip</name>
<email>vinay_sajip@yahoo.co.uk</email>
</author>
<published>2017-11-19T18:36:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e96ba183c43ad6633b5d014b3dc57433e2802faf'/>
<id>urn:sha1:e96ba183c43ad6633b5d014b3dc57433e2802faf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Changed lambda to str.strip in _strip_spaces in logging.config (#4332)</title>
<updated>2017-11-15T09:28:11Z</updated>
<author>
<name>sanjayp</name>
<email>sanjaypillai11@gmail.com</email>
</author>
<published>2017-11-15T09:28:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2ae4ad7ca49f2b80a02cbf7ea76d52c615bfedb3'/>
<id>urn:sha1:2ae4ad7ca49f2b80a02cbf7ea76d52c615bfedb3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-30989: Sort in TimedRotatingFileHandler only when needed. (GH-2812)</title>
<updated>2017-10-27T07:04:33Z</updated>
<author>
<name>Lovesh Harchandani</name>
<email>lovesh@users.noreply.github.com</email>
</author>
<published>2017-10-27T07:04:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=afad147b59fe84b12317f7340ddd2deeecb22321'/>
<id>urn:sha1:afad147b59fe84b12317f7340ddd2deeecb22321</id>
<content type='text'>
TimedRotatingFileHandler.getFilesToDelete() now sorts only when needed.</content>
</entry>
</feed>
