Re: [Twisted-Python] Does anyone need / make use of SSHTransportAddress introduced in 12.1 ?

2015-03-18 Thread Glyph
> On Mar 17, 2015, at 11:51 PM, Adi Roiban wrote: > > On 18 March 2015 at 05:30, Glyph > wrote: >> >> On Mar 17, 2015, at 6:44 AM, Adi Roiban wrote: >> >> Hi, >> >> While trying to fix https://twistedmatrix.com/trac/ticket/5999 I found >> out about the SSHTra

Re: [Twisted-Python] twistechecker and twisted-dev-tools as part of twisted main repo

2015-03-18 Thread Adi Roiban
On 18 March 2015 at 05:43, Glyph wrote: > >> On Mar 16, 2015, at 2:17 AM, Adi Roiban wrote: > [snip] > I'm approximately -0 on this. I don't like the idea of dumping a bunch of > code into the main Twisted repo that isn't distributed along with Twisted > (personally I cannot wait to get rid of

Re: [Twisted-Python] twistechecker and twisted-dev-tools as part of twisted main repo

2015-03-18 Thread Glyph
> On Mar 18, 2015, at 1:38 AM, Adi Roiban wrote: > > On 18 March 2015 at 05:43, Glyph wrote: >> >>> On Mar 16, 2015, at 2:17 AM, Adi Roiban wrote: >> > [snip] > >> I'm approximately -0 on this. I don't like the idea of dumping a bunch of >> code into the main Twisted repo that isn't distri

Re: [Twisted-Python] Does anyone need / make use of SSHTransportAddress introduced in 12.1 ?

2015-03-18 Thread exarkun
On 17 Mar, 01:44 pm, a...@roiban.ro wrote: Am I the only one who fails to see the advantages of using SSHTransportAddress over a normal IAddress? This doesn't make any sense. `IAddress` has no attributes or methods. You can't do *anything* with an object that only provides `IAddress`. Jean

[Twisted-Python] Removing Python 2.6 Support after Twisted 15.1

2015-03-18 Thread HawkOwl
Hi, As Python 2.6 has been officially abandoned for a year+ (and will receive no further official security updates) and Python 2.7 has been available for almost five years, it might be time to put Python 2.6 support to bed. The only currently supported distro that has Python 2.6 is RHEL6, and R

Re: [Twisted-Python] twistechecker and twisted-dev-tools as part of twisted main repo

2015-03-18 Thread Adi Roiban
Ok. Let's focus on Git then. My biggest annoyance is buildbot and the builders with false positives. Is this the only wiki page documenting the progress and next steps for git migration https://twistedmatrix.com/trac/wiki/Infrastructure/SwitchToGit I have started working at vagrant file but the

Re: [Twisted-Python] Does anyone need / make use of SSHTransportAddress introduced in 12.1 ?

2015-03-18 Thread Adi Roiban
On 18 March 2015 at 10:33, wrote: > On 17 Mar, 01:44 pm, a...@roiban.ro wrote: >> >> >> Am I the only one who fails to see the advantages of using >> SSHTransportAddress over a normal IAddress? > > > This doesn't make any sense. `IAddress` has no attributes or methods. You > can't do *anything*

Re: [Twisted-Python] Removing Python 2.6 Support after Twisted 15.1

2015-03-18 Thread Adi Roiban
Nope. Not for my part. +1 for removing it. Thanks! -- Adi Roiban ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Removing Python 2.6 Support after Twisted 15.1

2015-03-18 Thread Itamar Turner-Trauring
+1 ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Removing Python 2.6 Support after Twisted 15.1

2015-03-18 Thread Phil Mayers
On 18/03/15 10:45, HawkOwl wrote: Hi, As Python 2.6 has been officially abandoned for a year+ (and will receive no further official security updates) and Python 2.7 has been available for almost five years, it might be time to put Python 2.6 support to bed. The only currently supported distro th

Re: [Twisted-Python] Removing Python 2.6 Support after Twisted 15.1

