STINNER Victor <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue1154351>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to