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 terry.reedy
Recipients
Date 2003-10-21.18:19:47
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=593130

The tutorial will also need revision of deletion:
5.1.4 List Comprehensions
has this:

To make list comprehensions match the behavior of for loops, 
assignments to the loop variable remain visible outside of the 
comprehension: 


>>> x = 100                     # this gets overwritten
>>> [x**3 for x in range(5)]
[0, 1, 8, 27, 64]
>>> x                           # the final value for range(5)
4

History
Date User Action Args
2007-08-23 14:17:47adminlinkissue827209 messages
2007-08-23 14:17:47admincreate