Skip to content
Myr

Remove head lines and add versions of first Python 3 support

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

authored by Sven-Hendrik Haase · committed by Sven-Hendrik Haase · parent eb6df3d · Browse files · 1 file+2 added−15 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+2 added−15 removed

  • other:+2 added−15 removed

1 file+2 added−15 removed

modified:docs/python3.rst+2 added-15 removed
5 unmodified lines
6Flask and all of its dependencies support Python 3 so you can in theory7start working on it already. There are however a few things you should be8aware of before you start using Python 3 for your next project.910Requirements11------------1210If you want to use Flask with Python 3 you will need to use Python 3.3 or11higher. 3.2 and older are *not* supported.1213In addition to that you need to use the latest and greatest versions of17`itsdangerous`, `Jinja2` and `Werkzeug`.14`itsdangerous`, `Jinja2` and `Werkzeug`. Flask 0.10 and Werkzeug 0.9 were15the first versions to introduce Python 3 support.1619API Stability20-------------2117Some of the decisions made in regards to unicode and byte utilization on18Python 3 make it hard to write low level code. This mainly affects WSGI19middlewares and interacting with the WSGI provided information. Werkzeug20wraps all that information in high-level helpers but some of those were21specifically added for the Python 3 support and are quite new.2228A lot of the documentation out there on using WSGI leaves out those29details as it was written before WSGI was updated to Python 3. While the30API for Werkzeug and Flask on Python 2.x should not change much we cannot31guarantee that this won't happen on Python 3.3233Recommendations34---------------3523Unless you require absolute compatibility, you should be fine with Python 324nowadays. Most libraries and Flask extensions have been ported by now and25using Flask with Python 3 is generally a smooth ride. However, keep in mind26that most libraries (including Werkzeug and Flask) might not quite as stable
8 unmodified lines