Re: [Twisted-Python] Request for help with Twisted bindings in M2Crypto

2016-07-26 Thread Glyph Lefkowitz
> On Jul 26, 2016, at 8:43 AM, Matěj Cepl wrote: > > On 2016-07-26, 07:41 GMT, Glyph Lefkowitz wrote: >> I do not want to denigrate the work you've done maintaining a legacy >> library. I think it's noble to take on this kind of work. > > I was watching “A Special Day” (1977) yesterday so I h

Re: [Twisted-Python] Request for help with Twisted bindings in M2Crypto

2016-07-26 Thread Matěj Cepl
On 2016-07-25, 09:55 GMT, Craig Rodrigues wrote: First of all, thank you very much for all help you gave to M2Crypto. However, ... I call shenanigans on you. Nothing of which I have been accused of has anything to do with what I meant. When I said „opaque“, I didn’t mean to offend Twisted.

Re: [Twisted-Python] Request for help with Twisted bindings in M2Crypto

2016-07-26 Thread Matěj Cepl
On 2016-07-26, 07:41 GMT, Glyph Lefkowitz wrote: I do not want to denigrate the work you've done maintaining a legacy library. I think it's noble to take on this kind of work. I was watching “A Special Day” (1977) yesterday so I have somewhat lesser tolerance for the pompous superiority comp

Re: [Twisted-Python] Request for help with Twisted bindings in M2Crypto

2016-07-26 Thread Matěj Cepl
On 2016-07-26, 06:05 GMT, Glyph Lefkowitz wrote: An interface is a very simple concept Actually I found https://twistedmatrix.com/documents/current/core/howto/components.html to be a very good description. Yes, the concept is not that complicated, but it is very uncommon in the Pythonic worl

Re: [Twisted-Python] Request for help with Twisted bindings in M2Crypto

2016-07-26 Thread Glyph Lefkowitz
> On Jul 26, 2016, at 1:18 AM, Glyph Lefkowitz wrote: > >> I spent a considerable amount of time reading the PB code, reproducing parts >> of it myself, and talking to people on IRC and the mailing list to >> understand a particularly weird issue in PB. See here for the bug I was >> trying to

Re: [Twisted-Python] Request for help with Twisted bindings in M2Crypto

2016-07-26 Thread Glyph Lefkowitz
> On Jul 26, 2016, at 12:26 AM, Daniel Sank wrote: > > Glyph, > > >> 2. I have no idea what a "task" is. I realize this is python and yay > >> duck-typing but not > >> specifying the expected behavior of an argument seems like a big omission. > > > Did you miss the part where it said "type: 0

Re: [Twisted-Python] Request for help with Twisted bindings in M2Crypto

2016-07-26 Thread Glyph Lefkowitz
> On Jul 25, 2016, at 02:03, Matěj Cepl wrote: > > 3) Moreover, I would like to know how much interest there is in > maintaining the M2Crypto module for Twisted. I got some hope from > http://twistedmatrix.com/trac/wiki/TransportLayerSecurity >

Re: [Twisted-Python] Request for help with Twisted bindings in M2Crypto

2016-07-26 Thread Daniel Sank
Glyph, >> 2. I have no idea what a "task" is. I realize this is python and yay duck-typing but not >> specifying the expected behavior of an argument seems like a big omission. > Did you miss the part where it said "type: 0-argument callable" in the documentation? Yes :( I can only guess that I

Re: [Twisted-Python] Request for help with Twisted bindings in M2Crypto

2016-07-25 Thread Glyph Lefkowitz
> On Jul 25, 2016, at 3:10 AM, Daniel Sank wrote: > > I realize this is not the main point of this thread, but I'd like to make a > comment regarding Twisted being opaque. > > > Twisted is open source, so none of the data types are opaque. > > That's a non sequitur. A bunch of open source tex

Re: [Twisted-Python] Request for help with Twisted bindings in M2Crypto

2016-07-25 Thread Glyph Lefkowitz
> On Jul 25, 2016, at 5:19 AM, Cory Benfield wrote: > > Well, at this point I should argue that _threads, being prefixed by an > underscore, is technically a private module to Twisted. That means that, > realistically, you shouldn’t really need to consult this *at all*: if anyone > outside of

Re: [Twisted-Python] Request for help with Twisted bindings in M2Crypto

2016-07-25 Thread Cory Benfield
> On 25 Jul 2016, at 12:10, Daniel Sank wrote: > > I just randomly clicked through the docs to this: > https://twistedmatrix.com/documents/current/api/twisted._threads.IWorker.html > > > Note that: > > 1. It is a

Re: [Twisted-Python] Request for help with Twisted bindings in M2Crypto

2016-07-25 Thread Daniel Sank
I realize this is not the main point of this thread, but I'd like to make a comment regarding Twisted being opaque. > Twisted is open source, so none of the data types are opaque. That's a non sequitur. A bunch of open source text in a language you don't understand is opaque, or perhaps better ca

Re: [Twisted-Python] Request for help with Twisted bindings in M2Crypto

2016-07-25 Thread Craig Rodrigues
On Mon, Jul 25, 2016 at 2:03 AM, Matěj Cepl wrote: > > 2) Even more pressing is that the Twisted module breaks my tests when > porting to py3k (https://travis-ci.org/mcepl/M2Crypto/jobs/146633964). > Given the opaque and complicated data types in Twisted, I see horribly > complicated task of divi

Re: [Twisted-Python] Request for help with Twisted bindings in M2Crypto

2016-07-25 Thread Craig Rodrigues
On Mon, Jul 25, 2016 at 2:03 AM, Matěj Cepl wrote: > Hello, > > Would somebody raise up their hand to help me and help Twisted? > > Hi, Earlier this year, I contributed lots of patches to you in M2Crypto to port it to py3k. Now I have shifted efforts to Twisted, where in the past month I have co

[Twisted-Python] Request for help with Twisted bindings in M2Crypto

2016-07-25 Thread Matěj Cepl
Hello, I took over a maintenance of (surprisingly) still quite popular M2Crypto project in the last year. I have just released 0.25.0 which is my fifth release during that time and I think we are slowly but surely moving towards porting to py3k, cleaning up the code, etc. I am now working on port