This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author meador.inge
Recipients Arfrever, eric.araujo, eric.snow, georg.brandl, meador.inge, ncoghlan, pitrou, python-dev, sjdv1982
Date 2011-11-27.01:08:17
SpamBayes Score 1.03638e-06
Marked as misclassified No
Message-id <1322356098.87.0.116895434666.issue12618@psf.upfronthosting.co.za>
In-reply-to
Content
> we don’t know what people do with symlinks and relative paths out 
> there, so I’d prefer adding a safe special case* rather than always 
> calling abspath.  What do you think?

Éric, I agree.  I didn't know about the strange symlink + relative path 
behavior with 'os.path.normpath', but [1] cleared me up.  With that in
mind the special casing is OK.  I have attached an updated patch with
a unit test.

Also, this is not an issue for Python 2.7.  The 2.7 implementation
assumes any directories mentioned in the path already exist.  So, I
removed 2.7 from the affected versions.

[1] http://mail.python.org/pipermail/python-dev/2005-December/058452.html
History
Date User Action Args
2011-11-27 01:08:19meador.ingesetrecipients: + meador.inge, georg.brandl, ncoghlan, pitrou, eric.araujo, Arfrever, python-dev, eric.snow, sjdv1982
2011-11-27 01:08:18meador.ingesetmessageid: <1322356098.87.0.116895434666.issue12618@psf.upfronthosting.co.za>
2011-11-27 01:08:18meador.ingelinkissue12618 messages
2011-11-27 01:08:18meador.ingecreate