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 4f89fa9 commit ede7bf0Copy full SHA for ede7bf0
mypyc/codegen/literals.py
@@ -169,7 +169,7 @@ def _encode_collection_values(
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.
172
- sort_keys_to_values = {str(v): v for v in value}
+ 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)
175
)
0 commit comments