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
33e73a70
Commit
33e73a70
authored
Feb 22, 2019
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into faster_absolute_reimports
parents
d5392ffc
8a08c4f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
Cython/Compiler/Parsing.py
Cython/Compiler/Parsing.py
+2
-2
runtests.py
runtests.py
+3
-1
No files found.
Cython/Compiler/Parsing.py
View file @
33e73a70
...
...
@@ -65,7 +65,7 @@ class Ctx(object):
def
p_ident
(
s
,
message
=
"Expected an identifier"
):
if
s
.
sy
==
'IDENT'
:
name
=
s
.
systring
name
=
s
.
context
.
intern_ustring
(
s
.
systring
)
s
.
next
()
return
name
else
:
...
...
@@ -74,7 +74,7 @@ def p_ident(s, message="Expected an identifier"):
def
p_ident_list
(
s
):
names
=
[]
while
s
.
sy
==
'IDENT'
:
names
.
append
(
s
.
systring
)
names
.
append
(
s
.
context
.
intern_ustring
(
s
.
systring
)
)
s
.
next
()
if
s
.
sy
!=
','
:
break
...
...
runtests.py
View file @
33e73a70
...
...
@@ -784,7 +784,9 @@ class TestBuilder(object):
os.makedirs(language_workdir)
workdir = os.path.join(language_workdir, module)
if preparse != 'id':
workdir += '_%s' % str(preparse)
workdir += '_%s' % (preparse,)
if language_level:
workdir += '_cy%d' % (language_level,)
return test_class(path, workdir, module, tags,
language=language,
preparse=preparse,
...
...
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