[issue9246] os.getcwd() hardcodes max path len
Antoine Pitrou
report at bugs.python.org
Tue Jul 13 15:56:54 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
> Just as a reminder: In 2.x, posix_getcwdu() also uses a buffer of size
> 1026.
I suppose the implementation was simply copied into py3k, then.
Still, it's not a very good idea and it will also be a regression when
porting scripts from 2.x to 3.x.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9246>
_______________________________________
More information about the Python-bugs-list
mailing list