| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:10745ad4-8e29-5d67-1678-ac63fe5b09ff |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E1BC:1ED2:1D59FF8:2AAF133:6A4D0E80 |
| html-safe-nonce | 01538d91f0d1fd5f89d6c2af44af82558b64bd77a992ae30533bbe4ba4098f02 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUJDOjFFRDI6MUQ1OUZGODoyQUFGMTMzOjZBNEQwRTgwIiwidmlzaXRvcl9pZCI6IjM5MjQyNTY0NjQxNjg2MTk2NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e4d449cf3859b45c9bca58d6483a7585b5e298d6af9fc6312fb603f6126fa967 |
| hovercard-subject-tag | pull_request:154740336 |
| 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/4579/files |
| twitter:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| og:image:alt | https://bugs.python.org/issue10544 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | bcb4661e6fb4fe8b394c51ea02ccdb2236d40dc59afc75a3bbba50bf6517134c |
| 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 | fb70bd3c4b2bec429781b65419e912c66e2d5581 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/4579/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4579%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/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/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/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%2F4579%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/4579/files |
| Reload | https://github.com/python/cpython/pull/4579/files |
| Reload | https://github.com/python/cpython/pull/4579/files |
| Please reload this page | https://github.com/python/cpython/pull/4579/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/4579/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 |
| ncoghlan | https://github.com/ncoghlan |
| python:master | https://github.com/python/cpython/tree/master |
| serhiy-storchaka:deprecate-yield-in-comprehensions | https://github.com/serhiy-storchaka/cpython/tree/deprecate-yield-in-comprehensions |
|
Conversation
21
| https://github.com/python/cpython/pull/4579 |
|
Commits
14
| https://github.com/python/cpython/pull/4579/commits |
|
Checks
0
| https://github.com/python/cpython/pull/4579/checks |
|
Files changed
| https://github.com/python/cpython/pull/4579/files |
| Please reload this page | https://github.com/python/cpython/pull/4579/files |
|
bpo-10544: Deprecate "yield" in comprehensions and generator expressions.
| https://github.com/python/cpython/pull/4579/files#top |
|
Show all changes
14 commits
| https://github.com/python/cpython/pull/4579/files |
|
ca6cd26
bpo-10544: Disallow "yield" in comprehensions and generator expressions.
serhiy-storchaka Nov 25, 2017
| https://github.com/python/cpython/pull/4579/commits/ca6cd26cdc8299fafdd0c35ca3deadfa62197e7a |
|
0b8f666
Merge branch 'master' into deprecate-yield-in-comprehensions
serhiy-storchaka Nov 27, 2017
| https://github.com/python/cpython/pull/4579/commits/0b8f6666a8418edb0fa672fc81f91b634318ef1a |
|
5e133a1
Emit a warning istead of an error.
serhiy-storchaka Nov 27, 2017
| https://github.com/python/cpython/pull/4579/commits/5e133a1f043cca01ab0c2b7b1bb9c210fd6c61e7 |
|
bad2b05
Reword language reference updates
ncoghlan Nov 27, 2017
| https://github.com/python/cpython/pull/4579/commits/bad2b059cb8850efa7935a0bcb763549fbaaa7dc |
|
109fd32
Fix typo in markup changes
ncoghlan Nov 27, 2017
| https://github.com/python/cpython/pull/4579/commits/109fd322bc4e82053dc1227638724ba9e823e1ba |
|
e89b0c5
Reword What's New notice
ncoghlan Nov 27, 2017
| https://github.com/python/cpython/pull/4579/commits/e89b0c5dbe5c87856b1580124429cb4696a175d9 |
|
802a362
Reword NEWS entry
ncoghlan Nov 27, 2017
| https://github.com/python/cpython/pull/4579/commits/802a362e43586d93c92d770e39c415fc43725dad |
|
5b9498d
Describe specific consequences in What's New entry
ncoghlan Nov 27, 2017
| https://github.com/python/cpython/pull/4579/commits/5b9498d77aa8f8760ea13b55bd968f917ac4c425 |
|
afde4b5
Remove trailing whitespace
ncoghlan Nov 27, 2017
| https://github.com/python/cpython/pull/4579/commits/afde4b58fe5bec77dbffb8be9a71c028fc21b4ab |
|
c63cfb8
Incorporate Serhiy's review comments
ncoghlan Nov 27, 2017
| https://github.com/python/cpython/pull/4579/commits/c63cfb810a5a05899e593485e963ed7fa00f6e98 |
|
65b7725
Add an explicit PyErr_Clear() and improve the comment.
serhiy-storchaka Nov 27, 2017
| https://github.com/python/cpython/pull/4579/commits/65b77257fe9ef0f9d85ebc000f43143298c37bd4 |
|
978e863
Fix minor doc errors.
serhiy-storchaka Nov 27, 2017
| https://github.com/python/cpython/pull/4579/commits/978e863d33a1af94dcbb5626517af9c7cd2b55fb |
|
5287acf
Clarify eager evaluation of leftmost iterable
ncoghlan Nov 27, 2017
| https://github.com/python/cpython/pull/4579/commits/5287acf936f30de32d4033ee0f425024ba0f573c |
|
adb6268
Tweak What's New wording
ncoghlan Nov 27, 2017
| https://github.com/python/cpython/pull/4579/commits/adb6268bc8ef7faa58d69b8277f5eea3c691c07d |
|
Clear filters
| https://github.com/python/cpython/pull/4579/files |
| Please reload this page | https://github.com/python/cpython/pull/4579/files |
| Please reload this page | https://github.com/python/cpython/pull/4579/files |
|
expressions.rst
| https://github.com/python/cpython/pull/4579/files#diff-c7ab338b9f88f5c444cde36aa48132cf5534500c6969a3fd2c7680234e87afd6 |
|
3.7.rst
| https://github.com/python/cpython/pull/4579/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
test_generators.py
| https://github.com/python/cpython/pull/4579/files#diff-885d4a7a1816281a78b69ca46cc2b8fa73060bdf5d55cbc54cdebb3d7aa90a52 |
|
test_grammar.py
| https://github.com/python/cpython/pull/4579/files#diff-7eac747e92e4e17aedea75013cc72e9365dabf8511aaa0b634b319a33d4a8b47 |
|
2017-11-27-08-37-34.bpo-10544.07nioT.rst
| https://github.com/python/cpython/pull/4579/files#diff-e07ef0a1688fa6829e26cf9b2fe73c9640a221a65c5ea2a3e45e7d9f93581985 |
|
symtable.c
| https://github.com/python/cpython/pull/4579/files#diff-1029343b7709f438c869082355577469b5aa784b454afa461ca2844ce9910ea6 |
| Doc/reference/expressions.rst | https://github.com/python/cpython/pull/4579/files#diff-c7ab338b9f88f5c444cde36aa48132cf5534500c6969a3fd2c7680234e87afd6 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/adb6268bc8ef7faa58d69b8277f5eea3c691c07d/Doc/reference/expressions.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4579/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4579/files#diff-c7ab338b9f88f5c444cde36aa48132cf5534500c6969a3fd2c7680234e87afd6 |
|
| https://github.com/python/cpython/pull/4579/files#diff-c7ab338b9f88f5c444cde36aa48132cf5534500c6969a3fd2c7680234e87afd6 |
|
| https://github.com/python/cpython/pull/4579/files#diff-c7ab338b9f88f5c444cde36aa48132cf5534500c6969a3fd2c7680234e87afd6 |
|
| https://github.com/python/cpython/pull/4579/files#diff-c7ab338b9f88f5c444cde36aa48132cf5534500c6969a3fd2c7680234e87afd6 |
|
| https://github.com/python/cpython/pull/4579/files#diff-c7ab338b9f88f5c444cde36aa48132cf5534500c6969a3fd2c7680234e87afd6 |
|
| https://github.com/python/cpython/pull/4579/files#diff-c7ab338b9f88f5c444cde36aa48132cf5534500c6969a3fd2c7680234e87afd6 |
|
| https://github.com/python/cpython/pull/4579/files#diff-c7ab338b9f88f5c444cde36aa48132cf5534500c6969a3fd2c7680234e87afd6 |
| Doc/whatsnew/3.7.rst | https://github.com/python/cpython/pull/4579/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/adb6268bc8ef7faa58d69b8277f5eea3c691c07d/Doc/whatsnew/3.7.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4579/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4579/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
| https://github.com/python/cpython/pull/4579/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
| Lib/test/test_generators.py | https://github.com/python/cpython/pull/4579/files#diff-885d4a7a1816281a78b69ca46cc2b8fa73060bdf5d55cbc54cdebb3d7aa90a52 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/adb6268bc8ef7faa58d69b8277f5eea3c691c07d/Lib/test/test_generators.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4579/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4579/files#diff-885d4a7a1816281a78b69ca46cc2b8fa73060bdf5d55cbc54cdebb3d7aa90a52 |
|
| https://github.com/python/cpython/pull/4579/files#diff-885d4a7a1816281a78b69ca46cc2b8fa73060bdf5d55cbc54cdebb3d7aa90a52 |
|
| https://github.com/python/cpython/pull/4579/files#diff-885d4a7a1816281a78b69ca46cc2b8fa73060bdf5d55cbc54cdebb3d7aa90a52 |
|
| https://github.com/python/cpython/pull/4579/files#diff-885d4a7a1816281a78b69ca46cc2b8fa73060bdf5d55cbc54cdebb3d7aa90a52 |
| Lib/test/test_grammar.py | https://github.com/python/cpython/pull/4579/files#diff-7eac747e92e4e17aedea75013cc72e9365dabf8511aaa0b634b319a33d4a8b47 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/adb6268bc8ef7faa58d69b8277f5eea3c691c07d/Lib/test/test_grammar.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4579/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4579/files#diff-7eac747e92e4e17aedea75013cc72e9365dabf8511aaa0b634b319a33d4a8b47 |
|
| https://github.com/python/cpython/pull/4579/files#diff-7eac747e92e4e17aedea75013cc72e9365dabf8511aaa0b634b319a33d4a8b47 |
| Misc/NEWS.d/next/Core and Builtins/2017-11-27-08-37-34.bpo-10544.07nioT.rst | https://github.com/python/cpython/pull/4579/files#diff-e07ef0a1688fa6829e26cf9b2fe73c9640a221a65c5ea2a3e45e7d9f93581985 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/adb6268bc8ef7faa58d69b8277f5eea3c691c07d/Misc/NEWS.d/next/Core%20and%20Builtins/2017-11-27-08-37-34.bpo-10544.07nioT.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4579/{{ revealButtonHref }} |
| Python/symtable.c | https://github.com/python/cpython/pull/4579/files#diff-1029343b7709f438c869082355577469b5aa784b454afa461ca2844ce9910ea6 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/adb6268bc8ef7faa58d69b8277f5eea3c691c07d/Python/symtable.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4579/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4579/files#diff-1029343b7709f438c869082355577469b5aa784b454afa461ca2844ce9910ea6 |
|
| https://github.com/python/cpython/pull/4579/files#diff-1029343b7709f438c869082355577469b5aa784b454afa461ca2844ce9910ea6 |
| ncoghlan | https://github.com/ncoghlan |
| Nov 27, 2017 | https://github.com/python/cpython/pull/4579/files#r153337281 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4579/files |
|
| https://github.com/python/cpython/pull/4579/files#diff-1029343b7709f438c869082355577469b5aa784b454afa461ca2844ce9910ea6 |
|
| 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 |