[issue9079] Make gettimeofday available in time module

Alexander Belopolsky report at bugs.python.org
Tue Jun 29 22:27:37 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

The original patch, gettimeofday.diff was just refactoring.  I unlinked it to keep the file list clean, but it is still available:

http://bugs.python.org/file17766/gettimeofday.diff

I decided to expose time.gettimeofday() in the same patch mostly in order to be able to better explain the consequences of the change such as date.today() now being equivalent to date.fromtimestamp(time.gettimeofday()[0]) rather than date.fromtimestamp(time.time()).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9079>
_______________________________________


More information about the Python-bugs-list mailing list