]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Changes default logger used by blib2to3 Driver (#732)
authorAnders-Petter Ljungquist <apljungquist@users.noreply.github.com>
Thu, 14 Mar 2019 12:39:42 +0000 (13:39 +0100)
committerŁukasz Langa <lukasz@langa.pl>
Thu, 14 Mar 2019 12:39:42 +0000 (13:39 +0100)
commit227c2d77b48c6af0e6a2e667dfbb4412f3419005
tree1da718ed6acd50965c32fe8e1d7909609ad27b46
parent275a85f598582df530aa25f59f5bd71bcbf49a85
Changes default logger used by blib2to3 Driver (#732)

... to stop it from spamming the log when black is used as a library in another
    python application.

When used indirectly by black the logger initiated in `driver.py` will emit
thousands of debug messages making the debug level of the root logger virtually
useless. By getting a named logger instead the verbosity of logging from this
module can easily be controlled by setting its log level.

Fixes #715
blib2to3/README
blib2to3/pgen2/driver.py
tests/test_black.py