[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: +Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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. 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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com