projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c538c
)
Py2.3 fix
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 11 Mar 2010 19:07:47 +0000
(20:07 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 11 Mar 2010 19:07:47 +0000
(20:07 +0100)
Cython/Compiler/Parsing.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Parsing.py
b/Cython/Compiler/Parsing.py
index 80a1c081db42ec6686a9f8e1546b78eaa437b7ba..61c684863193fb6636e6b39ff782e8193bcce996 100644
(file)
--- a/
Cython/Compiler/Parsing.py
+++ b/
Cython/Compiler/Parsing.py
@@
-13,10
+13,10
@@
import sys
try:
from __builtin__ import set
-except
ImportError
:
+except
(ImportError, AttributeError)
:
try:
from builtins import set
- except
ImportError
:
+ except
(ImportError, AttributeError)
:
from sets import Set as set
from Cython.Compiler.Scanning import PyrexScanner, FileSourceDescriptor