[Python-ideas] "While" suggestion

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Aug 21 02:41:14 CEST 2008

Terry Reedy wrote:

> This was discussed on the Py3 dev list and it was agreed the difference 
> in behavior was a bug

I don't think it was agreed that it was a bug. Rather
that it's just something that shows that a list comp and
list(genexp) are not exactly equivalent in all ways,
and that it doesn't matter if they differ in some
corner cases like this.


More information about the Python-ideas mailing list