[issue11457] Expose nanosecond precision from system calls

Alexander Belopolsky report at bugs.python.org
Fri Jun 3 23:50:01 CEST 2011


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

On Fri, Jun 3, 2011 at 3:57 PM, Martin v. Löwis <report at bugs.python.org> wrote:
..
> I suggest that rather than using composite time stamps, decimal.Decimal is used to represent high-precision time in Python.

I support this idea in theory, but as long as decimal is implemented
in Python, os module should probably expose a low level (tuple-based?)
interface and a higher level module would provide Decimal-based
high-precision time.

BTW, what is the status of cdecimal?

----------

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


More information about the Python-bugs-list mailing list