Antoine Pitrou <pit...@free.fr> added the comment: The `time` module is written in C, in Modules/timemodule.c. If this is too bothersome to write in C, the function could perhaps be added to the datetime module instead. In any case, we need a proper patch, including unit tests if possible.
(and I agree that anything making the time stuff easier to use is welcome) ---------- nosy: +brett.cannon, pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7662> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com