Add resolution of __new__ story sequel.

This commit is contained in:
Guido van Rossum 2001-08-09 20:25:58 +00:00
parent eaa77e2ca1
commit 42a8c2b221

View file

@ -99,6 +99,10 @@ we try to use this for some, eh, interesting types such as tuples. ***
def __new__(cls, *args):
"How do I call the default __new__ implementation???"
This was resolved nicely by putting object.__new__ back but not
inheriting __new__ from object when the subtype is a built-in or
extension type.
More -- I'm sure new issues will crop up as we go.