[issue9622] Allow to set profile/trace function globally
Kristján Valur Jónsson
report at bugs.python.org
Tue Aug 17 17:24:26 CEST 2010
Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:
Here is a new, much simpler patch, which simply sets the flags on all the threads (accessable as a linked list of PyThreadState objects) as suggested by Antoine.
(Note that neither of the patches has the necessary enhancements to _lsprof.c to make the profiling data sensible. That is the subject of issue 9609)
----------
Added file: http://bugs.python.org/file18553/glob.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9622>
_______________________________________
More information about the Python-bugs-list
mailing list