A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20171021/0ac8158e/attachment.html below:

<div dir="ltr">That sounds like unnecessary generality, and also suggests that the API might support precisions way beyond what is realistic.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 21, 2017 at 4:39 AM, francismb <span dir="ltr"><<a href="mailto:francismb@email.de" target="_blank">francismb@email.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Victor,<br>
<span class=""><br>
On 10/18/2017 01:14 AM, Victor Stinner wrote:<br>
> I updated my PEP 564 to add time.process_time_ns():<br>
> <a href="https://github.com/python/peps/blob/master/pep-0564.rst" rel="noreferrer" target="_blank">https://github.com/python/<wbr>peps/blob/master/pep-0564.rst</a><br>
><br>
> The HTML version should be updated shortly:<br>
> <a href="https://www.python.org/dev/peps/pep-0564/" rel="noreferrer" target="_blank">https://www.python.org/dev/<wbr>peps/pep-0564/</a><br>
<br>
</span>** In practive, the resolution of 1 nanosecond **<br>
<br>
** no need for resolution better than 1 nanosecond in practive in the<br>
Python standard library.**<br>
<br>
practice vs practice<br>
<br>
<br>
<br>
If I understood you correctly on Python-ideas (here just for the<br>
records, otherwise please ignore it):<br>
<br>
why not something like (please change '_in' for what you like):<br>
<br>
time.time_in(precision)<br>
time.monotonic_in(precision)<br>
<br>
<br>
where precision is an enumeration for: 'seconds', 'milliseconds'<br>
'microseconds'... (or 's', 'ms', 'us', 'ns', ...)<br>
<br>
<br>
Thanks,<br>
--francis<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/guido%40python.org" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/options/python-dev/<wbr>guido%40python.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div>

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