On 03/04/2012 07:03, Cameron Simpson wrote:
On 03Apr2012 07:51, Lennart Regebro<rege...@gmail.com> wrote:
| 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)
FWIW, the leading "T_" is now gone, so it would now read:
clock = get_clock(MONOTONIC|HIRES) or get_clock(MONOTONIC)
If the symbol names are not the horribleness, can you qualify what API
you would like more?
I reckon the API is ok given that you don't have to supply the flags,
correct?
A small point but I'm with (I think) Terry Reedy and Steven D'Aprano in
that hires is an English word, could you please substitute highres and
HIGHRES, thanks.
--
Cheers.
Mark Lawrence.
_______________________________________________
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