This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Anthony Sottile, bradengroom, eryksun, hoffman, loewis, serhiy.storchaka, vstinner
Date 2019-09-09.10:12:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568023961.25.0.722365797325.issue1154351@roundup.psfhosted.org>
In-reply-to
Content
I rejected PR 10117 which adds os.get_current_dir_name(). Copy of my comment:
https://github.com/python/cpython/pull/10117#issuecomment-529399532

The os module is thin wrappers to functions of the libc or even system calls. We don't implement heuristic using 2 variants of the same feature: there shutil module is there for that. Compare os.get_terminal_size() to shutil.get_terminal_size() for example.

I close the PR to add os.get_current_dir_name(): IMHO it's more a feature for the shutil module.
History
Date User Action Args
2019-09-09 10:12:41vstinnersetrecipients: + vstinner, loewis, hoffman, serhiy.storchaka, eryksun, Anthony Sottile, bradengroom
2019-09-09 10:12:41vstinnersetmessageid: <1568023961.25.0.722365797325.issue1154351@roundup.psfhosted.org>
2019-09-09 10:12:41vstinnerlinkissue1154351 messages
2019-09-09 10:12:41vstinnercreate