Commit 82e5c28
authored
bpo-44297: Fix missing line number in generator expressions (pythonGH-26801)
* Make sure that line number is set when entering comprehension scope in compiler.1 parent 5d2b3a0 commit 82e5c28
4 files changed
Lines changed: 971 additions & 952 deletions
File tree
- Lib/test
- Misc/NEWS.d/next/Core and Builtins
- Python
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
895 | 895 | | |
896 | 896 | | |
897 | 897 | | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
898 | 913 | | |
899 | 914 | | |
900 | 915 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4900 | 4900 | | |
4901 | 4901 | | |
4902 | 4902 | | |
| 4903 | + | |
4903 | 4904 | | |
4904 | 4905 | | |
4905 | 4906 | | |
| |||
0 commit comments