Author mdcb808@gmail.com
Recipients mdcb808@gmail.com
Date 2014-12-18.16:34:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418920478.46.0.204307396965.issue23084@psf.upfronthosting.co.za>
In-reply-to
Content
nanosecond support has been discussed at length on python-dev and issue 15443.
POSIX.1b defines a struct timespec that is commonly used in C, and seems a good candidate to add core nanosecond support. kernel's time-related structs typically end up in the time module.

Attached patch defines a new type struct_timespec for the time module. A new capsule exports the type along with to/from converters - opening a bridge for C, and for example the datetime module.
History
Date User Action Args
2014-12-18 16:34:38mdcb808@gmail.comsetrecipients: + mdcb808@gmail.com
2014-12-18 16:34:38mdcb808@gmail.comsetmessageid: <1418920478.46.0.204307396965.issue23084@psf.upfronthosting.co.za>
2014-12-18 16:34:38mdcb808@gmail.comlinkissue23084 messages
2014-12-18 16:34:37mdcb808@gmail.comcreate