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 eric.smith
Recipients eric.smith, georg.brandl
Date 2009-12-12.12:16:35
SpamBayes Score 0.0019353192
Marked as misclassified No
Message-id <1260620197.76.0.962971657783.issue7485@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation says: "If the referenced object does not have a, b and
c attributes, of course, the end result is still a run-time exception."

For the given example, this is likely not true. Since the attributes are
being assigned to, they will be created. The example is equivalent to:

>>> class a(object): pass
...
>>> ref = a()
>>> ref.a = 21
>>> ref.b = 42
>>> ref.c = 63
History
Date User Action Args
2009-12-12 12:16:37eric.smithsetrecipients: + eric.smith, georg.brandl
2009-12-12 12:16:37eric.smithsetmessageid: <1260620197.76.0.962971657783.issue7485@psf.upfronthosting.co.za>
2009-12-12 12:16:36eric.smithlinkissue7485 messages
2009-12-12 12:16:35eric.smithcreate