[issue9579] In 3.x, os.confstr() returns garbage if value is longer than 255 bytes
David Watson
report at bugs.python.org
Fri Aug 13 20:41:25 CEST 2010
David Watson <baikie at users.sourceforge.net> added the comment:
I don't see why confstr() values shouldn't change. sysconf() values can change between calls, IIRC. Implementations can also define their own confstr variables - they don't have to stick to the POSIX stuff.
And using a loop means the confstr() call only appears once in the source, which is more elegant, right? :)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9579>
_______________________________________
More information about the Python-bugs-list
mailing list