Message206765
| Author |
jwilk |
| Recipients |
Arfrever, ezio.melotti, georg.brandl, jwilk, kushal.das, larry, serhiy.storchaka, terry.reedy, v+python, vajrasky |
| Date |
2013年12月21日.16:57:04 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1387645024.95.0.893184236007.issue16074@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
As far as rename() and link() are concerned, either of the arguments can cause an ENOENT error:
os.rename('/dev/foobar', '/dev/barfoo') # fails because /dev/foobar doesn't exist
os.rename('/dev/null', '/foo/bar/baz') # fails because /foo/bar doesn't exist |
|