We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is a niche issue but this is a common pitfall in Python that causes unexpected behavior.
Python evaluates functions on module load and generates mutable default argument objects once, then persist them whenever the function is called.
https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments
The text was updated successfully, but these errors were encountered:
Minor PR to fix it (I need to run tests and linter again)
#2482
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
This is a niche issue but this is a common pitfall in Python that causes unexpected behavior.
Python evaluates functions on module load and generates mutable default argument objects once, then persist them whenever the function is called.
https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments
The text was updated successfully, but these errors were encountered: