STINNER Victor <vstin...@python.org> added the comment:
> I would definitely love to have a public API for this. I'm not sure if it's a good idea. It's kind of semi-internal. Stephan Behnel and Mark Shannon: What do you think of exposing PyThreadState exception stack (exc_state)? Especially the "top" exception. If I recall correctly, Mark designed it and Stephan "reimplemented" it in Cython. I also recall a minor issue in greenlet: https://github.com/python-greenlet/greenlet/pull/132 ---------- nosy: +Mark.Shannon, scoder _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40545> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com