In #FElupe, a #python package of mine, I changed the API of a function: the output included two return variables (boundaries, loadcase), where the second one is nowadays mostly unused. So I added a new argument return_loadcase=None, which does not change the return behavior, but marked as deprecated. In a future major version, return_loadcase will be False by default. Now all users have at least one major version time to update existing scripts. Is this good practise or could this be improved?
#opensource #computationalmechanics #scientificcomputing #coding #finiteelements








