On 5/20/06, Hannu Krosing
I try to move this to -dev as I hope there more people reading it who are competent in internal working :). So please replay to -dev only.
I'm not sure if you have found the problem on another mailinglist then, but I saw no answers on python-dev. -------------
The question is about use of generators in embedde v2.4 with asserts enabled.
Can somebody explain, why the code in try2.c works with wrappers 2 and 3 but crashes on buggy exception for all others, that is pure generator and wrappers 1,4,5 ?
Your example code does not crash for me, not for any of the 'wrapper_source'
variants, linking against Python 2.4 (debian's python 2.4.3 on amd64, both
in 64-bit and 32-bit mode) or Python 2.5 (current trunk, same hardware.) I
don't know what kind of crash you were expecting, but I do see unchecked
return values, which can cause crashes for the simplest of reasons ;-)
--
Thomas Wouters