Message359465
The delta_new function in _datetimemodule.c currently contains the following code:
/* Round to nearest whole # of us, and add into x. */
double whole_us = round(leftover_us);
int x_is_odd;
PyObject *temp;
whole_us = round(leftover_us);
The second call to the round function produces the same result as the first call and can therefore be safely eliminated. |
|
Date |
User |
Action |
Args |
2020-01-06 20:22:49 | alex.henrie | set | recipients:
+ alex.henrie |
2020-01-06 20:22:49 | alex.henrie | set | messageid: <1578342169.21.0.342179864502.issue39237@roundup.psfhosted.org> |
2020-01-06 20:22:49 | alex.henrie | link | issue39237 messages |
2020-01-06 20:22:48 | alex.henrie | create | |
|