Hi Folks:
I need to maintain a programme that uses txampq_helper library ampqFactory. The
current program does not close the connection to the underlying rabbitmq (the
code is a mess).
Can I simple call theampqFactory.protocol.transport.loseConnection()?
Do I need to unregisterProducer() first
Hi Laurens and Folks:
Thanks for all the replies. I'll try desert-sockjs first. Looking through the
documentation, it is not clear to me how I would handle socket.io events
(unfortunately I am new to socket.io). There doesn't seem to be an event
decorator like Socket.io for Tornadio2. I am look
Hi:
I searched the archive but couldn't find an answer so here goes:
I am also new to all this
I need to write a server that receives socket.io requests. I see Twisted has
support for WebSocket. I also see that the Tornado2 socket.io is used alongside
Twisted (I didn't know that this was possib
Hi Folks:
I am implementing a client that uses Twisted. I have to use oauth 2.0. I have
started to read up on Oauth and Twisted cred. I noticed that there is a
txoauth. For now, my client is of the "it can't keep secrets" nature as
described by Google.
From my understanding Twisted Cred is u
Message: 1
Date: Thu, 17 May 2012 00:58:57 +0200
From: Louis
Subject: [Twisted-Python] Synchronous calls using Twisted?
To: twisted-python@twistedmatrix.com
Message-ID: <4fb43131.2030...@gresille.org>
Content-Type: text/plain; charset=ISO-8859-1
> Hello,
> I am writing an application, which ar
Message: 2
Date: Tue, 20 Dec 2011 19:14:10 -
From: exar...@twistedmatrix.com
Subject: Re: [Twisted-Python] deferred generators in inline callbacks
To: Twisted general discussion
Message-ID:
<20111220191410.2164.1501005671.divmod.xquotient.42@localhost.localdomain>
Content-Type: text/p
Hi Glyph:
Message: 3
Date: Tue, 13 Dec 2011 23:45:54 -0500
From: Glyph
Subject: Re: [Twisted-Python] How to Solve a Problem Like Santa with
Stackless and Twisted
To: Twisted general discussion
Message-ID:
Content-Type: text/plain; charset="iso-8859-1"
On Dec 13, 2011, at 2:04
From: shhgs
To: Andrew Francis ; Twisted general discussion
Sent: Monday, December 12, 2011 11:15 PM
Subject: Re: [Twisted-Python] How to Solve a Problem Like Santa with Stackless
and Twisted
Hi Shhgs:
>defer.DeferredList(reindeers.values()).addCallback(lambda _ :
>True).addCa
Hi Folks:
I don't know what to file this under but here goes:
Santa repeatedly sleeps until wakened by either all of his nine
reindeer, back from their holidays, or by a group of three of his ten
elves. If awakened by the reindeer, he harnesses each of them to his
sleigh, delivers toys with th
Hi Glyph et al:
Message: 4
Date: Sat, 15 Jan 2011 15:44:55 -0500
From: Glyph Lefkowitz
Subject: Re: [Twisted-Python] Boston Area Mini-Sprint
To: Twisted general discussion
Message-ID:
Content-Type: text/plain; charset="us-ascii"
>It's being held in somebody's home office in Somerville MA, and
Hi Folks:
> Message: 1
> Date: Thu, 13 Jan 2011 12:32:08 -0500
> From: Tenth
> Subject: [Twisted-Python] Boston Area Mini-Sprint
> To: Twisted general discussion
> Message-ID:
>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Apologies in advance for the short notice, but I'm planni
.
Cheers,
Andrew
P.S - I have provided an example of using Stackless and Twisted to solve the
Santa Claus Problem
#!/usr/bin/env python
"""
simpleSanta.py
Andrew Francis
October 21th, 2010
The purpose of simpleSanta is as follows:
1) Show a solution to the Santa Claus problem
Hi
>I can't find any examples of using Twisted with wxPython, were wx is in
>a seperate thread. I used to have one somewhere but can' t find it
>either. I'm looking because for some reason my code doesn't work (the
>GUI freezes), even though I use reactor.callFromThread() for Twisted
>calls f
Hi Colin:
> Message: 1
> Date: Fri, 06 Aug 2010 11:02:33 -0700
> From: Colin Fox
> Subject: [Twisted-Python] Question about XMLRPC, Sync and
> ASync
> To: twisted-python@twistedmatrix.com
> Message-ID: <4c5c4e39.6080...@gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> What I'm trying
Hi Folks:
My talk "Prototyping Go's Select for Stackless with Stackless.py" recently got
accepted to EuroPython. In the talk, I modified stackless.py to support the Go
language's Select statement. I support Select as a method rather than a Python
language feature. Implementing Select turns out
Hi Peter:
Message: 7
Date: Sun, 9 May 2010 23:24:00 +0800
From: Peter Cai
Subject: [Twisted-Python] Comparing "Stackless Python + Nonblocking
Stackless Modules" with Twisted.
To: Twisted general discussion
Message-ID:
Content-Type: text/plain; charset=UTF-8
>Today, a guy gave me an URL
Hello Glyph:
>These examples aren't the greatest, because they tend to assume that
>you _always_ have Stackless code that's ready to run, and you want to
>run at some number of "frames per second".
In 2007, folks (especially myself) are still trying to figure out if
Stackless can play with Twi
Crispin:
>OK. Having a closer look, its not that looping call doesn't work, its
>that there is some unknown number of "reactor pumps" between starting
>the test, and finishing it. What I need is a way for the reactor to be
>pumping away while a particular test function of a testcase continues
>wor
Hi Crispin:
Message: 8
Date: Fri, 30 Oct 2009 17:38:12 +0800
From: Crispin Wellington
Subject: [Twisted-Python] Using a custom reactor in twisted trial for
test cases?
To: twisted-python@twistedmatrix.com
Message-ID: <1256895492.4200.9.ca...@wolfwood>
Content-Type: text/plain
>I am using
Hi Alexandre:
>Do you guys know anyone using or developing Twisted in the area around
>the city of Montreal?
I live in Montreal and I use Twisted.
>I also go to Montreal Python from time to time, and I think Twisted
>would make a good special topic to cover. It would help converting
>more devel
Hi Edward:
Message: 2
Date: Mon, 03 Aug 2009 18:00:07 -0400
From: "Edward Z. Yang"
Subject: Re: [Twisted-Python] Deferred documentation rewrite
To: Twisted general discussion
Message-ID: <1249336297-sup-7...@javelin>
Content-Type: text/plain; charset=UTF-8
>Why callbacks?
> - Asynchronous int
On Sun, Jul 19, 2009 at 12:08 PM, Andrew Francis wrote:
> Adding 'from twisted.internet import reactor' wasn't obvious to me. Perhaps
> this should also be mentioned on the "Choosing a Reactor" page for
> completeness?
The "choosing a reactor" docum
Hello Glyph et al:
Message: 6
Date: Sat, 18 Jul 2009 16:11:42 -0400
From: Glyph Lefkowitz
Subject: Re: [Twisted-Python] Simple Epoll Reactor question
To: Twisted general discussion
Message-ID:
Content-Type: text/plain; charset=UTF-8
On Sat, Jul 18, 2009 at 2:41 PM, Andrew Francis wrote
Hi Folks:
I am trying to use the epollreactor. I read the "Choosing a Reactor" page.
However I am not clear on how to actually install and use epollreactor.
I thought I could do the following:
from twisted.internetimport epollreactor
# epollreactor.install()
epollreactor.listenTCP(8
Hi Itamar:
--- On Mon, 6/15/09, twisted-python-requ...@twistedmatrix.com
wrote:
> Message: 2
> Date: Mon, 15 Jun 2009 09:45:19 -0400
> From: Itamar Shtull-Trauring
> Subject: Re: [Twisted-Python] Question about File
> Descriptors
> To: Twisted general discussion
> Message-ID: <1245073519.875
Hi Folks:
This is not a Twisted question per se but here goes. I am using Linux. I want
to do some tests and I need to increase the numbers of file descriptors. What
are the memory ramifications (i.e, I raise the max descriptor count to 65535)?
Also should I move to the EPoll reactor? Thanks i
Hi David:
Message: 5
Date: Wed, 03 Jun 2009 14:55:23 +1200
From: David Conradie
Subject: [Twisted-Python] Twisted book(s)?
To: twisted-python@twistedmatrix.com
Message-ID: <4a25e61b.5050...@googlemail.com>
Content-Type: text/plain; charset="iso-8859-1"
>I'm fairly new to Python and very new to
Hi Terry:
--- On Thu, 4/23/09, twisted-python-requ...@twistedmatrix.com
> Suppose I have a function called alertSupervisor that takes
> a string message for the supervisor and which returns a deferred. I
> want to be able to call that function from anywhere in my code, and I
> always want to ge
essage-
> > From: twisted-python-boun...@twistedmatrix.com
> [mailto:twisted-python-
> > boun...@twistedmatrix.com]
> On Behalf Of Drew Smathers
> > Sent: Monday, April 06, 2009 8:40 AM
> > To: Twisted general discussion
> > Subject: Re: [Twisted-Pyt
Hi:
Perhaps this question has been asked before but is there a limit to the number
of descriptors the SelectReactor can handle? Is this a function of the
operating system?
Cheers,
Andrew
___
Twisted-Python mailing list
Twisted-Python@twiste
Message: 1
Date: Thu, 2 Apr 2009 09:05:27 -0700
From: Cary Hull
Subject: [Twisted-Python] Documentation overviews
To: Twisted general discussion
Message-ID:
<3fce0ae70904020905l286b78acvb17f4f0d572d9...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi Cary:
>One of the goa
Message: 2
Date: Mon, 30 Mar 2009 11:10:48 -0400
From: "Doug Farrell"
Subject: [Twisted-Python] RE: how to create state machines?
To:
Message-ID:
<318f79422adc5041a93343721f84474d01a8b...@exchange.mypublisher.local>
Content-Type: text/plain;charset="us-ascii"
>[Doug Farrell] Thank you v
Hi Doug:
>Message: 1
>Date: Thu, 26 Mar 2009 14:26:17 -0400
>From: "Doug Farrell"
>Subject: [Twisted-Python] how to create state machines?
>To:
>Message-ID:
<318f79422adc5041a93343721f84474d01a8b...@exchange.mypublisher.local>
>Content-Type: text/plain; charset="us-ascii"
>This state machi
Hi Simon:
--- On Sat, 3/21/09, stackless-requ...@stackless.com
wrote:
> As more updates are sent zone->hub, per second, the
> incoming client->hub->zone messages take SECONDS to get thru!
> This is with approx 50 messages per second between a single zone and the >hub.
> Is this the sort of p
Hi Colleagues:
I guess I am making today "Look at Twisted Documentation Day." I am looking at
ticket 1009.
For inline generator examples, here is the example I use in "Adventures in
Stackless Python Twisted Integration." In turn, this example comes from the
discussions in I believe January 20
Hello Colleagues:
>For ticket 1138 (cool movie), when I access the URL:
>http://twistedmatrix.com/projects/core/documentation/howto/tutorial/deferred_tutorial.html
>I get, URL not found. Which deferred tutorial are you referring to?
>>"Deferreds are Beautiful (A Tutorial) at :
>http://twistedmatr
Hi Jean-Paul:
I am not sure if I should take this off-line
>http://twistedmatrix.com/trac/query?>status=new&status=assigned&status=reopened&keywords=~documentation&order=p>riority
> shows all of the open tickets with the "documentation" keyword. >So there's
>a lot to choose from, many are
Hi Itamar and Colleages:
>As part of the TSF's fundraising efforts, we are trying to get upfront
>donations of time you will spend developing Twisted. It will then get
>matched by a donor, if we are successful in getting this grant. So if
>you're planning on working on Twisted anyway this year,
son wrote:
> From: Kristján Valur Jónsson
> Subject: RE: [Stackless] Maximum Recursion Depth Error with Twisted
> 8.2/Stackless 2.6.1
> To: "Andrew Francis" ,
> "twisted-python@twistedmatrix.com"
> Cc: "stackl...@stackless.com"
> Date: Tuesday, F
the problem is with my code rather than Stackless
2.6.1 and/or Twisted 8.2
I have included some sample code. Unfortunately ToyProcessor5.py is a bit large
(I have newer code that is smaller but requires more files)
Cheers,
Andrew
#!/usr/bin/env python
""&
Message: 6
Date: Sat, 20 Dec 2008 08:28:20 -0700
From: Joe Strout
Subject: Re: [Twisted-Python] how to get an idle callback while
running areactor?
To: Twisted general discussion
Message-ID: <494d0f14.3000...@strout.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Joe:
Hi Michael and Colleagues:
> .. which is a paper by Rob von Behren, Jeremy Condit and
> Eric Brewer.
As a part of writing "Adventures in Stackless Python/Twisted Integration," I
have read "The Why Events are" paper as well as the Ousterhout "Why Threads Are
A Bad Idea (for most purposes).
The
42 matches
Mail list logo