Le 22 oct. 2017 17:06, "Wes Turner" <wes.tur...@gmail.com> a écrit :
Must they always use their own implementations of time., datetime. __init__, fromordinal, fromtimestamp ?! Yes, exactly. Note: Adding resolution better than 1 us to datetime is not in the scope of the PEP but there is an issue, open since a long time. I don't think that time.time_ns() is usable for such experiment. Again, calling a function is Python takes around 50 ns. Victor
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com