Re: [Twisted-Python] Cannot access raise ticket in Issue Tracker

2017-06-19 Thread Christopher Armstrong
get an >> Error: Not Found >> > > Where did you get this login link? When I visit the front page logged > out, the login link goes to https://twistedmatrix.com/trac/github/login > > > If you go to http://twistedmatrix.com/trac/newticket while you're not logged in, yo

Re: [Twisted-Python] INCOMPATIBLE CHANGE: twisted.python.dist renamed to twisted.python._setup

2016-08-08 Thread Christopher Armstrong
The reason this module never had an underscore (and instead has the "don't use this outside of Twisted" line in the docstring) is because it originated in a time when Twisted was ostensibly split up into multiple projects, and I ill-advisedly decided that it technically needed to be "public" in ord

Re: [Twisted-Python] Usage of diffresource in Twisted's Trac

2015-09-09 Thread Christopher Armstrong
> On Sep 9, 2015, at 1:31 PM, Glyph Lefkowitz wrote: > > >> On Sep 9, 2015, at 7:51 AM, Adi Roiban > > wrote: >> >> Is there anybody still using the diffresource links in Trac tickets? >> >> If you are still using it, do you think you can use the GitHub diff instead? >>

Re: [Twisted-Python] Trapping exceptions in Deferred

2015-05-12 Thread Christopher Armstrong
> On May 12, 2015, at 1:25 PM, Mashiat Sarker Shakkhar > wrote: > > On Tue, May 12, 2015 at 1:38 PM, Louis D. Burr > wrote: > Hi Mashiat, > > [...] > > Thanks for providing the example. Your code as presented here catches both > TimeoutError and ResponseNeverRe

Re: [Twisted-Python] Branch name convention

2015-03-22 Thread Christopher Armstrong
> On Mar 21, 2015, at 7:10 PM, Glyph wrote: > >> >> On Mar 21, 2015, at 3:45 PM, Adi Roiban > > wrote: >> >> On 16 March 2015 at 18:53, Glyph Lefkowitz > > wrote: >>> >>> On Mar 16, 2015, at 11:20 AM, Adi Roiban >>

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

2015-03-19 Thread Christopher Armstrong
> On Mar 19, 2015, at 10:46 AM, HawkOwl wrote: > > >> On 19 Mar 2015, at 23:41, Christopher Armstrong >> wrote: >> >> I suggest making the default, tagless state of a PR mean “in review”, for a >> couple of reasons: >> >> - having labels

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

2015-03-19 Thread Christopher Armstrong
> On Mar 19, 2015, at 4:45 AM, Adi Roiban wrote: > >> OK, cool. I didn't realize that was ready for review. I am liking the >> process we have for Mimic for flagging PRs with keywords - >> https://github.com/rackerlabs/mimic/pulls - but this needs automation so as >> not to be unfriendly to no

Re: [Twisted-Python] Silverberg CQL Driver

2014-12-29 Thread Christopher Armstrong
gt;> appears to be the most recently updated Twisted/CQL project. > On Wed, Dec 3, 2014 at 12:52 PM, Christopher Armstrong > mailto:ra...@twistedmatrix.com>> wrote: > Yes, we use it in production in the Rackspace Otter project: > https://github.com/rackerlabs/otter <https://g

Re: [Twisted-Python] Tubes!

2014-12-11 Thread Christopher Armstrong
> On Dec 11, 2014, at 6:00 PM, Donald Stufft wrote: > > >> On Dec 11, 2014, at 6:55 PM, Itamar Turner-Trauring >> wrote: >> >> I would suggest including the Twisted support inside tubes as a first pass, >> restricted to a module (e.g. tubes.helical). Less overhead and as long as >> it's op

Re: [Twisted-Python] Silverberg CQL Driver

2014-12-03 Thread Christopher Armstrong
Yes, we use it in production in the Rackspace Otter project: https://github.com/rackerlabs/otter The particular file we most use it in is here: https://github.com/rackerlabs/otter/blob/master/otter/models/cass.py#L530

Re: [Twisted-Python] INCOMPATIBLE CHANGE: twisted.python.threadpool

2014-09-26 Thread Christopher Armstrong
e, as I consider it invaluable information as long as we’re using twisted as a WSGI runner.  I will say that it is certainly possible for me to emulate these attributes, but that would require touching implementation details of WSGIResource. I’m not sure which is worse.  ~weykent  --  Christ

Re: [Twisted-Python] running twisted with supervisord -- logging question

2014-08-23 Thread Christopher Armstrong
int out that you should add “-l -“ to your twistd command line in that supervisor config, to make twisted’s logs go to stdout as well (maybe you want to do this even if your application isn’t using twisted’s log system, so that both the logs of twisted and of your application are going to

Re: [Twisted-Python] running twisted with supervisord -- logging question

2014-08-22 Thread Christopher Armstrong
handle logging. FYI, you can configure supervisor to put the output in a different file than /var/log/supervisor.log, too. --  Christopher Armstrong http://twitter.com/radix http://wordeology.com/ ___ Twisted-Python mailing list Twisted-

Re: [Twisted-Python] Tubes!

2014-07-10 Thread Christopher Armstrong
” to the end of a version, pip won’t install it unless you specify the version exactly. e.g., “tubes” version “0.1a1” won’t be found if you type “pip install tubes”, only “pip install tubes==0.1a1”. --  Christopher Armstrong http://twitter.com/radix http://wordeology.com/ _

Re: [Twisted-Python] Request.getClient

2014-07-02 Thread Christopher Armstrong
is up, I, too, like the idea of returning the IP address. --  Christopher Armstrong http://twitter.com/radix http://wordeology.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] git?

2014-03-18 Thread Christopher Armstrong
wiki page where some of the tickets are linked:  https://twistedmatrix.com/trac/wiki/Infrastructure/SwitchToGit --  Christopher Armstrong http://twitter.com/radix http://wordeology.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.c

Re: [Twisted-Python] building offline docs

2014-03-12 Thread Christopher Armstrong
standard sphinx-based project. “cd docs; make html” (assuming all the usual sphinx/twisted dependencies are available). --  Christopher Armstrong http://twitter.com/radix http://wordeology.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com

Re: [Twisted-Python] git?

2014-03-12 Thread Christopher Armstrong
Yes, it’s at http://github.com/twisted/twisted --  Christopher Armstrong http://twitter.com/radix http://wordeology.com/ On March 12, 2014 at 5:39:36 PM, Chris Withers (ch...@simplistix.co.uk) wrote: Hi All, Is there a git mirror of the twisted repo anywhere? Chris -- Simplistix

Re: [Twisted-Python] carbon-relay eating CPU - EAGAIN (Resource temporarily unavailable)?

2013-11-26 Thread Christopher Armstrong
portable application should check for both possibilities. Is there actually something wrong with your service? Can you explain the behavior you're seeing and how it differs from the behavior you want to see? If the problem is only "carbon uses a lot of CPU", maybe the problem is

Re: [Twisted-Python] Garbage in logfiles?

2013-10-16 Thread Christopher Armstrong
On Wed, Oct 16, 2013 at 1:12 PM, Conor Sayres wrote: > > On Oct 16, 2013, at 10:44 AM, Christopher Armstrong < > ra...@twistedmatrix.com> wrote: > > On Wed, Oct 16, 2013 at 12:33 PM, Conor Sayres wrote: > >> Hi All, >> >> I'm working for an astro

Re: [Twisted-Python] Garbage in logfiles?

2013-10-16 Thread Christopher Armstrong
timestamp prefixing the lines of that output? I don't know where those numbers/letters could be coming from. Does your code (or any libraries you use) ever print to stdout? By default, Twisted redirects all prints (and any writing to sys.stdout) to the log file. -- Christopher

Re: [Twisted-Python] Twisted Sprint Report (2013-09-23)

2013-09-24 Thread Christopher Armstrong
e > * Richard Wall > > I am really excited about the fact that I don't know all of the people on this list -- we need more developers! :-) Thanks for organizing this sprint, Richard! -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/

Re: [Twisted-Python] BuildBot problems

2013-07-06 Thread Christopher Armstrong
> place (still? again?), so build artifacts seem to be mostly unavailable > right now. > -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] deferToThread and thrown exceptions break gc - ticket 3853

2013-06-26 Thread Christopher Armstrong
ed is tests. If you could spare some time to write one (or however many are needed) then that would increase the ticket's chances for resolution quite a bit :) -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twiste

Re: [Twisted-Python] Switiching to Formal Parser.

2013-06-19 Thread Christopher Armstrong
Richard Wall (rwall on IRC) has been working a lot on DNS lately, he may be interested in the work you're doing. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twisted-Python@twistedma

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

2013-06-18 Thread Christopher Armstrong
operations). ConnectionDone definitely doesn't sound good. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] logging

2013-06-17 Thread Christopher Armstrong
g aggregation system that reads json data from disk files?) I think your accusations of design in a vacuum are too hasty and inflammatory. The whole reason I'm so interested in this discussion is to take advantage of *real* logging systems that can aggregate, filter, and search lots of log st

Re: [Twisted-Python] logging

2013-06-15 Thread Christopher Armstrong
On Sat, Jun 15, 2013 at 9:38 PM, Glyph wrote: > > On Jun 15, 2013, at 9:17 AM, Christopher Armstrong < > ra...@twistedmatrix.com> wrote: > > I think I would just want one more feature: > > Logger().emit(dudelog.LogLevel.warn, a="hi") > > > Right n

Re: [Twisted-Python] logging

2013-06-15 Thread Christopher Armstrong
On Sat, Jun 15, 2013 at 11:09 AM, Christopher Armstrong wrote: > On Thu, Jun 13, 2013 at 5:14 PM, Glyph wrote: >> Hello everybody. Today I'd like to talk about everyone's favorite subsystem >> within Twisted: logging. >> >> There are a number of problems wit

Re: [Twisted-Python] logging

2013-06-15 Thread Christopher Armstrong
k - hopefully if some people can provide a bit of informal feedback > now, the formal review process can be shorter and more pleasant :). I like it. Let's merge it. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/

Re: [Twisted-Python] logging

2013-06-15 Thread Christopher Armstrong
On Sat, Jun 15, 2013 at 6:37 AM, Glyph wrote: > > On Jun 14, 2013, at 11:18 PM, Christopher Armstrong > wrote: > > This conversation has gotten pretty sprawling; time to reel it in with > some code. > > What do you think of this for an API that meets in the middle? >

Re: [Twisted-Python] logging

2013-06-15 Thread Christopher Armstrong
On Sat, Jun 15, 2013 at 2:18 AM, Hynek Schlawack wrote: > > Am 15.06.2013 um 08:18 schrieb Christopher Armstrong > : >> What do you think of this for an API that meets in the middle? >> >> https://gist.github.com/radeex/5787124 >> >> This example imple

Re: [Twisted-Python] logging

2013-06-14 Thread Christopher Armstrong
On Sat, Jun 15, 2013 at 12:43 AM, Christopher Armstrong wrote: > On Fri, Jun 14, 2013 at 6:20 PM, Wilfredo Sánchez Vega > wrote: >> Christopher Armstrong wrote: >> >> logger.msg("scheduled-compaction-failed") >> >> I'm confused. You

Re: [Twisted-Python] logging

2013-06-14 Thread Christopher Armstrong
;system" + event-identifier system, where: 1. it's trivial to specify a hierarchical, easy-to-read "system" key that has a small-ish scope 2. you think of a unique event name in that small-ish scope and type it out. I'm beginning to think #1 is the most important of al

Re: [Twisted-Python] logging

2013-06-14 Thread Christopher Armstrong
On Fri, Jun 14, 2013 at 6:20 PM, Wilfredo Sánchez Vega wrote: > Christopher Armstrong wrote: > > logger.msg("scheduled-compaction-failed") > > I'm confused. You don't want to use English, but… why not change your > hyphens to spaces and call it a day? A

Re: [Twisted-Python] logging

2013-06-14 Thread Christopher Armstrong
On Fri, Jun 14, 2013 at 5:43 PM, Christopher Armstrong wrote: > If you're concerned about universal uniqueness, there are two ways I > can think of doing it, both of which should basically have a similar > API as far as where concerns are in your code: > > - make the event na

Re: [Twisted-Python] logging

2013-06-14 Thread Christopher Armstrong
#x27;t need to type out this full event name every time you type a log.msg() statement; that's not a hard problem to solve) - put a hierarchical designator into the "system" field log("scheduled-compaction-failed", system="SpaceCombat.server.db") I think I l

Re: [Twisted-Python] logging

2013-06-14 Thread Christopher Armstrong
equire the user to specify string interpolation themselves. I'd prefer to avoid that entirely, by default. log.msg("Foo happened**", bar=bar, baz=baz, boz=boz) This is better because: 1. it keeps the data structured 2. it is a lot less typing ** I would prefer this part to

Re: [Twisted-Python] logging

2013-06-13 Thread Christopher Armstrong
e and line number is even better. I tried to write a number #6 about including framework-provided data in your application-level log statements (like request ID, client IP, URL etc), but I got too hungry. Sorry for the braindump! -- Christopher Armstrong http://radix.twistedmatrix.com/ http

Re: [Twisted-Python] logging

2013-06-13 Thread Christopher Armstrong
nda like the one David Reid wrote) so that it's easier to maintain uniqueness in a large codebase. (Hey David, you should write an email about that logging class :) -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] github, again

2013-06-03 Thread Christopher Armstrong
e that "coveralls" bot? that is pretty sweet. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] github, again

2013-06-03 Thread Christopher Armstrong
the life of the reviewer easier. My feeling is that the slight difference in review workflow on PRs -- the fact that there is no "responsibility transfer" mechanism -- will not be a serious problem in practice, and that we should have a culture of closing abandoned PRs. -- Christopher Armstrong

Re: [Twisted-Python] Recommended daemon monitoring tools for ubuntu

2013-05-16 Thread Christopher Armstrong
visord working. > > I like supervisord, for its watchdog functionality as well as log handling. It's pretty easy to configure. I recommend using twistd --nodaemon (-n) with it. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___

Re: [Twisted-Python] is twisted compatible with pickle?

2013-03-28 Thread Christopher Armstrong
gt; http://cr.yp.to/proto/netstrings.txt > > That being said, it's a very bad idea to send pickles over the network > because unpickling can result in arbitrary code execution. > > Peruse some of the results of > https://www.google.co

Re: [Twisted-Python] Inline callbacks: generating the same Deferred at multiple places

2013-02-22 Thread Christopher Armstrong
bug about it. But I do question the architecture that needs to make use of it. I would probably avoid scenarios like that in my own code. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list T

Re: [Twisted-Python] Amazing exception "GeneratorExit"

2013-01-25 Thread Christopher Armstrong
-methods See the stuff about how .close() throws GeneratorExit into the generator. It is related to garbage collection. When a generator is garbage collected, its .close() method is called. Since you're keeping a reference to the Deferred in the generator itself in the working version, it

Re: [Twisted-Python] Twisted client memory leak

2013-01-22 Thread Christopher Armstrong
thrandi, i Ainil en-Balandor, a faer Ambar > > Thanks for pointing this out. I was reading through this whole thread and going "why hasn't anyone else pointed out how wrong it is to add __del__ to debug this yet???". -- Christopher

Re: [Twisted-Python] Using telnet or linereceiver protocol over ssh

2013-01-06 Thread Christopher Armstrong
arns, it's valuable to make an attempt at writing some documentation as one learns something, as long as there is a sincere modesty on one's part and a willingness to let their documentation be seriously overhauled or at least critiqued by the real experts on the subject (assuming those expe

Re: [Twisted-Python] a question about monotonic clock

2012-10-28 Thread Christopher Armstrong
On Sun, Oct 28, 2012 at 4:45 PM, Tristan Seligmann wrote: > On Sun, Oct 28, 2012 at 5:22 PM, Christopher Armstrong > wrote: > > I think that for *certain* uncommon types of applications, even the very > > minor skewing of ntp can cause problems, but I wonder if gelin yan

Re: [Twisted-Python] a question about monotonic clock

2012-10-28 Thread Christopher Armstrong
ut I wonder if gelin yan has encountered real problems caused by the ntp skewing in the application under discussion. Gelin, you did not describe what problem you're actually having. If you would, that would benefit the continuation of the discussion. -- Christopher Armstrong htt

Re: [Twisted-Python] ANN: Twisted DBus 1.0

2012-07-03 Thread Christopher Armstrong
anyone else who makes the same mistake. Just name the toplevel package "txdbus" or something. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] ANN: Twisted DBus 1.0

2012-07-03 Thread Christopher Armstrong
DBus API that is consistent with the rest of the > framework and does not require the use of the glib reactor or libdbus > Python bindings. Wow, nice. This looks like a high quality effort. libdbus is appallingly bad (or was when I used it), so it's good to see alternative implementations. --

Re: [Twisted-Python] logging question

2011-11-15 Thread Christopher Armstrong
n that field. log.msg("hi", system="stuff") results in [stuff] hi In my applications I usually hack the default log context stuff to disable the inferred systems because they end up just being misleading and inconsistent anyway. -- Christopher Armstrong http://radix.twistedma

Re: [Twisted-Python] Global reactor unit tests in the Twisted test suite

2011-11-01 Thread Christopher Armstrong
since they will want to use our APIs in their unit tests in a way that doesn't require ugly global hacking. I don't know how many times I have raged at some crappy library whose code is incompatible with consumer unit testing. Having testable interfaces is a really valuable feature we can

Re: [Twisted-Python] Global reactor unit tests in the Twisted test suite

2011-11-01 Thread Christopher Armstrong
he global reactor, and you need to write tests for your changes (which are unrelated to the reactor usage itself), it'd add a lot of overhead to getting your change in. I whole-heartedly agree with the sentiment, though. We need to get rid of the global reactor. -- Christopher Armstrong

Re: [Twisted-Python] Twisted enterprise deployment models

2011-10-20 Thread Christopher Armstrong
ibrary for making deploying these kinds of scalable AMQP/RPC type of services on Twisted easier... -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twis

Re: [Twisted-Python] Ticket #4519, other possible spawnProcess enhancments

2011-10-10 Thread Christopher Armstrong
, but maybe there is something I have > missed. > > > > > ___ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > > -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Flush socket

2011-08-11 Thread Christopher Armstrong
suggestion: I want to test the other end .. and that > is > not Twisted (its i.e. Firefox .. the protocol to test is WebSockets) > > Maybe I'm missing something - are you actually writing functional tests for Firefox itself? -- Christopher Armstrong http://radix.t

Re: [Twisted-Python] Flow control

2011-08-11 Thread Christopher Armstrong
have knowledge of it's window size .. > is there a way to get at that info? > > What is the recommended way? > You want to write a producer: http://twistedmatrix.com/documents/current/core/howto/producers.html -- Christopher Armstrong http://radix.twistedmatrix.com/ http:/

Re: [Twisted-Python] Flush socket

2011-08-11 Thread Christopher Armstrong
on the other end after they've gone through a TCP stack and network. The best way to verify that your client is stream clean is to write unit tests that explicitly call its dataReceived method with different-sized chunks. -- Christopher Armstrong ht

Re: [Twisted-Python] Moving Twisted off Trac and SVN to somewhere nicer

2011-07-01 Thread Christopher Armstrong
> >1. Launchpad (+ Bazaar as the default vcs) > > I'm curious about something: Is it yet possible to revert a merge in bzr without doing annoying things? -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ __

Re: [Twisted-Python] [ANNOUNCE] Twisted 11.0.0 Released

2011-04-03 Thread Christopher Armstrong
On Sun, Apr 3, 2011 at 1:01 PM, Jessica McKellar wrote: > PAS MAINTENANT CHEF! CHUIS EN TRAIN DE BRANCHER LE REACTEUR > > On behalf of Twisted Matrix Laboratories, I am honored to announce the > release of Twisted 11.0.0. > > Thanks! -- Christop

Re: [Twisted-Python] Deferred documentation.

2011-03-30 Thread Christopher Armstrong
On Wed, Mar 30, 2011 at 2:55 AM, Tristan Seligmann wrote: > On Tue, Mar 29, 2011 at 5:08 PM, Christopher Armstrong > wrote: > > I probably use addCallbacks once for every 30-100 addCallback or > addErrback > > calls I do (counted by lines of code, not times they're exec

Re: [Twisted-Python] Deferred documentation.

2011-03-29 Thread Christopher Armstrong
times they're executed). But that's just an off-the-cuff estimate. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Failure is O(state) vs Exception

2011-03-28 Thread Christopher Armstrong
re out what went wrong. But it is costing > 2-5x runtime speed. (The other answer is to write all of our code to > avoid Deferred.addErrback...) > I hate to mention it (since it's unlikely I'd be able to work on it), but I wonder how much a C extension would i

Re: [Twisted-Python] prerelease preview predocumentation

2011-03-28 Thread Christopher Armstrong
"Upgrading", "Twisted code examples", etc. But when I click on "Twisted Core Documentation", the filtered list includes the names "Developer guides", "Upgrades between versions", and "Examples". Can these be reconciled? -- Christoph

Re: [Twisted-Python] Twisted and PEP 3148 support

2011-01-10 Thread Christopher Armstrong
ode", but rather for "deferred receipt of results". It's easy to forget this and believe that the similar jargon implies similarity in purpose. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twis

Re: [Twisted-Python] Twisted Web, Unicode & request.write()

2010-06-15 Thread Christopher Armstrong
et=utf-8" appended to the > content type. Encode it to bytes with ustr.encode("utf-8") and then pass it to request.write. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twi

Re: [Twisted-Python] Integrating Twisted with ZeroMQ

2010-06-07 Thread Christopher Armstrong
ecific methods on the reactor. However, of course I'm not advocating we jump the gun on deprecating listenTCP and so forth. We shouldn't deprecate them now, and when we do, we should make it an *extremely* long period of PendingDeprecation followed by Depre

Re: [Twisted-Python] Integrating Twisted with ZeroMQ

2010-06-06 Thread Christopher Armstrong
ually be deprecated in preference to the endpoints APIs. 1: Source: http://twistedmatrix.com/trac/browser/trunk/twisted/internet/endpoints.py ticket: http://twistedmatrix.com/trac/ticket/1442 -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/

Re: [Twisted-Python] Inline Callbacks

2010-04-01 Thread Christopher Armstrong
nerator, not user-code. It is responsible for calling .send() on the generator object when previously yielded deferreds have fired. The value of the Deferred returned will be whatever is passed to returnValue in the inlineCallbacks-using function. -- Christophe

Re: [Twisted-Python] How to use time-base event in reactor?

2010-03-07 Thread Christopher Armstrong
his timer in reactor's loop? See: reactor.callLater twisted.internet.task.LoopingCall -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedm

Re: [Twisted-Python] multiprocessing capability?

2010-02-25 Thread Christopher Armstrong
g multiple processes, no matter what technology you use to start those processes. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Sending jpeg data over TCP/IP

2010-02-22 Thread Christopher Armstrong
gt; > >> the network or the disk you're writing to; in >> that >> > case you >> > >> would be better >> > >> off upgrading your switches or buying an SSD >> > instead of >> > >> writing C code. >> > >> >> >

Re: [Twisted-Python] XMPP server implementations with twisted/words

2010-02-15 Thread Christopher Armstrong
eems it's possible to do anything interesting by just using regular old XMPP clients or External Components (all written using Twisted-based XMPP tech such as twisted.words, Wokkel, Idavoll, or what have you). The XMPP server is pretty much interchangeable. And I wouldn't want t

Re: [Twisted-Python] [ANN] Ampoule 0.2.0 released

2010-02-02 Thread Christopher Armstrong
7;s no project named "Twisted Matrix". It's called "Twisted" :-) Other than that, thanks very much for the release! -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing li

Re: [Twisted-Python] Lore to Sphinx Conversion Progress Report 3

2009-12-30 Thread Christopher Armstrong
I'ma ninja On Dec 30, 2009 4:13 PM, "Kevin Horn" wrote: On Wed, Dec 30, 2009 at 3:00 PM, Christopher Armstrong < ra...@twistedmatrix.com> wrote: > > Perhap... Ack! Chris beat me to it! Kevin Horn ___ Twisted-Python

Re: [Twisted-Python] Lore to Sphinx Conversion Progress Report 3

2009-12-30 Thread Christopher Armstrong
Perhaps just add a label 'lore-changes' to all the tickets which do so. On Dec 30, 2009 3:45 PM, "Thijs Triemstra | Collab" wrote: Hi Kevin, On 30 Dec 2009, at 21:05, Kevin Horn wrote: > If you're intimidated by the idea of working on the ... I can work on identifying those tickets and branches

Re: [Twisted-Python] web vs web2 clarification

2009-12-10 Thread Christopher Armstrong
e fact that they were completely incompatible with twisted.web. This is where Jean-Paul's answer comes in. Hope this helps, -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twisted-Python@twist

[Twisted-Python] ANN: Twisted 9.0.0

2009-12-02 Thread Christopher Armstrong
.html Twisted projects variously support TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols (including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more. Enjoy! -- Christopher Armstrong http://radix.twistedmatrix.co

[Twisted-Python] Who can create an OS X package for Twisted 9?

2009-11-25 Thread Christopher Armstrong
I can't remember who did it last time. I know a couple of people who work at Apple and surely know lots and lots about OS X technology, but I will refrain from naming names until I've waited too long for a package :-) -- Christopher Armstrong http://radix.twistedmatrix.com/ http://pla

[Twisted-Python] Twisted 9.0.0 prerelease 1

2009-11-19 Thread Christopher Armstrong
here: http://twistedmatrix.com/users/radix/twisted-prereleases/9.0.0pre1/ Please post a message even if you don't have any problems. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing li

Re: [Twisted-Python] Twisted 9, do you want it

2009-11-10 Thread Christopher Armstrong
On Sun, Nov 8, 2009 at 10:14 PM, Christopher Armstrong wrote: > On Sun, Nov 8, 2009 at 7:57 PM, Glyph Lefkowitz > wrote: >> On Nov 5, 2009, at 11:00 PM, Christopher Armstrong wrote: >> >>> I'm working on it. The core NEWS file is done I think. NEWS for othe

Re: [Twisted-Python] Twisted 9, do you want it

2009-11-08 Thread Christopher Armstrong
On Sun, Nov 8, 2009 at 7:57 PM, Glyph Lefkowitz wrote: > On Nov 5, 2009, at 11:00 PM, Christopher Armstrong wrote: > >> I'm working on it. The core NEWS file is done I think. NEWS for other >> projects will be worked on tomorrow. > > How's this coming along?

Re: [Twisted-Python] Twisted 9, do you want it

2009-11-05 Thread Christopher Armstrong
It's here: http://twistedmatrix.com/trac/browser/branches/releases/release-9.0.x-3860-2/twisted/topfiles/NEWS On Fri, Nov 6, 2009 at 12:36 AM, Nathan wrote: > On Thu, Nov 5, 2009 at 9:00 PM, Christopher Armstrong > wrote: >> I'm working on it. The core NEWS file is done I

[Twisted-Python] Twisted 9, do you want it

2009-11-05 Thread Christopher Armstrong
I'm working on it. The core NEWS file is done I think. NEWS for other projects will be worked on tomorrow. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatri

Re: [Twisted-Python] Boston Twisted Sprint

2009-09-28 Thread Christopher Armstrong
On Fri, Sep 25, 2009 at 1:58 PM, Jessica McKellar wrote: > This sounds like plenty of support for a Sprint! People have mostly > expressed an ability to attend Monday, Tuesday, and Wednesday, so it seems I'll see everyone there tonight. -- Christopher Armstrong http://radix.twiste

Re: [Twisted-Python] Boston Twisted Sprint

2009-09-22 Thread Christopher Armstrong
next week. Can we just do a one or two-day sprint next weekend? -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Boston Twisted Sprint

2009-09-20 Thread Christopher Armstrong
e developer representation for next week. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Incorrect "Another twistd server is running..."

2009-07-21 Thread Christopher Armstrong
reboot has happened) > 3. Twisted invokes checkPID (which reads from the stale pidfile) and > sees that, after all, there is a process 401 running > 4. Twisted claims another process is running > > Why this can't be solved by comparing the pid in the file with > os.getpid() (b

