4 ms·
Yeah, you're right, of course. I should have mentioned the concept of "comma operator" is a heuristic, not something from the grammar or semantics. BTW, kind
by carapace 5y ago
Yeah, you're right, of course. I should have mentioned the concept of "comma operator" is a heuristic, not something from the grammar or semantics.
BTW, kind of a tangent, I've always assumed (but not checked) that every "()" literal evaluates to one singleton zero-tuple, do you know if that's true?
- raymondh 4y agoIt was, but that is not guaranteed and may stop being true due to work on subinterpreters, new memory managers, and heap types. Also, it used to be true that ``frozenset() is frozenset()``, but that was lost in the war on singletons and global state.
- carapace 4y agoAh, cheers! You're a treasure!