[issue32532] improve sys.settrace and sys.setprofile documentation

Xiang Zhang report at bugs.python.org
Thu Jan 11 01:25:56 EST 2018


New submission from Xiang Zhang <angwerzx at 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 at python
components: Documentation
keywords: easy
messages: 309793
nosy: docs at python, xiang.zhang
priority: normal
severity: normal
stage: needs patch
status: open
title: improve sys.settrace and sys.setprofile documentation
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32532>
_______________________________________


More information about the Python-bugs-list mailing list