Re: [Twisted-Python] Twisted perspective broker on port 80, problem

2009-06-17 Thread Christopher Armstrong
you bind to the port. twistd supports that with the --uid and --gid parameters. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ http://canonical.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http:

Re: [Twisted-Python] Twisted at UDS Karmic

2009-05-25 Thread Christopher Armstrong
er, messaging, cloud computing, etc. I'm here! Also Thomas Hervé, Duncan McGreggor, Jonathan Lange, Andrew Bennetts, Jamu Kakar, and maybe others. I'm in a Cloud Computing session right now :-) -- Christopher Armstrong http://radix.twistedmatrix.com/ http://plane

Re: [Twisted-Python] How to make a service dependent of another?

2009-05-15 Thread Christopher Armstrong
he most appropriate. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ http://canonical.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Upcoming Twisted Sprint in Cambridge, MA

2009-04-20 Thread Christopher Armstrong
o people > feel about May 2nd or 3rd for the first sprint? I can do that. For what it's worth, I probably won't be able to attend a late May sprint. -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ http://canonical.com/ __

Re: [Twisted-Python] strange server crash

2009-03-22 Thread Christopher Armstrong
pure Python code (such as Twisted), but rather some C extension that you're using, or perhaps a bug in the Python runtime itself. The weird attribute errors for the wrong classes are probably caused by memory corruption leading up to the segfault. -- Christopher Armstrong http://radix

Re: [Twisted-Python] Twisted Sprint in February

2009-02-21 Thread Christopher Armstrong
message in response so we can expect you and let you in when you show up! I'll be back in Boston some time in the next twelve hours. Assuming I'm not completely zonked from jetlag, I'll be there on Sunday. -- Christopher Armstrong http://radix.twiste

Re: [Twisted-Python] Twisted Sprint in February

2009-01-27 Thread Christopher Armstrong
he 7th. > > Do you have a different recommendation? How long will your trip take? I could sprint this weekend. The trip is two weeks, so I could feasibly also sprint on the Sunday the 22nd (with the chance of jetlag). Any other weekend is probably good, I'm just unavailable 7th through 21s

Re: [Twisted-Python] Twisted Sprint in February

2009-01-26 Thread Christopher Armstrong
for people interested in >> attending? > > I'd like to recommend the 7th. I'd like to go to the sprint, but for what it's worth, I won't be able to make it on that weekend. I'm leaving for business the afternoon of the 7th. -- Christopher Armstrong

Re: [Twisted-Python] Tracebacks being dropped from exceptions when using inlineCallbacks

2009-01-16 Thread Christopher Armstrong
d they become unreachable, but it >> remains more efficient to avoid creating cycles. > > I'd appreciate any feedback. > > -phil -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ http://canonical.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] ANN: Twisted 8.2 released

2009-01-06 Thread Christopher Armstrong
, FTP, and others), and much more. See more at: http://twistedmatrix.com/ -- Christopher Armstrong http://radix.twistedmatrix.com/ http://planet-if.com/ http://canonical.com/ ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com

  1   2   >