Éric Araujo added the comment:

I looked for a previous discussion of this on the Python mailing lists and 
found nothing.

Existing solutions include https://twitter.com/snim2/status/393821419114483712 
and 
http://stackoverflow.com/questions/5655708/python-most-elegant-way-to-intersperse-a-list-with-an-element

Raymond is the one to decide whether this should be added.  If he doesn't 
comment in the near future, feel free to propose this on python-ideas to see if 
people like it.  You may also want to ask maintainers of projects like 
more-itertools if they have a similar function and if people use it.

----------
nosy: +eric.araujo, rhettinger

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21414>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to