Cython has moved to github.

cython-devel

view tests/run/r_delgado_1.pyx @ 1622:4f0327bdebc9

test for temp allocation bug in call
author Robert Bradshaw <robertwb@math.washington.edu>
date Sat Jan 17 01:25:34 2009 -0800 (3 years ago)
parents 6309e21af543
children 82d312a9f1fc
line source
1 __doc__ = u"""
2 >>> try:
3 ... eggs().eat()
4 ... except RuntimeError:
5 ... import sys
6 ... e = sys.exc_info()[1]
7 ... print("%s: %s" % (e.__class__.__name__, e))
8 RuntimeError: I don't like that
9 """
11 cdef class eggs:
13 def __dealloc__(self):
14 pass
16 def eat(self):
17 raise RuntimeError(u"I don't like that")