]> granicus.if.org Git - python/commit
bpo-35726: Prevented QueueHandler formatting from affecting other handlers (GH-11537)
authorManjusaka <lizheao940510@gmail.com>
Wed, 23 Jan 2019 07:08:38 +0000 (15:08 +0800)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Wed, 23 Jan 2019 07:08:38 +0000 (07:08 +0000)
commitda6424e96ada72c15c91bddb0a411acf7119e10a
tree6df2b6b98cea072572a2adc3726345e2f0f23445
parent6d43f6f081023b680d9db4542d19b9e382149f0a
bpo-35726: Prevented QueueHandler formatting from affecting other handlers (GH-11537)

QueueHandler.prepare() now makes a copy of the record before modifying and enqueueing it, to avoid affecting other handlers in the chain.
Lib/logging/handlers.py
Misc/NEWS.d/next/Library/2019-01-13-01-33-00.bpo-35726.dasdas.rst [new file with mode: 0644]