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 <rep...@bugs.python.org> <http://bugs.python.org/issue29122> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com