Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision 26c289dd76ed07dbf37494bfa483c525f6828bd9 authored by Miss Islington (bot) on 22 April 2018, 22:00:30 UTC, committed by Łukasz Langa on 22 April 2018, 22:00:30 UTC
This used to be the case on Python 2. Commit 212b590e118e3650b596917021ed9612a918180b changed the implementation for Python 3, making the `log()` method of LogAdapter call `logger._log()` directly. This makes nested log adapters not execute their ``process()`` method. This patch fixes the issue. Also, now proxying `name`, too, to make `repr()` work with nested log adapters. New tests added. (cherry picked from commit ce9e62544571e7ade7186697d5dd065fb4c5243f) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
1 parent 5c0a8bb
Tip revision: 26c289dd76ed07dbf37494bfa483c525f6828bd9 authored by Miss Islington (bot) on 22 April 2018, 22:00:30 UTC
bpo-31457: Don't omit inner ``process()`` calls with nested LogAdapters (GH-4044) (#6568)
bpo-31457: Don't omit inner ``process()`` calls with nested LogAdapters (GH-4044) (#6568)
Tip revision: 26c289d
File | Mode | Size |
---|---|---|
.github | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Programs | ||
Python | ||
Tools | ||
.bzrignore | -rw-r--r-- | 582 bytes |
.gitattributes | -rw-r--r-- | 798 bytes |
.gitignore | -rw-r--r-- | 1.4 KB |
.hgignore | -rw-r--r-- | 1.3 KB |
.travis.yml | -rw-r--r-- | 4.9 KB |
LICENSE | -rw-r--r-- | 12.5 KB |
Makefile.pre.in | -rw-r--r-- | 59.6 KB |
README.rst | -rw-r--r-- | 9.2 KB |
aclocal.m4 | -rw-r--r-- | 13.0 KB |
config.guess | -rwxr-xr-x | 43.2 KB |
config.sub | -rwxr-xr-x | 35.7 KB |
configure | -rwxr-xr-x | 478.8 KB |
configure.ac | -rw-r--r-- | 159.4 KB |
install-sh | -rwxr-xr-x | 7.0 KB |
pyconfig.h.in | -rw-r--r-- | 41.2 KB |
setup.py | -rw-r--r-- | 102.1 KB |
Computing file changes ...