Author arigo
Recipients
Date 2006-06-28.10:36:22
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=4771

The error message can still be wrong.  For example, in the
following situation:

  class X(object):
      __slots__ = ['a']
  X().b = 5

Then the original message -- no attribute 'b' -- was correct.
With this patch Python now wrongly tells you that 'X' object
has only read-only attributes.
History
Date User Action Args
2007-08-23 15:53:07adminlinkissue1512942 messages
2007-08-23 15:53:07admincreate