This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients baikie, vstinner
Date 2010-09-29.17:32:38
SpamBayes Score 0.00033685836
Marked as misclassified No
Message-id <1285781559.72.0.62593560462.issue9647@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-09-29 17:32:39vstinnersetrecipients: + vstinner, baikie
2010-09-29 17:32:39vstinnersetmessageid: <1285781559.72.0.62593560462.issue9647@psf.upfronthosting.co.za>
2010-09-29 17:32:38vstinnerlinkissue9647 messages
2010-09-29 17:32:38vstinnercreate