Raymond Hettinger wrote: > The part I'm not following in this paragraph is how a d.copy() > method is any different from the d.__copy__() method that > is called by the copy() function. Both share the same underlying > implementation and both have the same effects when overridden.
Having it a function/special method pair appears to make a strong statement that it's a very important operation that a large number of types ought to implement. As Guido said, it's not really a generic enough operation to warrant that. -- Greg _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com