SilentGhost added the comment:

> What about milliseconds?  I'll leave it for Guido to make a call on 
> nanoseconds.  My vote is +0.5.
The only reason I didn't mention milliseconds because they exist in timedelta 
instantiation. And really, being the only place in the whole module they're as 
confusing there as would be nanoseconds.

> > If they don't
> > exist anywhere else in the module, why should they be suddenly 
> > introduced here?

> The timespec feature is modeled after GNU date --iso-8601[=timespec] option 
> which does support nanoseconds.  It is fairly common to support nanoseconds 
> these days and it does not cost much to implement.

Yes, but the module does not support nanoseconds. And putting any such options 
would require a huge banner saying that the nanosecond option will just always 
result in three zeros at the end. My suggestion is not to pretend that we 
suddenly "support" nanoseconds, but rather to follow the actual implementation 
of the module and add the support for nanoseconds timespec when the module 
actually adds support for them.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19475>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to