Message85139
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. |
|
Date |
User |
Action |
Args |
2009-04-02 02:32:44 | jpe | set | recipients:
+ jpe, loewis, rhettinger, sdeibel |
2009-04-02 02:32:42 | jpe | link | issue5654 messages |
2009-04-02 02:32:40 | jpe | create | |
|