On Feb 6, 2013, at 14:30 , Wichert Akkerman <wich...@wiggy.net> 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 the bug is in the stl_input_iterator used there. Am I doing something 
> wrong here, or is this a boost bug? FWIW I am seeing this under both Boost 
> 1.48 on an Ubuntu 12.04 machine and Boost 1.52 on OSX 10.8.

I rewrote my code to use a standard PyObject_GetIter / PyIter_Next loop and 
that made all problems go away, which suggests that stl_input_iterator was 
indeed the problem.

Wichert.

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

Reply via email to