[Python-Dev] an alternative to embedding policy in PEP 418 (original) (raw)

Victor Stinner victor.stinner at gmail.com
Wed Apr 4 02:02:12 CEST 2012


Lennart Regebro wrote:

Well, getclock(monotonic=True, highres=True) would be a vast improvement over getclock(MONOTONIC|HIRES).

I don't like this keyword API because you have to use a magically marker (True). Why True? What happens if I call get_clock(monotonic=False) or get_clock(monotonic="yes")?

Victor



More information about the Python-Dev mailing list