Skip to content

Conversation

wenzeslaus
Copy link
Member

@wenzeslaus wenzeslaus commented Jul 18, 2025

Use None, not False, as a default value for overwrite, verbose etc. None is more appropriate because the default behavior is influenced by the environment and, very generally, by how the library is set up. While False is correct in terms of the corresponding command line not being set, the False value may create a false perception that overwriting will be disabled, but in fact overwriting will be driven by the environment.

Use None, not False, as a default value for overwrite, verbose etc. None is more appropriate because the default behavior is infunced by the environment and, very generally, by how the library is set up. While False is correct in terms of the corresponding command line not being set, the False value may create a false perception that overwriting will be disabled, but in fact overwritting will be driven by the environment.
@github-actions github-actions bot added C Related code is in C libraries labels Jul 18, 2025
@echoix echoix merged commit b6f5536 into OSGeo:main Jul 26, 2025
28 checks passed
@github-actions github-actions bot added this to the 8.5.0 milestone Jul 26, 2025
echoix pushed a commit to echoix/grass that referenced this pull request Jul 27, 2025
Use None, not False, as a default value for overwrite, verbose etc. None is more appropriate because the default behavior is influenced by the environment and, very generally, by how the library is set up. While False is correct in terms of the corresponding command line not being set, the False value may create a false perception that overwriting will be disabled, but in fact overwriting will be driven by the environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C Related code is in C libraries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants