Re: [C++-sig] map_indexing_suite does not find to-python convertors

2011-09-22 Thread Wichert Akkerman
On 09/22/2011 04:50 PM, Wichert Akkerman wrote: On 09/22/2011 04:31 PM, Jim Bosch wrote: On 09/22/2011 09:43 AM, Wichert Akkerman wrote: I am struggling to expose a map to python code. What I am doing is pretty simple: I have a map from an enum type to Glib::ustring, with a convertors registere

Re: [C++-sig] map_indexing_suite does not find to-python convertors

2011-09-22 Thread Wichert Akkerman
On 09/22/2011 04:31 PM, Jim Bosch wrote: On 09/22/2011 09:43 AM, Wichert Akkerman wrote: I am struggling to expose a map to python code. What I am doing is pretty simple: I have a map from an enum type to Glib::ustring, with a convertors registered to convert Python str and unicode instances to

Re: [C++-sig] map_indexing_suite does not find to-python convertors

2011-09-22 Thread Jim Bosch
On 09/22/2011 09:43 AM, Wichert Akkerman wrote: I am struggling to expose a map to python code. What I am doing is pretty simple: I have a map from an enum type to Glib::ustring, with a convertors registered to convert Python str and unicode instances to an ustring, and ustring to Python unicode.

[C++-sig] map_indexing_suite does not find to-python convertors

2011-09-22 Thread Wichert Akkerman
I am struggling to expose a map to python code. What I am doing is pretty simple: I have a map from an enum type to Glib::ustring, with a convertors registered to convert Python str and unicode instances to an ustring, and ustring to Python unicode. I've put the relevant code below. What I am