Re: [Twisted-Python] More tests running on Python 3

2016-08-11 Thread Craig Rodrigues
I looked at latest Travis builds on Linux: DATE BUILD = August 11, 2016 https://travis-ci.org/twisted/twisted/jobs/151440581 Tests on Python 2.7 === 11640 (skips=2083, successes=9557) Tests on Python 3.5 96

Re: [Twisted-Python] More tests running on Python 3

2016-08-11 Thread Cory Benfield
This is really excellent work! Cory > On 11 Aug 2016, at 13:42, Craig Rodrigues wrote: > > I looked at latest Travis builds on Linux: > > DATE BUILD > = > August 11, 2016 https://travis-ci.org/twisted/twisted/jobs/151440581 >

Re: [Twisted-Python] More tests running on Python 3

2016-08-11 Thread Adi Roiban
On 11 August 2016 at 13:42, Craig Rodrigues wrote: > I looked at latest Travis builds on Linux: > > DATE BUILD > = > August 11, 2016 https://travis-ci.org/twisted/twisted/jobs/151440581 > > > Tests on Python 2.7 > === > 11640

[Twisted-Python] SSL4ClientEndpoint not updating the transport's connected flag on connection lost

2016-08-11 Thread Adi Roiban
Hi, I have observed that when a SSL4ClientEndpoint was used, the protocol's transport `connected` attribute is not updated by the wrapper when the connection is lost. I have this code which will need your own server cert+key file: https://gist.github.com/adiroiban/8e0be840f81750f88a587e634ddfb19

[Twisted-Python] twisted.internet.protocol.Protocol.connected flag purpose

2016-08-11 Thread Adi Roiban
Hi, Looking at the code in trunk [1] I can see that t.internet.protocol.Protocol will update the 'connected' attribute upon makeConnection but will not update it on connectionLost Is this the intended design? Is this design documented somewhere ? I have check the narrative docs [2] and api-docs[

[Twisted-Python] reading multipart/form-data headers

2016-08-11 Thread Burak Arslan
Hello All, You can find a sample HTTP POST request using HTTP multipart/form-data at the end of this message. The server that handles this request is using twisted so I end up with a Request object. Is there a way I can extract the file name ("image008.jpg") from this stream? I'm looking at the s

Re: [Twisted-Python] [Twisted] #7598: Port twisted.spread.pb to Python3

2016-08-11 Thread Wolfgang Rohdewald
Am Dienstag, 2. August 2016, 10:45:32 CEST schrieb Wolfgang Rohdewald: > Am Donnerstag, 28. Juli 2016, 11:27:15 CEST schrieb Twisted: > > #7598: Port twisted.spread.pb to Python3 > > did you test with client on Python2 and server on Python3 and vice versa? > > Not a bug report, but anyway ... Thi

Re: [Twisted-Python] twisted.internet.protocol.Protocol.connected flag purpose

2016-08-11 Thread Glyph Lefkowitz
> On Aug 11, 2016, at 7:21 AM, Adi Roiban wrote: > > Hi, > > Looking at the code in trunk [1] I can see that > t.internet.protocol.Protocol will update the 'connected' attribute > upon makeConnection but will not update it on connectionLost > > Is this the intended design? I'm sure someone in

Re: [Twisted-Python] [Twisted] #7598: Port twisted.spread.pb to Python3

2016-08-11 Thread Glyph Lefkowitz
> On Aug 11, 2016, at 8:56 AM, Wolfgang Rohdewald > wrote: > > Am Dienstag, 2. August 2016, 10:45:32 CEST schrieb Wolfgang Rohdewald: >> Am Donnerstag, 28. Juli 2016, 11:27:15 CEST schrieb Twisted: >>> #7598: Port twisted.spread.pb to Python3 >> >> did you test with client on Python2 and serve

Re: [Twisted-Python] reading multipart/form-data headers

2016-08-11 Thread Glyph Lefkowitz
> On Aug 11, 2016, at 8:55 AM, Burak Arslan wrote: > > Hello All, > > You can find a sample HTTP POST request using HTTP multipart/form-data at the > end of this message. > > The server that handles this request is using twisted so I end up with a > Request object. Is there a way I can extrac

Re: [Twisted-Python] clientfactory cleanup slow-down (after many http requests)

2016-08-11 Thread Manish Tomar
Wow! This is the friendliest way to welcome a new Twisted programmer. Great job Glyph! :) Regards, Manish On Sat, Aug 6, 2016 at 3:51 PM, Glyph Lefkowitz wrote: > > On Aug 6, 2016, at 03:48, Randomcoder wrote: > > Hello, > > I've been working on a small Twisted program. > > > Cool, thanks for

[Twisted-Python] txtorcon 0.15.1

2016-08-11 Thread meejah
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There was a small issue in 0.15.0 noticed by the Debian reproducible builds (thanks irl@debian for your packaging work!) * fix issue 179 (Circuit.age() incorrect default arg) You can download the release from PyPI or GitHub (or of course "pip ins