Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-31457: Allow for nested LoggerAdapter objects #3551

Merged
merged 1 commit into from
Sep 14, 2017

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