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 pitrou
Recipients dalke, pitrou
Date 2008-08-09.10:15:07
SpamBayes Score 0.060593378
Marked as misclassified No
Message-id <1218276909.0.0.538958986734.issue3531@psf.upfronthosting.co.za>
In-reply-to
Content
Perhaps. I'm under Linux.

However, at the end of the file_read() implementation in fileobject.c,
you can find the following lines:

if (bytesread != buffersize)
    _PyString_Resize(&v, bytesread);

Which means that the string *is* resized at the end.
History
Date User Action Args
2008-08-09 10:15:09pitrousetrecipients: + pitrou, dalke
2008-08-09 10:15:09pitrousetmessageid: <1218276909.0.0.538958986734.issue3531@psf.upfronthosting.co.za>
2008-08-09 10:15:08pitroulinkissue3531 messages
2008-08-09 10:15:08pitroucreate