<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/fileobject.c, branch v2.7.3</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/fileobject.c?h=v2.7.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/fileobject.c?h=v2.7.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2011-10-13T11:52:46Z</updated>
<entry>
<title>Issue #13159: Replace FileIO's quadratic-time buffer growth algorithm with a linear-time one.</title>
<updated>2011-10-13T11:52:46Z</updated>
<author>
<name>Nadeem Vawda</name>
<email>nadeem.vawda@gmail.com</email>
</author>
<published>2011-10-13T11:52:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=36248154a9c47283d4760b5c66402119043bbba1'/>
<id>urn:sha1:36248154a9c47283d4760b5c66402119043bbba1</id>
<content type='text'>
Also fix the builtin file class and the bz2 module, which used the same algorithm.
</content>
</entry>
<entry>
<title>Issue #7732: Fix a crash on importing a module if a directory has the same name</title>
<updated>2011-09-23T17:37:03Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2011-09-23T17:37:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=63c22fac727a72f0a4da8f72b12cd5f9b480376b'/>
<id>urn:sha1:63c22fac727a72f0a4da8f72b12cd5f9b480376b</id>
<content type='text'>
than a Python module (e.g. "__init__.py"): don't close the file twice.

PyFile_FromFile() does also close the file if PyString_FromString() failed. It
did already close the file on fill_file_fields() error (e.g. if the file is a
directory).
</content>
</entry>
<entry>
<title>Issue #9295: Fix a crash under Windows when calling close() on a file</title>
<updated>2010-10-28T14:50:57Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-10-28T14:50:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=638cee62d5f25abf29290825f1600728f79da002'/>
<id>urn:sha1:638cee62d5f25abf29290825f1600728f79da002</id>
<content type='text'>
object with custom buffering from two threads at once.
</content>
</entry>
<entry>
<title>iterators passed to writelines() can close their files; don't segfault #10125</title>
<updated>2010-10-16T19:20:12Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2010-10-16T19:20:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bf775542b0798afcde4f338aef73553636a9069b'/>
<id>urn:sha1:bf775542b0798afcde4f338aef73553636a9069b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #4947: The write() method of sys.stdout and sys.stderr uses their</title>
<updated>2010-09-08T10:51:01Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-09-08T10:51:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=caafd770606aaae96a7d6ed3a128d054758939f9'/>
<id>urn:sha1:caafd770606aaae96a7d6ed3a128d054758939f9</id>
<content type='text'>
encoding and errors attributes instead of using utf-8 in strict mode, to get
the same behaviour than the print statement.
</content>
</entry>
<entry>
<title>Issue #7079: Fix a possible crash when closing a file object while using</title>
<updated>2010-05-17T19:56:59Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-05-17T19:56:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=83137c2e16ab34ecfa9695ae976b2b36fda2a17a'/>
<id>urn:sha1:83137c2e16ab34ecfa9695ae976b2b36fda2a17a</id>
<content type='text'>
it from another thread.  Patch by Daniel Stutzbach.
</content>
</entry>
<entry>
<title>Untabify C files. Will watch buildbots.</title>
<updated>2010-05-09T14:46:46Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-05-09T14:46:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c83ea137d7e717f764e2f31fc2544f522de7d857'/>
<id>urn:sha1:c83ea137d7e717f764e2f31fc2544f522de7d857</id>
<content type='text'>
</content>
</entry>
<entry>
<title>more _PyString_Resize error checking</title>
<updated>2010-04-03T00:57:33Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2010-04-03T00:57:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bea424af98468a7fc5c505c949218e22862d2b40'/>
<id>urn:sha1:bea424af98468a7fc5c505c949218e22862d2b40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#7706: DONT_HAVE_ERRNO_H is no longer defined by configure (after rev.46819).</title>
<updated>2010-02-22T23:10:52Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2010-02-22T23:10:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=00b6a5c03d46ac328f0ae77341276decb9f2b3a8'/>
<id>urn:sha1:00b6a5c03d46ac328f0ae77341276decb9f2b3a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #5677: Explicitly forbid write operations on read-only file objects,</title>
<updated>2010-02-05T17:05:54Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-02-05T17:05:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bb445a1f22835b97673f96da8f9edc75b69f5f2c'/>
<id>urn:sha1:bb445a1f22835b97673f96da8f9edc75b69f5f2c</id>
<content type='text'>
and read operations on write-only file objects.  On Windows, the system C
library would return a bogus result; on Solaris, it was possible to crash
the interpreter.  Patch by Stefan Krah.
</content>
</entry>
</feed>
