Message171517
I confirm the bug.
>>> import os
>>> os.rename('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'
It obviously should be "No such file or directory: 'non-existent-name'". |
|
Date |
User |
Action |
Args |
2012-09-28 18:32:58 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, v+python |
2012-09-28 18:32:58 | serhiy.storchaka | set | messageid: <1348857178.21.0.553877158959.issue16074@psf.upfronthosting.co.za> |
2012-09-28 18:32:58 | serhiy.storchaka | link | issue16074 messages |
2012-09-28 18:32:58 | serhiy.storchaka | create | |
|