New submission from Marian Horban:
It is possible to improve performance of json module encoder.
Since access to local variables is faster than to globals/builtins I propose to
use locals instead of globals.
Small test of such improvement:
>>> import timeit
>>> def
New submission from Marian Horban:
It is not possible to override 'true', 'false' values during encoding bool.
For example if I want to dump dict like:
{"key": True}
and result must be not
{"key": true}
but let's say
{"key": &q
New submission from Marian Horban:
Method WatchedFileHandler::emit() makes 2 things:
1. reopens log file,
2. emits record.
Sometimes user wants to reopen file immediately after some action without
emitting.
Code that reopens file must be moved to separate method to avoid copy-pasting
code in