This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brian.curtin
Recipients brian.curtin
Date 2011-11-02.23:46:31
SpamBayes Score 0.00061389676
Marked as misclassified No
Message-id <1320277592.58.0.341414975391.issue13327@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-11-02 23:46:32brian.curtinsetrecipients: + brian.curtin
2011-11-02 23:46:32brian.curtinsetmessageid: <1320277592.58.0.341414975391.issue13327@psf.upfronthosting.co.za>
2011-11-02 23:46:31brian.curtinlinkissue13327 messages
2011-11-02 23:46:31brian.curtincreate