[Python-Dev] 2.4 & 2.5 beta 3 crash (original) (raw)
Neal Norwitz nnorwitz at gmail.com
Thu Aug 17 07:26:09 CEST 2006
- Previous message: [Python-Dev] 2.4 & 2.5 beta 3 crash
- Next message: [Python-Dev] 2.4 & 2.5 beta 3 crash
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks Dino.
The attached patch should fix the problem. Once RC1 is cut, I'll check this in unless someone beats me to it. Since the compiler changed, I can't backport this. If someone wants to make a similar fix for 2.4 go for it.
n
On 8/16/06, Dino Viehland <dinov at exchange.microsoft.com> wrote:
We've been working on fixing some exception handling bugs in IronPython where we differ from CPython. Along the way we ran into this issue which causes CPython to crash when the code below is run. It crashes on both 2.4 and 2.5 beta 3. The code's technically illegal, but it probably shouldn't crash either :)
def test(): for abc in range(10): try: pass finally: try: continue except: pass
test()
Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/nnorwitz%40gmail.com -------------- next part -------------- A non-text attachment was scrubbed... Name: finally-cont.diff Type: text/x-patch Size: 1658 bytes Desc: not available Url : http://mail.python.org/pipermail/python-dev/attachments/20060816/a9670b69/attachment.bin
- Previous message: [Python-Dev] 2.4 & 2.5 beta 3 crash
- Next message: [Python-Dev] 2.4 & 2.5 beta 3 crash
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]