| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8bfbab10-4cf1-467b-b822-7202f35bcba2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8D36:28B0D7:24B8A8:344FAA:696A0699 |
| html-safe-nonce | c1585e631124a82d2c89dd6e7a8898f6eb430b78635907e382f86c64be07c219 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDM2OjI4QjBENzoyNEI4QTg6MzQ0RkFBOjY5NkEwNjk5IiwidmlzaXRvcl9pZCI6IjQ4NDMyMTg5MjM5MTUxODM3NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e878a9c5f050e9c6136d00edcb792553e0c0a9a59b8a75d44ec28474ed3d24d2 |
| hovercard-subject-tag | pull_request:657943562 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/26459/files |
| twitter:image | https://avatars.githubusercontent.com/u/243874?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/243874?s=400&v=4 |
| og:image:alt | Added a function that returns a copy of a dict of logging levels.
https://bugs.python.org/issue43858 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 671c2f67171dbced24284331f3133a613d08c366 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/26459/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26459%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26459%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/26459/files |
| Reload | https://github.com/python/cpython/pull/26459/files |
| Reload | https://github.com/python/cpython/pull/26459/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/26459/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/26459/files |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| miss-islington | https://github.com/miss-islington |
| python:main | https://github.com/python/cpython/tree/main |
| akulakov:43858-add-logging-getLevelNamesDict | https://github.com/akulakov/cpython/tree/43858-add-logging-getLevelNamesDict |
|
Conversation
28
| https://github.com/python/cpython/pull/26459 |
|
Commits
12
| https://github.com/python/cpython/pull/26459/commits |
|
Checks
0
| https://github.com/python/cpython/pull/26459/checks |
|
Files changed
| https://github.com/python/cpython/pull/26459/files |
| Please reload this page | https://github.com/python/cpython/pull/26459/files |
|
bpo-43858: Add logging.getLevelNamesMapping()
| https://github.com/python/cpython/pull/26459/files#top |
|
Show all changes
12 commits
| https://github.com/python/cpython/pull/26459/files |
|
f80b73a
added getLevelNamesDict()
akulakov May 31, 2021
| https://github.com/python/cpython/pull/26459/commits/f80b73a9f6530c6626948b83b35fde3c74eb5c7d |
|
e5601b0
Added getLevelNamesDict doc
akulakov May 31, 2021
| https://github.com/python/cpython/pull/26459/commits/e5601b0d046efcce8267a0e56a60c8c6dcd5ab2f |
|
72a6efa
📜🤖 Added by blurb_it.
blurb-it[bot] May 31, 2021
| https://github.com/python/cpython/pull/26459/commits/72a6efac423129fcc576913fb9e974d0d65403db |
|
e59141b
Add getLevelNamesDict() to __all__
akulakov May 31, 2021
| https://github.com/python/cpython/pull/26459/commits/e59141b348bf2c67f6f8c233750188193057c563 |
|
bebd56a
Updated func name; expanded doc; added unit test
akulakov May 31, 2021
| https://github.com/python/cpython/pull/26459/commits/bebd56a3d606dcb1b5dc8b6622039cfe79270fb8 |
|
0fffa1c
fix indentation on __all__
akulakov May 31, 2021
| https://github.com/python/cpython/pull/26459/commits/0fffa1cbd5141e73404d1afbf706e7e8e80d0563 |
|
f56e012
fix __all__ again
akulakov May 31, 2021
| https://github.com/python/cpython/pull/26459/commits/f56e012ecbabc3ebff9e79cc18b88d48283e4b77 |
|
f578c79
updated new entry
akulakov May 31, 2021
| https://github.com/python/cpython/pull/26459/commits/f578c798a46e5c5ba25f19a8c8ae37d954d0dbcd |
|
cc7a8c8
fixed typo in news; expanded tests; added example to the doc
akulakov Jun 1, 2021
| https://github.com/python/cpython/pull/26459/commits/cc7a8c83ee4f79aa34ff240a391078ff5fb192ad |
|
e71183e
fix2 for news
akulakov Jun 1, 2021
| https://github.com/python/cpython/pull/26459/commits/e71183eb683f32c05091d6e088c3856d7bbfd99c |
|
3d41503
remove parens from doc link
akulakov Jun 1, 2021
| https://github.com/python/cpython/pull/26459/commits/3d41503bfce4f7886f4404b311e41238d66fbe58 |
|
5b1631c
fixed double definition of test
akulakov Jun 2, 2021
| https://github.com/python/cpython/pull/26459/commits/5b1631c47792422591326a9df40b7a6d174a7429 |
|
Clear filters
| https://github.com/python/cpython/pull/26459/files |
| Please reload this page | https://github.com/python/cpython/pull/26459/files |
| Please reload this page | https://github.com/python/cpython/pull/26459/files |
|
logging.rst
| https://github.com/python/cpython/pull/26459/files#diff-5a71f910c8cd3cfddb8eb3d3e938b3ff7deaf2ba57f71d91e4b9dbdc58d890fb |
|
__init__.py
| https://github.com/python/cpython/pull/26459/files#diff-1bf0ad6d121df3948853dafdd8e5406709fe0c3911b30e3cf2def41717455c98 |
|
test_logging.py
| https://github.com/python/cpython/pull/26459/files#diff-bc15bb717afb8343ceee4cd4219559dc397092dcde20271f6e8708c2b132976f |
|
2021-05-31-04-51-02.bpo-43858.r7LOu6.rst
| https://github.com/python/cpython/pull/26459/files#diff-e15a1bd84c13a0e071a6fb9db56c2e05cbc44b06d4723d3f307ef15e6256bff2 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L513 |
| Doc/library/logging.rst | https://github.com/python/cpython/pull/26459/files#diff-5a71f910c8cd3cfddb8eb3d3e938b3ff7deaf2ba57f71d91e4b9dbdc58d890fb |
|
View file
| https://github.com/akulakov/cpython/blob/5b1631c47792422591326a9df40b7a6d174a7429/Doc/library/logging.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/26459/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/26459/files#diff-5a71f910c8cd3cfddb8eb3d3e938b3ff7deaf2ba57f71d91e4b9dbdc58d890fb |
|
| https://github.com/python/cpython/pull/26459/files#diff-5a71f910c8cd3cfddb8eb3d3e938b3ff7deaf2ba57f71d91e4b9dbdc58d890fb |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L514 |
| Lib/logging/__init__.py | https://github.com/python/cpython/pull/26459/files#diff-1bf0ad6d121df3948853dafdd8e5406709fe0c3911b30e3cf2def41717455c98 |
|
View file
| https://github.com/akulakov/cpython/blob/5b1631c47792422591326a9df40b7a6d174a7429/Lib/logging/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/26459/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/26459/files#diff-1bf0ad6d121df3948853dafdd8e5406709fe0c3911b30e3cf2def41717455c98 |
|
| https://github.com/python/cpython/pull/26459/files#diff-1bf0ad6d121df3948853dafdd8e5406709fe0c3911b30e3cf2def41717455c98 |
|
| https://github.com/python/cpython/pull/26459/files#diff-1bf0ad6d121df3948853dafdd8e5406709fe0c3911b30e3cf2def41717455c98 |
|
| https://github.com/python/cpython/pull/26459/files#diff-1bf0ad6d121df3948853dafdd8e5406709fe0c3911b30e3cf2def41717455c98 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L515 |
| Lib/test/test_logging.py | https://github.com/python/cpython/pull/26459/files#diff-bc15bb717afb8343ceee4cd4219559dc397092dcde20271f6e8708c2b132976f |
|
View file
| https://github.com/akulakov/cpython/blob/5b1631c47792422591326a9df40b7a6d174a7429/Lib/test/test_logging.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/26459/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/26459/files#diff-bc15bb717afb8343ceee4cd4219559dc397092dcde20271f6e8708c2b132976f |
|
| https://github.com/python/cpython/pull/26459/files#diff-bc15bb717afb8343ceee4cd4219559dc397092dcde20271f6e8708c2b132976f |
| Misc/NEWS.d/next/Library/2021-05-31-04-51-02.bpo-43858.r7LOu6.rst | https://github.com/python/cpython/pull/26459/files#diff-e15a1bd84c13a0e071a6fb9db56c2e05cbc44b06d4723d3f307ef15e6256bff2 |
|
View file
| https://github.com/akulakov/cpython/blob/5b1631c47792422591326a9df40b7a6d174a7429/Misc/NEWS.d/next/Library/2021-05-31-04-51-02.bpo-43858.r7LOu6.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/26459/{{ revealButtonHref }} |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |