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
ca6cda62
Commit
ca6cda62
authored
May 29, 2020
by
da-woods
Committed by
Stefan Behnel
Nov 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small changes to get `--cython-compile-all` working again (GH-3650)
Fixes
https://github.com/cython/cython/issues/3647
parent
26d40043
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Cython/Build/Dependencies.py
Cython/Build/Dependencies.py
+2
-1
Cython/Compiler/ParseTreeTransforms.py
Cython/Compiler/ParseTreeTransforms.py
+1
-1
No files found.
Cython/Build/Dependencies.py
View file @
ca6cda62
...
...
@@ -322,7 +322,8 @@ def strip_string_literals(code, prefix='__Pyx_L'):
in_quote
=
False
hash_mark
=
single_q
=
double_q
=
-
1
code_len
=
len
(
code
)
quote_type
=
quote_len
=
None
quote_type
=
None
quote_len
=
-
1
while
True
:
if
hash_mark
<
q
:
...
...
Cython/Compiler/ParseTreeTransforms.py
View file @
ca6cda62
...
...
@@ -2877,7 +2877,7 @@ class GilCheck(VisitorTransform):
self
.
visitchildren
(
node
,
outer_attrs
)
self
.
nogil
=
gil_state
self
.
visitchildren
(
node
,
exclude
=
outer_attrs
)
self
.
visitchildren
(
node
,
attrs
=
None
,
exclude
=
outer_attrs
)
self
.
nogil
=
was_nogil
def
visit_FuncDefNode
(
self
,
node
):
...
...
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