Antoine Pitrou <[EMAIL PROTECTED]> added the comment:
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.
_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3531>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com