[issue3653] segfault calling sys.excepthook with non-Exception argument

2008-09-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I think you need to clear the exception again before returning. ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3653] segfault calling sys.excepthook with non-Exception argument

2008-08-24 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11234/use_unraiseable_better.patch ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3653] segfault calling sys.excepthook with non-Exception argument

2008-08-24 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: -- nosy: +haypo ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing l

[issue3653] segfault calling sys.excepthook with non-Exception argument

2008-08-24 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: PyErr_Format sets the new exception and returns NULL though. ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3653] segfault calling sys.excepthook with non-Exception argument

2008-08-23 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Attaching new patch... Added file: http://bugs.python.org/file11231/use_unraiseable.patch ___ Python tracker <[EMAIL PROTECTED]> __

[issue3653] segfault calling sys.excepthook with non-Exception argument

2008-08-23 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: The patch should probably used PyErr_Format() followed by PyErr_WriteUnraisable(). -- nosy: +pitrou ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3653] segfault calling sys.excepthook with non-Exception argument

2008-08-23 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Ok. Applied in r65998. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3653] segfault calling sys.excepthook with non-Exception argument

2008-08-23 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Patch looks good. -- nosy: +georg.brandl ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3653] segfault calling sys.excepthook with non-Exception argument

2008-08-23 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- keywords: +needs review priority: -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3653] segfault calling sys.excepthook with non-Exception argument

2008-08-23 Thread Daniel Diniz
New submission from Daniel Diniz <[EMAIL PROTECTED]>: Calling sys.excepthook(1,'1',1) crashes 3.0: Python 3.0b3+ (py3k:65987, Aug 23 2008, 10:04:31) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> imp