[issue29122] set() bug

Raymond Hettinger report at bugs.python.org
Sat Dec 31 13:48:09 EST 2016


Raymond Hettinger added the comment:

Sorry Styg, but this is the expected behavior.

To achieve what you wanted, write this is instead:

   print list(set(a))

----------
nosy: +rhettinger
resolution:  -> not a bug
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29122>
_______________________________________


More information about the Python-bugs-list mailing list