Final merge from trunk

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Stefan Zager 2011-04-03 07:37:35 +00:00
commit 0cdf8658c7
9 changed files with 114 additions and 165 deletions

View file

@ -18,9 +18,10 @@ except RuntimeError,e:
if e.args[0] != "I died.":
raise RuntimeError
try:
# This is expected fail with -builtin option
# Throwing builtin classes as exceptions not supported
# t.hosed()
try:
t.hosed()
pass
except threads_exception.Exc,e:
if e.code != 42: