STINNER Victor <vstin...@python.org> added the comment: > -1 about the PR solution to suppress ProcessLookupError in case the process > is gone.
Did someone propose a pull request to fix this issue by ignoring ProcessLookupError? > In psutil I solved the “pid reused problem” by using process creation time to > identify a process uniquely (on start). Well, that requires to write platform specific code. I would prefer to only use platform specific code when the platform provides something like pidfd: I understand that Linux, FreeBSD, OpenBSD, NetBSD, and Illumos are concerned. I mean reuse an exisiting solution, rather than writing our own "workaround" (solution?). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38630> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com