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 <>
Python-bugs-list mailing list

Reply via email to