Skip to content

Conversation

@ambv
Copy link
Contributor

@ambv ambv commented Sep 13, 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.

https://bugs.python.org/issue31457

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 merged commit 1bbd482 into python:master Sep 14, 2017
@miss-islington
Copy link
Contributor

Thanks @ambv for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-3576 is a backport of this pull request to the 3.6 branch.

@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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants