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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
75519952
Commit
75519952
authored
Feb 08, 2009
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new test case for bug 208
parent
94903a17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
tests/bugs/empty_for_loop_T208.pyx
tests/bugs/empty_for_loop_T208.pyx
+18
-0
No files found.
tests/bugs/empty_for_loop_T208.pyx
0 → 100644
View file @
75519952
__doc__
=
u"""
>>> go_py_empty()
20
>>> go_c_empty()
20
"""
def
go_py_empty
():
i
=
20
for
i
in
range
(
4
,
0
):
print
u"Spam!"
return
i
def
go_c_empty
():
cdef
int
i
=
20
for
i
in
range
(
4
,
0
):
print
u"Spam!"
return
i
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