Skip to content

0.8.0

Choose a tag to compare

@sqla-tester sqla-tester released this 02 Sep 18:48

0.8.0

Released: Wed Apr 10 2013

  • [feature] Performance improvement to the
    "legacy" HTML escape feature, used for XML
    escaping and when markupsafe isn't present,
    courtesy George Xie.

  • [bug] Fixed bug whereby an exception in Python 3
    against a module compiled to the filesystem would
    fail trying to produce a RichTraceback due to the
    content being in bytes.

    References: #209

  • [bug] Change default for compile()->reserved_names
    from tuple to frozenset, as this is expected to be
    a set by default.

    References: #208

  • [feature] Code has been reworked to support Python 2.4->
    Python 3.xx in place. 2to3 no longer needed.

  • [feature] Added lexer_cls argument to Template,
    TemplateLookup, allows alternate Lexer classes
    to be used.

  • [feature] Added future_imports parameter to Template
    and TemplateLookup, renders the future header
    with desired capabilities at the top of the generated
    template module. Courtesy Ben Trofatter.