Re: [Twisted-Python] revisiting onboarding

2015-02-08 Thread Tom Prince
Glyph Lefkowitz writes: > So I have a proposal for a scaled back process that nevertheless would give > us something official-ish: > <..details...> I support this proposal. Tom ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http:

Re: [Twisted-Python] Fwd: Adding callbacks using loop variables

2015-05-06 Thread Tom Prince
Another option is for loop_var in a_dict['loop_vars']: d = self.returns_a_deferred(loop_var["x"]) d.addCallback( lambda ret_val, loop_var=lopp_var: self.do_another_thing( other_param, loop_var, ret_val) ) ) _dli

Re: [Twisted-Python] Multiple plugins in "twistd"

2015-05-19 Thread Tom Prince
Glyph writes: > You could also find some other way to split the argument list but "+" doesn't > seem particularly obscure in this context to me. (If there's really a need > to pass a literal "+" to a plugin we could add an escaping syntax as well.) I think if we are adding syntax, then we sho

Re: [Twisted-Python] Streaming HTTP

2015-12-07 Thread Tom Prince
After having written the following comments, I realized that my thoughts are only about the high-level interface of Site/Resource. I think those are the interfaces most users care about, so what it makes most sense to think deeply about having a painless transiftion for. I suspect that if people ar

Re: [Twisted-Python] Streaming HTTP

2015-12-07 Thread Tom Prince
> When the object receiving the request is ready to send a response, it > calls…something (sendResponse?) and provides an object implementing a server > IResponse. The code in the H2Stream/H2Connection sends the headers, then > calls deliverBody on the IResponse, passing H2Connection (again via

Re: [Twisted-Python] incompatible change - need revert before release

2015-12-07 Thread Tom Prince
Glyph Lefkowitz writes: > Tom Prince discovered a regression on > https://twistedmatrix.com/trac/ticket/7016#comment:14 > <https://twistedmatrix.com/trac/ticket/7016#comment:14> - I think that this > was introduced after 15.4, so it needs to be rolled back (or fixed, if &g

Re: [Twisted-Python] Suggested plan for GitHub migration

2015-12-07 Thread Tom Prince
Glyph Lefkowitz writes: >> Probably would be a good idea to have a list of such changes *before* the >> migration. > > Yes. Everything should be written up and reviewed beforehand, and There has been a lot of words written talking about coming up with a plan for the migration, but I have yet t

Re: [Twisted-Python] Attaching the release number to a closed/merged ticket

2015-12-07 Thread Tom Prince
> Amber commented that using milestones for such a thing is not a good idea > and that we should use tags like: landed-in-15.5, landed-for-15.5 ... and > keep milestones like Python-3 unchanged. I think rather than having a tag, it would make more sense to have a custom field (http://trac.edgewall

Re: [Twisted-Python] incompatible change - need revert before release

2015-12-07 Thread Tom Prince
Glyph Lefkowitz writes: > If it's been in a release, then there's probably nothing to do. It's > a shame that this went out, but once a breakage like this has happened > we have to live with it because otherwise, as you say, we'd be > breaking compatibility for the people that already upgraded.

Re: [Twisted-Python] Attaching the release number to a closed/merged ticket

2015-12-07 Thread Tom Prince
Glyph Lefkowitz writes: > I frequently answer stack overflow questions where I want to say what release > of Twisted a particular bug was fixed in, and it's unfortunately hard to > discover. The attached script should get most of the versions for tickets. There are a handful of tickets that get

Re: [Twisted-Python] PotentialZombieWarning warning message?

2015-12-15 Thread Tom Prince
"pisymbol ." writes: > The fact is the Python community at large then needs to convince the > distro maintainers accordingly. Telling a customer to update their > entire platform for a newer version of Python isn't going to fly a lot > of times (and remember, someone of them have support agreemen

Re: [Twisted-Python] operations: baby steps. buildbot move?

2016-02-01 Thread Tom Prince
Amber "Hawkie" Brown writes: >> It looks to me like the thing I need to do is 'fab config.production >> buildbot.stop; fab config.production buildbot.dump', then make the relevant >> DNS change. At this point I think I need to add a new environment to >> ENVIRONMENTS and do 'fab config.buildb

Re: [Twisted-Python] Ticket #8244 (old-style decorator)

2016-03-23 Thread Tom Prince
On Tue, Mar 22, 2016 at 10:26 PM, Glyph wrote: > Nothing about 8244 would involve making more hybrid classes. Classes > decorated as @oldStyle must be pure old style (the semantics of hybrids are > much, much closer to new-style than old-style) so they have to be what they > are today. When we f

Re: [Twisted-Python] Coverage exceptions

2016-07-04 Thread Tom Prince
On Sun, Jul 3, 2016 at 8:13 AM, Adi Roiban wrote: > I would prefer to see the coverage reports for tests, even if we don't > enforce 100% coverage. Is a quick way to check that the test is executed on > at least one builder. I think this is definitely desirable. > We are preaching the Ultimate

Re: [Twisted-Python] Endpoint composition syntax

2016-10-12 Thread Tom Prince
I think if we are reconsidering the endpoint syntax, we should explicitly have nested delimiters for quoting (so something like () or {}), to easily allow multiple levels of nested endpoint strings (or any other kind of string). ___ Twisted-Python mailing

Re: [Twisted-Python] Endpoint composition syntax

2016-10-12 Thread Tom Prince
> Do you have a suggestion or an example of how this might be used? The idea I have in my head isn't backwards compatible, but I was thinking of something like haproxy:(tls:hostname.example:endpoint=(tcp:7.6.5.4:443)) This would break any endpoint description that starts with `(` but allows arb

Re: [Twisted-Python] Endpoint composition syntax

2016-10-13 Thread Tom Prince
> This applies more generally; no need for any weird hacks. Any 'new' plugin could just opt in to a different syntax; we can just look up until the first ':'; we just need to define a new interface for a new syntax. I don't think that this provides a good user experience. 1) There are existing e

[Twisted-Python] Buildbot downtime

2012-06-22 Thread Tom Prince
I am plannig to upgrade twisted's buildbot in the near future. In preperation for that, I am going to take down the production buildbot on Tuesday, June 26, around 1600 UTC[1]. During that time, the result of any builds done will be lost. Thus, I'd ask that people avoid committing to trunk during

Re: [Twisted-Python] Make Twisted/PyPy a milestone?

2012-06-24 Thread Tom Prince
Tobias Oberstein writes: > Hi all, > > I'd like to ask if it would be appropriate and whether there is interest in > making > > "support Twisted on PyPy" > > a project milestone for Twisted. To a large extent, it is already supported (although not everything works yet. It has been deployed in p

Re: [Twisted-Python] Buildbot downtime

2012-06-26 Thread Tom Prince
This is a reminder that I am going to to take twisted's buildbot at 1600 UTC (just over an hour from now). While it is down, I'll ask people not to commit to trunk. I'll send an email when it is back up. While the buildbot is down, I will be testing a new version. Feel free to poke around, and run

Re: [Twisted-Python] Buildbot downtime (correction

2012-06-26 Thread Tom Prince
I plan to take it down at 1600 UTC (which is ~2h, not 1h). Tom ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Buildbot downtime

2012-06-26 Thread Tom Prince
The buildbot is back up. Tom ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] deferred graph?

2012-07-18 Thread Tom Prince
Dan Stromberg writes: > Strangely, this doesn't give the report until after the sleep finishes... That is because the code you included doesn't actually print the returned traceback. The reason that it gets printed at the end is because it gets garbage collected then. The following code prints o

Re: [Twisted-Python] Buildbot downtime

2012-09-03 Thread Tom Prince
I plan to upgrade twisted's buildbot tomorrow around Monday, September 3, 16h00 UTC[1]. During that time, the result of any builds done may be lost. Thus, I'd ask that people avoid committing to trunk during that time. I will send a reminder before I take down the buildbot both here, and on #twis

Re: [Twisted-Python] Buildbot downtime

2012-09-03 Thread Tom Prince
Tom Prince writes: > I will send a reminder before I take down the buildbot both here, and on > #twisted and #twisted-dev. Well, so it turns out that the upgrade hapenned before my email got through. But the upgrade appears to have gone through without issue. The builbot now re

Re: [Twisted-Python] Running twistd and tac files as Windows service

2012-10-23 Thread Tom Prince
As JP said, buildbot has some code for this at https://github.com/buildbot/buildbot/blob/master/master/contrib/windows/buildbot_service.py ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/

Re: [Twisted-Python] inlineCallbacks loses custom exception type?

2012-12-05 Thread Tom Prince
Using the slightly simplified code (nothing uses the reactor, so do stuff synchronosuly): import sys, traceback from twisted.internet import defer class MyException(Exception): pass def go2(): "An ordinary deferred-returning function that will return a deferred which is ready to errback

Re: [Twisted-Python] Lore, Sphinx, and getting to the finish line (was: re: lore and tickets and other stuff)

2013-03-02 Thread Tom Prince
> On the other hand, I have at several points been willing to make the > "cutover", and for various different reasons, been told it wasn't happening > until things were closer to "perfect" (for some value of "perfect") than > they were at the time. Well, the way the cut-over will eventually happen

Re: [Twisted-Python] How to dispatch message to different servers

2013-03-02 Thread Tom Prince
Benjamin BERTRAND writes: > Le 2 mars 2013 à 15:33, Laurens Van Houtven <_...@lvh.cc> a écrit : > >> I'm guessing that this is another question that will be solved as >> soon as I see the code (perhaps you should put all your code up >> somewhere); but all I do know is that all Deferreds buy you

Re: [Twisted-Python] Twisted on Jython

2013-03-09 Thread Tom Prince
Adi Roiban writes: >> I suspect one early task will be to get a Jython builder set up on >> http://buildbot.twistedmatrix.com/ again. > > I can volunteer to run a Jython builder. Sure: https://twistedmatrix.com/trac/wiki/ContinuousIntegration/TestSlaveConfiguration#DonatingaSlave > A couple of w

Re: [Twisted-Python] GitHub Twisted organization/repo

2013-03-26 Thread Tom Prince
Adi Roiban writes: > I now see that Tom Prince has already created git branches on GitHub > for the ticket he is reviewing. Many thanks! My repo is actually currently updated via a post-commit hook. Eventually, that will change to point at twisted/twisted on github, but I want to run it

Re: [Twisted-Python] GSOC 2013 Project Idea for Twisted Matrix

2013-04-21 Thread Tom Prince
Chitrank Dixit writes: > but these patches have Low or somewhat Normal priority and these are tagged > "easy" not "easy gsoc" or "documentation gsoc". The 'gsoc' keyword there is actually for reviewers, to give priority to them. (And it is incoistently applied.) > Should I keep on submitting su

Re: [Twisted-Python] Helping the Python 3 port

2013-05-08 Thread Tom Prince
Jonathan Ballet writes: > Hi, Welcome. > I'm interested to give a help to port Twisted to Python 3. Have you seen https://twistedmatrix.com/trac/wiki/Plan/Python3 ? That is the plan for porting to python3. Tom ___ Twisted-Python mailing list Twi

[Twisted-Python] Service downtime

2013-05-19 Thread Tom Prince
/migration-report.html Tom Prince ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Service downtime

2013-05-23 Thread Tom Prince
Tom Prince writes: > On Wednesday, at about 10 MDT (16 UTC), there will be downtime of all > twisted services, as live data is transfered over. This may last > up-to a couple of hours. Unfortunately, the maintenance window was missed. It will now take place this coming Monday, at abo

Re: [Twisted-Python] Twisted on PyPI

2013-05-25 Thread Tom Prince
Donald Stufft writes: > So I'm emailing you all to warn you about this upcoming change since > Twisted is one of the major projects affected and also to see if the > Twisted developers would prefer a different rename than Twisted-Web. Looking at the project pages on pypi, those don't appear to b

Re: [Twisted-Python] Service downtime

2013-05-27 Thread Tom Prince
>> On Wednesday, at about 10 MDT (16 UTC), there will be downtime of all >> twisted services, as live data is transfered over. This may last >> up-to a couple of hours. > > Unfortunately, the maintenance window was missed. It will now take place > this coming Monday, at about 10 MDT (16 UTC). The

Re: [Twisted-Python] Twisted on PyPI

2013-05-29 Thread Tom Prince
Tom Prince writes: > Donald Stufft writes: > >> So I'm emailing you all to warn you about this upcoming change since >> Twisted is one of the major projects affected and also to see if the >> Twisted developers would prefer a different rename than Twisted-Web. >

Re: [Twisted-Python] Service downtime

2013-05-29 Thread Tom Prince
Tom Prince writes: > Mail and user accounts still need to be migrated, and the web interface > to mailman is thus currently unavailable. The migration has now been completed. Tom ___ Twisted-Python mailing list Twisted-Python@twistedmatr

Re: [Twisted-Python] Twisted on PyPI

2013-06-01 Thread Tom Prince
exar...@twistedmatrix.com writes: >>There appears to be a consensus to remove them, but I don't have access >>to do that. > > What are we removing? All of the subprojects on PyPI? Yes. > If so, the release process will need to be adjusted to avoid re-adding them. https://twistedmatrix.com/trac/w

[Twisted-Python] OSX 10.8 buildslave

2013-06-01 Thread Tom Prince
Due to circumstances beyond our control, the machine that we have been using to host the OSX 10.8 buildslave is currently unavailable. As per policy[1], official support will be dropped for this platform before the next release, unless a replacement is found. Tom [1] https://twistedmatrix.com

Re: [Twisted-Python] github, again

2013-06-08 Thread Tom Prince
When I first saw this, I was excited at the possibility of moving to git (although this doesn't affect me, as I've been using git exclusively for months already). On the other hand, I'm cautious about moving our workflow to github. Although being able to comment on the diff inline is very convenie

[Twisted-Python] Announcing twisted-dev-tools

2013-06-14 Thread Tom Prince
http://labs.twistedmatrix.com/2013/06/announcing-twisted-dev-tools.html I'd like to announce the release of twisted-dev-tools. It is a project that collects various python scripts useful for developer working on twisted itself. Right now, it contains the following tools. - force-build: This

Re: [Twisted-Python] If the errbacks of a canceled Deferred are called with error other than CancelledError, is this acceptable?

2013-06-19 Thread Tom Prince
Glyph writes: > On Jun 18, 2013, at 8:42 AM, Christopher Armstrong > wrote: > >> On Tue, Jun 18, 2013 at 8:37 AM, Itamar Turner-Trauring >> wrote: >> I believe the specific module he is working on is the POP3 client, >> but it's a general question - should we try to keep CancelledError >> per

Re: [Twisted-Python] If the errbacks of a canceled Deferred are called with error other than CancelledError, is this acceptable?

2013-06-20 Thread Tom Prince
Terry Jones writes: > OK, maybe someone can explain the original "Well, it already raises > `CancelledError`. Every deferred that doesn't have explicitly handle > cancelling already does:" to me, because I didn't get it at all! This is what happens when a deferred is cancelled: a) If the deferre

Re: [Twisted-Python] If the errbacks of a canceled Deferred are called with error other than CancelledError, is this acceptable?

2013-06-20 Thread Tom Prince
Terry Jones writes: > But, I also built some queuing things where I would have liked extra > information. For example, an app is processing jobs on behalf of a user, > [...] Thinking about this for a little bit, it seems like there is quite a bit more state to your jobs, that simply an eventual r

Re: [Twisted-Python] If the errbacks of a canceled Deferred are called with error other than CancelledError, is this acceptable?

2013-06-22 Thread Tom Prince
Terry Jones writes: > Based on JP's comment, I still think I'm missing something here. The original subject of this thread? There was a question of what errorq > The problem that I was originally trying to address by getting 'cancel' > into deferreds is that the control flow you mention gets to

Re: [Twisted-Python] BuildBot problems

2013-07-06 Thread Tom Prince
night, Tom Prince said he was having difficulty accessing the PC (it > wasn't clear when.) > > We are having router problems (some kind of memory leak that forces us to > reboot it about once a week.) We rebooted it early yesterday evening. > After receiving Tom's complaint

[Twisted-Python] July Report

2013-07-19 Thread Tom Prince
http://labs.twistedmatrix.com/2013/07/july-report.html This will be my last report, until the beginning of September. I have, for many years, been a volunteer at the Edmonton Folk Music Festival[1]. For the next month, I will be busy setting it up (and then taking it down, and so will not have tim

Re: [Twisted-Python] Twisted as a House for Sale

2013-08-21 Thread Tom Prince
Glyph writes: > I'm pretty sure we can scare up some hosting resources for things if > you want to have some kind of demo persistent Twisted services > running. twistedmatrix.com is no longer buckling under the pressure > of its users - why, I just ssh'd in, and the load is less than 1.0! > By ou

Re: [Twisted-Python] Garbage in logfiles?

2013-10-16 Thread Tom Prince
Conor Sayres writes: > I have set up twisted logging to record all communication between our > devices. When we simulate our system with a high frequency log rollover rate > (~5 seconds), many of the logs contain only garbage. Here is an example of a > few lines in a given bad log file: > >

Re: [Twisted-Python] Filing Bugs

2013-12-06 Thread Tom Prince
Gerrat Rickert writes: > ...and so finally, I hit upon the right case, and it sent me an email with a > new password Have you checked your spam folder? Looking at the mail logs, it appears a mail was sent at 2013-12-04 14:02:11 MST. Tom ___ Twiste

Re: [Twisted-Python] Twisted at PyCon 2014

2014-04-12 Thread Tom Prince
The twisted open space will be at 19h00 today in 515bc. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Distributing apilinks.py

2014-05-05 Thread Tom Prince
Eventually, apilinks should just go away. I think I have convinced Michael (pydoctor's maintainer) that pydoctor should just genereate an objects.inv that sphinx can read. Then the regular :py:*: annoations can be used, rather than the apilinks ones (which interpert <> backwards anyway). That does

Re: [Twisted-Python] Distributing apilinks.py

2014-05-06 Thread Tom Prince
Glyph writes: > This would be very nice. Did you file an actual bug on pydoctor or is this a > conversation which will be momentarily forgotten? :) Not exactly, but https://bugs.launchpad.net/pydoctor/+bug/1246713 and https://bugs.launchpad.net/pydoctor/+bug/1287458 both document that solution

Re: [Twisted-Python] Tubes!

2014-07-12 Thread Tom Prince
Glyph Lefkowitz writes: While I currently believe that Tubes's API has firmed up and its current API is suitable for general purpose use, I have believed that at various points in the past as well when it was completely wrong. This sentiment is very much of the "this time for sure!" variety,