Daniel Carpenter

Results 16 comments of Daniel Carpenter

I'm not writing a test if the function may become deprecated, and I'm not deprecating it myself. If you do not accept the PR as-is, please close it.

I just stumbled across this problem. [This is the offending chmod](https://github.com/twisted/twisted/blob/edd9a8abeb95420c1299c4923e40e3ef196e1556/src/twisted/internet/unix.py#L431). The comment above it is alarming - "Make the socket readable and writable to the world.". I already made...

Also, the [docs are outdated](https://docs.twisted.org/en/stable/core/howto/systemd.html). > but Twisted currently only accepts IPv4 and IPv6 TCP sockets. It also accepts unix sockets.

please review. I'm not sure how there can be performance regressions - the change just adds one simple check. Does it need an automated test?

Thank you both for the kind, swift and thoughtful feedback. It's maybe inconsistent - `unix.Port` and `listenUNIX` now have `mode = None`, but `UNIXServerEndpoint` still has `mode = 0o666`. Is...

OK. I changed all those. I now see there is a similar problem: `unix.port.connectionLost` calls `os.unlink(self.port)` which also fails in this case. Considering that, I'm leaning back to the original...