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-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] RFC: IPv6 multicast join/ticket 6597

2016-07-26 Thread Glyph Lefkowitz
> On Jul 25, 2016, at 9:43 PM, Jason Litzinger wrote: > > > Hello, > > I'm looking at making the changes to support IPv6 multicast groups as > described > in ticket 6597 but wanted to get some feedback (and get a feel whether this is > even desirable) before formally submitting any patches.

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 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 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 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-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.

[Twisted-Python] Pydoc parameter formatting and explaining interfaces

2016-07-26 Thread Daniel Sank
This is a branch from the thread with subject "Request for help with Twisted bindings in M2Crypt". Regarding my inability to read documentation: > This does at least point to a real problem with pydoctor in the way it presents types. > It should probably put them in their own colored box, not use

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] Pydoc parameter formatting and explaining interfaces

2016-07-26 Thread Glyph Lefkowitz
> On Jul 26, 2016, at 9:37 AM, Daniel Sank wrote: > > This is a branch from the thread with subject "Request for help with Twisted > bindings in M2Crypt". > > Regarding my inability to read documentation: > > > This does at least point to a real problem with pydoctor in the way it > > presen

[Twisted-Python] txtorcon 0.15.0

2016-07-26 Thread meejah
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm happy to announce txtorcon 0.15.0: * added support for NULL control-port-authentication which is often appropriate when used with a UNIX domain socket * switched to https://docs.python.org/3/library/ipaddress.html instead of Google's i

Re: [Twisted-Python] Pydoc parameter formatting and explaining interfaces

2016-07-26 Thread Clayton Daley
Speaking just from my own experience, I don't think it's a problem with the docs per se. Rather, I think there's often a disconnect between the answers people are looking for and the nature of Twisted. It's hard to explain, but this is the best I can manage: - If you're used to using framewor

[Twisted-Python] Fixes for Twisted bindings in M2Crypto

2016-07-26 Thread Craig Rodrigues
On Tue, Jul 26, 2016 at 8:47 AM, Matěj Cepl wrote: > > I believe I have fixed all I can do without actually understanding Twisted > in > https://gitlab.com/mcepl/m2crypto/commit/6cd5f87b31e50016ebb7e44f3f2ae46610bc24e0. > So now, if Twisted is so transparent and perfectly understandable, could >

Re: [Twisted-Python] RFC: IPv6 multicast join/ticket 6597

2016-07-26 Thread Jason Litzinger
> > Thanks for taking this up! No problem, do I need to reflect anything in the Ticket to indicate I'm looking at it? > > 'twisted.internet.udp', as an importable module; not 'udp' as a feature of > Twisted (or of the Internet, for that matter). My question was poorly phrased, I assumed that i