Author terry.reedy
Recipients amaury.forgeotdarc, christian.heimes, eckhardt, gvanrossum, loewis, methane, r37c, terry.reedy
Date 2010-08-05.00:36:49
SpamBayes Score 0.00250216
Marked as misclassified No
Message-id <1280968612.04.0.101339803543.issue1754@psf.upfronthosting.co.za>
In-reply-to
Content
The message is definitely an str (unicode) string. WinXP,3.1.2,

import os
try: os.rmdir('nonexist')
except Exception as e:
    print(repr(e.args[1]), '\n', repr(e.strerror), '\n', e.filename)
os.rmdir('nonexist')

# prints
'The system cannot find the file specified' 
 'The system cannot find the file specified' 
 nonexist
...
WindowsError: [Error 2] The system cannot find the file specified: 'nonexist'
History
Date User Action Args
2010-08-05 00:36:52terry.reedysetrecipients: + terry.reedy, gvanrossum, loewis, amaury.forgeotdarc, christian.heimes, r37c, eckhardt, methane
2010-08-05 00:36:52terry.reedysetmessageid: <1280968612.04.0.101339803543.issue1754@psf.upfronthosting.co.za>
2010-08-05 00:36:50terry.reedylinkissue1754 messages
2010-08-05 00:36:49terry.reedycreate