[issue7858] os.utime(file, (0, 0, )) fails on on vfat, but doesn't fail immediately

2011-01-06 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r87802 (3.2), r87803 (3.1) and r87804 (2.7). Will watch the buildbots. -- resolution: - fixed stage: needs patch - committed/rejected status: open - pending versions: -Python 2.6 ___

[issue7858] os.utime(file, (0, 0, )) fails on on vfat, but doesn't fail immediately

2011-01-06 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7858 ___ ___ Python-bugs-list

[issue7858] os.utime(file, (0, 0, )) fails on on vfat, but doesn't fail immediately

2010-11-20 Thread Chris Lambacher
Chris Lambacher ch...@kateandchris.net added the comment: win_utime.patch does not apply cleanly on the py3k branch. Adapted, as in the attached win_utime_updated.patch, the solution does fix the problem. I have not added a test because I don't know how to deal with the fat32 requirement in

[issue7858] os.utime(file, (0, 0, )) fails on on vfat, but doesn't fail immediately

2010-02-05 Thread Damien Elmes
New submission from Damien Elmes resol...@gmail.com: It seems like you can't set a modtime of 0 on a vfat partition. This may not be a valid thing to do, but it took me a long time to figure out it was a bad thing, as the error doesn't appear until the next time the error flag is checked:

[issue7858] os.utime(file, (0, 0, )) fails on on vfat, but doesn't fail immediately

2010-02-05 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Looks like a missing goto done in posix_utime(), posixmodule.c, line 2805. Could you test the following patch? -- keywords: +patch nosy: +pitrou priority: - normal stage: - needs patch type: - behavior versions: +Python 2.7, Python

[issue7858] os.utime(file, (0, 0, )) fails on on vfat, but doesn't fail immediately

2010-02-05 Thread Damien Elmes
Damien Elmes resol...@gmail.com added the comment: I'm afraid I don't have a Windows build environment handy, but a quick look at the function in question seems to indicate that is the problem. Thanks for the quick reply! -- ___ Python tracker