Message143724
My fault. I tested it only partially, relying on the documentation that says """ On Windows, if dst already exists, OSError will be raised even if it is a file """ Actually it does not (at least at my Windows 7): (Pdb) os.path.isfile(src) True (Pdb) p os.rename(src, src) None Am I doing something wrong? | |
| Date | User | Action | Args | | 2011-09-08 09:59:53 | gennad | set | recipients: + gennad, nnorwitz, anthonybaxter, zooko, pitrou, tarek, eric.araujo, BreamoreBoy | | 2011-09-08 09:59:53 | gennad | set | messageid: <1315475993.08.0.221715459023.issue1492704@psf.upfronthosting.co.za> | | 2011-09-08 09:59:52 | gennad | link | issue1492704 messages | | 2011-09-08 09:59:52 | gennad | create | | |