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
4ef6bb83
Commit
4ef6bb83
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
77f27e99
ba6f36ab
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
CHANGES.rst
CHANGES.rst
+2
-0
Cython/Coverage.py
Cython/Coverage.py
+1
-1
No files found.
CHANGES.rst
View file @
4ef6bb83
...
...
@@ -41,6 +41,8 @@ Bugs fixed
* Cython annotation types in Python files could lead to import failures
with a "cython undefined" error. Recognised types are now turned into strings.
* Coverage analysis could fail to report on extension modules on some platforms.
* Annotations could be parsed (and rejected) as types even with
``annotation_typing=False``.
...
...
Cython/Coverage.py
View file @
4ef6bb83
...
...
@@ -114,7 +114,7 @@ class Plugin(CoveragePlugin):
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
)
platform_suffix
=
re
.
search
(
r'[.]cpython-[0-9]+[
-_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