David Lindquist added the comment:
Anyone interested in picking this up, or at least commenting on the approach I
suggested in the patch? Seems like an easy fix for a long-standing bug.
--
___
Python tracker
<http://bugs.python.org/issue1043
David Lindquist added the comment:
I don't think it is unreasonable to return a well-known extension for certain
mime types, text/plain being the most obvious (and most in need of repair;
.ksh??).
I've attached a patch based on the previous discussion.
--
keywords: +
David Lindquist added the comment:
Thanks Gareth for your analysis. Very informative!
--
___
Python tracker
<http://bugs.python.org/issue20727>
___
___
Python-bug
David Lindquist added the comment:
> other benchmarks show it to be more than twice as slow
Can you share the method you used to get those results? Here's what I did:
$ python -m timeit --number=100 --setup="from rr_mine import roundrobin"
"its = ['ABC',
David Lindquist added the comment:
Sure. That would be nice. :)
Thanks Raymond and Larry
--
___
Python tracker
<http://bugs.python.org/issue20727>
___
___
Pytho
New submission from David Lindquist:
The roundrobin example in the Recipes section of the itertools documentation
(http://docs.python.org/3/library/itertools.html#itertools-recipes) is overly
complex. Here is a more straightforward implementation:
def roundrobin(*iterables):
"round