Skip to content
Myr

Update FAQ about unsupported Python versions

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

Thanks to @ThomasWaldmann for the original patch. His fork is gone so I can't apply the original commits.

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parent 62f57f4 · Browse files · 1 file+8 added−2 removed
This commit

State

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

Diff stats

1 file+8 added−2 removed

  • other:+8 added−2 removed

1 file+8 added−2 removed

modified:docs/faq.rst+8 added-2 removed
145 unmodified lines
146147Credit for this snippet goes to `Thomas Johansson148<http://stackoverflow.com/questions/3086091/debug-jinja2-in-google-app-engine/3694434#3694434>`_149150Why is there no Python 2.3 support?151-----------------------------------150Why is there no Python 2.3/2.4/2.5/3.1/3.2 support?151---------------------------------------------------152153Python 2.3 is missing a lot of features that are used heavily in Jinja2. This154decision was made as with the upcoming Python 2.6 and 3.0 versions it becomes155harder to maintain the code for older Python versions. If you really need156Python 2.3 support you either have to use `Jinja 1`_ or other templating157engines that still support 2.3.158159Python 2.4/2.5/3.1/3.2 support was removed when we switched to supporting160Python 2 and 3 by the same sourcecode (without using 2to3). It was required to161drop support because only Python 2.6/2.7 and >=3.3 support byte and unicode162literals in a way compatible to each other version. If you really need support163for older Python 2 (or 3) versions, you can just use Jinja2 2.6.164165My Macros are overridden by something166-------------------------------------167168In some situations the Jinja scoping appears arbitrary:
23 unmodified lines