Author ngie
Recipients ngie
Date 2020-02-24.20:36:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
getdtablesize({2,3}) is a wonderful library call/system call to have access to because it allows one to determine the descriptor limits at runtime in an easier manner than having to do the equivalent with os.sysconf(..):

>>> os.sysconf(os.sysconf_names["SC_OPEN_MAX"])

This has been present in *BSD since time memorial [1] and in Linux since 2010 [2], so I think it would be a good addition to the `os` (`posix`) module.

I will submit a diff for this in a few days, if it's deemed acceptable to have in the `posix` module.

Date User Action Args
2020-02-24 20:36:13ngiesetrecipients: + ngie
2020-02-24 20:36:13ngiesetmessageid: <>
2020-02-24 20:36:13ngielinkissue39742 messages
2020-02-24 20:36:12ngiecreate