[issue9579] In 3.x, os.confstr() returns garbage if value is longer than 255 bytes
STINNER Victor
report at bugs.python.org
Sat Aug 14 00:07:14 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
I just fear that the loop is "endless". Imagine the worst case: confstr() returns a counter (n, n+1, n+2, ...). In 64 bits, it can be long.
I would prefer to see a condition to stop after 2 steps. It should maybe stop when an error at the 3rd step.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9579>
_______________________________________
More information about the Python-bugs-list
mailing list