poplib for multihomed machines

Peter Hansen peter at engcorp.com
Tue Jun 29 14:18:45 EDT 2004


Elbert Lev wrote:

> This is a major design error. NO-NO is C++. Constructor is supposed
> only initialise members and take no actions. Unfortunatelly this
> paradigm is violated in many Python classes.

__init__ is an initializer, not a constructor.  Python didn't have
real constructors until the new style classes were created, and
__new__.



More information about the Python-list mailing list