[C++-sig] additional files for pickle support

David Abrahams david.abrahams at rcn.com
Sun Jul 21 13:45:49 CEST 2002


From: "Ralf W. Grosse-Kunstleve" <rwgk at yahoo.com>


> --- "Ralf W. Grosse-Kunstleve" <rwgk at yahoo.com> wrote:
> > The new files have been tested with gcc 3.0.4, cxx 6.5 (tru64) and VC6.
I am
> > about to experiment with an idea for hiding the entire implementation
except
> > for the one new member function of class_<> (.pickle_support(); not
currently
> > in cvs). Having the current, functional implementation in cvs will
allow me
> > to
> > work most efficiently (I can easily back up or look at diffs if
necessary).
>
> OK, done experimenting. David, now would be a good time to criticize the
new
> files.

Whoops, I criticized too soon! I'll look.

> Three additional patches are attached for your reference. The only other
> changes are trivial additions to the Jamfiles.

OK, thanks.

> Locally I am currently working with
> #include <boost/python/detail/api_placeholder.hpp>
> This file implements len() and getattr(). I don't think you want this in
cvs.
> So before I can check in the patches that complete the integration of the
> pickle support there need to be replacements for my len() and getattr().
>
> Ralf







More information about the Cplusplus-sig mailing list