This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients ezio.melotti, flox, ishimoto, loewis, tim.golden, vstinner
Date 2012-07-28.12:53:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343480023.47.0.843521995235.issue15478@psf.upfronthosting.co.za>
In-reply-to
Content
In Python 2, it looks like open(arg) does pass its filename argument unchanged to OSError constructor (so it can be bytes or unicode). OSError.filename is always bytes for os.chdir() on UNIX, but OSError.filename can be bytes or unicode for os.chdir() on Windows.
History
Date User Action Args
2012-07-28 12:53:43vstinnersetrecipients: + vstinner, loewis, ishimoto, tim.golden, ezio.melotti, flox
2012-07-28 12:53:43vstinnersetmessageid: <1343480023.47.0.843521995235.issue15478@psf.upfronthosting.co.za>
2012-07-28 12:53:42vstinnerlinkissue15478 messages
2012-07-28 12:53:42vstinnercreate