<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/tempfile.py, branch 2.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/tempfile.py?h=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/tempfile.py?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-03-17T18:02:51Z</updated>
<entry>
<title>Stop using not-exposed-in-22x os.O_ constants.</title>
<updated>2002-03-17T18:02:51Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-17T18:02:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2de0ec6c1e680984fa911cfb23f7f7295f473853'/>
<id>urn:sha1:2de0ec6c1e680984fa911cfb23f7f7295f473853</id>
<content type='text'>
</content>
</entry>
<entry>
<title>So there is some merit in slogging through ~4800 lines of cvs log.</title>
<updated>2002-03-17T17:54:32Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-17T17:54:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3ffb948c1882de347a04b50765d7ea829c5aed2f'/>
<id>urn:sha1:3ffb948c1882de347a04b50765d7ea829c5aed2f</id>
<content type='text'>
Bring tempfile.py up to date from the trunk.  There have been three
checkins (all by Tim):

SF bug #509805 tempfile.gettempdir not threadsafe
This is an ancient race when multiple threads call gettempdir() (or
anything relying on it) for the first time.

Fixed x-platform via the Big Hammer of rearranging the code to serialize
the first calls.  Subsequent calls are as fast as before.

Note that the Python test suite can't provoke this bug:  it requires
setting up multiple threads making the very first calls into tempfile,
but the test suite uses tempfile several times before getting to
test_threadedtempfile.

Bugfix candidate.

[and]

New TemporaryFile implementation for Windows:  this doesn't need a
TemproraryFileWrapper wrapper anymore, and should be immune from the
problem that a temp file inherited by a spawned process caused an
attempt to close the temp file in the spawning process to blow
up (the unlink in TemporaryFileWrapper.close() blew up with a
"Permission denied" error because, despite that the temp file got
closed in the spawning process, the spawned process still had it open
by virtue of C-level file descriptor inheritance).  In context,
that bug took days to figure out &lt;wink/sigh&gt;.

[and]

Thanks to Detlef Lannert for pointing out a typo in the code that
uses _DummyMutex on platforms without threads.

The first and third of these are pretty clearly bugfixes; I think the
second is too.
</content>
</entry>
<entry>
<title>TemporaryFileWrapper:  fixed typo in new comment.</title>
<updated>2001-12-18T23:22:01Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-12-18T23:22:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=81b61bdc1a0c73f843ec5c8321fda3b52541c8d8'/>
<id>urn:sha1:81b61bdc1a0c73f843ec5c8321fda3b52541c8d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>TemporaryFileWrapper:  cache the value of os.unlink for use by __del__,</title>
<updated>2001-12-18T22:32:40Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-12-18T22:32:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a255a72f0a5d33c1d28547dfb2f7d320a2ca1773'/>
<id>urn:sha1:a255a72f0a5d33c1d28547dfb2f7d320a2ca1773</id>
<content type='text'>
to prevent mysterious errors at shutdown due to "os.unlink" turning into
"None.unlink".
</content>
</entry>
<entry>
<title>SF bug #476138:  tempfile behavior across platforms</title>
<updated>2001-10-29T21:46:08Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-10-29T21:46:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c57a285cb4cd61439fd3ea804184ed8a8a1ac358'/>
<id>urn:sha1:c57a285cb4cd61439fd3ea804184ed8a8a1ac358</id>
<content type='text'>
Ensure that a tempfile can be closed any number of times without error.
This wasn't true on Windows.
</content>
</entry>
<entry>
<title>SF patch #474590 -- RISC OS support</title>
<updated>2001-10-24T20:42:55Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-10-24T20:42:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e2ae77b8b8a62e648bb1864a9b36ef3280984404'/>
<id>urn:sha1:e2ae77b8b8a62e648bb1864a9b36ef3280984404</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Search /tmp before /var/tmp and /usr/tmp -- this seems preferred.</title>
<updated>2001-03-02T05:51:16Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-03-02T05:51:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7dcf84f2f8e55fe21130bcea5d3bf3eb7ccf9df7'/>
<id>urn:sha1:7dcf84f2f8e55fe21130bcea5d3bf3eb7ccf9df7</id>
<content type='text'>
SF patch #404564, Gregor Hoffleit.
</content>
</entry>
<entry>
<title>final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be</title>
<updated>2001-03-01T04:27:19Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2001-03-01T04:27:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=40fc16059f04ee8fda0b5956cc4883eb21ca8f8c'/>
<id>urn:sha1:40fc16059f04ee8fda0b5956cc4883eb21ca8f8c</id>
<content type='text'>
giving it a slight facelift
</content>
</entry>
<entry>
<title>fix long line</title>
<updated>2001-02-19T15:34:10Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-02-19T15:34:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c348cd751846ddc8cec61c47928867e30d94549c'/>
<id>urn:sha1:c348cd751846ddc8cec61c47928867e30d94549c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2001-01-15T03:26:36Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-01-15T03:26:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b90f89a496676ec714e111a747344600f3988496'/>
<id>urn:sha1:b90f89a496676ec714e111a747344600f3988496</id>
<content type='text'>
</content>
</entry>
</feed>
