Message186742
Behavior for symlink is as follows
>>> os.symlink('non-existent-name', 'existing-name')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
PermissionError: [WinError 5] Access is denied: 'non-existent-name'
The error message is misleading, but can be fixed using the patch attached to issue13775
>>> os.symlink('non-existent-name1', 'non-existent-name2')
No error. This behavior is same on Windows and Linux. Seems odd, but can be justified as ok behavior. |
|
Date |
User |
Action |
Args |
2013-04-13 16:10:07 | sijinjoseph | set | recipients:
+ sijinjoseph, a_b, serhiy.storchaka |
2013-04-13 16:10:07 | sijinjoseph | set | messageid: <1365869407.73.0.338542274235.issue16812@psf.upfronthosting.co.za> |
2013-04-13 16:10:07 | sijinjoseph | link | issue16812 messages |
2013-04-13 16:10:07 | sijinjoseph | create | |
|