Re: [Tutor] inheriting different builtin types

2009-02-05 Thread Kent Johnson
On Wed, Feb 4, 2009 at 8:27 AM, spir wrote: > Hello, > > I have a strange problem and cannot see a clear method to solve it. > I would like to build a custom type that is able to add some informational > attributes and a bunch attribute to a main "value". The outline is then: > > class Custom(X):

Re: [Tutor] inheriting different builtin types

2009-02-05 Thread Willi Richert
Hi, http://objectmix.com/python/710201-dynamically-changing-base-class.html may be of interest. wr On Mittwoch, 4. Februar 2009 14:27:17 spir wrote: > Hello, > > I have a strange problem and cannot see a clear method to solve it. > I would like to build a custom type that is able to add some in