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 eric.araujo, neologix, pitrou, rosslagerwall, vstinner
Date 2011-08-24.20:18:43
SpamBayes Score 0.0052226707
Marked as misclassified No
Message-id <1314217124.58.0.246057718738.issue12801@psf.upfronthosting.co.za>
In-reply-to
Content
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().
History
Date User Action Args
2011-08-24 20:18:44vstinnersetrecipients: + vstinner, pitrou, eric.araujo, neologix, rosslagerwall
2011-08-24 20:18:44vstinnersetmessageid: <1314217124.58.0.246057718738.issue12801@psf.upfronthosting.co.za>
2011-08-24 20:18:44vstinnerlinkissue12801 messages
2011-08-24 20:18:43vstinnercreate