[issue23084] nanosecond support
mdcb
report at bugs.python.org
Thu Dec 18 17:34:38 CET 2014
New submission from mdcb:
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.
----------
components: Library (Lib)
files: time.struct_timespec.patch
hgrepos: 289
keywords: patch
messages: 232889
nosy: mdcb808 at gmail.com
priority: normal
severity: normal
status: open
title: nanosecond support
type: enhancement
versions: Python 3.6
Added file: http://bugs.python.org/file37495/time.struct_timespec.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23084>
_______________________________________
More information about the Python-bugs-list
mailing list