Message6739

Author pekka.klarck
Recipients pekka.klarck
Date 2011-12-07.08:41:12
SpamBayes Score 0.0074716983
Marked as misclassified No
Message-id <1323247273.26.0.321728724135.issue1825@psf.upfronthosting.co.za>
In-reply-to
Content
To reproduce:

$ cat filename.py 
try:
    open(u'hyv\xe4')
except EnvironmentError, err:
    print type(err.filename), repr(err.filename)

$ python filename.py 
<type 'unicode'> u'hyv\xe4'

$ jython --version
Jython 2.5.2

$ jython filename.py 
<type 'str'> 'hyv\xe4'
History
Date User Action Args
2011-12-07 08:41:13pekka.klarcksetrecipients: + pekka.klarck
2011-12-07 08:41:13pekka.klarcksetmessageid: <1323247273.26.0.321728724135.issue1825@psf.upfronthosting.co.za>
2011-12-07 08:41:13pekka.klarcklinkissue1825 messages
2011-12-07 08:41:12pekka.klarckcreate