[issue9246] os.getcwd() hardcodes max path len
Stefan Krah
report at bugs.python.org
Wed Jul 28 23:00:52 CEST 2010
Stefan Krah <stefan-usenet at bytereef.org> added the comment:
For 2.x, unlimited path lengths were apparently introduced in issue 2722.
This strategy does not work on Solaris and OpenBSD (issue 9185).
FreeBSD also seems to support arbitrarily long paths. I would be somewhat
surprised though if anyone used them in practice. APUE (second edition)
uses PATH_MAX if it's available in limits.h.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9246>
_______________________________________
More information about the Python-bugs-list
mailing list