On 5/16/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> As Luke mentioned in the ticket report (just posting here for the
> archives), it's because in Python
>
> self._target = value
>
> is implemented as
>
> self.__setattr__('_target', value)
>
> for attributes that are not specifically attached to the class at
> construction time. See also: "infinite loop". I started off with the
> same thinking you did, stripped all that stuff out and then spent half
> an hour rediscovering that Luke is pretty smart and had no doubt been
> through the same process.
Aha, that's it. Knew there had to be a reason! I added a comment
around that code in [2929] so it's clear.
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---