[issue7374] Property accessor/getter called twice

2009-11-22 Thread Michal Liddle
Michal Liddle added the comment: Right you are. Looks like its actually an IPython specific behaviour here (didn't think to check that in the first place, sorry). -- ___ Python tracker _

[issue7374] Property accessor/getter called twice

2009-11-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Tried your snippet with both py2.5 and py2.6. It works as expected (one get and one set). -- nosy: +rhettinger resolution: -> works for me status: open -> closed ___ Python tracker

[issue7374] Property accessor/getter called twice

2009-11-22 Thread Michal Liddle
New submission from Michal Liddle : The following snippet demonstrates the problem: - class Test(object): def get(self): print "get" def set(self, v): print "set" test = property(get, set) t = Test() t.test t.test = 3 -