Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 42a8c2b

Browse files
committed
Add resolution of __new__ story sequel.
1 parent eaa77e2 commit 42a8c2b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

PLAN.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ we try to use this for some, eh, interesting types such as tuples. ***
9999
def __new__(cls, *args):
100100
"How do I call the default __new__ implementation???"
101101

102+
This was resolved nicely by putting object.__new__ back but not
103+
inheriting __new__ from object when the subtype is a built-in or
104+
extension type.
105+
102106
More -- I'm sure new issues will crop up as we go.
103107

104108

0 commit comments

Comments
 (0)