Re: [C++-sig] GC error due to stl_input_iterator

2013-02-07 Thread Wichert Akkerman
On Feb 6, 2013, at 14:30 , Wichert Akkerman wrote: > Which had an interesting result: the tests immediately aborted with a "Fatal > Python error: GC object already tracked" error. Commenting out the contents > of the if-statement in construct() made the problem go away, which makes we > think

[C++-sig] GC error due to stl_input_iterator

2013-02-06 Thread Wichert Akkerman
I am running into some unexpected errors when using stl_input_iterator. I have a fairly simple converter registered to convert an iterable list of values (custom enum) to a unordered_set. The code looks like this: struct advicetype_set_from_python { advicetype_set_from_python() {