homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author catalin.iacob
Recipients catalin.iacob, docs@python
Date 2011年07月17日.08:59:20
SpamBayes Score 3.9761317e-06
Marked as misclassified No
Message-id <1310893161.81.0.334547060207.issue12577@psf.upfronthosting.co.za>
In-reply-to
Content
I recently tried to answer the question: "When moving a file to a destination that is an already existing file, is the destination overwritten?"
From the current docs I understood that if src and dst are on the same filesystem then os.rename is used, if they are on different filesystems then copy + remove is used instead. Since os.rename fails on Windows if the destination exists I concluded that shutil.move would fail on Windows and overwrite dst on Unix.
History
Date User Action Args
2011年07月17日 08:59:21catalin.iacobsetrecipients: + catalin.iacob, docs@python
2011年07月17日 08:59:21catalin.iacobsetmessageid: <1310893161.81.0.334547060207.issue12577@psf.upfronthosting.co.za>
2011年07月17日 08:59:21catalin.iacoblinkissue12577 messages
2011年07月17日 08:59:20catalin.iacobcreate

AltStyle によって変換されたページ (->オリジナル) /