Skip to content

Remove mutable argument defaults#44

Merged
brews merged 17 commits intomainfrom
fix_mutedefaults
Sep 16, 2022
Merged

Remove mutable argument defaults#44
brews merged 17 commits intomainfrom
fix_mutedefaults

Conversation

@brews
Copy link
Copy Markdown
Member

@brews brews commented Sep 16, 2022

A bunch of small fixes to avoid future bugs from the "mutable defaults" gotcha. I am not aware of errors in current runs because of this, though.

@brews brews added the bug Something isn't working label Sep 16, 2022
@brews brews self-assigned this Sep 16, 2022
@brews brews changed the title Draft: Refactor out mutable default args Refactor out mutable default args Sep 16, 2022
@brews brews changed the title Refactor out mutable default args Remove mutable argument defaults to avoid gotchas Sep 16, 2022
@brews brews changed the title Remove mutable argument defaults to avoid gotchas Remove mutable argument defaults Sep 16, 2022
Copy link
Copy Markdown
Member

@kemccusker kemccusker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brews thank you so much for catching these gotchas and updating them. The changes look good to me. I'm eager to make sure they don't introduce any issues in replication, but I think it's unlikely

@brews
Copy link
Copy Markdown
Member Author

brews commented Sep 16, 2022

@kemccusker Yeah, these appeared straightforward. Unit tests ran and passed without issue, so 👍.

I'm going to merge this so we can keep rolling.

@brews brews merged commit f169522 into main Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants