Message146418
I use python a lot with Hebrew and many websites have internationalization which may involve unicode paths. I agree that saying "unicode paths are rare" is inaccurate.
If the current situation isn't fixed though - you just can't use the resulting path for almost anything. Do you have a use case Ishimoto?
Windows XP and up implement paths as unicode, that means that a bytes api doesn't even make sense unless python does some encoding and decoding for you. E.g. python can use the unicode API's internally and return utf-8 encoded bytes. But you couldn't use these paths outside of python. The fact is you shouldn't be doing os.path.abspath(b'.') in windows to begin with. |
|
Date |
User |
Action |
Args |
2011-10-26 06:36:33 | ubershmekel | set | recipients:
+ ubershmekel, terry.reedy, ishimoto, vstinner |
2011-10-26 06:36:33 | ubershmekel | set | messageid: <1319610993.02.0.935018614875.issue13247@psf.upfronthosting.co.za> |
2011-10-26 06:36:32 | ubershmekel | link | issue13247 messages |
2011-10-26 06:36:32 | ubershmekel | create | |
|