> Is this not just evidence of a very bad Python coding style?
> Should we not always declare *all* class fields in the class definition
> by assigning to them, even if the assignment is token or dummy
> i.e. 'None', "", [], {} etc.

this is one of the many things that pylint can warn you about.
It's like pychecker but customisable for your coding standards.
See http://www.logilab.org/project/eid/857

Cheers
Duncan
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to