[Patches] [ python-Patches-448038 ] a move function for shutil.py
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 09 Aug 2001 10:58:49 -0700
Patches item #448038, was opened at 2001-08-04 17:08
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=448038&group_id=5470
Category: None
Group: None
Status: Open
Resolution: None
>Priority: 3
Submitted By: William McVey (wamcvey)
Assigned to: Nobody/Anonymous (nobody)
Summary: a move function for shutil.py
Initial Comment:
Although shutil.py has some nice copy functions but no
real equivalent of mv(1). This is a very simple
implimentation (as in not a whole lot of stuff has been
implimented) but it's functional. Simply calls rename,
and if that fails tries to copy and unlink.
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2001-08-08 08:41
Message:
Logged In: YES
user_id=6380
This is OK, but only perpetuates the problem with this
module -- it doesn't have a decent error handling strategy
(prints to stdout!?!?!?!).
If someone wants to put some more effort in this, I would
recommend at least adding an option to copytree() to control
error handling.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=448038&group_id=5470