Message146406
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. |
|
Date |
User |
Action |
Args |
2011-10-26 00:47:39 | terry.reedy | set | recipients:
+ terry.reedy, ishimoto, vstinner, ubershmekel |
2011-10-26 00:47:39 | terry.reedy | set | messageid: <1319590059.3.0.903159805255.issue13247@psf.upfronthosting.co.za> |
2011-10-26 00:47:38 | terry.reedy | link | issue13247 messages |
2011-10-26 00:47:38 | terry.reedy | create | |
|