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.21:28:33
SpamBayes Score 0.0029200392
Marked as misclassified No
Message-id <1314221314.28.0.779602901289.issue12801@psf.upfronthosting.co.za>
In-reply-to
Content
> 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).
History
Date User Action Args
2011-08-24 21:28:34vstinnersetrecipients: + vstinner, pitrou, eric.araujo, neologix, rosslagerwall
2011-08-24 21:28:34vstinnersetmessageid: <1314221314.28.0.779602901289.issue12801@psf.upfronthosting.co.za>
2011-08-24 21:28:33vstinnerlinkissue12801 messages
2011-08-24 21:28:33vstinnercreate