[issue6260] os.utime should allow None values for ATIME or MTIME

2009-06-12 Thread James
James added the comment: very well, this is a good point. i'm guessing nobody would every accept a patch for upstream utime? (in c) thanks for your comment. -- ___ Python tracker ___

[issue6260] os.utime should allow None values for ATIME or MTIME

2009-06-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Functions of the os module that expose POSIX functions should have the same interface as the system function; and they should not call other system function. Here, 'None' is accepted for the second argument only because the POSIX utime() function accepts a

[issue6260] os.utime should allow None values for ATIME or MTIME

2009-06-10 Thread James
New submission from James : Hi, in using os.utime, it's nice that you can specify `None' for the second argument. However it would be even `nicer' to be able to specify None for either (or potentially both) values for the argument in the tuple. to emulate this, i've been using os.stat to read the