wrapping all class methods

Michael Hudson mwh at python.net
Mon Nov 18 10:53:12 EST 2002


Carl Banks <imbosol at vt.edu> writes:

> (Maybe you can assign to it's __class__ attribute, but I recall
> that assigning to __class__ is being phased out.)

I don't think so -- in fact I'm currently trying to create a patch for
2.3 that will allow assignment to __bases__, so I think things are
getting more permissive here...

Cheers,
M.

-- 
  I'm a keen cyclist and I stop at red lights.  Those who don't need
  hitting with a great big slapping machine.
                                           -- Colin Davidson, cam.misc



More information about the Python-list mailing list