> since both are equally informative when it comes to tracing the faulty
> assignment.
>

steve, they are not equally informative, the assertion is designed to
fire earlier in the process, and therefore before much mischief and
corruption can be done compared to later, when you happen to hit the
missing attribute.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to