[issue11627] segfault raising an arbitrary object as an exception

Michael Foord report at bugs.python.org
Mon Mar 21 23:13:08 CET 2011


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

This:

raise type('',(Exception,),{'__new__':lambda *a:object()}) 

Segfaults 3.2 but not 3.1.

----------

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


More information about the Python-bugs-list mailing list