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
87af081c
Commit
87af081c
authored
Jan 04, 2022
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify some code.
parent
4cb7c99f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
Cython/Compiler/Pipeline.py
Cython/Compiler/Pipeline.py
+3
-5
No files found.
Cython/Compiler/Pipeline.py
View file @
87af081c
...
...
@@ -224,11 +224,9 @@ def create_pipeline(context, mode, exclude_classes=()):
CoerceCppTemps
(
context
),
GilCheck
(),
]
filtered_stages
=
[]
for
s
in
stages
:
if
s
.
__class__
not
in
exclude_classes
:
filtered_stages
.
append
(
s
)
return
filtered_stages
if
exclude_classes
:
stages
=
[
s
for
s
in
stages
if
s
.
__class__
not
in
exclude_classes
]
return
stages
def
create_pyx_pipeline
(
context
,
options
,
result
,
py
=
False
,
exclude_classes
=
()):
if
py
:
...
...
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