[Python-ideas] Implementation of shutil.move

Masklinn masklinn at masklinn.net
Sat Aug 13 19:23:08 CEST 2011


On 13 août 2011, at 19:08, MRAB <python at mrabarnett.plus.com> wrote:
> On 13/08/2011 15:59, David Townshend wrote:
>> There was a suggestion on the issue tracker that it might be better to
>> add an optional argument to shutil.move rather than create a new
>> function. Does anyone have any comments or suggestions about this?
>> 
> [For reference, it's issue 12741 ("Add function similar to shutil.move
> that does not overwrite".)]
> 
> My preference is for adding an optional argument because the difference
> in behaviour seems too small to justify a different function.
Likewise, and even more so because the current behaviour is platform-dependent and dome platforms already behave as proposed, so the proposal really unifies the behaviour across platforms. 


More information about the Python-ideas mailing list