◐ Shell
reader mode source ↗
Skip to content

bpo-43858: Add logging.getLevelNamesMapping()#26459

Merged
miss-islington merged 12 commits into
python:mainfrom
akulakov:43858-add-logging-getLevelNamesDict
Jun 3, 2021
Merged

bpo-43858: Add logging.getLevelNamesMapping()#26459
miss-islington merged 12 commits into
python:mainfrom
akulakov:43858-add-logging-getLevelNamesDict

Conversation

@akulakov

@akulakov akulakov commented May 31, 2021

Copy link
Copy Markdown
Contributor

Added a function that returns a copy of a dict of logging levels.

https://bugs.python.org/issue43858

@ericvsmith ericvsmith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

This needs tests. In particular it should add tests that a copy is returned.

@bedevere-bot

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@akulakov

Copy link
Copy Markdown
Contributor Author

I have made the requested changes; please review again

@bedevere-bot

Copy link
Copy Markdown

Thanks for making the requested changes!

@ericvsmith: please review the changes made to this pull request.

@bedevere-bot bedevere-bot requested a review from ericvsmith May 31, 2021 15:04

@ericvsmith ericvsmith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

This is looking good to me. @vsajip : I'll let you have the final word.

@bedevere-bot

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@akulakov

akulakov commented Jun 1, 2021

Copy link
Copy Markdown
Contributor Author

@vsajip @ericvsmith Pushed an update per comments, please take a look!

@ericvsmith ericvsmith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

With the one small item I mentioned, this looks good to me.

@akulakov

akulakov commented Jun 1, 2021

Copy link
Copy Markdown
Contributor Author

@ericvsmith I fixed the parens, please take a look..

@vsajip vsajip left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

Accidental double-definition in test?

@akulakov

akulakov commented Jun 2, 2021

Copy link
Copy Markdown
Contributor Author

@vsajip Fixed the doubled test..

@ericvsmith ericvsmith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

This all looks good to me. Thanks, @akulakov !

@akulakov akulakov changed the title bpo-43858: Add logging.getLevelNamesDict() Jun 2, 2021
@akulakov

akulakov commented Jun 5, 2021

Copy link
Copy Markdown
Contributor Author

@ericvsmith and @vsajip much thanks for the help with the PR!

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