(no title)
diegojromero | 4 years ago
Performance is bad, I mean, all params are deep-copied because I assume frozen then "inplace" is not intended as they could be objects used by other parts of code.
diegojromero | 4 years ago
Performance is bad, I mean, all params are deep-copied because I assume frozen then "inplace" is not intended as they could be objects used by other parts of code.
nickysielicki|4 years ago
It looks like mypy can actually understand the hint: https://mypy.readthedocs.io/en/stable/final_attrs.html
It sucks that this would require such a substantial effort throughout a codebase, though. I guess that’s just the inherent cost of typed python.
diegojromero|4 years ago
Thank you for your input!