Antoine Pitrou added the comment:

> With your patch, can the SetTraceback in PyErr_Print be removed?

I don't think so. PyErr_Print() calls sys.excepthook, which can be
overriden with custom code.

> Or should PyErr_Display only set the tb if there is none on the
> object already?

Well, why not!

----------

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

Reply via email to