projects
/
cython.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge + no need to cimport __cython__ any longer (sorry about non-isolated commit...)
[cython.git]
/
tests
/
errors
/
e_tempcast.pyx
1
cdef object blarg
2
3
def foo(obj):
4
cdef int *p
5
p = <int *>blarg # okay
6
p = <int *>(foo + blarg) # error - temporary
7
_ERRORS = u"""
8
/Local/Projects/D/Pyrex/Source/Tests/Errors1/e_tempcast.pyx:6:5: Casting temporary Python object to non-numeric non-Python type
9
"""