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 jveldridge
Recipients jveldridge, madison.may
Date 2013-07-06.22:07:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373148436.86.0.316605766664.issue18389@psf.upfronthosting.co.za>
In-reply-to
Content
Seems like you could also narrow the case where the incorrect behavior occurs for files without an extension by doing a os.path.isfile check as well--that will only return True for cases where the file exists, but then  relpath could work correctly for all existing files and all files that have an extension.
History
Date User Action Args
2013-07-06 22:07:16jveldridgesetrecipients: + jveldridge, madison.may
2013-07-06 22:07:16jveldridgesetmessageid: <1373148436.86.0.316605766664.issue18389@psf.upfronthosting.co.za>
2013-07-06 22:07:16jveldridgelinkissue18389 messages
2013-07-06 22:07:16jveldridgecreate