Message7185
The following expression:
[z for (idcol, sql(prev_id)) in a]
causes the compiler to crash with the following traceback, regardless of whether it's entered in the interpreter or loaded in a .py file.
java.lang.ArrayIndexOutOfBoundsException: 1
at org.python.objectweb.asm.Frame.a(Unknown Source)
at org.python.objectweb.asm.Frame.a(Unknown Source)
at org.python.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
at org.python.compiler.Code.visitMaxs(Code.java:151)
at org.python.compiler.ClassFile.endMethods(ClassFile.java:101)
at org.python.compiler.ClassFile.write(ClassFile.java:122)
at org.python.compiler.Module.write(Module.java:626)
at org.python.compiler.Module.compile(Module.java:683)
at org.python.compiler.Module.compile(Module.java:660)
at org.python.compiler.LegacyCompiler$LazyLegacyBundle.ostream(LegacyCompiler.java:64)
at org.python.compiler.LegacyCompiler$LazyLegacyBundle.saveCode(LegacyCompiler.java:58)
at org.python.core.CompilerFacade.compile(CompilerFacade.java:33)
at org.python.core.Py.compile_flags(Py.java:1651)
at org.python.core.Py.compile_command_flags(Py.java:1697) |
|
Date |
User |
Action |
Args |
2012-06-07 18:57:46 | larsga | set | recipients:
+ larsga |
2012-06-07 18:57:46 | larsga | set | messageid: <1339095466.12.0.513615982429.issue1910@psf.upfronthosting.co.za> |
2012-06-07 18:57:45 | larsga | link | issue1910 messages |
2012-06-07 18:57:45 | larsga | create | |
|