We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ede7bf0 commit e67f467Copy full SHA for e67f467
mypyc/codegen/literals.py
@@ -168,7 +168,7 @@ def _encode_collection_values(
168
if isinstance(value, frozenset):
169
# even though frozensets are not sorted in python, we need to sort the items here
170
# to improve the determinism of the generated C file, making it easier to compare
171
- # differences between compilation units.
+ # differences in the C files generated by different versions of your code.
172
sort_keys_to_values = {str(v) + type(v).__name__: v for v in value}
173
items = tuple(
174
sort_keys_to_values[sort_key] for sort_key in sorted(sort_keys_to_values)
0 commit comments