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
fa5ad997
Commit
fa5ad997
authored
Oct 13, 2018
by
Stefan Behnel
Committed by
GitHub
Oct 13, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2641 from jdemeyer/language_deprecated
Improve message for deprecated "language=..." option
parents
775fb036
92833576
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Cython/Build/Dependencies.py
Cython/Build/Dependencies.py
+2
-1
No files found.
Cython/Build/Dependencies.py
View file @
fa5ad997
...
@@ -734,7 +734,8 @@ def default_create_extension(template, kwds):
...
@@ -734,7 +734,8 @@ def default_create_extension(template, kwds):
def
create_extension_list
(
patterns
,
exclude
=
None
,
ctx
=
None
,
aliases
=
None
,
quiet
=
False
,
language
=
None
,
def
create_extension_list
(
patterns
,
exclude
=
None
,
ctx
=
None
,
aliases
=
None
,
quiet
=
False
,
language
=
None
,
exclude_failures
=
False
):
exclude_failures
=
False
):
if
language
is
not
None
:
if
language
is
not
None
:
print
(
'Please put "# distutils: language=%s" in your .pyx or .pxd file(s)'
%
language
)
print
(
'Warning: passing language={0!r} to cythonize() is deprecated. '
'Instead, put "# distutils: language={0}" in your .pyx or .pxd file(s)'
.
format
(
language
))
if
exclude
is
None
:
if
exclude
is
None
:
exclude
=
[]
exclude
=
[]
if
patterns
is
None
:
if
patterns
is
None
:
...
...
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