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
f73a46b7
Commit
f73a46b7
authored
Apr 07, 2019
by
mattip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MAINT: changes from review
parent
d9a72ef1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
CHANGES.rst
CHANGES.rst
+4
-2
Cython/Compiler/Main.py
Cython/Compiler/Main.py
+4
-3
No files found.
CHANGES.rst
View file @
f73a46b7
...
@@ -117,8 +117,10 @@ Other changes
...
@@ -117,8 +117,10 @@ Other changes
*
The
search
order
for
include
files
was
changed
.
Previously
it
was
*
The
search
order
for
include
files
was
changed
.
Previously
it
was
``
include_directories
``,
``
Cython
/
Includes
``,
``
sys
.
path
``.
Now
it
is
``
include_directories
``,
``
Cython
/
Includes
``,
``
sys
.
path
``.
Now
it
is
``
include_directories
``,
``
sys
.
path
``,
``
Cython
/
Includes
``.
(
Github
issue
``
include_directories
``,
``
sys
.
path
``,
``
Cython
/
Includes
``.
This
was
done
to
#
2905
)
allow
third
-
party
``*.
pxd
``
files
to
override
the
ones
in
Cython
.
(
Github
issue
#
2905
)
0.29.7
(
2019
-
0
?-??)
0.29.7
(
2019
-
0
?-??)
===================
===================
...
...
Cython/Compiler/Main.py
View file @
f73a46b7
...
@@ -251,10 +251,11 @@ class Context(object):
...
@@ -251,10 +251,11 @@ class Context(object):
def
search_include_directories
(
self
,
qualified_name
,
suffix
,
pos
,
def
search_include_directories
(
self
,
qualified_name
,
suffix
,
pos
,
include
=
False
,
sys_path
=
False
):
include
=
False
,
sys_path
=
False
):
include_dirs
=
tuple
(
self
.
include_directories
)
include_dirs
=
self
.
include_directories
if
sys_path
:
if
sys_path
:
include_dirs
=
include_dirs
+
tuple
(
sys
.
path
)
include_dirs
=
include_dirs
+
sys
.
path
include_dirs
=
include_dirs
+
(
standard_include_path
,)
# include_dirs must be hashable for caching in @cached_function
include_dirs
=
tuple
(
include_dirs
+
[
standard_include_path
])
return
search_include_directories
(
include_dirs
,
qualified_name
,
return
search_include_directories
(
include_dirs
,
qualified_name
,
suffix
,
pos
,
include
)
suffix
,
pos
,
include
)
...
...
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