This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Deric-W
Recipients Deric-W, benjamin.peterson, methane, serhiy.storchaka, vstinner
Date 2020-10-31.14:15:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604153700.23.0.452655908005.issue42160@roundup.psfhosted.org>
In-reply-to
Content
>>> timeit(os.getpid)
0.08990733299999931

Considering the reference leaks, os.getpid() seems to be the better solution.
History
Date User Action Args
2020-10-31 14:15:00Deric-Wsetrecipients: + Deric-W, vstinner, benjamin.peterson, methane, serhiy.storchaka
2020-10-31 14:15:00Deric-Wsetmessageid: <1604153700.23.0.452655908005.issue42160@roundup.psfhosted.org>
2020-10-31 14:15:00Deric-Wlinkissue42160 messages
2020-10-31 14:15:00Deric-Wcreate