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
794fcb18
Commit
794fcb18
authored
6 years ago
by
Kryštof Pilnáček
Committed by
Stefan Behnel
6 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! Fix: absolute cimport handling
parent
f76bb20a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Cython/Build/Dependencies.py
Cython/Build/Dependencies.py
+2
-2
No files found.
Cython/Build/Dependencies.py
View file @
794fcb18
...
...
@@ -399,8 +399,8 @@ dependency_regex = re.compile(r"(?:^\s*from +([0-9a-zA-Z_.]+) +cimport)|"
r"(?:^\
s*cimpo
rt +([0-9a-zA-Z_.]+(?: *, *[0-9a-zA-Z_.]+)*))|"
r"(?:^\
s*cde
f +extern +from +['\"]([^'\"]+)['\"])|"
r"(?:^\
s*i
nclude +['\"]([^'\"]+)['\"])"
,
re
.
M
)
dependency_after_from_regex
=
re
.
compile
(
r"(?:^\
s+
\(((?:[0-9a-zA-Z_., ]*
\n)*)\
)
\n
)|"
r"(?:^\
s+((?:[
0-9a-zA-Z_., ]*))
\n)"
)
dependency_after_from_regex
=
re
.
compile
(
r"(?:^\
s+
\(((?:[0-9a-zA-Z_., ]*
)*)\
)[#
\n]
)|"
r"(?:^\
s+((?:[
0-9a-zA-Z_., ]*))
[#\n])"
,
re
.
M
)
def
normalize_existing
(
base_path
,
rel_paths
):
...
...
This diff is collapsed.
Click to expand it.
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