Message9801

Author jeff.allen
Recipients jeff.allen, zyasoft
Date 2015-04-11.13:14:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428758071.06.0.211108888438.issue2307@psf.upfronthosting.co.za>
In-reply-to
Content
I propose both an absolutePath and a realPath method, as close as possible to their os.path near namesakes' CPython behaviour, and with the same sensitivity to OS. chdir will call realPath.

absolutePath is called many places in PosixModule. It used to behave like os.path.realpath (except as noted), but now it behaves like os.path.abspath, and the only breakage seems to involve chdir. I suspect abspath behaviour is all we need in these cases and realpath behaviour may have been incorrect in some (unlink?). I'll leave them calling absolutePath(), unless tests prove me wrong.

Probably tomorrow's work.
History
Date User Action Args
2015-04-11 13:14:31jeff.allensetmessageid: <1428758071.06.0.211108888438.issue2307@psf.upfronthosting.co.za>
2015-04-11 13:14:31jeff.allensetrecipients: + jeff.allen, zyasoft
2015-04-11 13:14:31jeff.allenlinkissue2307 messages
2015-04-11 13:14:30jeff.allencreate