New submission from Kenji Asuka (Asuka Kenji) :
# Create a dict and a set
d = {1: '1'}
s = {1}
# They have different types
print(type(d)) #
print(type(s)) #
print(type(d) is type(s)) # False
print(type(s) is type(d)) # False
print(type(d) == type(s)
Kenji Asuka (Asuka Kenji) 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',
Kenji Asuka (Asuka Kenji) added the comment:
You wrote:
> It only contains types that are not available as builtin.
I think the opposite is true.
As shown in the "Versions" field in the issue, this bug is Python 2 specific,
so there is nothing to do with Python 3.
My point is