[issue39178] Should we make dict not accept a sequence of sets?

Adi report at bugs.python.org
Wed Jan 1 09:00:21 EST 2020


New submission from Adi <deepspace2 at gmail.com>:

While writing this SO answer (https://stackoverflow.com/a/59552970/1453822) I came to think, should dict preemptively make sure it doesn't accept a sequence of sets (given that it may lead to wrong output in the good case, and miserably fail in the worst case)?

----------
messages: 359155
nosy: DeepSpace
priority: normal
severity: normal
status: open
title: Should we make dict not accept a sequence of sets?
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39178>
_______________________________________


More information about the Python-bugs-list mailing list