]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Corrected the py3k docs so that you can properly use python3 to run 2to3. Thanks...
authorMichael Trier <mtrier@gmail.com>
Thu, 25 Feb 2010 05:23:14 +0000 (05:23 +0000)
committerMichael Trier <mtrier@gmail.com>
Thu, 25 Feb 2010 05:23:14 +0000 (05:23 +0000)
README.py3k

index 9cfaaaad4f54c2be50a060f9c7f44e6f3f36a0d6..95ecb7f3afa9adcf2dcb04aac68671a66438b6f2 100644 (file)
@@ -32,15 +32,10 @@ To convert all files in the source distribution, run
 SQLAlchemys "sa2to3.py" script, which monkeypatches a preprocessor
 onto the 2to3 tool:
 
-    python sa2to3.py ./lib/ ./test/ ./examples/ -w
+    python3 sa2to3.py --no-diffs -w lib test examples
 
 The above will rewrite all files in-place in Python 3 format.
 
-NOTE: at the time of this writing, Python3's 2to3 tool does not appear
-to properly handle source files with non-ascii encoding.   Some SQLAlchemy
-tests necessarily have utf-8 encoded strings embedded, so a Python2.6
-interpreter is necessary in order to run a full 2to3.
-
 Running Tests
 -------------