[issue23084] nanosecond support

Alexander Belopolsky report at bugs.python.org
Thu Dec 18 19:21:31 CET 2014


Alexander Belopolsky added the comment:

> .. the intent is not for better sleep support, but simply
> to be able to create and record time data which contains nano-seconds.

Can you describe a specific use-case?   What's the advantage of the proposed time.struct_timespec over say

>>> timespec = namedtuple('timespec', 'sec,nsec')

?

----------

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


More information about the Python-bugs-list mailing list