[issue11627] segfault raising an arbitrary object as an exception

Michael Foord report at bugs.python.org
Mon Mar 21 23:02:32 CET 2011


Michael Foord <michael at voidspace.org.uk> added the comment:

Personally I don't think this should be valid at all (it should ideally be an error at the raise point). It is the kind of thing that causes difficulties for the other implementations trying to match CPython behaviour (this code works in Python 2.7 - you can catch the object()).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11627>
_______________________________________


More information about the Python-bugs-list mailing list