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 Alexander.Dutton
Recipients Alexander.Dutton, alexis, eric.araujo, tarek
Date 2011-09-04.13:06:12
SpamBayes Score 1.1304886e-08
Marked as misclassified No
Message-id <1315141573.26.0.0248698810746.issue12885@psf.upfronthosting.co.za>
In-reply-to
Content
I've come across it as I'm creating a Debian package of the Python package in the same tree — I'm happy to be told this is a Bad Idea and that they should be in different places.

The broken symlinks are relative and in debian/tmp, and will point to locations provided by other Debian packages once my package is installed in the right location.

FWIW, I'm getting round it at the moment by walking the directory tree and removing the files is os.path.islink(filename) and not os.path.exists(os.path.join(filename, os.readlink(filename))).

I'm happy to provide tests and a patch if necessary.
History
Date User Action Args
2011-09-04 13:06:13Alexander.Duttonsetrecipients: + Alexander.Dutton, tarek, eric.araujo, alexis
2011-09-04 13:06:13Alexander.Duttonsetmessageid: <1315141573.26.0.0248698810746.issue12885@psf.upfronthosting.co.za>
2011-09-04 13:06:12Alexander.Duttonlinkissue12885 messages
2011-09-04 13:06:12Alexander.Duttoncreate