"Bruce Frederiksen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
A 64K attachment. Please do not do such a worse-than-useless thing again.
Especially when only 1K is original.
___
Python-Dev mailing list
Python-Dev@python.org
http://
On Fri, 28 Sep 2007, Raymond Hettinger wrote:
> > Interestingly, they seem to all have something to do with dictionary
> > values() that are themselves iterable.
>
> I see. These are instances of a recurring general use case of
> chain() as a one-level flattener.
>
> Will give consideration t
[Bruce Frederiksen]
I've added a new function to itertools called 'concat'. This
function is
much like chain, but takes all of the iterables as a single
argument.
[Raymond]
>> Any practical use cases or is this just a theoretical improvement?
>>
>> For Py2.x, I'm not wil
On 28-Sep-07, at 10:45 AM, Raymond Hettinger wrote:
> [Bruce Frederiksen]
>>> I've added a new function to itertools called 'concat'. This
>>> function is
>>> much like chain, but takes all of the iterables as a single
>>> argument.
>
> Any practical use cases or is this just a theoretical i
[Bruce Frederiksen]
>> I've added a new function to itertools called 'concat'. This function is
>> much like chain, but takes all of the iterables as a single argument.
Any practical use cases or is this just a theoretical improvement?
For Py2.x, I'm not willing to unnecessarily expand the modu
On 9/22/07, Bruce Frederiksen <[EMAIL PROTECTED]> wrote:
>
> I've added a new function to itertools called 'concat'. This function is
> much like chain, but takes all of the iterables as a single argument. Thus
> concat(some_iterables) is logically equivalent to chain(*some_iterables);
> the dif
On 9/22/07, Bruce Frederiksen <[EMAIL PROTECTED]> wrote:
>
> I've added a new function to itertools called 'concat'. This function is
> much like *chain*, but takes all of the iterables as a single argument.
>
I've needed this once or twice, though my implementation was called
'starchain', in li