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 exceptions generated by Python modules and exceptions generated by C modules (especially when some parts are written in C and others in Python, e.g. the io library).
Unimplemented are the modifications in exception reporting. ---------- components: Interpreter Core files: context.patch keywords: patch messages: 68189 nosy: pitrou severity: normal status: open title: Implicit exception chaining (PEP 3134) type: behavior versions: Python 3.0 Added file: http://bugs.python.org/file10626/context.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3108> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com