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

2018-01-27 Thread Xiang Zhang
Change by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Py

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

2018-01-27 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 60da99b8e2f7bf497569ae4d6c218866575729bf by Xiang Zhang in branch 'master': bpo-32532: Improve documentation of settrace and setprofile (#5359) https://github.com/python/cpython/commit/60da99b8e2f7bf497569ae4d6c218866575729bf -- _

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

2018-01-27 Thread Xiang Zhang
Change by Xiang Zhang : -- keywords: +patch pull_requests: +5204 stage: needs patch -> patch review ___ Python tracker ___ ___ Python

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

2018-01-21 Thread Xiang Zhang
Xiang Zhang added the comment: Hi Pablo, it would be nice. But for #17799, I don't know actually which part should be fixed, doc or code? I think it's better to consult gurus on python-dev mail list. -- ___ Python tracker

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

2018-01-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: There are some issues in the documentation for this function (slightly related) to this described here: https://bugs.python.org/issue17799. I can update the PR linked to that issue with this information as well. -- nosy: +pablogsal versions: +

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

2018-01-10 Thread Xiang Zhang
New submission from Xiang Zhang : 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