This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chriscog
Recipients
Date 2001-05-04.00:55:08
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=67116

Looks like an attribute error to me. consider this:

>>> getattr (t,fred,"thingy")
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
NameError: There is no variable named 'fred'

Ie, in your own example, it couldn't find an attribute '1' 
in the class, even if its an integer attribute (which is 
only obtainable using getattr/setattr). That's exactly what 
AttributeError is
History
Date User Action Args
2007-08-23 13:54:25adminlinkissue420304 messages
2007-08-23 13:54:25admincreate