Message9557
Depending on input, `os.path.normpath` turns Unicode strings to byte strings:
Jython 2.7b4 (default:3672e624962a, Feb 13 2015, 04:59:14)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_60
Type "help", "copyright", "credits" or "license" for more information.
>>> from os.path import normpath
>>> normpath(u'.')
'.'
>>> normpath(u'/')
'/'
>>> normpath(u'..')
u'..'
>>> normpath(u'./')
'.' |
|
Date |
User |
Action |
Args |
2015-02-25 12:48:34 | pekka.klarck | set | recipients:
+ pekka.klarck |
2015-02-25 12:48:34 | pekka.klarck | set | messageid: <1424868514.84.0.851118878713.issue2274@psf.upfronthosting.co.za> |
2015-02-25 12:48:34 | pekka.klarck | link | issue2274 messages |
2015-02-25 12:48:33 | pekka.klarck | create | |
|