Message142929
> I prefer to reuse _Py_wrealpath because we will have
> to add special cases: realpath(NULL) and also maybe
> canonicalize_file_name().
I read that canonicalize_file_name(name) just calls realpath(name, NULL), so we can maybe avoid this GNU exception.
I realized that _Py_wrealpath() returns wchar_t*, so it's maybe better to take the first approach (#ifdef MS_WINDOWS). |
|
Date |
User |
Action |
Args |
2011-08-24 21:28:34 | vstinner | set | recipients:
+ vstinner, pitrou, eric.araujo, neologix, rosslagerwall |
2011-08-24 21:28:34 | vstinner | set | messageid: <1314221314.28.0.779602901289.issue12801@psf.upfronthosting.co.za> |
2011-08-24 21:28:33 | vstinner | link | issue12801 messages |
2011-08-24 21:28:33 | vstinner | create | |
|