Message286242
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:39 | vstinner | set | recipients:
+ vstinner, alexandre.vassalotti, serhiy.storchaka |
2017-01-25 12:16:39 | vstinner | set | messageid: <1485346599.43.0.0120936097954.issue29368@psf.upfronthosting.co.za> |
2017-01-25 12:16:39 | vstinner | link | issue29368 messages |
2017-01-25 12:16:39 | vstinner | create | |
|