Boost logo

Boost :

From: barry_at_[hidden]
Date: 2000-11-01 16:54:08


> > 3. dir(class) does not list the functions available in the class
> > (See the code of dir in the Python sources for the names of the
> > secret names it access via getattr. CXX has support for some
> > of them.)
>
> Isn't __dict__ support enough to accomplish that?

No as dir looks for __methods__ as a special case.

>
> > Here is a test that I think should run without error.
>
> Thanks, but Python is sensitive to indentation ;-)
> If you can fix it up I'll add it to my test suite.
> -Dave

The mail was indent on the way out... I'll mail an attachment to you.
(Maybe the tabs are the problem)

BArry


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk