E&S CVS Commit: DecoratorTools - Refactor tracing mechanism to be less intrusive; specifically, don't

pje at eby-sarna.com pje at eby-sarna.com
Thu Jun 10 21:21:32 EDT 2010


Author: pje
Date: Thu Jun 10 21:21:31 2010
New Revision: 2614

URL: http://svn.eby-sarna.com?rev=2614&view=rev
Log:
Refactor tracing mechanism to be less intrusive; specifically, don't
install a global trace hook if one's already in place, don't uninstall
it if we didn't install it, and make sure that uninstallations happen
in the correct chaining order.  This may fix some long-standing issues
with debuggers (such as PyDev) that use different local and global 
tracing functions.

Modified:
    DecoratorTools/peak/util/decorators.py
    DecoratorTools/test_decorators.py



More information about the source-changes mailing list