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.

作者 terry.reedy
收信人 ishimoto, terry.reedy, ubershmekel, vstinner
日期 2011-10-26.00:47:38
SpamBayes Score 1.057006e-09
Marked as misclassified
Message-id <1319590059.3.0.903159805255.issue13247@psf.upfronthosting.co.za>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2011-10-26 00:47:39terry.reedy修改recipients: + terry.reedy, ishimoto, vstinner, ubershmekel
2011-10-26 00:47:39terry.reedy修改messageid: <1319590059.3.0.903159805255.issue13247@psf.upfronthosting.co.za>
2011-10-26 00:47:38terry.reedy链接issue13247 messages
2011-10-26 00:47:38terry.reedy创建