[boost] Assertion `slot->m_to_python == 0' failed in when trying to expose custom iterator