Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
0c7af76d
Commit
0c7af76d
authored
Dec 11, 2010
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Python 2.3 fix.
parent
6922922e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
14 deletions
+7
-14
Cython/Build/Dependencies.py
Cython/Build/Dependencies.py
+1
-5
Cython/Build/Inline.py
Cython/Build/Inline.py
+1
-0
Cython/Shadow.py
Cython/Shadow.py
+5
-9
No files found.
Cython/Build/Dependencies.py
View file @
0c7af76d
from
glob
import
glob
import
re
,
os
,
sys
from
cython
import
set
try
:
set
except
NameError
:
# Python 2.3
from
sets
import
Set
as
set
from
distutils.extension
import
Extension
...
...
Cython/Build/Inline.py
View file @
0c7af76d
import
tempfile
import
sys
,
os
,
re
,
inspect
from
cython
import
set
try
:
import
hashlib
...
...
Cython/Shadow.py
View file @
0c7af76d
...
...
@@ -188,15 +188,11 @@ except NameError: # Py3
py_float
=
float
py_complex
=
complex
try
:
# Python 3
from
builtins
import
set
,
frozenset
except
ImportError
:
try
:
# Python 2.4+
from
__builtin__
import
set
,
frozenset
except
ImportError
:
# Py 2.3
set
except
NameError
:
# Python 2.3
from
sets
import
Set
as
set
,
ImmutableSet
as
frozenset
# Predefined types
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment