|
Boost : |
From: Eric van Riet Paap (eric_at_[hidden])
Date: 2001-03-16 04:50:47
<my reaonly problems were here>
> Well, essentially because modules don't have an overridable __getattr__
method
> slot, so the only way to put things at module scope is to add attributes
to the
> module dictionary. Python dictionaries don't have read-only elements.
I see. Thank you!
> It's hard to know without seeing your error messages. I think the
> enum_as_int_converters should work, probably even with SP3. The
incantation in
> the Boost.Python comprehensive test looks something like this:
>
> namespace boost { namespace python {
> template class enum_as_int_converters<MyEnum>;
> }}
I will give this another try and let you know if I run unto more problems.
The examples I looked at are the "getting started" ones, I didn't look at
any
"test" code, I will do just that asap.
Eric
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk