[Python-Dev] datetime nanosecond support (ctd?)

Matthieu Bec mdcb808 at gmail.com
Thu Dec 18 03:52:10 CET 2014



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.

Your comments welcomed. If people feel this is worth the effort and 
going the right direction, I should be able to finish doco, unit-tests, 
whatever else is missing with a bit of guidance and move on other 
datetime aspects.

Regards,
Matthieu


-------------- next part --------------
A non-text attachment was scrubbed...
Name: time.struct_timespec.patch
Type: text/x-patch
Size: 5642 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20141217/ec05b446/attachment.bin>


More information about the Python-Dev mailing list