Message9801
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. |
|
Date |
User |
Action |
Args |
2015-04-11 13:14:31 | jeff.allen | set | messageid: <1428758071.06.0.211108888438.issue2307@psf.upfronthosting.co.za> |
2015-04-11 13:14:31 | jeff.allen | set | recipients:
+ jeff.allen, zyasoft |
2015-04-11 13:14:31 | jeff.allen | link | issue2307 messages |
2015-04-11 13:14:30 | jeff.allen | create | |
|