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 Riccardo Coccioli
Recipients Riccardo Coccioli, koobs, ned.deily, ronaldoussoren, serhiy.storchaka, vstinner
Date 2017-10-16.13:19:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Although it's documented as -1 in Linux man page [1], from my quick tests I was not able to get any error with negative values different from -1 and it seems to wait indefinitely as expected. Looking also at its implementation in [2], it doesn't seem to differentiate between negative values. It could be argued that is implementation dependent at the moment and the behaviour might change in the future.
But, on a related note, the Python documentation doesn't say much either as what are acceptable values for the timeout parameter, see [3].

So at the moment there isn't any discrepancy between the Python documentation and the current behaviour IMHO, but I'm happy to open a separate task and send a PR if you think this should be improved/fixed too.

Date User Action Args
2017-10-16 13:19:50Riccardo Cocciolisetrecipients: + Riccardo Coccioli, ronaldoussoren, vstinner, ned.deily, serhiy.storchaka, koobs
2017-10-16 13:19:50Riccardo Cocciolisetmessageid: <>
2017-10-16 13:19:50Riccardo Cocciolilinkissue31334 messages
2017-10-16 13:19:50Riccardo Cocciolicreate