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
Xavier Thompson
cython
Commits
12172b4a
Commit
12172b4a
authored
Feb 12, 2016
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git+ssh://github.com/cython/cython
parents
77693c53
da1d5bb6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
Cython/Build/Dependencies.py
Cython/Build/Dependencies.py
+5
-1
Cython/Compiler/PyrexTypes.py
Cython/Compiler/PyrexTypes.py
+1
-1
No files found.
Cython/Build/Dependencies.py
View file @
12172b4a
...
...
@@ -122,6 +122,10 @@ def file_hash(filename):
def
parse_list
(
s
):
"""
>>> parse_list("")
[]
>>> parse_list("a")
['a']
>>> parse_list("a b c")
['a', 'b', 'c']
>>> parse_list("[a, b, c]")
...
...
@@ -131,7 +135,7 @@ def parse_list(s):
>>> parse_list('[a, ",a", "a,", ",", ]')
['a', ',a', 'a,', ',']
"""
if
s
[
0
]
==
'['
and
s
[
-
1
]
==
']'
:
if
len
(
s
)
>=
2
and
s
[
0
]
==
'['
and
s
[
-
1
]
==
']'
:
s
=
s
[
1
:
-
1
]
delimiter
=
','
else
:
...
...
Cython/Compiler/PyrexTypes.py
View file @
12172b4a
...
...
@@ -2062,7 +2062,7 @@ proto="""
#endif
#if defined(__cplusplus) && CYTHON_CCOMPLEX
\
&& (defined(_WIN32) || defined(__clang__) || (defined(__GNUC__) &&
GCC_VERSION >= 40400
) || __cplusplus >= 201103)
&& (defined(_WIN32) || defined(__clang__) || (defined(__GNUC__) &&
(__GNUC__ >= 5 || __GNUC__ == 4 && __GNUC_MINOR__ >= 4 )
) || __cplusplus >= 201103)
#define __Pyx_SET_CREAL(z,x) ((z).real(x))
#define __Pyx_SET_CIMAG(z,y) ((z).imag(y))
#else
...
...
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