Message158058
| Author |
pitrou |
| Recipients |
csawyer-yumaed, pitrou |
| Date |
2012年04月11日.17:22:14 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334164934.74.0.317040099659.issue14550@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> while abspath() uses getcwd() but because of POSIX.1-2008 (IEEE Std
> 1003.1-2008) says os.getcwd() returns without symbolic links as well,
> so os.path.abspath() == os.path.realpath() near as I can tell.
Just because getcwd() doesn't contain any symbolic links doesn't mean the rest of the path is stripped of all symlinks.
> I think there should be a way in the standard library to get a logical
> path, as well as a realpath().
This doesn't make sense. There could be an arbitrary number of "logical" paths pointing to a single physical one. Which one should Python choose? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月11日 17:22:14 | pitrou | set | recipients:
+ pitrou, csawyer-yumaed |
| 2012年04月11日 17:22:14 | pitrou | set | messageid: <1334164934.74.0.317040099659.issue14550@psf.upfronthosting.co.za> |
| 2012年04月11日 17:22:14 | pitrou | link | issue14550 messages |
| 2012年04月11日 17:22:14 | pitrou | create |
|