diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-11-10 12:09:30 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-11-10 12:09:30 -0500 |
| commit | ca21a5353a4c88f3477a53f2f45cd9ca280b0479 (patch) | |
| tree | 45649d02b5b83ce56ff1a6ad702c955823ebbc6b /CHANGES | |
| parent | c8598ab628a0da0d55857196627753dad9849a39 (diff) | |
| download | external_python_mako-ca21a5353a4c88f3477a53f2f45cd9ca280b0479.tar.gz external_python_mako-ca21a5353a4c88f3477a53f2f45cd9ca280b0479.tar.bz2 external_python_mako-ca21a5353a4c88f3477a53f2f45cd9ca280b0479.zip | |
- The range of Python identifiers that
are considered "undefined", meaning they
are pulled from the context, has been
trimmed back to not include variables
declared inside of expressions (i.e. from
list comprehensions), as well as
in the argument list of lambdas. This
to better support the strict_undefined
feature.
Diffstat (limited to 'CHANGES')
| -rw-r--r-- | CHANGES | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -4,6 +4,20 @@ variables not found in the context to raise a NameError immediately, instead of defaulting to the UNDEFINED value. + +- The range of Python identifiers that + are considered "undefined", meaning they + are pulled from the context, has been + trimmed back to not include variables + declared inside of expressions (i.e. from + list comprehensions), as well as + in the argument list of lambdas. This + to better support the strict_undefined + feature. The change should be + fully backwards-compatible but involved + a little bit of tinkering in the AST code, + which hadn't really been touched for + a couple of years, just FYI. 0.3.5 - The <%namespace> tag allows expressions |
