> We had the same problem where one module registered converters for type A and 
> B 
>
> and another module for type B and C. I do not know if Ralf's solution caters 
>for 
>
> such situations with mixed types.

Yes, you just have to put B in its own module.

> We ended up having a private map (part of the shared library containing our 
> converters), so a converter gets only registered in Boost-Python if not 
> contained in the map.  

Python's import mechanism does this for free if you organize your modules in
a natural way.

Ralf
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to