Nick Coghlan added the comment:

Issue 23188 (referenced above) covers making this a public API for 3.7.

I think it's a good idea, but it's too late to add it to 3.6, and getting the 
documentation right is going to require some discussion (as using this new API 
isn't necessary if you're already in a Python exception handler and are 
directly or indirectly calling PyErr_SetObject, but *is* necessary if you're 
wanting to chain with a just set C level exception).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28410>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to