Re: Breaking into descriptors

2013-02-28 Thread Dave Angel
On 02/28/2013 12:24 PM, Demian Brecht wrote: class MyDescriptor(object): def __init__(self): self.foo = 'bar' def __get__(self, obj, type_): import pdb; pdb.set_trace() return self.do_something() def __set__(self, obj, val): self.foo = val

Re: Breaking into descriptors

2013-02-28 Thread Demian Brecht
On Thu, Feb 28, 2013 at 10:01 AM, Dave Angel da...@davea.name wrote: It halts (breaks) for me, in Python 2.7.3 on Linux Okay, now I'm just confused. I ran this in terminal on OSX with both 2.7.3 and 3.4(dev) and both were exhibiting the same behaviour. I've since closed the terminal and upon