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
b23fde17
Commit
b23fde17
authored
May 08, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test for ticket #533: reference leak in 'continue' statement
parent
c09d2c10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
tests/bugs.txt
tests/bugs.txt
+1
-0
tests/run/for_in_break_continue_T533.pyx
tests/run/for_in_break_continue_T533.pyx
+15
-0
No files found.
tests/bugs.txt
View file @
b23fde17
...
...
@@ -9,6 +9,7 @@ missing_baseclass_in_predecl_T262
cfunc_call_tuple_args_T408
cascaded_list_unpacking_T467
compile.cpp_operators
for_in_break_continue_T533
# CPython regression tests that don't current work:
pyregr.test_threadsignals
...
...
tests/run/for_in_break_continue_T533.pyx
0 → 100644
View file @
b23fde17
def
for_in
():
"""
>>> for_in()
6
"""
i
=
-
1
for
L
in
[[],
range
(
5
),
range
(
10
)]:
for
i
in
L
:
if
i
>
5
:
break
else
:
continue
break
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