[Python-Dev] [RFC] PEP 418: Add monotonic time, performance counter and process time functions

Larry Hastings larry at hastings.org
Sun Apr 29 10:41:58 CEST 2012

On 04/28/2012 04:20 PM, Eric V. Smith wrote:
> But we generally use a namedtuple (or structseq) for things like
> get_clock_info. For example, for sys.float_info there's no need for it
> to be a tuple, and it can be extended in the future, yet it's a structseq.

I'd prefer an object to a dict, but not a tuple / structseq.  There's no 
need for the members to be iterable.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120429/6192771b/attachment.html>

More information about the Python-Dev mailing list