Re: [Twisted-Python] domish.Element.__getattr__() or xpath.XPathQuery

2010-02-08 Thread Tim Allen
On Mon, Feb 08, 2010 at 08:26:43AM +0100, Gabriel Rossetti wrote: > Ok, thank you. Just a question, would it be interesting to anyone to > be able to choose in between the internal XPATH implementation and an > external lib/implementation for the XMPP stuff? I have often wondered > if it would not

Re: [Twisted-Python] PyCon 2010 Twisted Sprint

2010-02-08 Thread Jonathan Lange
On Sun, Jan 31, 2010 at 10:26 PM, wrote: > Hi all, > > If there are enough interested people, there will be a Twisted sprint at > PyCon this year.  If you'll be at PyCon and are interested in sprinting > on some Twisted topic, give a shout.  Also, let us know what specific > topics you're interes

Re: [Twisted-Python] domish.Element.__getattr__() or xpath.XPathQuery

2010-02-08 Thread exarkun
On 11:03 am, screwt...@froup.com wrote: >On Mon, Feb 08, 2010 at 08:26:43AM +0100, Gabriel Rossetti wrote: >>Ok, thank you. Just a question, would it be interesting to anyone to >>be able to choose in between the internal XPATH implementation and an >>external lib/implementation for the XMPP stuff?

[Twisted-Python] Handling exceptions in twisted.internet.udp?

2010-02-08 Thread Attila Nagy
Hello, I have a code, which opens persistent (connected, see: http://twistedmatrix.com/documents/current/core/howto/udp.html#auto2) UDP connections, and sends and receives data on them. The problem is that occasionally I receive ICMP 13 (administratively prohibited) errors from the destination

Re: [Twisted-Python] Handling exceptions in twisted.internet.udp?

2010-02-08 Thread exarkun
On 04:20 pm, b...@fsn.hu wrote: >Hello, > >I have a code, which opens persistent (connected, see: >http://twistedmatrix.com/documents/current/core/howto/udp.html#auto2) >UDP connections, and sends and receives data on them. > >The problem is that occasionally I receive ICMP 13 (administratively >pr

Re: [Twisted-Python] Handling exceptions in twisted.internet.udp?

2010-02-08 Thread Attila Nagy
exar...@twistedmatrix.com wrote: >> [snip] >> "/usr/lib64/python2.6/site-packages/Twisted-9.0.0_r27775-py2.6-linux- >> x86_64.egg/twisted/internet/udp.py", >> line 109, in doRead >>data, addr = self.socket.recvfrom(self.maxPacketSize) >>socket.error: [Errno 113] No route to hos

[Twisted-Python] Light-est-weight http authentication

2010-02-08 Thread Brad Milne
I have a backend Twisted application with a front end in Django. Some of their communication is via web services. Currently they are deployed on the same box but may be separated in future. I want to enforce some basic authentication on the web services, so some lightweight http header authenticati

Re: [Twisted-Python] Light-est-weight http authentication

2010-02-08 Thread exarkun
On 07:23 pm, brad.mi...@devx.runthered.com wrote: I have a backend Twisted application with a front end in Django. Some of their communication is via web services. Currently they are deployed on the same box but may be separated in future. I want to enforce some basic authentication on the web

[Twisted-Python] minor doc patch - IWriteDesriptor

2010-02-08 Thread K. Richard Pixley
--- twisted/internet/interfaces.py.~1~2009-01-22 06:01:46.0 -0800 +++ twisted/internet/interfaces.py2010-02-08 11:42:03.0 -0800 @@ -833,7 +833,7 @@ I add writer to the set of file descriptors to get write events for. @param writer: An L{IWriteDescriptor

Re: [Twisted-Python] Light-est-weight http authentication

2010-02-08 Thread Brad Milne
Just in terms of configuration. It seems that Guard, for example, is designed to cache the credentials and maintain a session. My requirement is just for a single request, so session maintenance seems like overhead. Also in upskill time. The Twisted NPE book, for example, says "It might take you a

Re: [Twisted-Python] Light-est-weight http authentication

2010-02-08 Thread exarkun
On 08:19 pm, brad.mi...@devx.runthered.com wrote: Just in terms of configuration. It seems that Guard, for example, is designed to cache the credentials and maintain a session. My requirement is just for a single request, so session maintenance seems like overhead. Ah, I see. Past versions o

Re: [Twisted-Python] PyCon 2010 Twisted Sprint

2010-02-08 Thread Matt Bone
I'm still pretty new to twisted but would like to help out in the sprint however I can. I'm interested in web/web2, spread, inotify, and deferToProcess. I'll be around Friday-Tuesday morning. --matt On Mon, Feb 8, 2010 at 5:23 AM, Jonathan Lange wrote: > On Sun, Jan 31, 2010 at 10:26 PM,   wro