Author brett.cannon
Recipients SilentGhost, brett.cannon, mgrang, tds333
Date 2016-03-22.16:23:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458663814.38.0.716877243868.issue26587@psf.upfronthosting.co.za>
In-reply-to
Content
Unfortunately you can't simply remove that directory check because you don't want to blindly normalize case. If someone put some token value on sys.path for their use that was case-sensitive even on a case-insensitive OS then the proposed change would break those semantics (e.g. if someone put a URL in sys.path for a REST-based importer).

The possibilities I see are:

1. Don't change anything; duplicate entries don't really hurt anything
2. Remove duplicate entries, but only normalize case for directories
3. Remove duplicate entries, but normalize case for anything that points to something on the filesystem (i.e. both directories and files)
History
Date User Action Args
2016-03-22 16:23:34brett.cannonsetrecipients: + brett.cannon, tds333, SilentGhost, mgrang
2016-03-22 16:23:34brett.cannonsetmessageid: <1458663814.38.0.716877243868.issue26587@psf.upfronthosting.co.za>
2016-03-22 16:23:34brett.cannonlinkissue26587 messages
2016-03-22 16:23:34brett.cannoncreate