Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#13411 closed enhancement (fixed)

Jinja2-2.11.2 (Python Module)

Reported by: Douglas R. Reno Owned by: Bruce Dubbs
Priority: normal Milestone: 10.0
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

New point version

Change History (5)

comment:1 by Bruce Dubbs, 4 years ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:2 by Bruce Dubbs, 4 years ago

Version 2.11.2 - Released 2020-04-13

  • Fix a bug that caused callable objects with getattr, like :class:~unittest.mock.Mock to be treated as a :func:contextfunction.
  • Update wordcount filter to trigger :class:Undefined methods by wrapping the input in :func:soft_unicode.
  • Fix a hang when displaying tracebacks on Python 32-bit.
  • Showing an undefined error for an object that raises AttributeError on access doesn't cause a recursion error.
  • Revert changes to :class:~loaders.PackageLoader from 2.10 which removed the dependency on setuptools and pkg_resources, and added limited support for namespace packages. The changes caused issues when using Pytest. Due to the difficulty in supporting Python 2 and :pep:451 simultaneously, the changes are reverted until 3.0.
  • Fix line numbers in error messages when newlines are stripped.
  • The special namespace() assignment object in templates works in async environments.
  • Fix whitespace being removed before tags in the middle of lines when lstrip_blocks is enabled.
  • :class:~nativetypes.NativeEnvironment doesn't evaluate intermediate strings during rendering. This prevents early evaluation which could change the value of an expression.

comment:3 by Bruce Dubbs, 4 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 22996.

comment:4 by Bruce Dubbs, 4 years ago

Milestone: 9.210,0

Milestone renamed

comment:5 by Bruce Dubbs, 4 years ago

Milestone: 10,010.0

Milestone renamed

Note: See TracTickets for help on using tickets.