Hamish Campbell added the comment:
Note also the differences here:
>>> print(set([True, 1]))
{True}
>>> print({True, 1})
{1}
>>> print({x for x in [True, 1]})
{True}
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue26020>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com