deleting attributes

Skip Montanaro skip at
Tue Aug 27 04:39:05 CEST 2002

    Rob> I was just reading through the Python Tutorial.  In section 9.2
    Rob> (python Scopes and Name Spaces) it says you can delete attributes
    Rob> (eg del modname.the_answer).

    Rob> This seems dangerous to me.

One of Python's basic principles is "We're all adults here."  Based on your
operational definition definition of the word "dangerous", there are
probably lots of potential pitfalls in the language.

Skip Montanaro
skip at

More information about the Python-list mailing list