diff options
author | Markus Unterwaditzer <markus@unterwaditzer.net> | 2015-06-01 17:15:43 +0200 |
---|---|---|
committer | Markus Unterwaditzer <markus@unterwaditzer.net> | 2015-06-01 17:15:43 +0200 |
commit | 06a8f5b75ce2cb3e20d2da5c160570e6ab1b7c02 (patch) | |
tree | 5859a520709662206c7882e8771042a01ee35244 /docs | |
parent | 62f57f4c18b8b0d8ac2d7a53a89b6f73b6fcc03e (diff) | |
download | jinja2-06a8f5b75ce2cb3e20d2da5c160570e6ab1b7c02.tar.gz |
Update FAQ about unsupported Python versions
Thanks to @ThomasWaldmann for the original patch. His fork is gone so I
can't apply the original commits.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/faq.rst | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/faq.rst b/docs/faq.rst index 3869684..0b0375e 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -147,8 +147,8 @@ work in production environments:: Credit for this snippet goes to `Thomas Johansson <http://stackoverflow.com/questions/3086091/debug-jinja2-in-google-app-engine/3694434#3694434>`_ -Why is there no Python 2.3 support? ------------------------------------ +Why is there no Python 2.3/2.4/2.5/3.1/3.2 support? +--------------------------------------------------- Python 2.3 is missing a lot of features that are used heavily in Jinja2. This decision was made as with the upcoming Python 2.6 and 3.0 versions it becomes @@ -156,6 +156,12 @@ harder to maintain the code for older Python versions. If you really need Python 2.3 support you either have to use `Jinja 1`_ or other templating engines that still support 2.3. +Python 2.4/2.5/3.1/3.2 support was removed when we switched to supporting +Python 2 and 3 by the same sourcecode (without using 2to3). It was required to +drop support because only Python 2.6/2.7 and >=3.3 support byte and unicode +literals in a way compatible to each other version. If you really need support +for older Python 2 (or 3) versions, you can just use Jinja2 2.6. + My Macros are overridden by something ------------------------------------- |