[Python-ideas] Being able to specify

Ram Rachum cool-rr at cool-rr.com
Sun Dec 20 14:50:41 CET 2009

Terry Reedy <tjreedy at ...> 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.)


More information about the Python-ideas mailing list