Re: [Python-Dev] time.clock_info() field names

2012年4月30日 04:08:26 -0700

On 29Apr2012 21:31, Benjamin Peterson <[email protected]> wrote:
| 2012年4月29日 Jim J. Jewett <[email protected]>:
| > In http://mail.python.org/pipermail/python-dev/2012-April/119134.html
| > Benjamin Peterson wrote:
| >
| >> I see PEP 418 gives time.clock_info() two boolean fields named
| >> "is_monotonic" and "is_adjusted". I think the "is_" is unnecessary and
| >> a bit ugly, and they could just be renamed "monotonic" and "adjusted".
| >
| > I agree with monotonic, but I think it should be "adjustable".
| 
| I don't really care, but I think "adjusted" is fine. As in "this clock
| is adjusted (occasionally)".
-1 on "adjustable". That suggests the user can adjust it, not that the
OS may adjust it.
+1 on "adjusted" over "is_adjusted".
-- 
Cameron Simpson <[email protected]> DoD#743
http://www.cskk.ezoshosting.com/cs/
Winter is gods' way of telling us to polish.
 - Peter Harper <[email protected]> <[email protected]>
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to