<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/fileobject.c, branch v1.5</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/fileobject.c?h=v1.5</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/fileobject.c?h=v1.5'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>1997-11-07T19:20:34Z</updated>
<entry>
<title>Fix problem discovered by Barry: if you hit ^C to</title>
<updated>1997-11-07T19:20:34Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-11-07T19:20:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f51815426e065740386b2a5b81c23832f11e27c7'/>
<id>urn:sha1:f51815426e065740386b2a5b81c23832f11e27c7</id>
<content type='text'>
sys.stdin.readline(), you get a fatal error (no current thread).  This
is because there was a call to PyErr_CheckSignals() while there was no
current thread.  I wonder how many more of these we find...  I bnetter
go hunting for PyErr_CheckSignals() now...
</content>
</entry>
<entry>
<title>Use lseek instead of ftell; compensate by adding BUFSIZE</title>
<updated>1997-08-21T02:31:25Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-08-21T02:31:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=36f8e2d1dbaa9a1c4c4f4ecde78b4889225ca451'/>
<id>urn:sha1:36f8e2d1dbaa9a1c4c4f4ecde78b4889225ca451</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reordered list of methods to hopefully put the most frequently used</title>
<updated>1997-07-13T03:56:50Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-07-13T03:56:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=74ba24758e4d4b8f0a0dcd5451daee42fe4dc0c3'/>
<id>urn:sha1:74ba24758e4d4b8f0a0dcd5451daee42fe4dc0c3</id>
<content type='text'>
ones near the front.

Also added a missing "return -1" to PyFile_WriteString.
</content>
</entry>
<entry>
<title>PyFile_WriteString now returns an error indicator instead of calling</title>
<updated>1997-05-22T22:25:11Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-05-22T22:25:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=27a60b147cd4f60eaac99e54d4abf6a74de74311'/>
<id>urn:sha1:27a60b147cd4f60eaac99e54d4abf6a74de74311</id>
<content type='text'>
PyErr_Clear().
</content>
</entry>
<entry>
<title>Fix typo in error checking spotted by Just...</title>
<updated>1997-05-22T14:02:25Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-05-22T14:02:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e9eec547980ee773b11df708898c0f65d7fc905c'/>
<id>urn:sha1:e9eec547980ee773b11df708898c0f65d7fc905c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add optional 'sizehint' argument to readlines().  After approximately</title>
<updated>1997-05-10T22:33:55Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-05-10T22:33:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=789a1613a08d6d6891a40ca1800eaba217eea6bf'/>
<id>urn:sha1:789a1613a08d6d6891a40ca1800eaba217eea6bf</id>
<content type='text'>
this many bytes have been read, readlines stops.  Because of
buffering, the amount of bytes read is usually at least 8K more than
the hint.

Also changed read() and readline() to use PyArg_ParseTuple().

(Note that the *previous* checkin also fixed error handling and
narrowed the range of thread unblocking for all methods using
fread().)
</content>
</entry>
<entry>
<title>Rewrite readlines() to speed it up -- about a factor of 2 on my</title>
<updated>1997-05-10T22:07:25Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-05-10T22:07:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6263d5451cd874edc05ef87c9d978a3190e65b28'/>
<id>urn:sha1:6263d5451cd874edc05ef87c9d978a3190e65b28</id>
<content type='text'>
Indigo2, reading a 9Meg file from the local disk.
</content>
</entry>
<entry>
<title>Speed up read() (i.e. read till EOF) considerably by doing a stat() to</title>
<updated>1997-05-09T22:27:31Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-05-09T22:27:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5449b6e123825fe8e37402cb28ab377dd662bb1e'/>
<id>urn:sha1:5449b6e123825fe8e37402cb28ab377dd662bb1e</id>
<content type='text'>
see if we can guess the #bytes until the end of the file.  If we
can't, increment the buffer size increments up to 0.5Meg to avoid
realloc'ing too much.
</content>
</entry>
<entry>
<title>Fix by Mark Hammond to enable truncate() on Windows.</title>
<updated>1997-05-06T15:23:24Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-05-06T15:23:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b819914263bdbd216189aac698016b6373984735'/>
<id>urn:sha1:b819914263bdbd216189aac698016b6373984735</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Checkin of Jack's buffer mods.</title>
<updated>1997-05-05T22:15:02Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-05-05T22:15:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fdf95dd525840559d77637802ff117969db19031'/>
<id>urn:sha1:fdf95dd525840559d77637802ff117969db19031</id>
<content type='text'>
Not really checked, but didn't fail any tests either...
</content>
</entry>
</feed>
