overwrite set behavior

Marco Bizzarri marco.bizzarri at gmail.com
Thu Sep 4 06:06:14 EDT 2008


On Thu, Sep 4, 2008 at 11:58 AM, Wojtek Walczak <gminick at bzt.bzt> wrote:
> On Thu, 04 Sep 2008 11:48:18 +0200, Michele Petrazzo wrote:
>> Hi all, I want to modify the method that set use for see if there is
>> already an object inside its obj-list. Something like this:
> ...
>> It's possible?
>
> As far as I understand you, you need descriptors:
> http://users.rcn.com/python/download/Descriptor.htm
>

I know descriptors a litte, Wojtek, but didn't use them often; can you
elaborate a little more on your idea?

> --
> Regards,
> Wojtek Walczak,
> http://tosh.pl/gminick/
> --
> http://mail.python.org/mailman/listinfo/python-list
>


Saluti
Marco
-- 
Marco Bizzarri
http://notenotturne.blogspot.com/
http://iliveinpisa.blogspot.com/



More information about the Python-list mailing list