Chameleon

Latest version: v4.5.4

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

Scan your dependencies

Page 4 of 19

3.9.1

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

- Avoid various traceback reference cycles.

3.9.0

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

- Removed compatibility code for unsupported Python versions

- Dropped support for obsolete Python 3.4

- Fixed namespace handling when redefining a variable in the same ``tal:define``
(`237 <https://github.com/malthe/chameleon/issues/237>`_)

- Fixed failure computing a template's digest if ``template.filename`` is None
(`254 <https://github.com/malthe/chameleon/issues/254>`_)

3.8.1

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

- Added code optimization to reduce sequential appends of static text.

- The `default` symbol in dynamic attributes is now
symbolic. Previously, it was assigned the string value of the
default attribute text. A similar change has been made for
switch/case expressions.

- The built-in `attrs` dictionary of static element attributes now
correctly works with `tal:define`, etc.

- Fix slice code generation compatibility issue on Python 3.9.

3.8.0

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

- Expose default marker as importable symbol
`chameleon.tales.DEFAULT_MARKER`.

- Removed legacy flag `literal_false`. To get a similar behavior, use
`boolean_attributes`.

3.7.4

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

- Fix brown-bag release.

3.7.3

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

- Fix regression introduced in 3.6.2 where the default marker would
incorrectly change its value between templates, causing issues in
software which depends on the value being treated as a global
object.

Page 4 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.