Tue Mar 5 12:14:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.2.0:
* Dropped support for Python 3.3.
* Implement LoadTemplate.loadTemplate{Module,Class} to load templates from .py[co], .py or .tmpl.
* CheetahDirOwner caches compiled template in the template directory.
* CheetahDirOwner now silently ignores errors on compiled templates writing. To get tracebacks set CheetahDirOwner.debuglevel = 1.
* CheetahDirOwner and DirOwner byte-compile compiled templates to .pyc/.pyo. Errors on writing are silently ignored.
* Implement Compiler.__unicode__ under Python 2 and Compiler.__bytes__ under Python 3.
* Fix a bug in Compiler.__str__: under Python 2 the method now always returns str; it encodes unicode to str using encoding from the compiled source. Under Python 3 the method decodes bytes to str.