Staging
v0.5.1
https://github.com/python/cpython
Revision d89cea15ad37e873003fc74ec2c77660ab620b00 authored by Daniel Andersson on 13 November 2019, 09:03:45 UTC, committed by Vinay Sajip on 13 November 2019, 09:03:45 UTC
This makes it easier to use a custom buffer when subclassing
MemoryHandler (by avoiding the explicity empty list literal
assignment in the flush method). For example, collection.deque
can now be used without any modifications to MemoryHandler.flush.

The same applies to BufferingHandler.
1 parent 9c28449
History
Tip revision: d89cea15ad37e873003fc74ec2c77660ab620b00 authored by Daniel Andersson on 13 November 2019, 09:03:45 UTC
bpo-38781: Clear buffer in MemoryHandler flush (GH-17132)
Tip revision: d89cea1
File Mode Size
Grammar -rw-r--r-- 9.6 KB
Tokens -rw-r--r-- 1.5 KB

back to top