Chameleon

Latest version: v4.5.4

Safety actively analyzes 630305 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 19

2.9.1

------------------

Bugfixes:

- 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.

2.9.0

------------------

Features:

- 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]

Bugfixes:

- Fixed import alias issue which would lead to a syntax error in
generated Python code. Fixes issue 114.

2.8.5

------------------

Bugfixes:

- Fixed minor installation issues on Python 2.5 and 3.
[ppaez]

- Ensure output is unicode even when trivial (an empty string).

2.8.4

------------------

Features:

- 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.

Bugfixes:

- Include filename and location in exception output for exceptions
raised during compilation.

- If a trivial translation substitution variable is given (i.e. an
empty string), simply ignore it. This fixes issue 106.

2.8.3

------------------

Features:

- Log template source on debug-level before cooking.

- The `target_language` argument, if given, is now available as a
variable in templates.

2.8.2

------------------

Features:

- Temporary caches used in debug mode are cleaned up eagerly, rather
than waiting for process termination.
[mitchellrj]

Bugfixes:

- The `index`, `start` and `end` methods on the TAL repeat object are
now callable. This fixes an incompatibility with ZPT.

- The loader now correctly handles absolute paths on Windows.
[rdale]

Page 10 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.