Issue730156
Created on 2003-04-30.12:20:42 by irmen, last changed 2005-10-31.18:22:11 by fwierzbicki.
Messages | |||
---|---|---|---|
msg830 (view) | Author: Irmen de Jong (irmen) | Date: 2003-04-30.12:20:42 | |
I've run into some trouble using Jython 2.1 (jdk 1.4, 1.3, windows, linux). and also the current (2003-04-30) CVS version: The following piece of Python code: ---- def method(): try: for dummy in [1,2,3]: try: return "result" except: pass finally: pass print method() ---- fails to compile in Jython, I get this error: java.lang.VerifyError: java.lang.VerifyError: (class: test$py, method: method$1 signature: (Lorg/python/core/PyFrame;)Lorg/python/core/PyObject;) Register 3 contains wrong type That piece of code above seems to be the minimal piece of code to trigger the problem. Something to do with nested try blocks and a loop? --Irmen de Jong. |
|||
msg831 (view) | Author: Irmen de Jong (irmen) | Date: 2003-04-30.12:22:16 | |
Logged In: YES user_id=129426 crap, the indentation in the code has been lost... you can figure it out I guess |
|||
msg832 (view) | Author: Samuele Pedroni (pedronis) | Date: 2003-07-11.21:43:24 | |
Logged In: YES user_id=61408 added as bugtests\test379.py. |
|||
msg833 (view) | Author: Irmen de Jong (irmen) | Date: 2004-05-15.17:54:06 | |
Logged In: YES user_id=129426 Sadly this error still occurs in the current CVS version (15 may 2004)... it causes Pyro to fail when used in Jython. |
|||
msg834 (view) | Author: Frank Wierzbicki (fwierzbicki) | Date: 2005-10-31.18:22:11 | |
Logged In: YES user_id=193969 This has been fixed in 2.2 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2003-04-30 12:20:42 | irmen | create |
Supported by Python Software Foundation,
Powered by Roundup