Bugs item #1671965, was opened at 2007-03-01 20:44 Message generated for change (Comment added) made by loewis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1671965&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: Python 2.5 >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Guy Dalberto (guy-dalberto) Assigned to: Nobody/Anonymous (nobody) Summary: shutil.copy2 modifies decimal part of last modification time Initial Comment: Problem on Windows 2000 with Python 2.5. When copying a file with shutil.copy2, the last modification times should be copied. What happens is that : + the integer part is copied correctly + the decimal part is modified + some samples : source-lastmod-time copy-lastmod-time file_0.txt 1172574881.34375 => 1172574881.034375 file_1.txt 1172574881.46875 => 1172574881.046875 + what is really odd is that the decimal part is divided by 10 The attached file *test_shutil_copy2.py* contains an Unit Test that demonstrate the incorrect behaviour ---------------------------------------------------------------------- >Comment By: Martin v. Löwis (loewis) Date: 2007-03-01 22:36 Message: Logged In: YES user_id=21627 Originator: NO I believe this is a duplicate of #565150; it has been fixed in the maintenance branch. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1671965&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com