
On 20/04/20 2:57 pm, Steven D'Aprano wrote:
process_files(delete=obsolete_files, archive=irrelevent_files) process_files(archive=obsolete_files, delete=irrelevent_files)
That's not a use case for the proposed feature. The intended use cases are more like def fancy_file_processing(delete, archive): extra_processing_for_deleted(delete) other_processing_for_archived(archive) basic_file_processing(delete=delete, archive=archive) Since fancy_file_processing is a wrapper around basic_file_processing, it makes sense to name the corresponding arguments the same way. Now maybe someone will misuse it in a situation that doesn't involve wrapping and warp their local names to fit. But any language feature can be abused. The blame for abuse lies with the abuser, not the feature. -- Greg