[New-bugs-announce] [issue15443] datetime module has no support for nanoseconds

Vincenzo Ampolo report at bugs.python.org
Tue Jul 24 21:36:50 CEST 2012

New submission from Vincenzo Ampolo <vincenzo.ampolo at gmail.com>:

As long as computers evolve time management becomes more precise and more granular.
Unfortunately the standard datetime module is not able to deal with nanoseconds even if OSes are able to. For example if i do:

print "%.9f" % time.time()

I've actual timestamp from the epoch with nanosecond granularity.

Thus support for nanoseconds in datetime would really be appreciated

components: ctypes
messages: 166326
nosy: Vincenzo.Ampolo
priority: normal
severity: normal
status: open
title: datetime module has no support for nanoseconds
type: enhancement
versions: Python 2.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list