mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Add resolution of __new__ story sequel.
This commit is contained in:
parent
eaa77e2ca1
commit
42a8c2b221
1 changed files with 4 additions and 0 deletions
4
PLAN.txt
4
PLAN.txt
|
@ -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.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue