Re: [Twisted-Python] deferToThread and trial

2014-05-30 Thread Jonathan Jacobs
Hi Piper, `successResultOf` is intended to be called on a Deferred which has a result (meaning `Deferred.errback` or `Deferred.callback` has been called on it already.) [1] In this case presumably your blocking call hasn’t finished (or even started?) by the time the assertion is executed, hen

Re: [Twisted-Python] Final request URI from an Agent response

2013-03-16 Thread Jonathan Jacobs
On Sat, Mar 16, 2013 at 3:49 PM, wrote: > However, there's no reason we can't have an object that > represents an IRI *without* writing a parser for all those forms. Agent > only needs minimal functionality of being able to figure out the > hostname, port number, and whatever makes up the rest.

[Twisted-Python] Final request URI from an Agent response

2013-03-15 Thread Jonathan Jacobs
Hello Twisters, I'm interested in working on ticket #5435: The ability to discover the final URI of an Agent request/response. Thomas summarised a previous IRC conversation on this topic quite well in a comment on the ticket [1]. The biggest issue I've encountered so far is that Request.uri is

Re: [Twisted-Python] Conch text attribute flattening quirks

2012-02-24 Thread Jonathan Jacobs
On Thu, Feb 23, 2012 at 16:12, wrote: > I think the behavior you observed is a bug in the implementation (I > noticed it during our IRC conversation the other day as well, but wasn't > sure if I'd made a mistake or misread something).  It should be fixed, > and perhaps that TODO test made to pass

Re: [Twisted-Python] Conch text attribute flattening quirks

2012-02-22 Thread Jonathan Jacobs
On Wed, Feb 22, 2012 at 17:25, Tim Allen wrote: > ...that is, there's no code for 'end bold' or 'end italics' (or blink, dim, > underline, invisible, any kind of colouring, etc.) just an 'end all > special attributes' code. Therefore it's reasonable for conch's helper > library to not handle neste

[Twisted-Python] Conch text attribute flattening quirks

2012-02-22 Thread Jonathan Jacobs
Hello, I'm hoping to wrap up work on ticket #3844 [1] before the next release of Twisted, however there are a few quirks in the small DSL used for specifying text with attributes (see the ticket for some commentary on these.) I decided to look more closely at what happens with Conch (which is w

Re: [Twisted-Python] IRCClient method naming advice

2012-01-28 Thread Jonathan Jacobs
On Sat, Jan 28, 2012 at 07:51, Matthew Pounsett wrote: > > I've found that the IRCClient protocol doesn't deal well with having its > connection interrupted.  If the TCP session goes away due to timeout or some > other interruption, it doesn't appear to notice.  As a result, I'm looking at > ad

Re: [Twisted-Python] Website visual improvements

2011-11-07 Thread Jonathan Jacobs
On Mon, Nov 7, 2011 at 17:03, Jasper St. Pierre wrote: > It's that way on my FF7 as well. Welcome to color spaces. Looks like I inadvertently saved it with the wrong embedded colour profile. Oops. ___ Twisted-Python mailing list Twisted-Python@twistedm

Re: [Twisted-Python] Website visual improvements

2011-11-07 Thread Jonathan Jacobs
On Mon, Nov 7, 2011 at 16:31, Jasper St. Pierre wrote: > Yes, the cloud's arrow looks a little too green. Making it more > green-yellow like the original download arrow might be better. For what it's worth the colour of the arrow in Anatoly's screenshot looks far greener than the way the image ap

Re: [Twisted-Python] Website visual improvements

2011-11-07 Thread Jonathan Jacobs
On Mon, Nov 7, 2011 at 16:13, anatoly techtonik wrote: > What is awesome are comment numbers. A pity > these are not clickable. The alterations to the Trac templates will make these clickable, I was just too lazy to manually edit all the HTML for the demonstration page (the fifth comment is click

Re: [Twisted-Python] Website visual improvements

2011-11-07 Thread Jonathan Jacobs
On Mon, Nov 7, 2011 at 06:11, Jonathan Ballet wrote: > On https://dl.dropbox.com/u/4030134/Twisted/5047.htm, the status > "Enhancement", "Fixed", "Closed" are not really vertically centered in > their boxes, is it one of the Firefox quirks you were speaking about? No, that was actually an issue.

[Twisted-Python] Website visual improvements

2011-11-06 Thread Jonathan Jacobs
Hello, I recently volunteered to make some visual improvements to the Twisted Trac website. I received a lot of good feedback and suggestions from the IRC channel, most of which I took to heart and fine-tuned the changes. I think everyone is generally happy with the changes, I'm happy with the cha

Re: [Twisted-Python] A Python enum library with a Twist

2011-01-31 Thread Jonathan Jacobs
On Tue, Feb 1, 2011 at 00:25, Glyph Lefkowitz wrote: > Nevertheless, it isn't present in Twisted yet and so it should have a 'tx' > name until that point.  If he really wanted to get 'twisted' into the name, > the branch should have been lp:~jjacobs/twisted/enum instead :). There was no real deci

[Twisted-Python] A Python enum library with a Twist

2011-01-31 Thread Jonathan Jacobs
Hi, First off there isn't actually a twist, it's just for Twisted addressing the points in #4671 [1]. Sorry to disappoint. Secondly I realise there are already at least a thousand Python enum libraries, most of which I haven't explored, feel free to mention these with supporting arguments. My poi

[Twisted-Python] Commit access

2009-07-19 Thread Jonathan Jacobs
Hello Twisted, I've been contributing to Twisted (jonathanj on the Trac instance, k4y on IRC) for around a year now. I'd be grateful for commit access to the Twisted repo and, as per glyph's suggestion, I'd like to formally request it. I'm not sure if I'm supposed to bow or not, so I'll just exi