Terry Reedy wrote:
> "Alexander Myodov" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > and even list comprehensions:
> >  b1 = [l for l in a1]
> >  print "l: %s" % l
>
> This will go away in 3.0.  For now, del l if you wish.

Or use a generator expression:
  >>> b1 = list(l for l in a1)
  >>> l
  NameError: name 'l' is not defined

--Ben

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to