On 2015-06-20 3:16 PM, M.-A. Lemburg wrote:
On 20.06.2015 09:30, Victor Stinner wrote:
>Hi,
>
>I didn't get much feedback on this PEP. Since the Python 3.6 branch is
>open (default), it's probably better to push such change in the
>beginning of the 3.6 cycle, to catch issues earlier.
>
>Are you ok to chain exceptions at C level by default?
I think it's a good idea to make C APIs available to
simplify chaining exceptions at the C level, but don't
believe that always doing this by default is a good idea.
It should really be a case-by-case decision, IMO.
Exactly my thoughts.
Maybe PyErr_SetStringChained, PyErr_FormatChained, etc
is better?
Yury
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com