Kaydet (Commit) 42a8c2b2 authored tarafından Guido van Rossum's avatar Guido van Rossum

Add resolution of __new__ story sequel.

üst eaa77e2c
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment