From: Stefan Behnel Date: Wed, 9 Dec 2009 12:20:13 +0000 (+0100) Subject: test case for ticket #466 X-Git-Tag: 0.12.1~49 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bd1964ac80aba599d162201e1dc439ec1bee7d4d;p=cython.git test case for ticket #466 --- diff --git a/tests/bugs.txt b/tests/bugs.txt index 55e7e2c3..29aa0373 100644 --- a/tests/bugs.txt +++ b/tests/bugs.txt @@ -7,3 +7,4 @@ numpy_ValueError_T172 unsignedbehaviour_T184 missing_baseclass_in_predecl_T262 cfunc_call_tuple_args_T408 +extended_unpacking_T466 diff --git a/tests/run/extended_unpacking_T466.pyx b/tests/run/extended_unpacking_T466.pyx new file mode 100644 index 00000000..6c0d3f74 --- /dev/null +++ b/tests/run/extended_unpacking_T466.pyx @@ -0,0 +1,10 @@ +# extension to T409 + +def simple_parallel_typed(): + """ + >>> simple_parallel_typed() + (1, 2, [1, 2], [1, 2]) + """ + cdef int a,c + a, c = d = e = [1,2] + return a, c, d, e