Message146884
| 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: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 |
|