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 David.Townshend
Recipients David.Townshend, eric.araujo
Date 2011年08月14日.06:01:02
SpamBayes Score 6.8324566e-06
Marked as misclassified No
Message-id <1313301663.13.0.701275677576.issue12741@psf.upfronthosting.co.za>
In-reply-to
Content
A bit of research has shown that the proposed implementation will not work either, so my next suggestion is something along the lines of
def move2(src, dst):
 try:
 os.link(src, dst)
 except OSError as err:
 # handle error appropriately, raise shutil.Error if dst exists,
 # or use shutil.copy2 if dst is on a different filesystem.
 pass
 else:
 os.unlink(src)
History
Date User Action Args
2011年08月14日 06:01:03David.Townshendsetrecipients: + David.Townshend, eric.araujo
2011年08月14日 06:01:03David.Townshendsetmessageid: <1313301663.13.0.701275677576.issue12741@psf.upfronthosting.co.za>
2011年08月14日 06:01:02David.Townshendlinkissue12741 messages
2011年08月14日 06:01:02David.Townshendcreate

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