[issue15443] datetime module has no support for nanoseconds

2012-07-25 Thread Vincenzo Ampolo
Vincenzo Ampolo added the comment: Have a look to this python dev mailing list thread too: http://mail.python.org/pipermail/python-dev/2012-July/121123.html -- ___ Python tracker <http://bugs.python.org/issue15

[issue15443] datetime module has no support for nanoseconds

2012-07-24 Thread Vincenzo Ampolo
Vincenzo Ampolo added the comment: On 07/24/2012 04:20 PM, R. David Murray wrote: > R. David Murray added the comment: > > Are the nanosecond timestamps timestamps or strings? If they are timestamps > it's not immediately obvious why you want to convert them to dateti

[issue15443] datetime module has no support for nanoseconds

2012-07-24 Thread Vincenzo Ampolo
Changes by Vincenzo Ampolo : -- versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/issue15443> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15443] datetime module has no support for nanoseconds

2012-07-24 Thread Vincenzo Ampolo
Vincenzo Ampolo added the comment: This is a real use case I'm working with that needs nanosecond precision and lead me in submitting this request: most OSes let users capture network packets (using tools like tcpdump or wireshark) and store them using file formats like pcap or pcap-ng.

[issue15443] datetime module has no support for nanoseconds

2012-07-24 Thread Vincenzo Ampolo
Vincenzo Ampolo added the comment: On 07/24/2012 01:28 PM, Marc-Andre Lemburg wrote: > I would be interested in an actual use case for this. Alice has a dataset with nanosecond granularity. He wants to make a python library to let Bob access the dataset. Nowadays Alice has to implement her

[issue15443] datetime module has no support for nanoseconds

2012-07-24 Thread Vincenzo Ampolo
Changes by Vincenzo Ampolo : -- components: +Library (Lib) -ctypes ___ Python tracker <http://bugs.python.org/issue15443> ___ ___ Python-bugs-list mailin

[issue15443] datetime module has no support for nanoseconds

2012-07-24 Thread Vincenzo Ampolo
New submission from Vincenzo Ampolo : 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" %