[issue1154351] add get_current_dir_name() to os module

STINNER Victor report at bugs.python.org
Sun Oct 28 14:03:06 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

The glibc has a get_current_dir_name() function which returns the same value that getcwd(), the difference is that get_current_dir_name() allocates memory. If someone wants to add a function using PWD env var, a different function name should be found.

----------
nosy: +vstinner

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue1154351>
_______________________________________


More information about the Python-bugs-list mailing list