Message171583
Same issue for os.link and os.symlink.
>>> import os
>>> os.link('non-existent-name', 'new-name')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'new-name'
>>> os.symlink('long-name'*1000, 'new-name')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 36] File name too long: 'new-name' |
|
Date |
User |
Action |
Args |
2012-09-29 18:10:53 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, georg.brandl, terry.reedy, larry, v+python, kushal.das |
2012-09-29 18:10:53 | serhiy.storchaka | set | messageid: <1348942253.18.0.0248326425973.issue16074@psf.upfronthosting.co.za> |
2012-09-29 18:10:53 | serhiy.storchaka | link | issue16074 messages |
2012-09-29 18:10:52 | serhiy.storchaka | create | |
|