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 gregory.p.smith
Recipients christian.heimes, ferringb, georg.brandl, gregory.p.smith, ronaldoussoren, rosslagerwall, vstinner, wmanley
Date 2021-07-05.00:19:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Code needed in a modern patch:

1) Use the system call if compile time configure detected it may be available.  (if we just use syscall() rather than a libc wrapper, a configure check may not be necessary, but various #ifdefs likely are)
2) If (1) produces an error saying it isn't available at runtime (ie: running on a kernel that doesn't support it, regardless of where we were built), fall back to another approach (3)
3) if iterating over /proc/$pid/fd works at runtime, use that; else (4)
4) the existing brute force code.
Date User Action Args
2021-07-05 00:19:38gregory.p.smithsetrecipients: + gregory.p.smith, georg.brandl, ronaldoussoren, vstinner, ferringb, christian.heimes, rosslagerwall, wmanley
2021-07-05 00:19:38gregory.p.smithsetmessageid: <>
2021-07-05 00:19:38gregory.p.smithlinkissue13788 messages
2021-07-05 00:19:38gregory.p.smithcreate