On Tue, Oct 26, 2010 at 11:07 AM, Andre Alexander Bell
<p...@andre-bell.de>wrote:

> Hello,
>
> I occasionally use LCs, if they seem useful. However, what I don't like
> about LCs is that they 'look-like' being a closed scope, while actually
> they are in the scope of there call. Example:
>
> >>> i = 5
> >>> l = [i**2 for i in range(3)]
> >>> i
> 2
>

This has been corrected in Python 3.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to