
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2018-04-26 05:18 byzsol, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 6616 | merged | zsol,2018-04-27 05:17 | |
| PR 6619 | merged | zsol,2018-04-27 17:07 | |
| Messages (6) | |||
|---|---|---|---|
| msg315775 -(view) | Author: Zsolt Dollenstein (zsol)* | Date: 2018-04-26 05:18 | |
Since 3.7, async generators can be used in non-async functions. The way this is implemented allows the following to be valid syntax:def f(): async for i in aiterable: pass return 1The return value of the above function is a Future that will never be done(). | |||
| msg315776 -(view) | Author: Yury Selivanov (yselivanov)*![]() | Date: 2018-04-26 05:24 | |
Wow, this is a regression that has to be fixed in 3.7. | |||
| msg315777 -(view) | Author: Nathaniel Smith (njs)*![]() | Date: 2018-04-26 05:28 | |
Sorry, not sure why bpo decided to reset the priority there. | |||
| msg315847 -(view) | Author: Yury Selivanov (yselivanov)*![]() | Date: 2018-04-27 15:58 | |
New changesete2396506606115e785c94ec129eb86e2ed0aa744 by Yury Selivanov (Zsolt Dollenstein) in branch 'master':bpo-33363: raise SyntaxError for async for/with outside async functions (#6616)https://github.com/python/cpython/commit/e2396506606115e785c94ec129eb86e2ed0aa744 | |||
| msg315859 -(view) | Author: Yury Selivanov (yselivanov)*![]() | Date: 2018-04-27 22:33 | |
New changeseta93a663d6c2fdfbddbda9729c96e2737c0012522 by Yury Selivanov (Zsolt Dollenstein) in branch '3.7':[3.7]bpo-33363: raise SyntaxError for async for/with outside async functions (GH-6616). (GH-6619)https://github.com/python/cpython/commit/a93a663d6c2fdfbddbda9729c96e2737c0012522 | |||
| msg315860 -(view) | Author: Yury Selivanov (yselivanov)*![]() | Date: 2018-04-27 22:34 | |
Thanks so much! | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:59 | admin | set | nosy: +lukasz.langa github: 77544 |
| 2018-04-27 22:34:03 | yselivanov | set | status: open -> closed resolution: fixed messages: +msg315860 stage: patch review -> resolved |
| 2018-04-27 22:33:44 | yselivanov | set | messages: +msg315859 |
| 2018-04-27 17:07:56 | zsol | set | pull_requests: +pull_request6315 |
| 2018-04-27 15:58:59 | yselivanov | set | messages: +msg315847 |
| 2018-04-27 05:17:28 | zsol | set | keywords: +patch stage: patch review pull_requests: +pull_request6312 |
| 2018-04-26 05:28:34 | njs | set | priority: normal -> release blocker messages: +msg315777 |
| 2018-04-26 05:28:06 | njs | set | priority: release blocker -> normal nosy: +njs |
| 2018-04-26 05:24:07 | yselivanov | set | priority: normal -> release blocker nosy: +yselivanov,ned.deily messages: +msg315776 |
| 2018-04-26 05:18:50 | zsol | create | |