Zope-pagetemplate

Latest version: v4.3.0

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

Scan your dependencies

Page 2 of 4

4.0.3

==================

- Only allow ``zope.untrustedpython`` to be a dependency in Python 2.

- Fix buildout to work properly.

4.0.2

==================

- Migrate from ``zope.security.untrustedpython`` to ``zope.untrustedpython``.

- Make ``zope.untrustedpython`` an extra dependency. Without it, python
expressions are not protected, even though path expressions are still
security wrapped.

- Add support for Python 3.3.

4.0.1

==================

- LP732972: PageTemplateTracebackSupplement no longer passes
``check_macro_expansion=False`` to old templates which do not
accept this argument.

4.0.0

==================

- Replace deprecated ``zope.interface.classProvides`` usage with equivalent
``zope.interface.provider`` decorator.

- Replace deprecated ``zope.interface.implements`` usage with equivalent
``zope.interface.implementer`` decorator.

- Drop support for Python 2.4 and 2.5.

- PageTemplate.pt_render() has a new argument, ``check_macro_expansion``,
defaulting to True.

- PageTemplateTracebackSupplement passes ``check_macro_expansion=False``, to
avoid LP732972.

3.6.3

==================

- Fix test assertions to be compatible with ``zope.tal`` 3.6.

3.6.2

==================

- Change interface for engine and program such that the return type of
the ``cook`` method is a tuple ``(program, macros)``. This follows
the interface for the TAL parser's ``getCode`` method.

Fixes a legacy compatibility issue where code would expect an
``_v_macros`` volatile attribute which was missing.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.