From: Stefan Behnel Date: Sat, 25 Oct 2008 09:11:43 +0000 (+0200) Subject: new failing test case (from Pyrex list) X-Git-Tag: 0.9.9.2.beta~27 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=044d0affca22928507f51ce171b40a42955d1ee9;p=cython.git new failing test case (from Pyrex list) --- diff --git a/tests/run/dictintindex.pyx b/tests/run/dictintindex.pyx new file mode 100644 index 00000000..2c4ac45f --- /dev/null +++ b/tests/run/dictintindex.pyx @@ -0,0 +1,12 @@ +__doc__ = u""" +>>> test() +1 +""" + +def test(): + cdef int key = 0 + + d = {0:1} + print d[key] + del d[key] + print d[key]