- Fixed a PyPy incompatibility.
- Fixed issue #109 which caused testing failures on some platforms.
- changes in 2.9.1
- Fixed issue #103. The tal:on-error statement now always adds an explicit
end-tag to the element, even with a substitution content of nothing.
- Fixed issue #113. The tal:on-error statement now works correctly also for
dynamic attributes. That is, the fallback tag now includes only static attributes.
- Fixed name error which prevented the benchmark from running correctly.
- Compatibility: Fixed deprecation warning on Python 3 for zope interface implements declaration. This fixes issue #116.
- changes in 2.9.0
- Feature: The translation function now gets the econtext argument as the
value for context. Note that historically, this was usually an HTTP request
which might provide language negotiation data through a dictionary interface. [alvinyue]
- Fixed import alias issue which would lead to a syntax error in generated Python code. Fixes issue #114.
- changes in 2.8.5
- Fixed minor installation issues on Python 2.5 and 3. [ppaez]
- Ensure output is unicode even when trivial (an empty string).
- changes in 2.8.4
- Feature: In exception output, long filenames are now truncated to 60 characters
of output, preventing line wrap which makes it difficult to scan the exception output.
- Bugfix: Include filename and location in exception output for exceptions raised during compilation.
- Bugfix: If a trivial translation substitution variable is given
(i.e. an empty string), simply ignore it. This fixes issue #106.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Chameleon?expand=0&rev=8
- Feature: Temporary caches used in debug mode are cleaned up
eagerly, rather than waiting for process termination.
- Fix: The index, start and end methods on the TAL repeat object
are now callable. This fixes an incompatibility with ZPT.
- Fix: The loader now correctly handles absolute paths on Windows.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Chameleon?expand=0&rev=4
- Feature: The exception formatter now lists errors in 'wrapping order'.
This means that the innermost, and presumably most relevant exception is shown last.
- Fix: The exception formatter now correctly recognizes nested errors
and does not rewrap the dynamically generated exception class.
- Fix: The exception formatter now correctly sets the __module__
attribute to that of the original exception class.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Chameleon?expand=0&rev=3