Skip to content
Myr

Added Python 3 section to the documentation.

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

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 0045216 · Browse files · 1 file+16 added−0 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+16 added−0 removed

  • other:+16 added−0 removed

1 file+16 added−0 removed

modified:docs/intro.rst+16 added
150 unmodified lines
151152What you can see here is that Jinja2 is using unicode internally and the153return value is an unicode string. So make sure that your application is154indeed using unicode internally.155156157Experimental Python 3 Support158-----------------------------159160Jinja 2.3 brings experimental support for Python 3. It means that all161unittests pass on the new version, but there might still be small bugs in162there and behavior might be inconsistent. If you notice any bugs, please163provide feedback in the `Jinja bug tracker`_.164165Also please keep in mind that the documentation is written with Python 2166in mind, you will have to adapt the shown code examples to Python 3 syntax167for yourself.168169170.. _Jinja bug tracker: http://dev.pocoo.org/projects/jinja/