Message126955
| Author |
heikki |
| Recipients |
brian.curtin, heikki, nooB, tarek, tim.golden |
| Date |
2011年01月24日.20:47:42 |
| SpamBayes Score |
9.894561e-05 |
| Marked as misclassified |
No |
| Message-id |
<1295902062.97.0.468642669056.issue10684@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I also noticed this last week. However, this is not Windows specific. It happens with file systems that are not case sensitive. Besides Windows (NTFS, FAT*) the other common platform is Macintosh (HFS+ with default settings).
What happens is that we copy source into itself, then delete source.
I am not sure what the optimal solution would be but an easy one would be to first try os.rename (which works in this case), but if that fails then do the stuff that is currently shutil.move. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年01月24日 20:47:43 | heikki | set | recipients:
+ heikki, tim.golden, tarek, brian.curtin, nooB |
| 2011年01月24日 20:47:42 | heikki | set | messageid: <1295902062.97.0.468642669056.issue10684@psf.upfronthosting.co.za> |
| 2011年01月24日 20:47:42 | heikki | link | issue10684 messages |
| 2011年01月24日 20:47:42 | heikki | create |
|