2015-03-18 Thread Donald Stufft
> On Mar 18, 2015, at 8:24 AM, Phil Mayers wrote: > > On 18/03/15 10:45, HawkOwl wrote: >> Hi, >> >> As Python 2.6 has been officially abandoned for a year+ (and will >> receive no further official security updates) and Python 2.7 has been >> available for almost five years, it might be time to

Re: [Twisted-Python] Removing Python 2.6 Support after Twisted 15.1

2015-03-18 Thread Phil Mayers
On 18/03/15 12:29, Donald Stufft wrote: Isn’t the RHEL answer here to just use SCLs to install Python 2.7? I've never actually come across the SCL stuff before. Thanks for the pointer. My latter point still stands - don't do it because others do it, do it because it's good for Twisted (or

Re: [Twisted-Python] Removing Python 2.6 Support after Twisted 15.1

2015-03-18 Thread HawkOwl
> On 18 Mar 2015, at 21:02, Phil Mayers wrote: > > On 18/03/15 12:29, Donald Stufft wrote: > >> Isn’t the RHEL answer here to just use SCLs to install Python 2.7? > > I've never actually come across the SCL stuff before. Thanks for the pointer. > > My latter point still stands - don't do it b

[Twisted-Python] __nonzero__ for Deferred

2015-03-18 Thread Glyph Lefkowitz
I'd like to deprecate and remove __nonzero__ on Deferreds. Occasionally I see code where someone (maybe even me) does "if d:" where they should have been doing "@d.addCallback def cb(result): if result: ...". Anybody else have this issue? Objections? -glyph _

Re: [Twisted-Python] twistechecker and twisted-dev-tools as part of twisted main repo

2015-03-18 Thread Glyph Lefkowitz
> On Mar 18, 2015, at 3:55 AM, Adi Roiban wrote: > > Ok. Let's focus on Git then. > > My biggest annoyance is buildbot and the builders with false positives. > > Is this the only wiki page documenting the progress and next steps for > git migration https://twistedmatrix.com/trac/wiki/Infrastr

Re: [Twisted-Python] Removing Python 2.6 Support after Twisted 15.1

2015-03-18 Thread Glyph Lefkowitz
> On Mar 18, 2015, at 5:29 AM, Donald Stufft wrote: > > >> On Mar 18, 2015, at 8:24 AM, Phil Mayers wrote: >> >> On 18/03/15 10:45, HawkOwl wrote: >>> Hi, >>> >>> As Python 2.6 has been officially abandoned for a year+ (and will >>> receive no further official security updates) and Python 2.

Re: [Twisted-Python] Removing Python 2.6 Support after Twisted 15.1

2015-03-18 Thread Donald Stufft
> On Mar 18, 2015, at 7:57 PM, Glyph Lefkowitz wrote: > >> >> On Mar 18, 2015, at 5:29 AM, Donald Stufft wrote: >> >> >>> On Mar 18, 2015, at 8:24 AM, Phil Mayers wrote: >>> >>> On 18/03/15 10:45, HawkOwl wrote: Hi, As Python 2.6 has been officially abandoned for a year+ (a

Re: [Twisted-Python] Removing Python 2.6 Support after Twisted 15.1

2015-03-18 Thread exarkun
On 18 Mar, 10:45 am, hawk...@atleastfornow.net wrote: Hi, As Python 2.6 has been officially abandoned for a year+ (and will receive no further official security updates) and Python 2.7 has been available for almost five years, it might be time to put Python 2.6 support to bed. The only curren

Re: [Twisted-Python] __nonzero__ for Deferred

2015-03-18 Thread exarkun
On 18 Mar, 10:03 pm, gl...@twistedmatrix.com wrote: I'd like to deprecate and remove __nonzero__ on Deferreds. Occasionally I see code where someone (maybe even me) does "if d:" where they should have been doing "@d.addCallback def cb(result): if result: ...". Anybody else have this issue? O

Re: [Twisted-Python] __nonzero__ for Deferred

2015-03-18 Thread Tristan Seligmann
On 19 March 2015 at 00:03, Glyph Lefkowitz wrote: > I'd like to deprecate and remove __nonzero__ on Deferreds. By "remove" do you mean "add an implementation that raises an exception"? (It seems like this must be what you meant, I just wanted to be clear since this is a slightly subtle issue) I'