Commit 0fb93ba
Fix undeclared variables in nested list comprehension with strict_undefined
Fix undefined variable errors when ``strict_undefined=True`` when using a
nested list comprehension. Pull request courtesy Sébastien Granjoux.
Fixes: #418
Closes: #419
Pull-request: #419
Pull-request-sha: 0b64e72
Change-Id: I13f6296ffe1f5f0d5f68b7da07ff76bbac7668e01 parent e6915e3 commit 0fb93ba
File tree
3 files changed
+22
-0
lines changed- doc/build/unreleased
- mako
- test
3 files changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| 106 | + | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
916 | 916 | | |
917 | 917 | | |
918 | 918 | | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
919 | 932 | | |
920 | 933 | | |
921 | 934 | | |
| |||
0 commit comments