Message142913
i12801.patch is not correct: on Windows, you should never encode a filename to bytes. Use PyUnicode_Decode() + _Py_wrealpath(), or a #ifdef (as many other posixmodule functions).
I prefer to reuse _Py_wrealpath because we will have to add special cases: realpath(NULL) and also maybe canonicalize_file_name(). |
|
Date |
User |
Action |
Args |
2011-08-24 20:18:44 | vstinner | set | recipients:
+ vstinner, pitrou, eric.araujo, neologix, rosslagerwall |
2011-08-24 20:18:44 | vstinner | set | messageid: <1314217124.58.0.246057718738.issue12801@psf.upfronthosting.co.za> |
2011-08-24 20:18:44 | vstinner | link | issue12801 messages |
2011-08-24 20:18:43 | vstinner | create | |
|