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
Kirill Smelkov
cython
Commits
ca0e7284
Commit
ca0e7284
authored
Sep 30, 2017
by
MaxBo
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into MaxBo-patch-1
parents
9c18bab1
9ef49879
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Cython/Coverage.py
Cython/Coverage.py
+8
-2
No files found.
Cython/Coverage.py
View file @
ca0e7284
...
...
@@ -108,8 +108,14 @@ class Plugin(CoveragePlugin):
ext
=
ext
.
lower
()
if
ext
in
(
'.py'
,
'.pyx'
,
'.pxd'
,
'.c'
,
'.cpp'
):
pass
elif
ext
in
(
'.so'
,
'.pyd'
):
platform_suffix
=
re
.
search
(
r'[.]cpython-[0-9]+[a-z]*$'
,
basename
,
re
.
I
)
elif
ext
==
'.pyd'
:
# Windows extension module
platform_suffix
=
re
.
search
(
r'[.]cp[0-9]+-win[_a-z0-9]*$'
,
basename
,
re
.
I
)
if
platform_suffix
:
basename
=
basename
[:
platform_suffix
.
start
()]
elif
ext
==
'.so'
:
# Linux/Unix/Mac extension module
platform_suffix
=
re
.
search
(
r'[.]cpython-[0-9]+[a-z]*(?:-[a-z0-9]+)?$'
,
basename
,
re
.
I
)
if
platform_suffix
:
basename
=
basename
[:
platform_suffix
.
start
()]
elif
ext
==
'.pxi'
:
...
...
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