| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a211b158-4bd8-f7ad-e630-7b6a0dd4320b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 82F0:47423:5E7881F:84B5D68:6A500479 |
| html-safe-nonce | 61aaddadf3e91f2c51ac665b5cfcf0a182755863e00f9faccba14300c04c2174 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkYwOjQ3NDIzOjVFNzg4MUY6ODRCNUQ2ODo2QTUwMDQ3OSIsInZpc2l0b3JfaWQiOiIxNzc0ODAyNzM5MzEyNzMzMzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5efee1d2b41dc15e3e63df4bbc3740eac2f502db496ea0a827cd649e59b989f5 |
| hovercard-subject-tag | pull_request:156692162 |
| 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/4734/files |
| twitter:image | https://avatars.githubusercontent.com/u/1026649?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1026649?s=400&v=4 |
| og:image:alt | Rather than supporting dev mode and the command
line BytesWarning flag directly in the warnings module,
this instead adjusts the initialisation code to add extra
entries to sys.warnoptions when the... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56eec25a3430492dd6ec2a480eb33256a0da5192d5714b0db4f5ab5f33203d94 |
| 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 | e155b8a71f9284454f73118dfe5e634e74f7afb3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/4734/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4734%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%2F4734%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/4734/files |
| Reload | https://github.com/python/cpython/pull/4734/files |
| Reload | https://github.com/python/cpython/pull/4734/files |
| Please reload this page | https://github.com/python/cpython/pull/4734/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/4734/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.6k
| 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 |
| ncoghlan | https://github.com/ncoghlan |
| python:master | https://github.com/python/cpython/tree/master |
| ncoghlan:issue-32230-set-warnoptions-in-dev-mode | https://github.com/ncoghlan/cpython/tree/issue-32230-set-warnoptions-in-dev-mode |
|
Conversation
14
| https://github.com/python/cpython/pull/4734 |
|
Commits
11
| https://github.com/python/cpython/pull/4734/commits |
|
Checks
0
| https://github.com/python/cpython/pull/4734/checks |
|
Files changed
| https://github.com/python/cpython/pull/4734/files |
| Please reload this page | https://github.com/python/cpython/pull/4734/files |
|
bpo-32230, bpo-20361: Set sys.warnoptions for all command line options
| https://github.com/python/cpython/pull/4734/files#top |
|
Show all changes
11 commits
| https://github.com/python/cpython/pull/4734/files |
|
a8b40f3
bpo-32230: Set sys.warnoptions with -X dev
ncoghlan Dec 6, 2017
| https://github.com/python/cpython/pull/4734/commits/a8b40f3b9dab8f7ae043ec38453203bd798611c7 |
|
0cb8f29
Fix typo in NEWS entry
ncoghlan Dec 6, 2017
| https://github.com/python/cpython/pull/4734/commits/0cb8f29c664f1d315fe0a805a830898cd90aa614 |
|
e1a7d62
-X dev should take precedence over PYTHONWARNINGS
ncoghlan Dec 6, 2017
| https://github.com/python/cpython/pull/4734/commits/e1a7d62d9381cf1e49b7ccd1f1c202095ae0c6a3 |
|
89960ef
Add explanatory comment about BytesWarning
ncoghlan Dec 6, 2017
| https://github.com/python/cpython/pull/4734/commits/89960efb5879c5201fad10592e8a1ec55c2beecf |
|
d5c1576
Fix Python level checks for a debug build
ncoghlan Dec 6, 2017
| https://github.com/python/cpython/pull/4734/commits/d5c157691dba9a034dbc5ea065b7f99c38cb804a |
|
019dbea
Add a comment explaining warnings filter priority order
ncoghlan Dec 6, 2017
| https://github.com/python/cpython/pull/4734/commits/019dbea0b569f2f186688c33b31605c965d8709c |
|
04f7de3
Address PR review feedback
ncoghlan Dec 7, 2017
| https://github.com/python/cpython/pull/4734/commits/04f7de32e0a5a229bea9f595cac3d2cf000f4656 |
|
6e44c43
Second NEWS entry, and update What's New
ncoghlan Dec 7, 2017
| https://github.com/python/cpython/pull/4734/commits/6e44c431c85acdbc8b698f22271c7b8f78af7f25 |
|
ed37a23
Add warnings filter test case
ncoghlan Dec 7, 2017
| https://github.com/python/cpython/pull/4734/commits/ed37a23abcef7362411fbca5c008d447a99be8e0 |
|
77b1f02
Use the code role to avoid a warning
ncoghlan Dec 7, 2017
| https://github.com/python/cpython/pull/4734/commits/77b1f02aa39d5e7f0f9d1f6aeba13ec296b57df1 |
|
a85790b
Suppress false alarms from 'make suspicious'
ncoghlan Dec 7, 2017
| https://github.com/python/cpython/pull/4734/commits/a85790be3a816f44ca6f01e2dd6ad596850af733 |
|
Clear filters
| https://github.com/python/cpython/pull/4734/files |
| Please reload this page | https://github.com/python/cpython/pull/4734/files |
| Please reload this page | https://github.com/python/cpython/pull/4734/files |
|
susp-ignored.csv
| https://github.com/python/cpython/pull/4734/files#diff-f2d07d8e818b46b42f9fff17a09058c554e8cb6baa7fbfbdf77b266c97155f4e |
|
3.7.rst
| https://github.com/python/cpython/pull/4734/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
subprocess.py
| https://github.com/python/cpython/pull/4734/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
test_cmd_line.py
| https://github.com/python/cpython/pull/4734/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0 |
|
warnings.py
| https://github.com/python/cpython/pull/4734/files#diff-1d0c2ffbcb01254c4ab02053d85527be50e03ea2908dc6cdba9fc185b8df9b7b |
|
2017-12-06-20-18-34.bpo-32230.PgGQaB.rst
| https://github.com/python/cpython/pull/4734/files#diff-982404a504d43aaf42a0f219e7c554fe8381d27c9349d34fcce965879e105a76 |
|
2017-12-07-17-22-30.bpo-20361.zQUmbi.rst
| https://github.com/python/cpython/pull/4734/files#diff-0acd3ba272130705bda843f696683d18ac17d267d8cab8a193439b72753691a6 |
|
main.c
| https://github.com/python/cpython/pull/4734/files#diff-79e40dbd94b164b5f42a960224cc7496e33c189b4c66a6810904eda7d703b6f2 |
|
_warnings.c
| https://github.com/python/cpython/pull/4734/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58 |
| Doc/tools/susp-ignored.csv | https://github.com/python/cpython/pull/4734/files#diff-f2d07d8e818b46b42f9fff17a09058c554e8cb6baa7fbfbdf77b266c97155f4e |
|
View file
| https://github.com/ncoghlan/cpython/blob/a85790be3a816f44ca6f01e2dd6ad596850af733/Doc/tools/susp-ignored.csv |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4734/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4734/files#diff-f2d07d8e818b46b42f9fff17a09058c554e8cb6baa7fbfbdf77b266c97155f4e |
| Doc/whatsnew/3.7.rst | https://github.com/python/cpython/pull/4734/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
View file
| https://github.com/ncoghlan/cpython/blob/a85790be3a816f44ca6f01e2dd6ad596850af733/Doc/whatsnew/3.7.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4734/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4734/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
| https://github.com/python/cpython/pull/4734/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
| https://github.com/python/cpython/pull/4734/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
| https://github.com/python/cpython/pull/4734/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
| Lib/subprocess.py | https://github.com/python/cpython/pull/4734/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
View file
| https://github.com/ncoghlan/cpython/blob/a85790be3a816f44ca6f01e2dd6ad596850af733/Lib/subprocess.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4734/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4734/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/4734/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
|
| https://github.com/python/cpython/pull/4734/files#diff-619941af4b328b6abf2dc02c54e774fc17acc1ac4172c14db27d6097cbbff92a |
| Lib/test/test_cmd_line.py | https://github.com/python/cpython/pull/4734/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0 |
|
View file
| https://github.com/ncoghlan/cpython/blob/a85790be3a816f44ca6f01e2dd6ad596850af733/Lib/test/test_cmd_line.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4734/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4734/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0 |
|
| https://github.com/python/cpython/pull/4734/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0 |
|
| https://github.com/python/cpython/pull/4734/files#diff-128fff16ea63b541718887f5c714e0c1a357414fe1146b4893ef699e8853e3b0 |
| Lib/warnings.py | https://github.com/python/cpython/pull/4734/files#diff-1d0c2ffbcb01254c4ab02053d85527be50e03ea2908dc6cdba9fc185b8df9b7b |
|
View file
| https://github.com/ncoghlan/cpython/blob/a85790be3a816f44ca6f01e2dd6ad596850af733/Lib/warnings.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4734/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4734/files#diff-1d0c2ffbcb01254c4ab02053d85527be50e03ea2908dc6cdba9fc185b8df9b7b |
| Misc/NEWS.d/next/Core and Builtins/2017-12-06-20-18-34.bpo-32230.PgGQaB.rst | https://github.com/python/cpython/pull/4734/files#diff-982404a504d43aaf42a0f219e7c554fe8381d27c9349d34fcce965879e105a76 |
|
View file
| https://github.com/ncoghlan/cpython/blob/a85790be3a816f44ca6f01e2dd6ad596850af733/Misc/NEWS.d/next/Core%20and%20Builtins/2017-12-06-20-18-34.bpo-32230.PgGQaB.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4734/{{ revealButtonHref }} |
| Misc/NEWS.d/next/Core and Builtins/2017-12-07-17-22-30.bpo-20361.zQUmbi.rst | https://github.com/python/cpython/pull/4734/files#diff-0acd3ba272130705bda843f696683d18ac17d267d8cab8a193439b72753691a6 |
|
View file
| https://github.com/ncoghlan/cpython/blob/a85790be3a816f44ca6f01e2dd6ad596850af733/Misc/NEWS.d/next/Core%20and%20Builtins/2017-12-07-17-22-30.bpo-20361.zQUmbi.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4734/{{ revealButtonHref }} |
| Modules/main.c | https://github.com/python/cpython/pull/4734/files#diff-79e40dbd94b164b5f42a960224cc7496e33c189b4c66a6810904eda7d703b6f2 |
|
View file
| https://github.com/ncoghlan/cpython/blob/a85790be3a816f44ca6f01e2dd6ad596850af733/Modules/main.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4734/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4734/files#diff-79e40dbd94b164b5f42a960224cc7496e33c189b4c66a6810904eda7d703b6f2 |
|
| https://github.com/python/cpython/pull/4734/files#diff-79e40dbd94b164b5f42a960224cc7496e33c189b4c66a6810904eda7d703b6f2 |
|
| https://github.com/python/cpython/pull/4734/files#diff-79e40dbd94b164b5f42a960224cc7496e33c189b4c66a6810904eda7d703b6f2 |
| Python/_warnings.c | https://github.com/python/cpython/pull/4734/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58 |
|
View file
| https://github.com/ncoghlan/cpython/blob/a85790be3a816f44ca6f01e2dd6ad596850af733/Python/_warnings.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4734/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4734/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58 |
|
| https://github.com/python/cpython/pull/4734/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58 |
|
| https://github.com/python/cpython/pull/4734/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58 |
|
| https://github.com/python/cpython/pull/4734/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58 |
|
| https://github.com/python/cpython/pull/4734/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58 |
|
| 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 |