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 martin.panter
Recipients christian.heimes, martin.panter, r.david.murray
Date 2016-09-16.01:56:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473990968.18.0.711587794178.issue28134@psf.upfronthosting.co.za>
In-reply-to
Content
I agree the doc is far from perfect. The bit I was going off is just above <https://docs.python.org/3.5/library/socket.html#socket.socket.family>, saying “these (read-only) attributes that correspond to the values given to the socket constructor”.

My instinct would be to clarify that for existing versions 2.7, 3.5, etc, that the constructor arguments are _not_ ignored and should correspond to the file descriptor. Then in the next Python version we can make it more automatic using the getsockopt() techniques.
History
Date User Action Args
2016-09-16 01:56:08martin.pantersetrecipients: + martin.panter, christian.heimes, r.david.murray
2016-09-16 01:56:08martin.pantersetmessageid: <1473990968.18.0.711587794178.issue28134@psf.upfronthosting.co.za>
2016-09-16 01:56:08martin.panterlinkissue28134 messages
2016-09-16 01:56:07martin.pantercreate