<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython.git/Lib/ntpath.py, branch v2.5b2</title>
<subtitle>
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/'/>
<entry>
<title>SF bug #1473760 TempFile can hang on Windows.</title>
<updated>2006-04-21T21:18:10+00:00</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-04-21T21:18:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=0069c7e7c1361ccff0c08165fa7e57dffe31d176'/>
<id>0069c7e7c1361ccff0c08165fa7e57dffe31d176</id>
<content type='text'>
Python 2.4 changed ntpath.abspath to do an import
inside the function.  As a result, due to Python's
import lock, anything calling abspath on Windows
(directly, or indirectly like tempfile.TemporaryFile)
hung when it was called from a thread spawned as a
side effect of importing a module.

This is a depressingly frequent problem, and
deserves a more general fix.  I'm settling for
a micro-fix here because this specific one accounts
for a report of Zope Corp's ZEO hanging on Windows,
and it was an odd way to change abspath to begin
with (ntpath needs a different implementation
depending on whether we're actually running on
Windows, and the _obvious_ way to arrange for that
is not to bury a possibly-failing import _inside_
the function).

Note that if/when other micro-fixes of this kind
get made, the new Lib/test/threaded_import_hangers.py
is a convenient place to add tests for them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python 2.4 changed ntpath.abspath to do an import
inside the function.  As a result, due to Python's
import lock, anything calling abspath on Windows
(directly, or indirectly like tempfile.TemporaryFile)
hung when it was called from a thread spawned as a
side effect of importing a module.

This is a depressingly frequent problem, and
deserves a more general fix.  I'm settling for
a micro-fix here because this specific one accounts
for a report of Zope Corp's ZEO hanging on Windows,
and it was an odd way to change abspath to begin
with (ntpath needs a different implementation
depending on whether we're actually running on
Windows, and the _obvious_ way to arrange for that
is not to bury a possibly-failing import _inside_
the function).

Note that if/when other micro-fixes of this kind
get made, the new Lib/test/threaded_import_hangers.py
is a convenient place to add tests for them.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug #1266283: lexists() is not exported from os.path</title>
<updated>2005-08-22T18:02:59+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2005-08-22T18:02:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=52896d1ea6163b9ef22a85b5a49b96c5727f0998'/>
<id>52896d1ea6163b9ef22a85b5a49b96c5727f0998</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>patch [ 1105730 ] Faster commonprefix in macpath, ntpath, etc.</title>
<updated>2005-08-03T07:30:12+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2005-08-03T07:30:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=875c2ab29f372c63d4618e3fe0740ec39f2e89ed'/>
<id>875c2ab29f372c63d4618e3fe0740ec39f2e89ed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists in glob.glob.</title>
<updated>2004-08-30T10:19:56+00:00</updated>
<author>
<name>Johannes Gijsbers</name>
<email>jlg@dds.nl</email>
</author>
<published>2004-08-30T10:19:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=e54bb8574dd05077c532c8ae6555d1a2c405602b'/>
<id>e54bb8574dd05077c532c8ae6555d1a2c405602b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make ntpath compress multiple slashes between drive letter and the rest of the</title>
<updated>2004-07-10T20:42:22+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2004-07-10T20:42:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=b21d0f213cb3fc44a2bdaafd9e51384069611bf7'/>
<id>b21d0f213cb3fc44a2bdaafd9e51384069611bf7</id>
<content type='text'>
path.  Also clarifies UNC handling and adds appropriate tests.

Applies patch #988607 to fix bug #980327.  Thanks Paul Moore.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
path.  Also clarifies UNC handling and adds appropriate tests.

Applies patch #988607 to fix bug #980327.  Thanks Paul Moore.
</pre>
</div>
</content>
</entry>
<entry>
<title>Feature request #935915: Add os.path.devnull.</title>
<updated>2004-06-08T08:29:33+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2004-06-08T08:29:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=f015784dbbaa2329ac39e6767ae95ef01f8c5fec'/>
<id>f015784dbbaa2329ac39e6767ae95ef01f8c5fec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a bunch of typos in documentation, docstrings and comments.</title>
<updated>2003-10-20T14:01:56+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-10-20T14:01:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=5debc0848341c819d5c522cddd55e611d2ecd0ab'/>
<id>5debc0848341c819d5c522cddd55e611d2ecd0ab</id>
<content type='text'>
(From SF patch #810751)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(From SF patch #810751)
</pre>
</div>
</content>
</entry>
<entry>
<title>make nt altsep forward slash - closes bug 709428</title>
<updated>2003-03-28T22:23:24+00:00</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2003-03-28T22:23:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=2e3e2aea95f3eade6685ff9af52ffd2a48fb3f97'/>
<id>2e3e2aea95f3eade6685ff9af52ffd2a48fb3f97</id>
<content type='text'>
backport candidate
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
backport candidate
</pre>
</div>
</content>
</entry>
<entry>
<title>Tweak to Skip's checkin of patch 686397:</title>
<updated>2003-02-17T09:17:50+00:00</updated>
<author>
<name>Andrew MacIntyre</name>
<email>andymac@bullseye.apana.org.au</email>
</author>
<published>2003-02-17T09:17:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=ac5ef4266f526c8b1521eb7db2825ff156eb4b38'/>
<id>ac5ef4266f526c8b1521eb7db2825ff156eb4b38</id>
<content type='text'>
- 'os2' references in ntpath.py relate to the VACPP port, not the EMX port;
- the VACPP port uses the same defpath as all other ntpath.py supported
  platforms except 'ce'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- 'os2' references in ntpath.py relate to the VACPP port, not the EMX port;
- the VACPP port uses the same defpath as all other ntpath.py supported
  platforms except 'ce'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate definitions of several platform-dependent path-related variables</title>
<updated>2003-02-14T19:35:31+00:00</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2003-02-14T19:35:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=379f9b34e26c5e6898ab214459625edfe685ac5a'/>
<id>379f9b34e26c5e6898ab214459625edfe685ac5a</id>
<content type='text'>
into the relevant path modules.  See patch #686397.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
into the relevant path modules.  See patch #686397.
</pre>
</div>
</content>
</entry>
</feed>
