STINNER Victor added the comment: For the record, os.getcwd() of Python 2 was improved by 96adf96d861a (issue #2722) to use a dynamic buffer. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue9246> _______________________________________