A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-March/117706.html below:

[Python-Dev] Drop the new time.wallclock() function?

[Python-Dev] Drop the new time.wallclock() function? [Python-Dev] Drop the new time.wallclock() function?Terry Reedy tjreedy at udel.edu
Thu Mar 15 23:45:25 CET 2012
On 3/15/2012 5:27 PM, Alexander Belopolsky wrote:
> On Thu, Mar 15, 2012 at 3:55 PM, Matt Joiner<anacrolix at gmail.com>  wrote:
>> +1. I now prefer time.monotonic(), no flags.
>
> Am I alone thinking that an adjective is an odd choice for a function
> name?

I would normally agree, but in this case, it is a function of a module 
whose short name names what the adjective is modifying. I expect that 
this will normally be called with the module name.

> I think monotonic_clock or monotonic_time would be a better option.

time.monotonic_time seems redundant.

-- 
Terry Jan Reedy

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4