projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a012b54
)
add a warning for unraisable exceptions (but do not show it by default, as this is...
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 7 Aug 2008 18:16:39 +0000
(20:16 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 7 Aug 2008 18:16:39 +0000
(20:16 +0200)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index d06324c9115c6086a2cd8dcf14daf7b0201be973..98dc1de609c851130ce8cbb146d4832abdeae142 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-944,6
+944,8
@@
class FuncDefNode(StatNode, BlockNode):
if err_val is not None or exc_check:
code.putln('__Pyx_AddTraceback("%s");' % self.entry.qualified_name)
else:
+ warning(self.entry.pos, "Unraisable exception in function '%s'." \
+ % self.entry.qualified_name, 0)
code.putln(
'__Pyx_WriteUnraisable("%s");' %
self.entry.qualified_name)