| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:50c3eed2-916b-89d4-0bda-07f93e5b6978 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C5A0:2C7987:46CDCA5:6375BDA:6A56E5BF |
| html-safe-nonce | 6e68c013ca31f559cff5dd6786f625af4a62d9ddf252b1836f39810172559c2a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUEwOjJDNzk4Nzo0NkNEQ0E1OjYzNzVCREE6NkE1NkU1QkYiLCJ2aXNpdG9yX2lkIjoiNTYzODU2MzUzNjE5NDQzMDM5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0c85bbc1f53973e5e896c0179c97f91ec4f4bb4fc5cb04997964c04e80c029ff |
| hovercard-subject-tag | pull_request:386452180 |
| 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/18911/files |
| twitter:image | https://avatars.githubusercontent.com/u/16909216?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/16909216?s=400&v=4 |
| og:image:alt | @brandtbucher
When implementing __or__ and __ror__, I found there to be two potential candidates for a return value, either a dict, or an os._Environ class.
I decided on returning a dict for two re... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5220a278731283038daf0ed00b41f06ef7ff9539020ecc806c5c5a0fb6bda25a |
| 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 | 8684ae1a81cd3e4ef219b241179982bbda1a5b1f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/18911/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F18911%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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%2F18911%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/18911/files |
| Reload | https://github.com/python/cpython/pull/18911/files |
| Reload | https://github.com/python/cpython/pull/18911/files |
| Please reload this page | https://github.com/python/cpython/pull/18911/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/18911/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| 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.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
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 and quality
| 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 |
| gvanrossum | https://github.com/gvanrossum |
| python:master | https://github.com/python/cpython/tree/master |
| chaburkland:master | https://github.com/chaburkland/cpython/tree/master |
|
Conversation
19
| https://github.com/python/cpython/pull/18911 |
|
Commits
10
| https://github.com/python/cpython/pull/18911/commits |
|
Checks
0
| https://github.com/python/cpython/pull/18911/checks |
|
Files changed
| https://github.com/python/cpython/pull/18911/files |
| Please reload this page | https://github.com/python/cpython/pull/18911/files |
|
bpo-36144: Update os.environ and os.environb for PEP 584
| https://github.com/python/cpython/pull/18911/files#top |
|
Show all changes
10 commits
| https://github.com/python/cpython/pull/18911/files |
|
66878fa
Adds union & update operators to os.environ and os.environb
chaburkland Mar 11, 2020
| https://github.com/python/cpython/pull/18911/commits/66878fa43f4d5c2b8cd6f5bfb603d62c75a527c1 |
|
4f9c057
Adds name to Misc/ACKS
chaburkland Mar 11, 2020
| https://github.com/python/cpython/pull/18911/commits/4f9c05791bdc8e4079451d924820cf9ec06f28e0 |
|
4b69c50
Update Lib/test/test_os.py
Mar 11, 2020
| https://github.com/python/cpython/pull/18911/commits/4b69c5006a393d65b1a9a45bff020347d05dadb1 |
|
c42d9d5
Update Lib/test/test_os.py
Mar 11, 2020
| https://github.com/python/cpython/pull/18911/commits/c42d9d5ead9560c5bf5f0a47eb9736f60aed9c2a |
|
399a122
Update Lib/test/test_os.py
Mar 11, 2020
| https://github.com/python/cpython/pull/18911/commits/399a122d1f35f980d83042a69301083a81946208 |
|
adf2903
Updates test keys to be UPPERCASE to support Windows.
chaburkland Mar 11, 2020
| https://github.com/python/cpython/pull/18911/commits/adf290331122e0122522113ee199333ff5260583 |
|
571a329
Makes the type/purpose of 'expected' more explicit.
chaburkland Mar 12, 2020
| https://github.com/python/cpython/pull/18911/commits/571a329ad48850e6f717c33471e53b2840dba716 |
|
4a2960a
Tests the underlying process environment is changing (or not changing…
chaburkland Mar 12, 2020
| https://github.com/python/cpython/pull/18911/commits/4a2960adef0c610444f9a7e80df981fa80fd3215 |
|
99826fe
Removes accidentally added diff.diff file.
chaburkland Mar 12, 2020
| https://github.com/python/cpython/pull/18911/commits/99826fe8a96483cb23d75671a5024bcac0d53579 |
|
7a693ba
Removes some unnecessary/expensive tests
chaburkland Mar 13, 2020
| https://github.com/python/cpython/pull/18911/commits/7a693ba331d5971a442db23e90b698cfc8e51743 |
|
Clear filters
| https://github.com/python/cpython/pull/18911/files |
| Please reload this page | https://github.com/python/cpython/pull/18911/files |
| Please reload this page | https://github.com/python/cpython/pull/18911/files |
|
os.rst
| https://github.com/python/cpython/pull/18911/files#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e |
|
os.py
| https://github.com/python/cpython/pull/18911/files#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
|
test_os.py
| https://github.com/python/cpython/pull/18911/files#diff-5007f0845419916c8b0294481e2ee212ca36661d9843f86338ec42254645edfc |
|
ACKS
| https://github.com/python/cpython/pull/18911/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
2020-03-10-19-22-31.bpo-36144.LABm7W.rst
| https://github.com/python/cpython/pull/18911/files#diff-71fd50a8915bdb341593b97296759c5736f3d6bdc72e6671171216c0eefc08b3 |
| Doc/library/os.rst | https://github.com/python/cpython/pull/18911/files#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e |
|
View file
| https://github.com/chaburkland/cpython/blob/7a693ba331d5971a442db23e90b698cfc8e51743/Doc/library/os.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/18911/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/18911/files#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e |
|
| https://github.com/python/cpython/pull/18911/files#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e |
|
| https://github.com/python/cpython/pull/18911/files#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e |
| Lib/os.py | https://github.com/python/cpython/pull/18911/files#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
|
View file
| https://github.com/chaburkland/cpython/blob/7a693ba331d5971a442db23e90b698cfc8e51743/Lib/os.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/18911/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/18911/files#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
|
| https://github.com/python/cpython/pull/18911/files#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
|
| https://github.com/python/cpython/pull/18911/files#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
|
| https://github.com/python/cpython/pull/18911/files#diff-d2e8ad2f4746ac5fb230fa5a7345fd4332c56818489a2246472d38893aa82431 |
| Lib/test/test_os.py | https://github.com/python/cpython/pull/18911/files#diff-5007f0845419916c8b0294481e2ee212ca36661d9843f86338ec42254645edfc |
|
View file
| https://github.com/chaburkland/cpython/blob/7a693ba331d5971a442db23e90b698cfc8e51743/Lib/test/test_os.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/18911/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/18911/files#diff-5007f0845419916c8b0294481e2ee212ca36661d9843f86338ec42254645edfc |
| gvanrossum | https://github.com/gvanrossum |
| Mar 12, 2020 | https://github.com/python/cpython/pull/18911/files#r391395847 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/18911/files |
| chaburkland | https://github.com/chaburkland |
| Mar 12, 2020 | https://github.com/python/cpython/pull/18911/files#r391798180 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/18911/files |
|
| https://github.com/python/cpython/pull/18911/files#diff-5007f0845419916c8b0294481e2ee212ca36661d9843f86338ec42254645edfc |
| Misc/ACKS | https://github.com/python/cpython/pull/18911/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
View file
| https://github.com/chaburkland/cpython/blob/7a693ba331d5971a442db23e90b698cfc8e51743/Misc/ACKS |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/18911/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/18911/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
| https://github.com/python/cpython/pull/18911/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
| Misc/NEWS.d/next/Library/2020-03-10-19-22-31.bpo-36144.LABm7W.rst | https://github.com/python/cpython/pull/18911/files#diff-71fd50a8915bdb341593b97296759c5736f3d6bdc72e6671171216c0eefc08b3 |
|
View file
| https://github.com/chaburkland/cpython/blob/7a693ba331d5971a442db23e90b698cfc8e51743/Misc/NEWS.d/next/Library/2020-03-10-19-22-31.bpo-36144.LABm7W.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/18911/{{ 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 |