[Python-Dev] How to suppress instance __dict__?

David Abrahams dave at boost-consulting.com
Tue Mar 25 03:48:57 CET 2003


"Delaney, Timothy C (Timothy)" <tdelaney at avaya.com> writes:

> 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.

Even if that were true, it's seldom needed (only comes up rarely in
C++ where you can't do that) and often incorrect in any case because
the derived class isn't constructed yet.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Python-list mailing list