New submission from Xiang Zhang <angwe...@126.com>: I propose to mention the behaviour that "if exception raised in tracefunc or profilefunc, the handler will be unset" in the documentation of sys.settrace and sys.setprofile. I encounter this behaviour and surprised by it since I can't get the info from the doc. Only by digging into the source code, I can find out why the profile messages suddenly disappear.
---------- assignee: docs@python components: Documentation keywords: easy messages: 309793 nosy: docs@python, xiang.zhang priority: normal severity: normal stage: needs patch status: open title: improve sys.settrace and sys.setprofile documentation type: enhancement _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32532> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com