This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author complex
Recipients
Date 2001-03-16.22:02:03
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Hi!

Python 2.1b1 dumps core when executing the following
statement:

print [[y for y in [x,x+1]] for x in [1,3]]

(Should print: [[1,2],[3,4]])

The problem may be related to variable scope resolving
code, because python reports "unknown scope for _[2] in
?(0)" before dumping core. This bug makes impossible to
use a list comprehension as the expression field of
another one.


-Complex-
History
Date User Action Args
2007-08-23 13:53:34adminlinkissue409231 messages
2007-08-23 13:53:34admincreate