On Feb 23, 9:38 am, Steve wrote:
> After looking at some metaclass examples it appears this information
> is readily available. A metaclass gets a dictionary containing
> information about the parent class (or should, at least).
What examples did you look at?
> It seems
> like it must have thi
On Feb 23, 12:38 am, Carl Banks wrote:
> Steve wrote:
> > I've filed a bug in python but I wanted to see if other ctypes users/
> > experts viewed this issue as a bug.
> > Consider the following:
> > python code:
> > import ctypes
> > class my_array( ctypes.Array ):
> > _type_ = ctypes.c_ui
Steve wrote:
> I've filed a bug in python but I wanted to see if other ctypes users/
> experts viewed this issue as a bug.
> Consider the following:
> python code:
> import ctypes
> class my_array( ctypes.Array ):
> _type_= ctypes.c_uint8
> _length_ = 256
>
> class my_array2( my_array
I've filed a bug in python but I wanted to see if other ctypes users/
experts viewed this issue as a bug.
Consider the following:
python code:
import ctypes
class my_array( ctypes.Array ):
_type_= ctypes.c_uint8
_length_ = 256
class my_array2( my_array ):
pass
Output:
class my_ar
On Mar 3, 3:14 pm, MooMaster <[EMAIL PROTECTED]> wrote:
> On Mar 3, 11:49 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>
>
>
> > MooMaster schrieb:
>
> > > I'm trying to use inheritance to create a simple binary tree, but it's
> > > not going so well... here's what I pull from the documentatio
On Mar 3, 11:49 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> MooMaster schrieb:
>
> > I'm trying to use inheritance to create a simple binary tree, but it's
> > not going so well... here's what I pull from the documentation for
> > super()
> > "super( type[, object-or-type])
>
> > Return the
MooMaster schrieb:
> I'm trying to use inheritance to create a simple binary tree, but it's
> not going so well... here's what I pull from the documentation for
> super()
> "super( type[, object-or-type])
>
> Return the superclass of type. If the second argument is omitted the
> super object retur
On Mar 3, 9:37 am, MooMaster <[EMAIL PROTECTED]> wrote:
> I'm trying to use inheritance to create a simple binary tree, but it's
> not going so well... here's what I pull from the documentation for
> super()
> "super( type[, object-or-type])
>
> Return the superclass of type. If the second argument
I'm trying to use inheritance to create a simple binary tree, but it's
not going so well... here's what I pull from the documentation for
super()
"super( type[, object-or-type])
Return the superclass of type. If the second argument is omitted the
super object returned is unbound. If the second arg