
Dec. 20, 2009
8:50 a.m.
Terry Reedy <tjreedy@...> writes:
I guess so, yes. My method would be something like what Jacob said, abusing the memo dict to pass the copying mode. But I thought perhaps we can set a standard way for specifying different copy modes, because otherwise I'll do memo hack and someone else will do his different memo hack and it won't be compatible.
Perhaps you can post a recipe at the Python Cookbook. People who care about compatibility can follow the same recipe.
(Just a closing comment about this: I tried this and it was really pretty simple, just making a dict subclass.) Ram.