-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 2.1b1 dumps core on list compr. #34167
Comments
Hi! Python 2.1b1 dumps core when executing the following 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 -Complex- |
Logged In: YES this is a dup of [ bpo-406049 ] crash on nested listcomps so someone with appropriate privilege should mark it as such. |
Logged In: YES Assigned to Jeremy. Boosted priority. Note that mwh says Fatal Python error: unknown scope for _[2] in ?(0) in |
Logged In: YES Well, no, it's not the same test case, but it is the same |
Logged In: YES Here is a patch to fix the problem. |
Logged In: YES This patch is incorrect. The root of the problem is that |
Logged In: YES Fixed in rev. 2.187 of compile.c |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: