[issue31755] SetType is missing in the 'types' module

Kenji Asuka (Asuka Kenji) report at bugs.python.org
Wed Oct 11 03:52:44 EDT 2017


Kenji Asuka (Asuka Kenji) <asukakenji at gmail.com> added the comment:

'set' is a built-in type, and should belong to one of the types in the 'types' module. However, in the latest 2.7 implementations, none of the names matches the 'set' type.

Like 'list' and 'dict', I suppose there should be a name 'SetType' in the 'types' module. However, I guess it was forgotten to be created when the '{x: y}' syntax was introduced.

----------

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


More information about the Python-bugs-list mailing list