<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/fileobject.c, branch v2.2.1</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/fileobject.c?h=v2.2.1</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/fileobject.c?h=v2.2.1'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-04-08T04:19:50Z</updated>
<entry>
<title>SF bug 538827:  Python open w/ MSVC6: bad error msgs.</title>
<updated>2002-04-08T04:19:50Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-04-08T04:19:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c4d332d7a597298c61fbc7e50167f5d98c075651'/>
<id>urn:sha1:c4d332d7a597298c61fbc7e50167f5d98c075651</id>
<content type='text'>
open_the_file:  Some (not all) flavors of Windows set errno to EINVAL
when passed a syntactically invalid filename.  Python turned that into an
incomprehensible complaint about the mode string.  Fixed by special-casing
MSVC.
</content>
</entry>
<entry>
<title>Take Tim's work on file.truncate out of 2.2.1 again.</title>
<updated>2002-03-17T15:55:50Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-17T15:55:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=98305a0d3413977368478d8ec94fd1c4dba6e999'/>
<id>urn:sha1:98305a0d3413977368478d8ec94fd1c4dba6e999</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Backport Tim's work on getting file.truncate working better on Win32.</title>
<updated>2002-03-16T18:19:33Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-16T18:19:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fe69139f7e960c52aab54e2b6b1026ced68024d4'/>
<id>urn:sha1:fe69139f7e960c52aab54e2b6b1026ced68024d4</id>
<content type='text'>
"cvs diff | patch" managed to stick the NEWS item in the 2.2 final
section!  I wonder which silly man wrote patch &lt;wink&gt;.
</content>
</entry>
<entry>
<title>Include &lt;unistd.h&gt; in Python.h. Fixes #500924.</title>
<updated>2002-01-12T11:13:24Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-01-12T11:13:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0d21e644096c700d9cf87038e736dd5ae0f738af'/>
<id>urn:sha1:0d21e644096c700d9cf87038e736dd5ae0f738af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the</title>
<updated>2001-11-30T14:16:36Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2001-11-30T14:16:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b3be216b41a4755556a887baa6ab440279fbe1dc'/>
<id>urn:sha1:b3be216b41a4755556a887baa6ab440279fbe1dc</id>
<content type='text'>
changes from start of branch upto r22b2 were already merged, of course).
</content>
</entry>
<entry>
<title>PyFile_WriteString():  change prototype so that the string arg is</title>
<updated>2001-11-28T22:13:25Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-11-28T22:13:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c1bbcb87aa8b576c8934aed6555681a62c820c25'/>
<id>urn:sha1:c1bbcb87aa8b576c8934aed6555681a62c820c25</id>
<content type='text'>
const char* instead of char*.  The change is conceptually correct, and
indirectly fixes a compiler wng introduced when somebody else innocently
passed a const char* to this function.
</content>
</entry>
<entry>
<title>open_the_file():  Explicitly set errno to 0 before calling fopen().</title>
<updated>2001-11-09T20:59:14Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-11-09T20:59:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a27a150ea5f946d37e51a03e345115a227816698'/>
<id>urn:sha1:a27a150ea5f946d37e51a03e345115a227816698</id>
<content type='text'>
</content>
</entry>
<entry>
<title>open_the_file():  this routine has a borrowed reference to the file</title>
<updated>2001-11-09T19:23:47Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-11-09T19:23:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=114486701aa1c4bc870a82c531aecf80442a83a6'/>
<id>urn:sha1:114486701aa1c4bc870a82c531aecf80442a83a6</id>
<content type='text'>
object, so the "Metroworks only" section should not decref it in case
of error (the caller is responsible for decref'ing in case of error --
and does).
</content>
</entry>
<entry>
<title>Fix SF buf #476953: Bad more for opening file gives bad msg.</title>
<updated>2001-11-09T16:17:24Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-11-09T16:17:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=41c8321252a84d8a9d0ded374e7db7a4393036be'/>
<id>urn:sha1:41c8321252a84d8a9d0ded374e7db7a4393036be</id>
<content type='text'>
If fopen() fails with EINVAL it means that the mode argument is
invalid.  Return the mode in the error message instead of the
filename.
</content>
</entry>
<entry>
<title>fix for</title>
<updated>2001-10-31T18:51:01Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2001-10-31T18:51:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e2ec3ebcb852923a7ce23122dcd32c341c9416b9'/>
<id>urn:sha1:e2ec3ebcb852923a7ce23122dcd32c341c9416b9</id>
<content type='text'>
[ #476557 ] Wrong error message for file.write(a, b)

Makes file.write a METH_VARARGS function.
</content>
</entry>
</feed>
