osed connection, and then it will
probably attempt to reconnect immediately.
Whereas (3) relies on the tcp/ip stack of the connecting host to send a
bunch of syn packets until it gets through, or times out and follows its
timeout logic.
--
Regards,
Stephen Thorne
Development Engineer
NetBox Blue -
ttern(emailaddress):
return None
return transform(emailaddress)
reactor.listenTCP(12345, AddressResolverFactory())
Then you just throw all the email addresses at it from postfix like so:
virtual_alias_maps = tcp:127.0.0.1:12345
virtual_mailbox_maps = tcp:127.0.0.1:12345
--
Regar
t thing to do is to add a -j LOG rule to your firewall and
then look at /var/log/kernel in order to see what packets are being
blocked.
I would combine that approach with tcpdump to see what you can do to
resolve this.
--
Regards,
Stephen Thorne
Develop
Vlad,
Have you considered using twisted.protocols.amp ?
--
Regards,
Stephen Thorne
Development Engineer
Netbox Blue
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
pended to the
> content type.
If you say the charset utf-8, you should emit utf-8.
u'foo'.encode('utf-8') converts from a python unicode object to a str
encoded using the utf-8 codec.
--
Regards,
Stephen Thorne
Development Engineer
Netbox Blue
__
he last 5 years support one
> of UPnP or NAT-PMP? That's been my experience, at least.
Not all of them.
More to the point, I'm not aware of any corporate routers that support these
things. It's too much of a security risk to be able to have arbitary machines
on your LAN se
busy service, with pause 3 seconds between
> attempts. How cant i implement this in twisted
Perhaps you want ReconnectingClientFactory ? Set maxRetries to 3. See
twisted.internet.protocols.ReconnectingClientFactory.
--
Regards,
Stephen Thorne
Development Engineer
Netbox Blue
___
uot;No communication without asynchronization!"
Really excited about these ideas. My original twisted tshirt is getting
quite old and ratty.
--
Regards,
Stephen Thorne
Development Engineer
Netbox Blue
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
he being missing okay?
> >
> > I think the missing apostrophe looks bad.
>
> Stupid question from a non anglophone: why the apostrophe is missing?
"DONT THREAD ON ME" is the text on the shirt. "Don't" is a contraction
of "Do not" and
nute lightning talk. 3 minutes was a
tiny bit short for a proper demonstration of capabilities, 45 might be
too long :P
--
Regards,
Stephen Thorne
Development Engineer
Netbox Blue
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
On 2011-02-07, Jason Rennie wrote:
> d = sem.acquire()
> d.addCallback(doSerialStuffAndRelease)
Shouldn't this be spelled:
d = sem.run(doSerialStuff)
Which does acquasition and release of the sempahore properly?
--
Regards,
Stephen Thorne
Development Engineer
's what I mean, you shouldn't be using .acquire() or .release(),
just .run(). doSerialStuff doesn't need a reference to the semaphore
object.
--
Regards,
Stephen Thorne
Development Engineer
Netbox Blue
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
On 2011-02-08, Jason Heeris wrote:
> On 8 February 2011 11:46, Stephen Thorne wrote:
> > Um, that's what I mean, you shouldn't be using .acquire() or .release(),
> > just .run(). doSerialStuff doesn't need a reference to the semaphore
> > object.
>
> So
about the nature of the "problem horse", as
> google translate suggests the first response is about. :-)
I did not use google translate, but I was wondering why horses were
mentioned in the discussion as well.
--
Regards,
Stephen Thorne
Development Engineer
Netbox Blue
a question about this item from the scores:
'15 points for committing a fix from a contributor'
How is this calculated? I created a branch for #4844 but my score didn't
jump, did I do it wrong? Is there a procedure I muffed up (commit
message format)?
--
Regards,
Stephe
I agree with Clayton's points. Please pick a code of conduct that others
have used. Avoid the desire to specialize.
I like the PSF code of conduct, http://bit.ly/psf-coc but any well regarded
CoC will do.
Stephen.
On Tue, 23 Jun 2015 at 19:23 Clayton Daley wrote:
> Not that I'm a heavy contrib
[+Nathaniel]
https://groups.google.com/forum/m/#!topic/grpc-io/RpkyqqQy8TU/discussion
Hi. I'd like to link you to the above discussion and cc it's original
poster.
On Wed, Sep 28, 2016, 22:51 Werner Thie wrote:
> On 9/28/16 9:13 AM, Nursimulu, Khen wrote:
> > Thanks Glyth for the prompt respon
gt;
> What does 'persisted` here mean?
It sounds like this is a rememant of when the reactor shutdown it used
to serialise its state so it could be restarted later.
--
Regards,
Stephen Thorne
Development Engineer
Netbox Blue
___
Twisted
xample'
So the goal of my post to this mailing list is:
* I would like glyph's goal of having less arbitary code executed at
twistd launch time to become a realisation,
* I would like the process of creating a twisted plugin to be less of a
cut+paste+fill-in-blanks hassle.
--
Regards,
St
ngs.
kite-smackages/twisted/plugins/myplugin.py installed with any standard
tool without simply hard-coding is a disaster. Putting it outside of
that directory, more so.
--
Regards,
Stephen Thorne
Development Engineer
Netbox Blue
___
Twisted-Python ma
On 2011-04-07, Glyph Lefkowitz wrote:
>
> On Apr 7, 2011, at 1:38 AM, Stephen Thorne wrote:
>
> > On 2011-04-07, Glyph Lefkowitz wrote:
> >> Because, frankly, Python installation tools REALLY REALLY SHOULD be
> >> able to install Python files into Python packag
conchA Conch SSH service.
procmon A process watchdog / supervisor
Why do we care about complex quoting and linebreaks for descriptions? If
you can't remember, just keep typing and let it get wrapped.
--
Regards,
Stephen Thorne
Development Engineer
Netbox Blue
_
ly need SparQL or anything complicated, just the ability
to resolve some simple triples.
I do not like angle brackets, but I have always had a fond affection for
n3.
--
Regards,
Stephen Thorne
Development Engineer
Netbox Blue
___
Twisted-Python mailin
le twisted/plugins/rdf_plugins.py
file that scans for non-python metadata defined plugins and creates
them.
That way twisted doesn't need to depend on an RDF lib, and this can
be a 'third party' outside-of-twisted package that if you want to use,
you just specify it as a dependancy
ady for production or not.
>
> Yes. Many people use it in production.
I use IOCP on Windows XP and Windows 7 in "production", including with
SSL, and we have not seen any problems.
--
Regards,
Stephen Thorne
___
Twisted-Python mailing l
This is a better way of using DeferredSemaphore:
def queue_thread( self , data=None ):
self.queued_data= data
return self.semaphoreService.run( self._T_to_thread )
It handles acquisition and release for you. This will avoid any code
path that might result in a double-release.
What is your question?
On Wed, Dec 12, 2012 at 2:52 PM, Anil KARADAG wrote:
> Hi all,
>
> ** **
>
> ** **
>
> I have a question about reactor of “twisted.internet” module. I found
> below;
>
> ** **
>
> ** **
>
> The default reactor is “select”;
>
> ** **
>
> [root@karadag internet]
It's also perfectly fine to use python's logging module from within
twisted, you don't have to use twisted.log, but you should be aware this
will make your log files hard to correlate (between twistd.log and your own
logfiles).
On Thu, Mar 14, 2013 at 10:05 AM, Sergey Gerasimov wrote:
> I’m imp
Not relavent to your questions, but there's a mailing list for discussing
the specifics of PEP 3156, which is worth subscribing to if you want to
provide specific feedback on the API.
https://groups.google.com/forum/?fromgroups#!forum/python-tulip
On Tue, Mar 19, 2013 at 3:00 AM, Tim Allen wro
29 matches
Mail list logo