On May 16, 9:01 pm, Ivan Illarionov <[EMAIL PROTECTED]> wrote:
> After re-reading "Python is not Java" I finally came to conclusion that
> classmethods in Python are a very Bad Thing.

Sounds like a serious case of mis-learning.

Class methods are the preferred way to implement alternate
constructors.  For good examples, see dict.fromkeys() or any of the
various datetime constructors.

Raymond
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to