Message146884
os.utime currently requires an explicit `None` as the second argument in order to update to the current time. Other APIs would just have the second argument as optional in this case, operating with one argument.
Attached is a patch which changes the second argument to accept the time tuple, `None`, or literally nothing. Tested on Windows and Mac.
If this is acceptable, I'll make the same change for futimes, lutimes, and futimens. |
|
Date |
User |
Action |
Args |
2011-11-02 23:46:32 | brian.curtin | set | recipients:
+ brian.curtin |
2011-11-02 23:46:32 | brian.curtin | set | messageid: <1320277592.58.0.341414975391.issue13327@psf.upfronthosting.co.za> |
2011-11-02 23:46:31 | brian.curtin | link | issue13327 messages |
2011-11-02 23:46:31 | brian.curtin | create | |
|