[issue31708] Allow use of asynchronous generator expressions in synchronous functions

2017-10-06 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31708] Allow use of asynchronous generator expressions in synchronous functions

2017-10-06 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset b8ab9d3fc816f85f4d6dbef12b7414e6dc10e4dd by Yury Selivanov in branch 'master': bpo-31708: Allow async generator expressions in synchronous functions (#3905)

[issue31708] Allow use of asynchronous generator expressions in synchronous functions

2017-10-06 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: +ncoghlan ___ Python tracker ___ ___

[issue31708] Allow use of asynchronous generator expressions in synchronous functions

2017-10-06 Thread Yury Selivanov
Yury Selivanov added the comment: (this is per PEP 530: https://www.python.org/dev/peps/pep-0530/#asynchronous-comprehensions) -- ___ Python tracker

[issue31708] Allow use of asynchronous generator expressions in synchronous functions

2017-10-06 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +3876 stage: -> patch review ___ Python tracker ___

[issue31708] Allow use of asynchronous generator expressions in synchronous functions

2017-10-05 Thread Yury Selivanov
New submission from Yury Selivanov : Prior to Python 3.7 we couldn't enable use of asynchronous generator expressions in synchronous functions: async arange(n): for i in range(n): yield i def make_arange(n): return (i async for i in

[issue31708] Allow use of asynchronous generator expressions in synchronous functions

2017-10-05 Thread Yury Selivanov
Change by Yury Selivanov : -- assignee: yselivanov components: Interpreter Core nosy: yselivanov priority: normal severity: normal status: open title: Allow use of asynchronous generator expressions in synchronous functions type: behavior versions: Python 3.7