Message9557

Author pekka.klarck
Recipients pekka.klarck
Date 2015-02-25.12:48:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424868514.84.0.851118878713.issue2274@psf.upfronthosting.co.za>
In-reply-to
Content
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'./')
'.'
History
Date User Action Args
2015-02-25 12:48:34pekka.klarcksetrecipients: + pekka.klarck
2015-02-25 12:48:34pekka.klarcksetmessageid: <1424868514.84.0.851118878713.issue2274@psf.upfronthosting.co.za>
2015-02-25 12:48:34pekka.klarcklinkissue2274 messages
2015-02-25 12:48:33pekka.klarckcreate