[issue9647] os.confstr() does not handle value changing length between calls
STINNER Victor
report at bugs.python.org
Wed Sep 29 19:32:39 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
If I understood correctly, you don't want the value to be truncated if the variable grows between the two calls to confstr(). Which behaviour would you expect? A Python exception?
> but Victor Stinner has expressed concern that a buggy
> confstr() could create a near-infinite loop with that patch
> applied
Yes, I think that two calls to confstr() should be enough.
----------
nosy: +haypo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9647>
_______________________________________
More information about the Python-bugs-list
mailing list