Eric Wolf <robo-e...@gmx.de> added the comment:

>>> timeit(os.getpid)
0.08990733299999931

Considering the reference leaks, os.getpid() seems to be the better solution.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42160>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to