Mark Shannon <m...@hotpy.org> added the comment: Why do the codes used internally by ceval have to be the same as those made public?
Have you considered returning the exit code directly, rather than adding another field to frameobject? yieldfrom can be handled in a similar way to yield by returning the iterator (instead of the yielded value). See attached file for example code. ---------- nosy: +Mark.Shannon Added file: http://bugs.python.org/file24509/exit_code_example.c _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13607> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com