jlallas384's blog

By jlallas384, history, 5 weeks ago, In English,
 
 
 
 
  • Vote: I like it
  • +2
  • Vote: I do not like it

»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by jlallas384 (previous revision, new revision, compare).

»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

In case of doubt always check python documentation.
https://docs.python.org/3/library/stdtypes.html#set-types-set-frozenset
"A set object is an unordered collection of distinct hashable objects."
You shouldn't assume that set maintains a sorted order.
One can never predict the order of elements in the unordered set.
Just that you were lucky up to tc 16 in Pypy3 and tc 3 in Python3.