You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+1, but inferring if something is immutable is hard, so the check would be limited to known immutable type or the false positives would make this check unusable.
Current problem
I have seen code where a copy/deepcopy of an immutable data is made. As far as I understand, it is a useless operation.
Desired solution
Pylint should detect when copy/deepcopy of an immutable object is made and generate an error.
Additional context
No response
The text was updated successfully, but these errors were encountered: