[C++-sig] [boost.python] Indexing suite problems with convertable element type
Kirill Lapshin
kir at lapshin.net
Thu Sep 7 21:52:48 CEST 2006
> I have a custom date class, that I registered for conversion to Python's
> datetime.date object. Individual dates convert fine, but when I
> registered vector<date> with indexing suite, I have a problem that I can
> insert python date objects into vector, but can't extract them.
Nevermind. A bit more searching around and I found this thread:
http://thread.gmane.org/gmane.comp.python.c++/9846/focus=9846
So it can be solved by setting NoProxy to true.
Now I just have to figure out how to instruct Py++ to set NoProxy...
More information about the Cplusplus-sig
mailing list