<br><br><div><span class="gmail_quote">On 9/22/06, <b class="gmail_sendername"><a href="mailto:skip@pobox.com">skip@pobox.com</a></b> <<a href="mailto:skip@pobox.com">skip@pobox.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> Michael> There are several different possible approaches in pure Python,<br> Michael> but is this an idea that has legs ?<br><br>Why not add it to itertools? Then, if you need a true list, just call<br>list() on the returned iterator.
</blockquote><div><br>Yeah, this is a better solution. flatten() just doesn't scream "built-in!" to me.<br><br>-Brett<br></div><br></div>