Cmd line option for convert-range, version number
authorRobert Bradshaw <robertwb@math.washington.edu>
Sat, 29 Dec 2007 18:10:05 +0000 (10:10 -0800)
committerRobert Bradshaw <robertwb@math.washington.edu>
Sat, 29 Dec 2007 18:10:05 +0000 (10:10 -0800)
Cython/Compiler/CmdLine.py
Cython/Compiler/Version.py

index bbebd36390a2e0b69ba2c0f40c9b573c9ff76eba..1689b21f673f843b5e57d4b784f1406c4b63b979 100644 (file)
@@ -26,6 +26,7 @@ Options:
                                  performing any binary operations.
   -D, --no-docstrings            Remove docstrings.
   -a, --annotate                 Produce an colorized version of the source.
+  --convert-range                Convert for loops using range() function to for...from loops. 
 """  
 #The following experimental options are supported only on MacOSX:
 #  -C, --compile    Compile generated .c file to .o file
@@ -88,6 +89,8 @@ def parse_command_line(args):
                 Options.docstrings = False
             elif option in ("-a", "--annotate"):
                 Options.annotate = True
+            elif option == "--convert-range":
+                Options.convert_range = True
             else:
                 bad_usage()
         else:
index f7955359b1756a53845e6be58c404fd1687abd5d..5ae5a4970afdbafa5a0d23528836b9b72c57c353 100644 (file)
@@ -1 +1 @@
-version = '0.9.6.9'
+version = '0.9.6.10'