Message151106
| Author |
pitrou |
| Recipients |
amaury.forgeotdarc, brian.curtin, pitrou, santoso.wijaya, tim.golden |
| Date |
2012年01月12日.01:43:04 |
| SpamBayes Score |
2.3874236e-12 |
| Marked as misclassified |
No |
| Message-id |
<1326332493.3531.29.camel@localhost.localdomain> |
| In-reply-to |
<1326330715.94.0.871113429912.issue13772@psf.upfronthosting.co.za> |
| Content |
> I think this is because "Lib\\bar" is NOT being created as a directory
> symlink, but rather as a regular one.
Ha! I didn't even know about that option. Thanks for noticing.
> 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. |
|