Skip to content
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

python: default valid to True in complete calls #538

Merged
merged 1 commit into from
Mar 29, 2023
Merged

Conversation

adammoody
Copy link
Contributor

Many apps don't bother to track whether they have read or written files correctly. Instead they detect an error and immediately abort at the I/O call. Such apps often then just pass True in their calls to scr.complete_restart(valid) and scr.complete_output(valid).

To simplify, this makes the valid parameter optional with a default value of True.

@adammoody adammoody merged commit 5b42e05 into develop Mar 29, 2023
@adammoody adammoody deleted the scrpyopt branch March 29, 2023 18:10
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