]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.7] bpo-35726: Prevented QueueHandler formatting from affecting other handlers...
authorXtreak <tir.karthi@gmail.com>
Thu, 2 May 2019 17:02:43 +0000 (22:32 +0530)
committerNed Deily <nad@python.org>
Thu, 2 May 2019 17:02:42 +0000 (13:02 -0400)
commit386b6f07a9703746590a5f29281b93c931c0e6d3
tree1411a245323426dc9e11dfd26bfbf1f625981951
parent0ff08b061b2075ba258672409764face21321412
[3.7] bpo-35726: Prevented QueueHandler formatting from affecting other handlers (GH-11537) (GH-12716)

QueueHandler.prepare() now makes a copy of the record before modifying and enqueueing it, to avoid affecting other handlers in the chain.
(cherry picked from commit da6424e96ada72c15c91bddb0a411acf7119e10a)

Co-authored-by: Manjusaka <lizheao940510@gmail.com>
Lib/logging/handlers.py
Misc/NEWS.d/next/Library/2019-01-13-01-33-00.bpo-35726.dasdas.rst [new file with mode: 0644]