Message365316
> Other name ideas:
> * wait_status_to_exit_code()
Well, anothe option is:
* waitstatus_to_exitcode()
While the documentation uses "exit code", the code commonly uses "exitcode" or "returncode". Moreover, in the os module, underscore is not used to separated words in function names. Examples: "getenv" not "get_env", "setpriority" not "set_priority", etc.
Using "_to_" in the function name reduces the risk of conflict with a future addition to the libc. It's rare that libc function names use "_". One of the few exception: get_current_dir_name() which is a glibc extension. |
|
Date |
User |
Action |
Args |
2020-03-30 14:29:37 | vstinner | set | recipients:
+ vstinner |
2020-03-30 14:29:37 | vstinner | set | messageid: <1585578577.66.0.275776619974.issue40094@roundup.psfhosted.org> |
2020-03-30 14:29:37 | vstinner | link | issue40094 messages |
2020-03-30 14:29:37 | vstinner | create | |
|