Skip to content

0.3.6

Compare
Choose a tag to compare
@sqla-tester sqla-tester released this 02 Sep 18:49

0.3.6

Released: Sat Nov 13 2010

  • Documentation is on Sphinx.

    References: #126

  • Beaker is now part of "extras" in
    setup.py instead of "install_requires".
    This to produce a lighter weight install
    for those who don't use the caching
    as well as to conform to Pyramid
    deployment practices.

    References: #154

  • The Beaker import (or attempt thereof)
    is delayed until actually needed;
    this to remove the performance penalty
    from startup, particularly for
    "single execution" environments
    such as shell scripts.

    References: #153

  • Patch to lexer to not generate an empty
    '' write in the case of backslash-ended
    lines.

    References: #155

  • Fixed missing **extra collection in
    setup.py which prevented setup.py
    from running 2to3 on install.

    References: #148

  • New flag on Template, TemplateLookup -
    strict_undefined=True, will cause
    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.