This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fdrake
Recipients adelfino, docs@python, fdrake
Date 2018-09-24.16:24:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537806280.67.0.956365154283.issue34789@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2018-09-24 16:24:40fdrakesetrecipients: + fdrake, docs@python, adelfino
2018-09-24 16:24:40fdrakesetmessageid: <1537806280.67.0.956365154283.issue34789@psf.upfronthosting.co.za>
2018-09-24 16:24:40fdrakelinkissue34789 messages
2018-09-24 16:24:40fdrakecreate