if <assignment>:
Terry Reedy
tjreedy at udel.edu
Sun Nov 24 18:48:21 EST 2002
More information about the Python-list mailing list
Sun Nov 24 18:48:21 EST 2002
- Previous message (by thread): if <assignment>:
- Next message (by thread): if <assignment>:
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Bengt Richter" <bokr at oz.net> wrote in message news:arrjjs$2ro$0 at 216.39.172.122... > except in perverse ways (and this is not the only one): > >>> b=123 > >>> if [a for a in [b]][0] == 123: print 'aha' > ... > aha > >>> a > 123 Interesting ... > > BTW, are list comprehensions going to get their own local namespace sometime > or is this the way it's going to be forever? Probably same as for for loops. tjr
- Previous message (by thread): if <assignment>:
- Next message (by thread): if <assignment>:
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list