#13411: Jinja2-2.11.2 (Python Module)
-------------------------+-----------------------
Reporter: renodr | Owner: bdubbs
Type: enhancement | Status: assigned
Priority: normal | Milestone: 9.2
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: |
-------------------------+-----------------------
Comment (by bdubbs):
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.
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/13411#comment:2>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page