Re: [Twisted-Python] Implementing Postfix Inet Policy Check Client

2015-11-18 Thread exvito here
On Wed, Nov 18, 2015 at 9:28 AM, Tom Boland wrote: > I think what you've provided me with is useful for me, but I think it's > backwards for my purposes, as I need to be connecting to the policy daemon > rather than being the policy daemon! > > I wanted to do this with deferred calls in case one

Re: [Twisted-Python] Implementing Postfix Inet Policy Check Client

2015-11-19 Thread exvito here
On Thu, Nov 19, 2015 at 4:19 PM, Tom Boland wrote: > Thanks again for this. It's really useful. It turns out that the > delimiter is a plain old \n. Who knows how consistent this will be between > different policy daemons, I don't know! > I would check the Postfix docs for that. > Now, this

[Twisted-Python] Windows spawnProcess - Child process inherits files and sockets (POSIX does not)

2016-02-21 Thread exvito here
Hello all, I filed https://twistedmatrix.com/trac/ticket/7970 last summer while focused on a particular project that was hit by it. Since then I had to attend to other things and I'm now back to refocusing on that project. The subject says most of it, but the ticket has more information, includin

Re: [Twisted-Python] Windows spawnProcess - Child process inherits files and sockets (POSIX does not)

2016-04-05 Thread exvito here
On Thu, Mar 31, 2016 at 10:27 PM, Glyph wrote: > Before submitting a patch for review, I'm looking for preliminary > feedback, assuming you agree that the Windows vs POSIX semantics should be > the same (if not, why?). > > > After much thought: Yes. They should be the same. The reason they're n

Re: [Twisted-Python] Windows spawnProcess - Child process inherits files and sockets (POSIX does not)

2016-04-07 Thread exvito here
On Thu, Apr 7, 2016 at 4:57 AM, Oliver Palmer wrote: > Owner of pywincffi here, I'd certainly welcome a PR or two for pywincffi > with the necessary functions/constants/etc so you don't have to manage that > code and I'd be happy to help write it too. I think the consensus is > Twisted is going

Re: [Twisted-Python] Windows spawnProcess - Child process inherits files and sockets (POSIX does not)

2016-04-08 Thread exvito here
> Thank you to, again. I will issue PRs against pywincffi such that the > APIs are available. They most probably won't be up to pywincffi's > standards/requirements but I expect we can cooperate under that > context and go from there. For completeness, if anyone wants to follow-along or contribute

[Twisted-Python] ITransport.write after IProtocol.connectionLost -- no failure/exception?

2016-12-15 Thread exvito here
Dear all, The subject says most of it. While diagnosing a behavior on a somewhat large codebase, I found out something somewhat surprising -- see subject -- which is replicated with the minimal code example below. It is a LineReceiver client that: 1. Connects to 127.0.0.1:1. 2. Sends a line o

Re: [Twisted-Python] ITransport.write after IProtocol.connectionLost -- no failure/exception?

2016-12-17 Thread exvito here
On Fri, Dec 16, 2016 at 8:27 PM, Glyph Lefkowitz wrote: > >> On Dec 16, 2016, at 5:22 AM, Cory Benfield wrote: >> >>> On 15 Dec 2016, at 12:07, exvito here wrote: >>> >>> Dear all, >>> >>> The subject says most of it. While diagnos

Re: [Twisted-Python] "disconnecting properly" in tests still hangs on macOS

2018-11-14 Thread exvito here
> On 14 Nov 2018, at 08:50, Chris Withers wrote: > > Right, so, I've been trying to get the technique in > https://jml.io/pages/how-to-disconnect-in-twisted-really.html to work for me. > > No hating please, most of my testing in the past has involved hitting a > relational database, so there'