Issue 18420: os.rename FileNotFound complaining about dst, but it is src which is missing (original) (raw)

The following reproduction is running on Ubuntu 13.04, Python 3.3.1:

$ ls bar $ python3 -c "import os; os.rename('foo', 'bar')" Traceback (most recent call last): File "", line 1, in FileNotFoundError: [Errno 2] No such file or directory: 'bar'