Steve Dower <steve.do...@python.org> added the comment: > Is it possible to be asked to be called as the last handler ...
Unfortunately not, since the stack-based handlers always come after the vector handlers, and C++ handlers written using try/catch will always be stack-based. It may be interesting for faulthandler to have a stack-based version, so that you can provide the function to call and it will call it inside an exception handler. But I don't think it's that interesting and in any case doesn't need to be in the stdlib. I wouldn't worry about 0xE0434F4D for now, but if someone comes along with a need for it then we can add it. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31701> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com