Message151115
> > As such, the documentation for symlink where it states the optional
> > `target_is_directory=False` argument should be automatically detect
> > whether the source is a file or directory does not hold true.
>
> I don't know if auto-detection is a good idea. Of a course, from a Unix
> user's perspective, Windows' behaviour doesn't make a lot of sense.
> Especially when functions other than listdir() work fine anyway.
Ah, sorry, I had misunderstood your comment. Indeed, os.symlink
*already* tries to autodetect the target's file type, but the detection
is broken with relative symlinks: it doesn't try to join them with the
link's directory and so it thinks the target doesn't exist. |
|
Date |
User |
Action |
Args |
2012-01-12 06:42:59 | pitrou | set | recipients:
+ pitrou, amaury.forgeotdarc, tim.golden, brian.curtin, santoso.wijaya |
2012-01-12 06:42:58 | pitrou | link | issue13772 messages |
2012-01-12 06:42:58 | pitrou | create | |
|