Skip to content
Browse files

Disable flow-control compilation for CPython < 2.5

As it doesn't have builtin sets.
  • Loading branch information...
1 parent 92f424f commit 14b13e9ca9e1e722e52b30d1a0a8bfd8e6f3467a @vitek vitek committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 setup.py
View
4 setup.py
@@ -100,8 +100,10 @@ def compile_cython_modules(profile=False, compile_more=False, cython_with_refnan
"Cython.Compiler.Parsing",
"Cython.Compiler.Visitor",
"Cython.Compiler.Code",
- "Cython.Compiler.FlowControl",
"Cython.Runtime.refnanny",]
+ if sys.version_info[:2] > (2,4):
+ compiled_modules += [
+ "Cython.Compiler.FlowControl",]
if compile_more:
compiled_modules.extend([
"Cython.Compiler.ParseTreeTransforms",

0 comments on commit 14b13e9

Please sign in to comment.
Something went wrong with that request. Please try again.