John Ehresman <j...@wingware.com> added the comment: My hope is that the runtime performance cost will be negligible but if it isn't, it probably shouldn't go in. The issue with not putting it in another build is that many python debugger users won't want to recompile, so I see it as being of limited use if it's not in the default build.
My experience with watchpoints in C debuggers (gdb) is they can be the difference between finding a bug and not -- I recall finding ref counting bugs only because I could watch the ref count and break on the code that modifies it. I would be willing to try and generalize this and support more hooks if there is some interest in it, though watching namespaces is probably the greatest payoff. I think that if will be difficult to remove the hooks currently in the default build because of backward compatibility issues. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5654> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com