[issue2722] os.getcwd fails for long path names on linux

Matthias Urlichs report at bugs.python.org
Wed May 7 22:01:59 CEST 2008


Matthias Urlichs <smurf at smurf.noris.de> added the comment:

MAX_PATH is a compile time constant which, like FD_BITS for select(),
may be too small for the system you're ultimately running on.

Using that as default initial size is OK, but handling ERANGE is still a
very good idea.

----------
nosy: +smurfix

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2722>
__________________________________


More information about the Python-bugs-list mailing list