On 5/20/06, Hannu Krosing <hannu at tm.ee> wrote: > > 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 <thomas at python.org> Hi! I'm a .signature virus! copy me into your .signature file to help me spread! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-dev/attachments/20060528/6254062e/attachment.htm
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4