| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:622323f6-8970-22fe-d3c1-d5e616663607 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9C72:CB81E:A5BDF5:E9505E:6A4FD869 |
| html-safe-nonce | c89721426574bc9afc698576ef818960f0982ba5c3dc805902077dc9befc296e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzcyOkNCODFFOkE1QkRGNTpFOTUwNUU6NkE0RkQ4NjkiLCJ2aXNpdG9yX2lkIjoiMTE0MDkxMzcxNDEzMzcxOTE0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 586064e57b3349b1d8534c2ede695132af50bf11114f3c2c74b589ea14312315 |
| hovercard-subject-tag | pull_request:137843285 |
| 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/3219/files |
| twitter:image | https://avatars.githubusercontent.com/u/10146804?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10146804?s=400&v=4 |
| og:image:alt | in _warnings.c: add checks whether the return value of the received loader's get_source() is invalid.
in test_warnings/__init__.py: add tests to verify the assertion failure and the SystemError... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c |
| 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 | 142593e66413bbae27fd485859993597d5a3b104 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/3219/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F3219%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%2F3219%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/3219/files |
| Reload | https://github.com/python/cpython/pull/3219/files |
| Reload | https://github.com/python/cpython/pull/3219/files |
| Please reload this page | https://github.com/python/cpython/pull/3219/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/3219/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.8k
| 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 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:master | https://github.com/python/cpython/tree/master |
| orenmn:bpo31285-fix-assertion-failure-and-SystemError | https://github.com/orenmn/cpython/tree/bpo31285-fix-assertion-failure-and-SystemError |
|
Conversation
14
| https://github.com/python/cpython/pull/3219 |
|
Commits
9
| https://github.com/python/cpython/pull/3219/commits |
|
Checks
0
| https://github.com/python/cpython/pull/3219/checks |
|
Files changed
| https://github.com/python/cpython/pull/3219/files |
| Please reload this page | https://github.com/python/cpython/pull/3219/files |
|
bpo-31285: fix an assertion failure and a SystemError in warnings.warn_explicit
| https://github.com/python/cpython/pull/3219/files#top |
|
Show all changes
9 commits
| https://github.com/python/cpython/pull/3219/files |
|
ff52f6b
init commit
orenmn Aug 27, 2017
| https://github.com/python/cpython/pull/3219/commits/ff52f6bbbdc48e68f9438efe2fb58123aeb09b69 |
|
252647d
add a NEWS.d item
orenmn Aug 27, 2017
| https://github.com/python/cpython/pull/3219/commits/252647d48ec36386d51f0ce7b6f3940a40a3f315 |
|
d4dbe6d
replace the C equivalent of source.splitlines() with str.splitlines(s…
orenmn Aug 28, 2017
| https://github.com/python/cpython/pull/3219/commits/d4dbe6dca56fa5dbef63f8449e805b87e774fe2c |
|
9eb55b5
fix NEWS.d item
orenmn Aug 28, 2017
| https://github.com/python/cpython/pull/3219/commits/9eb55b5a63ce139f4bdb6366d8a7955033f571eb |
|
5674174
improve test method and its name, and change to PyUnicode_Splitlines()
orenmn Aug 30, 2017
| https://github.com/python/cpython/pull/3219/commits/5674174e3254c59c7d355a623f788ff0237215c6 |
|
b8fe794
resolve conflict in test_warnings/__init__.py
orenmn Sep 11, 2017
| https://github.com/python/cpython/pull/3219/commits/b8fe79412becfca2127ada373f4d9b388e53d083 |
|
64f31fc
merge master
orenmn Sep 24, 2017
| https://github.com/python/cpython/pull/3219/commits/64f31fcb03d98d67be53efb3e4484bbae3a8cc97 |
|
6fe73a4
remove redundant underscore
orenmn Sep 24, 2017
| https://github.com/python/cpython/pull/3219/commits/6fe73a4cdd38a2126a95e9aa696d1f3d5f90c1c7 |
|
71da7df
fix the test, and make it clearer
orenmn Sep 24, 2017
| https://github.com/python/cpython/pull/3219/commits/71da7df1c0e0627d1afb836f5edd9f5a8e8f6255 |
|
Clear filters
| https://github.com/python/cpython/pull/3219/files |
| Please reload this page | https://github.com/python/cpython/pull/3219/files |
| Please reload this page | https://github.com/python/cpython/pull/3219/files |
|
__init__.py
| https://github.com/python/cpython/pull/3219/files#diff-21be9e4809f5cd7dcd4665eb0054b4bf9d924c2c9ce0a010e85dba405e94d9e9 |
|
2017-08-27-21-18-30.bpo-31285.7lzaKV.rst
| https://github.com/python/cpython/pull/3219/files#diff-8f63534c04d0e531cc9dc04e00dfacee80d29f6659343b4fd0eae5421d83fd4e |
|
_warnings.c
| https://github.com/python/cpython/pull/3219/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58 |
| Lib/test/test_warnings/__init__.py | https://github.com/python/cpython/pull/3219/files#diff-21be9e4809f5cd7dcd4665eb0054b4bf9d924c2c9ce0a010e85dba405e94d9e9 |
|
View file
| https://github.com/orenmn/cpython/blob/71da7df1c0e0627d1afb836f5edd9f5a8e8f6255/Lib/test/test_warnings/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/3219/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/3219/files#diff-21be9e4809f5cd7dcd4665eb0054b4bf9d924c2c9ce0a010e85dba405e94d9e9 |
|
| https://github.com/python/cpython/pull/3219/files#diff-21be9e4809f5cd7dcd4665eb0054b4bf9d924c2c9ce0a010e85dba405e94d9e9 |
| Misc/NEWS.d/next/Core and Builtins/2017-08-27-21-18-30.bpo-31285.7lzaKV.rst | https://github.com/python/cpython/pull/3219/files#diff-8f63534c04d0e531cc9dc04e00dfacee80d29f6659343b4fd0eae5421d83fd4e |
|
View file
| https://github.com/orenmn/cpython/blob/71da7df1c0e0627d1afb836f5edd9f5a8e8f6255/Misc/NEWS.d/next/Core%20and%20Builtins/2017-08-27-21-18-30.bpo-31285.7lzaKV.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/3219/{{ revealButtonHref }} |
| Python/_warnings.c | https://github.com/python/cpython/pull/3219/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58 |
|
View file
| https://github.com/orenmn/cpython/blob/71da7df1c0e0627d1afb836f5edd9f5a8e8f6255/Python/_warnings.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/3219/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/3219/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58 |
|
| https://github.com/python/cpython/pull/3219/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 |