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 steve.dower
Recipients Kevin.Norris, eryksun, pitrou, steve.dower, tim.golden, zach.ware
Date 2014-09-11.19:50:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1410465024.42.0.124205844878.issue22299@psf.upfronthosting.co.za>
In-reply-to
Content
Another alternative is to always leave the prefix there after calling resolve() (as opposed to the current behaviour which is to always remove it). If the Win32 API says that the path should include the prefix, then it should. There's no reliable way for a developer to decide that an arbitrary path should include the prefix other than by resolving it.

I still like the idea of a format character to omit the prefix, as that correctly implies that the only reason you should remove it is for displaying to the user. Alternatively, a ".without_prefix" property seems like a safer route than requiring the user to add it. Long paths are the only time you may want to add it, but even that doesn't guarantee that the path will work.
History
Date User Action Args
2014-09-11 19:50:24steve.dowersetrecipients: + steve.dower, pitrou, tim.golden, zach.ware, eryksun, Kevin.Norris
2014-09-11 19:50:24steve.dowersetmessageid: <1410465024.42.0.124205844878.issue22299@psf.upfronthosting.co.za>
2014-09-11 19:50:24steve.dowerlinkissue22299 messages
2014-09-11 19:50:24steve.dowercreate