Message7185

Author larsga
Recipients larsga
Date 2012-06-07.18:57:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339095466.12.0.513615982429.issue1910@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2012-06-07 18:57:46larsgasetrecipients: + larsga
2012-06-07 18:57:46larsgasetmessageid: <1339095466.12.0.513615982429.issue1910@psf.upfronthosting.co.za>
2012-06-07 18:57:45larsgalinkissue1910 messages
2012-06-07 18:57:45larsgacreate