On May 9, 9:05 pm, George Sakkis <[EMAIL PROTECTED]> wrote:
> Using the overridable property recipe [1],
> [1]http://infinitesque.net/articles/2005/enhancing%20Python's%20property...
Thanks, this is a great solution!
Joseph
--
http://mail.python.org/mailman/listinfo/python-list
On May 9, 5:20 pm, Joseph Turian <[EMAIL PROTECTED]> wrote:
> If I have a property in a derived class, it is difficult to override
> the get and set functions: the property's function object had early
> binding, whereas the overriden method was bound late.
> This was previously discussed:
> http
On Fri, May 9, 2008 at 3:20 PM, Joseph Turian <[EMAIL PROTECTED]> wrote:
> Could someone demonstrate how to implement the proposed solutions that
> allow the property to be declared in the abstract base class, and
> refer to a get function which is only implemented in derived classes?
One way is t
Joseph Turian wrote:
If I have a property in a derived class, it is difficult to override
the get and set functions: the property's function object had early
binding, whereas the overriden method was bound late.
This was previously discussed:
http://groups.google.com/group/comp.lang.python/br
If I have a property in a derived class, it is difficult to override
the get and set functions: the property's function object had early
binding, whereas the overriden method was bound late.
This was previously discussed:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/e13a