Skip to content
Myr

Updated Python 3 section

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

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

  • other:+11 added−16 removed

1 file+11 added−16 removed

modified:docs/foreword.rst+11 added-16 removed
86 unmodified lines
87The Status of Python 388----------------------8990Currently the Python community is in the process of improving libraries to91support the new iteration of the Python programming language.92Unfortunately there are a few problems with Python 3, namely the missing93consent on what WSGI for Python 3 should look like. These problems are91support the new iteration of the Python programming language. While the92situation is greatly improving there are still some issues that make it93hard for us to switch over to Python 3 just now. These problems are94partially caused by changes in the language that went unreviewed for too95long, also partially the ambitions of everyone involved to drive the WSGI96standard forward.95long, partially also because we have not quite worked out how the lower96level API should change for the unicode differences in Python3.9798Because of that we strongly recommend against using Python 3 for web99development of any kind and wait until the WSGI situation is resolved.100You will find a couple of frameworks and web libraries on PyPI that claim101Python 3 support, but this support is based on the broken WSGI102implementation provided by Python 3.0 and 3.1 which will most likely103change in the near future.10498Werkzeug and Flask will be ported to Python 3 as soon as a solution for106WSGI is found, and we will provide helpful tips how to upgrade existing107applications to Python 3. Until then, we strongly recommend using Python1082.6 and 2.7 with activated Python 3 warnings during development, as well109as the Unicode literals `__future__` feature.99the changes is found, and we will provide helpful tips how to upgrade100existing applications to Python 3. Until then, we strongly recommend101using Python 2.6 and 2.7 with activated Python 3 warnings during102development. If you plan on upgrading to Python 3 in the near future we103strongly recommend that you read `How to write forwards compatible104Python code <http://lucumr.pocoo.org/2011/1/22/forwards-compatible-python/>`_.