Skip to content
Myr

remove deprecated unicode_join runtime alias

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 824b4d3 · Browse files · 2 files+2 added−12 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−12 removed

  • other:+2 added−12 removed

2 files+2 added−12 removed

modified:src/jinja2/runtime.py-12 removed
87 unmodified lines
88 """Simple args to string conversion and concatenation."""89 return concat(map(str, seq))909192def unicode_join(seq: t.Iterable[t.Any]) -> str:93 import warnings9495 warnings.warn(96 "This template must be recompiled with at least Jinja 3.0, or"97 " it will fail in Jinja 3.1.",98 DeprecationWarning,99 stacklevel=2,100 )101 return str_join(seq)10210392def new_context(93 environment: "Environment",94 template_name: t.Optional[str],95 blocks: t.Dict[str, t.Callable[["Context"], t.Iterator[str]]],
997 unmodified lines
modified:CHANGES.rst+2 added
13 unmodified lines
14 ``evalcontextfunction`` are replaced by ``pass_eval_context``.15 ``environmentfilter`` and ``environmentfunction`` are replaced16 by ``pass_environment``.17 - ``Markup`` and ``escape`` should be imported from MarkupSafe.18 - Compiled templates from very old Jinja versions may need to be19 recompiled.202122Version 3.0.323-------------
911 unmodified lines