Message166654
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. |
|
Date |
User |
Action |
Args |
2012-07-28 12:53:43 | vstinner | set | recipients:
+ vstinner, loewis, ishimoto, tim.golden, ezio.melotti, flox |
2012-07-28 12:53:43 | vstinner | set | messageid: <1343480023.47.0.843521995235.issue15478@psf.upfronthosting.co.za> |
2012-07-28 12:53:42 | vstinner | link | issue15478 messages |
2012-07-28 12:53:42 | vstinner | create | |
|