From: Robert Bradshaw Date: Sat, 29 Dec 2007 18:10:05 +0000 (-0800) Subject: Cmd line option for convert-range, version number X-Git-Tag: 0.9.6.14~29^2~83 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=39048dc5a950b1492d37bb8c561d998a8cefbd56;p=cython.git Cmd line option for convert-range, version number --- diff --git a/Cython/Compiler/CmdLine.py b/Cython/Compiler/CmdLine.py index bbebd363..1689b21f 100644 --- a/Cython/Compiler/CmdLine.py +++ b/Cython/Compiler/CmdLine.py @@ -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: diff --git a/Cython/Compiler/Version.py b/Cython/Compiler/Version.py index f7955359..5ae5a497 100644 --- a/Cython/Compiler/Version.py +++ b/Cython/Compiler/Version.py @@ -1 +1 @@ -version = '0.9.6.9' +version = '0.9.6.10'