Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

> Other option is to check ahead if the argument is an iterable.

The other tools that consume iterators don't go down this path and it doesn't 
seem to have been a problem in practice.  So, I recommend that we not invent 
new problems that we didn't already have ;-)

Leaving for Sergey to update his PR.

----------

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

Reply via email to