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 vstinner
Recipients alexandre.vassalotti, serhiy.storchaka, vstinner
Date 2017-01-25.12:16:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
What is the cost of adding an extra isinstance(d, collections.Sequence) check? It would be closer the current design ("white list" of types), safer and avoid bad surprises.

But Python has a long tradition of duck typing, so maybe isinstance() can be seen as overkill :-)
Date User Action Args
2017-01-25 12:16:39vstinnersetrecipients: + vstinner, alexandre.vassalotti, serhiy.storchaka
2017-01-25 12:16:39vstinnersetmessageid: <>
2017-01-25 12:16:39vstinnerlinkissue29368 messages
2017-01-25 12:16:39vstinnercreate