[Python-bugs-list] [ python-Bugs-471725 ] sys.settrace is thread-local state

noreply@sourceforge.net noreply@sourceforge.net
Tue, 16 Oct 2001 07:25:00 -0700


Bugs item #471725, was opened at 2001-10-16 07:24
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=471725&group_id=5470

Category: Documentation
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Zooko Ozoko (zooko)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: sys.settrace is thread-local state

Initial Comment:
Apparently sys.settrace sets a thread-local hook not a
global hook.  Perhaps the documentation at 

http://python.sourceforge.net/devel-docs/lib/debugger-hooks.html

should be changed to reflect that.

BTW, the link from
http://python.sourceforge.net/devel-docs/lib/module-sys.html

to
http://python.sourceforge.net/devel-docs/lib/debugger-hooks.html#debugger-hooks

would seem to be better if it linked to 

http://python.sourceforge.net/devel-docs/lib/debugger-hooks.html


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=471725&group_id=5470