[Python-bugs-list] [ python-Bugs-406049 ] crash on nested listcomps

nobody nobody@sourceforge.net
Mon, 05 Mar 2001 08:47:50 -0800


Bugs #406049, was updated on 2001-03-05 08:47
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=406049&group_id=5470

Category: Python Interpreter Core
Group: None
Status: Open
Priority: 5
Submitted By: David Goodger
Assigned to: Nobody/Anonymous
Summary: crash on nested listcomps

Initial Comment:
(if you need to contact me: dgoodger@atsautomation.com)

I got an aborted interpreter under both QNX 4.25 and 
Windows NT 4.0:

Python 2.1b1 (#2, Mar 05 2001, 11:19:23) [C] on qnxJ
Type "copyright", "credits" or "license" for more 
information.
>>> l=[[[0,0,0] for i in range(3)] for j in range(3)]
Fatal Python error: unknown scope for _[2] in ?(0) in 
<stdin>
symbols: {'i': 2, 'l': 2, 'j': 2, 'range': 8, '_[1]': 
2}
locals: {'l': 1, 'j': 2, '_[1]': 3, 'i': 0}
globals: {'range': 1}

%1 - 32637 Abort                python


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=406049&group_id=5470