bpo-31457: Allow for nested LoggerAdapter objects by ambv · Pull Request #3551 · python/cpython

Some of the proxied methods use internal Logger state which isn't proxied,
causing failures if an adapter is applied to another adapter.

This commit fixes the issue, adds a new test for the use case.

@ambv ambv deleted the nestedLoggerAdapter branch

September 14, 2017 15:35

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 14, 2017
Some of the proxied methods use internal Logger state which isn't proxied,
causing failures if an adapter is applied to another adapter.

This commit fixes the issue, adds a new test for the use case.
(cherry picked from commit 1bbd482)

ambv pushed a commit that referenced this pull request

Sep 14, 2017
)

Some of the proxied methods use internal Logger state which isn't proxied,
causing failures if an adapter is applied to another adapter.

This commit fixes the issue, adds a new test for the use case.
(cherry picked from commit 1bbd482)