Cython has moved to github.
cython-devel
view tests/run/compiledef.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 | 4395c25ed190 |
| children |
line source
1 __doc__ = u"""
2 >>> t
3 True
4 >>> f
5 False
6 >>> boolexpr
7 True
8 >>> num6
9 6
10 >>> intexpr
11 10
12 """
14 DEF c_t = True
15 DEF c_f = False
16 DEF c_boolexpr = c_t and True and not (c_f or False)
18 DEF c_num6 = 2*3
19 DEF c_intexpr = c_num6 + 4
21 t = c_t
22 f = c_f
23 boolexpr = c_boolexpr
24 num6 = c_num6
25 intexpr = c_intexpr
