[Python-Dev] How to suppress instance __dict__?
Delaney, Timothy C (Timothy)
tdelaney at avaya.com
Mon Mar 24 18:29:28 EST 2003
More information about the Python-list mailing list
Mon Mar 24 18:29:28 EST 2003
- Previous message (by thread): [Python-Dev] How to suppress instance __dict__?
- Next message (by thread): [Python-Dev] How to suppress instance __dict__?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> From: Michael Hudson [mailto:mwh at python.net] > > "Delaney, Timothy C (Timothy)" <tdelaney at avaya.com> writes: > > [__init__ vs. __new__] > > > Because most of the time we want to work with fully-constructed > > objects. You can't use overridden methods in a constructor - only > > from an initialiser. > > What makes you say that? > > Doing too much C++ lately? Unfortunately, yes :( How about this then ... using __init__ is simpler in most cases ;) Tim Delaney
- Previous message (by thread): [Python-Dev] How to suppress instance __dict__?
- Next message (by thread): [Python-Dev] How to suppress instance __dict__?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list