raghuram devarakonda lngjjnbzegmailcom hi submitted patch httpwwwpythonorgsf1704547 allows osrename replace destination file exists windows part discussion tracker martin suggested pythondev discuss change currently osrename windows uses api movefile fails destination file exists patch replaces api movefileex uses flag movefile_replace_existing causes destination file replaced exists however change subtle existing code depends current osrename behaviour windows code silently broken destination file overwritten functionality replacing important would like know best way supporting deemed change good go asis optional parameter osrename say win_replace used callers explicitly request replacing must also point patch uses another flag movefile_copy_allowed effectively allowing renamed files separate file systems renaming case atomic used flag support current functionality bad idea disallow renames brings line behaviour many unix flavors also potential break code silently lastly found old discussion topic list httpmailpythonorgpipermailpythondev2001may014957html even though guido indicated doesnt support api change thread posting see one mention movefileex thread thanks raghu _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom tue 05 aug 2008 194358 0400 pythondev osrename windows