Message90341
On Linux, I get the following:
>>> import os
>>> os.path.normpath(u'/')
'/'
I would expect unicode to be mapped to unicode. os.path.abspath() has
the same problem, see also issue 3426.
This causes problems in my project, where a function requires its
parameters to be Unicode. Do the standard Python library functions that
operate on strings guarantee anything in general with respect to
conserving unicode? Can I make any assumption as to which codec was used
to encode the str returned from normpath? |
|
Date |
User |
Action |
Args |
2009-07-09 18:49:56 | sandberg | set | recipients:
+ sandberg |
2009-07-09 18:49:56 | sandberg | set | messageid: <1247165396.23.0.921821362773.issue6450@psf.upfronthosting.co.za> |
2009-07-09 18:49:55 | sandberg | link | issue6450 messages |
2009-07-09 18:49:54 | sandberg | create | |
|