On Sat, Apr 28, 2012 at 12:40 AM, Victor Stinner <victor.stin...@gmail.com> wrote: >> Surely those are all very minor quibbles. I have one myself: at some >> point it says: >> >> On Linux, it is possible to use >> time.clock_gettime(CLOCK_THREAD_CPUTIME_ID). >> >> But the PEP doesn't define a function by that name. Is it an editing >> glitch? (Some of the pseudo code also uses this.) > > It is this function: > http://docs.python.org/dev/library/time.html#time.clock_gettime > > It's just a binding of the C function clock_gettime(). Should the PEP > describe all functions used by the PEP?
Oh, now I'm confused. Se in 3.3 we're adding a bunch of other new functions to the time module that aren't described by the PEP? Aren't those functions redundant? Or did I miss some part of the conversation where this was discussed? What's *their* history? -- --Guido van Rossum (python.org/~guido) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com