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

2016-07-25 Thread Jason Litzinger
.args)) + def leaveGroup(self, addr, interface=""): """Leave multicast group, return Deferred of success.""" This does require the client specify the interface argument when calling joinGroup, e.g. self.transport.joinGroup("ff02::1", interf

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

2016-07-26 Thread Jason Litzinger
ould be super > helpful. > Indeed. I have an interest beyond the scope of this change so I'll see what I can do/find. Thanks! -Jason Litzinger ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

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

2016-07-27 Thread Jason Litzinger
> Nothing specific, although any conclusions drawn on the mailing list, or any > specific thoughts you have about how you're going to proceed, are always > helpful to record on the ticket for future reference. Even if you think > you're going to get it done in the next couple of days, chances a

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

2016-07-27 Thread Jason Litzinger
> > +def _joinAddrIPv6(self, interface, addr, join): > > +addr = socket.inet_pton(socket.AF_INET6, addr) > > +interface = socket.inet_pton(socket.AF_INET6, interface) > > +if join: > > +cmd = socket.IPV6_JOIN_GROUP > > +else: > > +cmd = so

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

2016-08-03 Thread Jason Litzinger
is is an acceptable constraint? The constraint being that, if no network interfaces are up, these tests are going to start failing, at least on Linux. I'm looking for a better option, but haven't found one as of yet. Thanks! -Jason Litzinger > __

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

2016-08-04 Thread Jason Litzinger
> When you say *no* interfaces, do you mean actually no interfaces? As in, no > loopback as well? I do not, sorry, that was poorly worded. The loopback interface was up for all test runs, and all other interfaces on my machine (ethernet and wifi) were down. Down in this context has two meanings

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

2016-08-04 Thread Jason Litzinger
eld the results I was hoping for, but, I assume that's my problem. Is there interest in a separate patch for these tests? I assume a new ticket? Thanks, -Jason Litzinger ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

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

2016-08-06 Thread Jason Litzinger
An update for those interested. I've been hoping for a solution to test IPv6 multicast using only the loopback interface. Unfortunately, the only working (on Linux) solution I've found is to manually add a route for the multicast prefix used in the tests. E.g. ip -6 route add ff01::/16 dev lo W

[Twisted-Python] Wiki page edit

2017-05-16 Thread Jason Litzinger
Hello, In going through the instructions on https://twistedmatrix.com/trac/wiki/TwistedDevelopment#Creatingyourworkenvironment I noticed an error in the invocation of the twistedchecker-trunk-diff command. The change needed is: # On Linux/OSX there is a helper to only raise error for the diff

Re: [Twisted-Python] Wiki page edit

2017-05-16 Thread Jason Litzinger
> You should have wiki edit permissions now for any future work. Let me know > if you have any issues. Thanks, will do! -Jason ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-py

[Twisted-Python] Wiki Developer doc leads to 404

2017-05-21 Thread Jason Litzinger
Hello, The link to the "Documentation Standard": http://twistedmatrix.com/documents/current/core/development/policy/doc-standard.html on https://twistedmatrix.com/trac/wiki/ContributingToTwistedLabs leads me to a 404. Should this go anywhere or just go away? Does the "Writing Style Guide" supe

[Twisted-Python] Question regarding patch submission

2017-06-25 Thread Jason Litzinger
trunk and was dropped when it was rebased. Not the end of the world, but might make reviewing the history on subsequent iterations of the PR a little strange. Thanks! -Jason Litzinger ___ Twisted-Python mailing list Twisted-Python@twistedmatrix

Re: [Twisted-Python] Question regarding patch submission

2017-06-26 Thread Jason Litzinger
On Mon, Jun 26, 2017 at 02:23:24PM -0400, Glyph wrote: > The comment about rebasing predates our current process; it was from the days > when we were using SVN. Nowadays we usually just merge trunk in to the > branch. Yikes, definitely didn't do that on the PR above, will from now on. If that

[Twisted-Python] Python 2.7.5 support

2017-08-26 Thread Jason Litzinger
Hello, I've done some preliminary digging into ticket 8037 and added my findings to the comments. One question that came from that investigation is whether python 2.7.5 is still officially supported by Twisted? Per [1] I'm assuming yes as there appears to be a buildbot job that uses this version

Re: [Twisted-Python] twisted.internet.ssl

2017-10-25 Thread Jason Litzinger
On Wed, Oct 25, 2017 at 08:07:26PM +, Enoch W. wrote: > A known bug? Hello Enoch, A question, does the server have an intermediate cert that it is using? If so, then the problem might be that your trust root needs both the CA and intermediate. I have some https test code I hacked together a

Re: [Twisted-Python] revert

2017-11-19 Thread Jason Litzinger
On Sat, Nov 18, 2017 at 10:59:52PM -0800, Glyph wrote: > https://twistedmatrix.com/trac/ticket/9280#comment:7 > introduced a pretty > serious regression (tracebacks are no longer printed by twisted.web) - can > someone please do the appropri

Re: [Twisted-Python] How to show traceback of "Unhandled error"?

2018-05-18 Thread Jason Litzinger
> Try this: > > > from twisted.logger import globalLogBeginner, textFileLogObserver > from twisted.internet.defer import Deferred > import sys > > globalLogBeginner.beginLoggingTo([textFileLogObserver(sys.stdout)]) > > def raiseErr(what): > raise Exception(what) > > d = Deferred() > d.addC

[Twisted-Python] Python 3: Odd failure to print unhandled error tb

2018-05-30 Thread Jason Litzinger
erpreter shutting down, but I'm not confident enough in my tests to know whether that wasn't triggered by me. Any thoughts on why no traceback is printed for case 1? Is it even worth worrying about? Thanks, -Jason Litzinger * Tested with Python 3.6 on Arch Linux, Python 3.5.2 on ubuntu

Re: [Twisted-Python] Python 3: Odd failure to print unhandled error tb

2018-05-30 Thread Jason Litzinger
> My guess is that since `d` is at the global scope, it doesn't get garbage > collected until some unfortunately late phase in the interpreter tear-down > where maybe stderr isn't even available any more. Here be dragons. > > I'd definitely ignore this case for now and fix the others, which are

[Twisted-Python] Change for 7927 back in review

2018-07-22 Thread Jason Litzinger
This email is at Glyph's request (see the review). I've made the requested changes and, aside from a pre-existing twistedchecker bug, all tests are passing. 7927 is again ready for review. The PR is here: https://github.com/twisted/twisted/pull/1039 Ticket is here: https://twistedmatrix.com/t