Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpo-38781: Clear buffer in MemoryHandler flush (pythonGH-17132)
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.
- Loading branch information