Hrvoje Niksic wrote:
> Hrvoje Niksic <[EMAIL PROTECTED]> writes:
>
> > Joshua Kugler <[EMAIL PROTECTED]> writes:
> >
> >> self.me = []
> >> self.me = {}
> >
> > Use "object.__setattr__(self, 'me') = []" and likewise for {}.
>
> Oops, that should of course be "object.__setattr__(self, 'me', [])".
--
http://mail.python.org/mailman/listinfo/python-list
- Setting an attribute without calling __setattr__(... Joshua Kugler
- Re: Setting an attribute without calling __s... Terry Reedy
- Re: Setting an attribute without calling __s... Hrvoje Niksic
- Re: Setting an attribute without calling... Hrvoje Niksic
- Re: Setting an attribute without cal... animalMutha
- Re: Setting an attribute without calling __s... John Machin
- Re: Setting an attribute without calling... Joshua Kugler
- Re: Setting an attribute without calling... animalMutha
- Re: Setting an attribute without cal... Marc 'BlackJack' Rintsch
- Re: Setting an attribute without cal... Joshua Kugler
- Re: Setting an attribute without calling __s... George Sakkis
- Re: Setting an attribute without calling __s... Arnaud Delobelle
- Re: Setting an attribute without calling... Aahz
- Re: Setting an attribute without cal... Arnaud Delobelle
