[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5d6a5c5a4ebe by Victor Stinner in branch 'default': Issue #14180: datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp() http://hg.python.org/cpython/rev/5d6a5c5a4ebe New changeset 706689b2d678 by Victor Stinner in branch 'default': Issue

[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9d69a2418d80 by Victor Stinner in branch 'default': Issue #14180: Fix an invalid rounding when compiler optimization are enabled http://hg.python.org/cpython/rev/9d69a2418d80 -- ___ Python tracker

[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 760cf150bb99 by Victor Stinner in branch 'default': Issue #14180: Fix pythoncore.vcproj, Modules/_time.[ch] have been removed http://hg.python.org/cpython/rev/760cf150bb99 -- ___ Python tracker

[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset cb1c877a27f2 by Victor Stinner in branch 'default': Issue #14180: Fix another typo in kqueue_queue_control() http://hg.python.org/cpython/rev/cb1c877a27f2 -- ___ Python tracker

[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1eaf6e899f02 by Victor Stinner in branch 'default': Issue #14180: Fix select.select() compilation on BSD and a typo in kqueue_queue_control() http://hg.python.org/cpython/rev/1eaf6e899f02 -- ___ Python

[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset ed73006bac42 by Victor Stinner in branch 'default': Issue #14180: Remove commented code http://hg.python.org/cpython/rev/ed73006bac42 -- ___ Python tracker __

[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1e9cc1a03365 by Victor Stinner in branch 'default': Close #14180: Factorize code to convert a number of seconds to time_t, timeval or timespec http://hg.python.org/cpython/rev/1e9cc1a03365 -- nosy: +python-dev resolution: -> fixed stage:

[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-05 Thread STINNER Victor
STINNER Victor added the comment: Alexander: No complain if I remove _time.c? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14180] Factorize code to convert int/float to time_t, timeval or timespec

2012-03-02 Thread STINNER Victor
New submission from STINNER Victor : There are various ways to convert a Python int/float to a C time_t, timeval or timespec structure. Attached patch factorize code by adding functions to convert a Python object to a C type (time_t, timeval or timespec). My patch changes how datetime rounds m