[issue3108] Implicit exception chaining (PEP 3134)

2008-06-14 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: See #3112 and #3113. -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3108] Implicit exception chaining (PEP 3134)

2008-06-14 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Submitted as r64281. We still need a doc patch and changes to the exception printing (perhaps also to traceback.py). Please open new issues for those. -- resolution: -> fixed status: open -> closed __

[issue3108] Implicit exception chaining (PEP 3134)

2008-06-13 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Guido, thanks for your comments. Here is a new patch addressing them. Added file: http://bugs.python.org/file10627/context2.patch ___ Python tracker <[EMAIL PROTECTED]> _

[issue3108] Implicit exception chaining (PEP 3134)

2008-06-13 Thread Antoine Pitrou
New submission from Antoine Pitrou <[EMAIL PROTECTED]>: This patch implements implicit except chaining (__context__) as per PEP 3134, or not quite. The difference is that PyErr_Set* functions do set the __context__ attribute, otherwise I think it would make an annoying discrepancy between excepti