| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:7380827e-0694-feae-cc85-601aaf3663e2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AD16:3161F8:CC4FC:112682:6A53D5B8 |
| html-safe-nonce | 25c9c66ce525ea6fab935e04f20d833ec0d3bd6cf7345170abf0cc7f8e5632ff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDE2OjMxNjFGODpDQzRGQzoxMTI2ODI6NkE1M0Q1QjgiLCJ2aXNpdG9yX2lkIjoiNzM0ODU5MDE5MTE0NzYzNzA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ec6dee5e25f5bab322acecd062b426b1bca9c0265d1dd304166412c7bd1485c4 |
| hovercard-subject-tag | pull_request:304174725 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/peps/1140/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/72a9537b3c5552e03f4b028c49c3e5efc5673e5a4b24cff7b4432bac943c5997/python/peps/pull/1140 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/72a9537b3c5552e03f4b028c49c3e5efc5673e5a4b24cff7b4432bac943c5997/python/peps/pull/1140 |
| og:image:alt | switch from the new TargetScopeError to a plain SyntaxError
as per referenced python-dev discussion
clarify rationale for those extra SyntaxError cases (we don't
want current CPython implementa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ncoghlan |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/python/peps git https://github.com/python/peps.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 13414105 |
| octolytics-dimension-repository_nwo | python/peps |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13414105 |
| octolytics-dimension-repository_network_root_nwo | python/peps |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/peps/pull/1140#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpeps%2Fpull%2F1140 |
| 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%2Fpeps%2Fpull%2F1140 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fpeps |
| Reload | https://github.com/python/peps/pull/1140 |
| Reload | https://github.com/python/peps/pull/1140 |
| Reload | https://github.com/python/peps/pull/1140 |
| Please reload this page | https://github.com/python/peps/pull/1140 |
|
python
| https://github.com/python |
| peps | https://github.com/python/peps |
| Please reload this page | https://github.com/python/peps/pull/1140 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fpeps |
|
Fork
1.8k
| https://github.com/login?return_to=%2Fpython%2Fpeps |
|
Star
5k
| https://github.com/login?return_to=%2Fpython%2Fpeps |
|
Code
| https://github.com/python/peps |
|
Issues
20
| https://github.com/python/peps/issues |
|
Pull requests
42
| https://github.com/python/peps/pulls |
|
Actions
| https://github.com/python/peps/actions |
|
Security and quality
0
| https://github.com/python/peps/security |
|
Insights
| https://github.com/python/peps/pulse |
|
Code
| https://github.com/python/peps |
|
Issues
| https://github.com/python/peps/issues |
|
Pull requests
| https://github.com/python/peps/pulls |
|
Actions
| https://github.com/python/peps/actions |
|
Security and quality
| https://github.com/python/peps/security |
|
Insights
| https://github.com/python/peps/pulse |
| ncoghlan | https://github.com/ncoghlan |
| python:master | https://github.com/python/peps/tree/master |
| ncoghlan:bpo-37757-targetscopeerror-adjustments | https://github.com/ncoghlan/peps/tree/bpo-37757-targetscopeerror-adjustments |
| Conversation | https://github.com/python/peps/pull/1140 |
| Commits5 (5) | https://github.com/python/peps/pull/1140/commits |
| Checks | https://github.com/python/peps/pull/1140/checks |
| Files changed | https://github.com/python/peps/pull/1140/files |
| PEP 572: TargetScopeError->SyntaxError, other SyntaxError adjustments | https://github.com/python/peps/pull/1140#top |
| ncoghlan | https://github.com/ncoghlan |
| python:master | https://github.com/python/peps/tree/master |
| ncoghlan:bpo-37757-targetscopeerror-adjustments | https://github.com/ncoghlan/peps/tree/bpo-37757-targetscopeerror-adjustments |
|
| https://github.com/ncoghlan |
| ncoghlan | https://github.com/ncoghlan |
| Aug 5, 2019 | https://github.com/python/peps/pull/1140#issue-476698921 |
| Please reload this page | https://github.com/python/peps/pull/1140 |
| Please reload this page | https://github.com/python/peps/pull/1140 |
|
| https://github.com/ncoghlan |
| PEP 572: Update TargetScopeError section based on implementation | https://github.com/python/peps/pull/1140/commits/cb270157377386b904f13715cc57f0e7c21b1b8d |
| cb27015 | https://github.com/python/peps/pull/1140/commits/cb270157377386b904f13715cc57f0e7c21b1b8d |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/peps/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Aug 5, 2019 | https://github.com/python/peps/pull/1140#event-2532552690 |
|
| https://github.com/ncoghlan |
| Add note about dead code, fix markup | https://github.com/python/peps/pull/1140/commits/7244266d72458851f132f4e46fd3f5345b5df7fd |
| 7244266 | https://github.com/python/peps/pull/1140/commits/7244266d72458851f132f4e46fd3f5345b5df7fd |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
|
Aug 5, 2019
| https://github.com/python/peps/pull/1140#pullrequestreview-271038174 |
|
View reviewed changes
| https://github.com/python/peps/pull/1140/files/7244266d72458851f132f4e46fd3f5345b5df7fd |
| gvanrossum | https://github.com/gvanrossum |
| https://github.com/python/peps/pull/1140#pullrequestreview-271038174 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/peps/pull/1140 |
| pep-0572.rst | https://github.com/python/peps/pull/1140/files/7244266d72458851f132f4e46fd3f5345b5df7fd#diff-387039b130e41e888dd5f6e0fd63aeb5739afe45c3236c79a39ebfd9855dcbef |
| Please reload this page | https://github.com/python/peps/pull/1140 |
| pep-0572.rst | https://github.com/python/peps/pull/1140/files/7244266d72458851f132f4e46fd3f5345b5df7fd#diff-387039b130e41e888dd5f6e0fd63aeb5739afe45c3236c79a39ebfd9855dcbef |
| Please reload this page | https://github.com/python/peps/pull/1140 |
| pep-0572.rst | https://github.com/python/peps/pull/1140/files/7244266d72458851f132f4e46fd3f5345b5df7fd#diff-387039b130e41e888dd5f6e0fd63aeb5739afe45c3236c79a39ebfd9855dcbef |
| Please reload this page | https://github.com/python/peps/pull/1140 |
| pep-0572.rst | https://github.com/python/peps/pull/1140/files/7244266d72458851f132f4e46fd3f5345b5df7fd#diff-387039b130e41e888dd5f6e0fd63aeb5739afe45c3236c79a39ebfd9855dcbef |
| Please reload this page | https://github.com/python/peps/pull/1140 |
| ncoghlan | https://github.com/ncoghlan |
| August 10, 2019 00:16 | https://github.com/python/peps/pull/1140#commits-pushed-6f7e3e6 |
|
| https://github.com/ncoghlan |
| PEP 572: address review comments | https://github.com/python/peps/pull/1140/commits/6f7e3e67702593ea7dfc3f4d7ee805690f071c9a |
| 6f7e3e6 | https://github.com/python/peps/pull/1140/commits/6f7e3e67702593ea7dfc3f4d7ee805690f071c9a |
|
| https://github.com/ncoghlan |
| Add section noting post-acceptance changes | https://github.com/python/peps/pull/1140/commits/2a868983100932085f21f86fd725daddff925162 |
| 2a86898 | https://github.com/python/peps/pull/1140/commits/2a868983100932085f21f86fd725daddff925162 |
|
| https://github.com/ncoghlan |
| python-dev reference for TargetScopeError removal | https://github.com/python/peps/pull/1140/commits/64f21f7c25cb587e2f69242f8b892696a00a5912 |
| 64f21f7 | https://github.com/python/peps/pull/1140/commits/64f21f7c25cb587e2f69242f8b892696a00a5912 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
|
Aug 10, 2019
| https://github.com/python/peps/pull/1140#pullrequestreview-273409009 |
|
View reviewed changes
| https://github.com/python/peps/pull/1140/files/64f21f7c25cb587e2f69242f8b892696a00a5912 |
| gvanrossum | https://github.com/gvanrossum |
| https://github.com/python/peps/pull/1140#pullrequestreview-273409009 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @tim-one | https://github.com/tim-one |
| @Rosuav | https://github.com/Rosuav |
| @emilyemorehouse | https://github.com/emilyemorehouse |
| Please reload this page | https://github.com/python/peps/pull/1140 |
| https://github.com/Rosuav |
| Rosuav | https://github.com/Rosuav |
| Aug 10, 2019 | https://github.com/python/peps/pull/1140#issuecomment-520113079 |
| Please reload this page | https://github.com/python/peps/pull/1140 |
| https://github.com/ncoghlan |
| ncoghlan | https://github.com/ncoghlan |
| Aug 13, 2019 | https://github.com/python/peps/pull/1140#event-2554861859 |
| https://github.com/warsaw |
| warsaw | https://github.com/warsaw |
|
Aug 13, 2019
| https://github.com/python/peps/pull/1140#pullrequestreview-274581527 |
|
View reviewed changes
| https://github.com/python/peps/pull/1140/files/64f21f7c25cb587e2f69242f8b892696a00a5912 |
| https://github.com/ncoghlan |
| ncoghlan | https://github.com/ncoghlan |
| Aug 14, 2019 | https://github.com/python/peps/pull/1140#event-2555226113 |
| https://github.com/ncoghlan |
| ncoghlan | https://github.com/ncoghlan |
| cd292d8 | https://github.com/python/peps/commit/cd292d89972476fa485a8ac1b14c1ed85b8c4867 |
| Aug 14, 2019 | https://github.com/python/peps/pull/1140#event-2555227732 |
| https://github.co/hiddenchars |
| https://github.com/python/peps/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpeps%2Fpull%2F1140 |
|
| https://github.com/warsaw |
|
warsaw
| https://github.com/warsaw |
|
| https://github.com/python/peps/pull/1140/files/64f21f7c25cb587e2f69242f8b892696a00a5912 |
|
| https://github.com/gvanrossum |
|
gvanrossum
| https://github.com/gvanrossum |
|
| https://github.com/python/peps/pull/1140/files/64f21f7c25cb587e2f69242f8b892696a00a5912 |
|
CLA signed
| https://github.com/python/peps/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Please reload this page | https://github.com/python/peps/pull/1140 |
|
| https://github.com/ncoghlan |
|
| https://github.com/Rosuav |
|
| https://github.com/warsaw |
|
| https://github.com/gvanrossum |
|
| https://github.com/the-knights-who-say-ni |
|
| 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 |