Message316398
| Author |
gvanrossum |
| Recipients |
asvetlov, ericvw, gvanrossum, levkivskyi, pablogsal, serhiy.storchaka, yselivanov |
| Date |
2018年05月11日.15:13:54 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1526051634.92.0.682650639539.issue33346@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
@Ivan: Please stop bringing up that we should drop the implicit scope for comprehensions. I know you feel this way, but it's not going to happen.
@Serhiy: What does the PEP for async/await say? (Or is there a separate PEP for allowing async/await inside comprehensions?)
@Yury: Your thoughts?
I do think the code from the OP's example should be expected to work.
Does it / should it work the same way for generator expressions? |
|