bpo-34353: Added sockets to stat.filemode fallback python implementation#8703
Conversation
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. When your account is ready, please add a comment in this pull request You can check yourself Thanks again for your contribution, we look forward to reviewing it! |
|
New account, only now signed the CLA 👍 |
|
Could you update |
benjaminp
left a comment
There was a problem hiding this comment.
Looks good. Just two more nits.
There was a problem hiding this comment.
It would cleaner to either do with socket.socket(socket.AF_UNIX): <rest of function> or use self.addCleanup(s.close) after the first line.
There was a problem hiding this comment.
I didn't realise you could use socket as a context manager, I'll definitely be using that in the future! Thanks!
There was a problem hiding this comment.
You can add yourself to Misc/ACKS. Usually, we leave names off NEWS entries, though.
2875629 to
cb9b170
Compare
https://bugs.python.org/issue34353