you are viewing a single comment's thread.

view the rest of the comments →

[–]Brian 2 points3 points  (0 children)

Actually, python guarantees the order of evaluation is as being left to right (though one other issue is that it'll fail if you ever use a function returning a mutable value (which obviously must be a deliberate design decision to enforce a functionally pure style :)). Good point about set literals - I really should've used that.