Skip to content

Fix mutable defaults in CustomThread - #57

Open
utsinboots wants to merge 1 commit into
OSeMOSYS:masterfrom
utsinboots:fix/custom-thread-mutable-defaults
Open

Fix mutable defaults in CustomThread#57
utsinboots wants to merge 1 commit into
OSeMOSYS:masterfrom
utsinboots:fix/custom-thread-mutable-defaults

Conversation

@utsinboots

Copy link
Copy Markdown

Summary

Ports the applicable changes from a fix previously merged in MUIOGO.

Prevents CustomThread instances from sharing a mutable default kwargs dictionary and forwards arguments such as timeout through join().

Testing
-Verified that CustomThread.join(timeout=...) accepts the timeout and returns the thread result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant