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 terry.reedy
Recipients ishimoto, terry.reedy, ubershmekel, vstinner
Date 2011-10-26.00:47:38
SpamBayes Score 1.057006e-09
Marked as misclassified No
Message-id <1319590059.3.0.903159805255.issue13247@psf.upfronthosting.co.za>
In-reply-to
Content
The doc says "All functions accepting path or file names accept both bytes and string objects, and result in an object of the same type, if a path or file name is returned." It does that now (the encoding assumed or produced for bytes is not specified). It says nothing about raising exceptions in certain situations. So this is a feature change request, one that would likely break existing code.

Users can test for invalid returned paths with "'?' in returned_path", though I admit that the use of '?' as a glob, regex, and url special char makes it a bad choice of error char.
History
Date User Action Args
2011-10-26 00:47:39terry.reedysetrecipients: + terry.reedy, ishimoto, vstinner, ubershmekel
2011-10-26 00:47:39terry.reedysetmessageid: <1319590059.3.0.903159805255.issue13247@psf.upfronthosting.co.za>
2011-10-26 00:47:38terry.reedylinkissue13247 messages
2011-10-26 00:47:38terry.reedycreate