[issue2542] PyErr_ExceptionMatches must not fail

2008-07-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: I am working on Thomas' patch, plus tests. -- assignee: - amaury.forgeotdarc nosy: +amaury.forgeotdarc ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2542

[issue2542] PyErr_ExceptionMatches must not fail

2008-07-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Committed r65320 in trunk. I'll close the issue after it is merged into py3k. -- resolution: - fixed status: open - pending ___ Python tracker [EMAIL PROTECTED]

[issue2542] PyErr_ExceptionMatches must not fail

2008-07-30 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I just merged it. -- nosy: +benjamin.peterson status: pending - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2542 ___

[issue2542] PyErr_ExceptionMatches must not fail

2008-07-29 Thread Guido van Rossum
Guido van Rossum [EMAIL PROTECTED] added the comment: Ping? Anyone cares about this? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2542 ___ ___ Python-bugs-list

[issue2542] PyErr_ExceptionMatches must not fail

2008-07-28 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- priority: critical - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2542 ___ ___

[issue2542] PyErr_ExceptionMatches must not fail

2008-07-09 Thread Guido van Rossum
Guido van Rossum [EMAIL PROTECTED] added the comment: FWIW some comments by Amaury are here: http://codereview.appspot.com/483 -- nosy: +gvanrossum ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2542

[issue2542] PyErr_ExceptionMatches must not fail

2008-06-11 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: This is a bug, not a new feature so it's not release critical for the first alphas. -- nosy: +barry priority: release blocker - critical ___ Python tracker [EMAIL PROTECTED]

[issue2542] PyErr_ExceptionMatches must not fail

2008-04-04 Thread Thomas Heller
Thomas Heller [EMAIL PROTECTED] added the comment: Daniel, IMO you've found a separate bug. I added it as issue #2548. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2542 __

[issue2542] PyErr_ExceptionMatches must not fail

2008-04-03 Thread Thomas Heller
New submission from Thomas Heller [EMAIL PROTECTED]: PyErr_ExceptionMatches must not fail, according to the docs. So an error code from PyObject_IsSubclass() cannot be returned. The attached patch calls PyErr_WriteUnraisable in this case, and returns an arbitrary value (0 was chosen in the

[issue2542] PyErr_ExceptionMatches must not fail

2008-04-03 Thread Daniel Diniz
Daniel Diniz [EMAIL PROTECTED] added the comment: The tests pass and prints the ignores. But I still see an issue: import sys def g(): try: return g() except: return sys.exc_info() g() (type 'exceptions.RuntimeError', 'maximum recursion depth exceeded while calling a