Asynchronous comprehensions don't work in asyncio REPL

jack1142 · GitHub

BPO

39562

Nosy

@asvetlov

,

@ambv

,

@serhiy-storchaka

,

@Carreau

,

@asottile

,

@hroncok

,

@pablogsal

,

@miss-islington

,

@isidentical

,

@jack1142

PRs

bpo-39562: Allow executing asynchronous comprehensions in the asyncio REPL #18968

bpo-39965: Correctly raise SyntaxError if await is used outside async functions when PyCF_ALLOW_TOP_LEVEL_AWAIT is set #19010

[3.8] bpo-39562: Allow executing asynchronous comprehensions in the asyncio REPL (GH-18968) #19070

bpo-39562: Prevent collision of future and compiler flags #19230

[3.8] bpo-39562: Prevent collision of future and compiler flags (GH-19230) #19835

[3.8] bpo-39562: Correctly updated the version section in the what's new document #19838

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more detailsGitHub fields:

assignee=Noneclosed_at=<Date2020-07-06.20:18:05.903>created_at=<Date2020-02-05.17:28:25.689>labels= ['type-bug', '3.8', '3.9', 'release-blocker', 'expert-asyncio'] title="Asynchronous comprehensions don't work in asyncio REPL"updated_at=<Date2021-09-07.20:14:54.080>user='https://github.com/jack1142'bugs.python.org fields:

activity=<Date2021-09-07.20:14:54.080>actor='vstinner'assignee='none'closed=Trueclosed_date=<Date2020-07-06.20:18:05.903>closer='pablogsal'components= ['asyncio'] creation=<Date2020-02-05.17:28:25.689>creator='jack1142'dependencies= [] files= [] hgrepos= [] issue_num=39562keywords= ['patch'] message_count=28.0messages= ['361443', '361445', '364600', '364601', '365311', '365312', '365313', '365347', '365881', '366838', '366841', '366843', '366849', '366851', '367015', '367018', '367734', '367847', '367855', '367890', '367892', '367897', '368334', '368835', '373131', '373159', '373168', '400234'] nosy_count=10.0nosy_names= ['asvetlov', 'lukasz.langa', 'serhiy.storchaka', 'mbussonn', 'Anthony Sottile', 'hroncok', 'pablogsal', 'miss-islington', 'BTaskaya', 'jack1142'] pr_nums= ['18968', '19010', '19070', '19230', '19835', '19838'] priority='release blocker'resolution='fixed'stage='resolved'status='closed'superseder=Nonetype='behavior'url='https://bugs.python.org/issue39562'versions= ['Python 3.8', 'Python 3.9']