<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/fileobject.c, branch v2.4.4</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/fileobject.c?h=v2.4.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/fileobject.c?h=v2.4.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-10-04T10:13:32Z</updated>
<entry>
<title>A review of overflow-detecting code in the 2.4 branch.</title>
<updated>2006-10-04T10:13:32Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2006-10-04T10:13:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b2d0f342404de73905e4febb8c202f41fc0f654f'/>
<id>urn:sha1:b2d0f342404de73905e4febb8c202f41fc0f654f</id>
<content type='text'>
* unified the way intobject, longobject and mystrtoul handle
  values around -sys.maxint-1.

* in general, trying to entierely avoid overflows in any computation
  involving signed ints or longs is extremely involved.  Fixed a few
  simple cases where a compiler might be too clever (but that's all
  guesswork).

* more overflow checks against bad data in marshal.c.
</content>
</entry>
<entry>
<title>[Backport r50683 | neal.norwitz]</title>
<updated>2006-10-03T18:43:28Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-03T18:43:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5cf2fb9904ceba3e7dd07aeb325f44a1cd8070bf'/>
<id>urn:sha1:5cf2fb9904ceba3e7dd07aeb325f44a1cd8070bf</id>
<content type='text'>
Stop INCREFing name, then checking if it's NULL.  name (f_name) should never
be NULL so assert it.  Fix one place where we could have passed NULL.

Reported by Klocwork #66.
</content>
</entry>
<entry>
<title>[Backport r50680 | neal.norwitz]</title>
<updated>2006-10-03T18:40:23Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-03T18:40:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=91697928ca2813d82a4cd0b6908590bae62d7fa4'/>
<id>urn:sha1:91697928ca2813d82a4cd0b6908590bae62d7fa4</id>
<content type='text'>
Handle a NULL name properly.
</content>
</entry>
<entry>
<title>[Backport rev. 51669 by brett.cannon]</title>
<updated>2006-10-03T13:04:29Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-03T13:04:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=26acb2cc88d11199f31c0170a924a351276d3a46'/>
<id>urn:sha1:26acb2cc88d11199f31c0170a924a351276d3a46</id>
<content type='text'>
Make sure memory is properly cleaned up in file_init.

Backport candidate.
</content>
</entry>
<entry>
<title>Bug #1177964: make file iterator raise MemoryError on too big files</title>
<updated>2006-03-31T20:31:05Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-03-31T20:31:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=af55db9cd83f82db032190a0e15ad6e8dec11488'/>
<id>urn:sha1:af55db9cd83f82db032190a0e15ad6e8dec11488</id>
<content type='text'>
 (backport from rev. 43506)
</content>
</entry>
<entry>
<title>If close() fails in file_dealloc, then print an error message to</title>
<updated>2004-11-07T14:15:28Z</updated>
<author>
<name>Peter Astrand</name>
<email>astrand@lysator.liu.se</email>
</author>
<published>2004-11-07T14:15:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f8e74b12b00401b9cd6322fc339a1b9111e944df'/>
<id>urn:sha1:f8e74b12b00401b9cd6322fc339a1b9111e944df</id>
<content type='text'>
stderr. close() can fail if the user is out-of-quota, for example.
Fixes #959379.
</content>
</entry>
<entry>
<title>dump HAVE_FOPENRF stuff - obsolete</title>
<updated>2004-06-11T04:49:03Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2004-06-11T04:49:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=51ffac6db7a97efa4e1593583fa66a98b5a9f904'/>
<id>urn:sha1:51ffac6db7a97efa4e1593583fa66a98b5a9f904</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add weakref support to array.array and file objects.</title>
<updated>2004-05-31T00:35:52Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-05-31T00:35:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cb87bc8e7ee3a2ffd83dd1b12fcfa1c01aa740aa'/>
<id>urn:sha1:cb87bc8e7ee3a2ffd83dd1b12fcfa1c01aa740aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>If a file is opened with an explicit buffer size &gt;= 1, repeated</title>
<updated>2004-04-04T07:01:35Z</updated>
<author>
<name>Andrew MacIntyre</name>
<email>andymac@bullseye.apana.org.au</email>
</author>
<published>2004-04-04T07:01:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4e10ed3b86cf08211ef0c9c5408799195c2c1881'/>
<id>urn:sha1:4e10ed3b86cf08211ef0c9c5408799195c2c1881</id>
<content type='text'>
close() calls would attempt to free() the buffer already free()ed on
the first close().     [bug introduced with patch #788249]

Making sure that the buffer is free()ed in file object deallocation is
a belt-n-braces bit of insurance against a memory leak.
</content>
</entry>
<entry>
<title>Changed file.name to be the object passed as the 'name' argument to file()</title>
<updated>2004-03-21T20:24:07Z</updated>
<author>
<name>Nicholas Bastin</name>
<email>nick.bastin@gmail.com</email>
</author>
<published>2004-03-21T20:24:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=abce8a681c499382de3cb8fbdf5b2eba036eca26'/>
<id>urn:sha1:abce8a681c499382de3cb8fbdf5b2eba036eca26</id>
<content type='text'>
Fixes SF Bug #773356
</content>
</entry>
</feed>
