-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove mutable defaults #40
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have learned that, in python, mutable defaults are a terrible practice. I've used dictionaries and tensors as defaults all over the place so we need to replace them all with
None
or some other immutable type.The text was updated successfully, but these errors were encountered: