Antoine Pitrou added the comment:

> The interesting discovery I made while reviewing the patch for issue 
> 22906 is that there apparently *is* implicit chaining support in
> PyErr_SetObject

Indeed, there is, and it should work properly (AFAIR there was quite a bit of 
debugging to make this work). Also, note that normalizing is already handled.

I'm not sure what you're witnessing that doesn't work as expected. I suspect 
that you may be confusing "an exception has been caught" (and is ready to be 
chained from) with "an exception has been raised" (i.e. PyErr_Occurred() is 
true).

----------

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

Reply via email to