Misuse of list comprehensions?

John Salerno johnjsal at NOSPAMgmail.com
Tue May 20 13:19:28 EDT 2008


"Diez B. Roggisch" <deets at nospam.web.de> wrote in message 
news:69g605F2v4102U2 at mid.uni-berlin.de...
> After being corrected about missing the construction of a None-containing
> list, one needs of course to think about the waste of resources, as a
> possible result-list is created in any case.

Yeah, I was already aware of the list of Nones, which is why I asked. Simply 
typing the list comprehension without an assignment just *looked* wrong, 
too. 





More information about the Python-list mailing list