Message276660
| 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:08 | martin.panter | set | recipients:
+ martin.panter, christian.heimes, r.david.murray |
| 2016年09月16日 01:56:08 | martin.panter | set | messageid: <1473990968.18.0.711587794178.issue28134@psf.upfronthosting.co.za> |
| 2016年09月16日 01:56:08 | martin.panter | link | issue28134 messages |
| 2016年09月16日 01:56:07 | martin.panter | create |
|