Message232889
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. |
|
Date |
User |
Action |
Args |
2014-12-18 16:34:38 | mdcb808@gmail.com | set | recipients:
+ mdcb808@gmail.com |
2014-12-18 16:34:38 | mdcb808@gmail.com | set | messageid: <1418920478.46.0.204307396965.issue23084@psf.upfronthosting.co.za> |
2014-12-18 16:34:38 | mdcb808@gmail.com | link | issue23084 messages |
2014-12-18 16:34:37 | mdcb808@gmail.com | create | |
|