Message151143
| Author | zbysz |
|---|---|
| Recipients | akuchling, andybuckley, belopolsky, eric.araujo, eric.snow, ezio.melotti, fdrake, georg.brandl, giampaolo.rodola, gvanrossum, paul.moore, r.david.murray, terry.reedy, twouters, zbysz |
| Date | 2012-01-12.18:03:34 |
| SpamBayes Score | 0.0018144597 |
| Marked as misclassified | No |
| Message-id | <1326391415.14.0.231202943168.issue2292@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
#11682 will likely be merged. The part of this patch about "yielding everything from an iterator" becomes obsolete: >>> def flatten(iterables): ... for it in iterables: ... yield from it ... >>> L = [ [0,1,2], (3, 4), {5}, {6: None}, (i for i in range(7, 10)) ] >>> list(flatten(L)) [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] The rest is of course still valid and useful. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-01-12 18:03:35 | zbysz | set | recipients: + zbysz, gvanrossum, fdrake, twouters, akuchling, georg.brandl, terry.reedy, paul.moore, belopolsky, giampaolo.rodola, ezio.melotti, eric.araujo, andybuckley, r.david.murray, eric.snow |
| 2012-01-12 18:03:35 | zbysz | set | messageid: <1326391415.14.0.231202943168.issue2292@psf.upfronthosting.co.za> |
| 2012-01-12 18:03:34 | zbysz | link | issue2292 messages |
| 2012-01-12 18:03:34 | zbysz | create | |