Re: [BangPypers] list comprehensions and generator expressions in Python 3

2013-02-21 Thread L Radhakrishna Rao
Dive into python 3 by mark pilgirm has mentioned about this. Regards, Radhakrishna ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] list comprehensions and generator expressions in Python 3

2013-02-20 Thread Anand Chitipothu
Hi, PEP 289 says "the semantic definition of a list comprehension in Python 3.0 will be equivalent to list(). http://www.python.org/dev/peps/pep-0289/ I've just come across a bug reported by Peter Norvig, showing counterexamples. http://bugs.python.org/issue14845 Very informative to understand