Commit 6488a4a
3.8.3 had a regression where compiling with
ast.PyCF_ALLOW_TOP_LEVEL_AWAIT woudl agressively mark things are
coroutine even if there were not.
(cherry picked from commit bd46174)
Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
1 parent 54f115d commit 6488a4a
3 files changed
Lines changed: 29 additions & 4 deletions
File tree
- Lib/test
- Misc/NEWS.d/next/Core and Builtins
- Python
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
374 | 393 | | |
375 | 394 | | |
376 | 395 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4605 | 4605 | | |
4606 | 4606 | | |
4607 | 4607 | | |
| 4608 | + | |
| 4609 | + | |
4608 | 4610 | | |
4609 | | - | |
4610 | | - | |
4611 | | - | |
4612 | 4611 | | |
4613 | 4612 | | |
4614 | 4613 | | |
| |||
4620 | 4619 | | |
4621 | 4620 | | |
4622 | 4621 | | |
4623 | | - | |
| 4622 | + | |
4624 | 4623 | | |
4625 | 4624 | | |
4626 | 4625 | | |
| |||
4659 | 4658 | | |
4660 | 4659 | | |
4661 | 4660 | | |
| 4661 | + | |
| 4662 | + | |
| 4663 | + | |
4662 | 4664 | | |
4663 | 4665 | | |
4664 | 4666 | | |
| |||
0 commit comments