That could be because sets aren't ordered (even though it looks odd in this context).
>>> a, b, c, d = {1, 2, 3, 'a'}
>>> a
'a'
Regardless, it shouldn't be surprising when writing insane code, that the language starts acting insane. Python as a whole is pretty decent when it comes to handling syntactic edge cases.
[0]: https://docs.python.org/3/reference/simple_stmts.html#assign...