Fred L. Drake, Jr. <fdr...@gmail.com> added the comment:

I'm just going to presume this issue has been around a long time, but I think 
that's a pretty safe presumption.

Accepting a general sequence instead of only a list would reasonable, and I'd 
support a fix that caused the code to accept a general sequence (or any 
iterable) by calling list() on the passed-in value, starting with 3.8.

The patch provided looks good for versions in maintenance.  (It would also be 
fine for 3.8 if there's no interest in generalizing the code to accept 
arbitrary iterables).

----------
nosy: +fdrake

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

Reply via email to