Why deepcopy with class with __getattr__ makes the tracing go nuts?

2009-02-19 Thread Fabio Zadrozny
Anyone has any idea why the code attached does not work? Basically, after doing the deepcopy of the class that has __getattr__ overridden, the python tracing facilities don't seem to work anymore. In the code-attached, if the deepcopy is removed, all works as expected (or if __deepcopy__ is

Re: Why deepcopy with class with __getattr__ makes the tracing go nuts?

2009-02-19 Thread Peter Otten
Fabio Zadrozny wrote: Anyone has any idea why the code attached does not work? Basically, after doing the deepcopy of the class that has __getattr__ overridden, the python tracing facilities don't seem to work anymore. In the code-attached, if the deepcopy is removed, all works as