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 njs
Recipients ammar2, giampaolo.rodola, njs, vstinner, yselivanov
Date 2019-12-06.23:49:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575676182.66.0.473498901125.issue38699@roundup.psfhosted.org>
In-reply-to
Content
Another subtlety that that code handles, and that the stdlib socket module might also want to handle: if the user passes in a custom backlog argument that's >65535, then we silently replace it with 66535 before passing it to the system. The reason is that many systems will silently truncate this value to 16 bits, so if a user explicitly passes in 65536, what they get is a backlog of 1, which is probably not what they were hoping for.
History
Date User Action Args
2019-12-06 23:49:42njssetrecipients: + njs, vstinner, giampaolo.rodola, yselivanov, ammar2
2019-12-06 23:49:42njssetmessageid: <1575676182.66.0.473498901125.issue38699@roundup.psfhosted.org>
2019-12-06 23:49:42njslinkissue38699 messages
2019-12-06 23:49:42njscreate