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 7eb67a3 commit e9f0451Copy full SHA for e9f0451
mypyc/irbuild/for_helpers.py
@@ -1211,7 +1211,10 @@ def get_expr_length(expr: Expression) -> int | None:
1211
and expr.node.has_explicit_value
1212
):
1213
return len(expr.node.final_value)
1214
- # TODO: extend this, passing length of listcomp and genexp should have worthwhile performance boost
+ # TODO: extend this, passing length of listcomp and genexp should have worthwhile
1215
+ # performance boost and can be (sometimes) figured out pretty easily. set and dict
1216
+ # comps *can* be done as well but will need special logic to consider the possibility
1217
+ # of key conflicts
1218
return None
1219
1220
0 commit comments