Re: Simple Traits Questions

2010-03-28 Thread Terry Reedy
On 3/28/2010 9:46 AM, Ethan Furman wrote: Robert Kern wrote: On 2010-03-27 08:19 , Ethan Furman wrote: Okay, different post for my actual questions. :) On the PyPI page for strait (http://pypi.python.org/pypi/strait/0.5.1) it has the example of choosing which methods to keep in the composed c

Re: Simple Traits Questions

2010-03-28 Thread Robert Kern
On 2010-03-28 08:46 , Ethan Furman wrote: Robert Kern wrote: On 2010-03-27 08:19 , Ethan Furman wrote: Okay, different post for my actual questions. :) On the PyPI page for strait (http://pypi.python.org/pypi/strait/0.5.1) it has the example of choosing which methods to keep in the composed c

Re: Simple Traits Questions

2010-03-28 Thread Ethan Furman
Robert Kern wrote: On 2010-03-27 08:19 , Ethan Furman wrote: Okay, different post for my actual questions. :) On the PyPI page for strait (http://pypi.python.org/pypi/strait/0.5.1) it has the example of choosing which methods to keep in the composed class: class TOSWidget(BaseWidget): __me

Re: Simple Traits Questions

2010-03-27 Thread Robert Kern
On 2010-03-27 08:19 , Ethan Furman wrote: Okay, different post for my actual questions. :) On the PyPI page for strait (http://pypi.python.org/pypi/strait/0.5.1) it has the example of choosing which methods to keep in the composed class: class TOSWidget(BaseWidget): __metaclass__ = include(Pac

Simple Traits Questions

2010-03-27 Thread Ethan Furman
Okay, different post for my actual questions. :) On the PyPI page for strait (http://pypi.python.org/pypi/strait/0.5.1) it has the example of choosing which methods to keep in the composed class: class TOSWidget(BaseWidget): __metaclass__ = include(Pack, Place, Grid) info = Pack.info.