[Python-Dev] an alternative to embedding policy in PEP 418 (was: PEP 418: Add monotonic clock)

Lennart Regebro regebro at gmail.com
Tue Apr 3 07:51:57 CEST 2012


I like the aim of letting the user control what clock it get, but I
find this API pretty horrible:

>  clock = get_clock(T_MONOTONIC|T_HIRES) or get_clock(T_MONOTONIC)

Just my 2 groszy.

//Lennart


More information about the Python-Dev mailing list