[Twisted-Python] Fwd: Twisted + python = TELNET server (without AUTH)

2010-02-06 Thread Knezan
Hi. I am long time in python and having twisted is good thing. I want to make telnet server (with python or linux prompt) but without auth, beacuse i'd use it via serial port (RS232) ideas? Greetings, Vatts -- case(word == "ping"): # TABLE TENNIS!!! say "pong "+params return _

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

2010-02-06 Thread exarkun
On 4 Feb, 10:48 am, gabriel.rosse...@arimaz.com wrote: >Hello everyone, > >I was wondering what you would recommend, accessing nodes via >domish.Element.__getattr__() >(e.g. el.node1.node1_1, where el is /msg) or via xpath.XPathQuery() >(e.g. xpath.XPathQuery("/msg/node1/node1_1").queryForNodes(el)

Re: [Twisted-Python] web2 -> web ToDo List

2010-02-06 Thread exarkun
On 4 Feb, 09:16 pm, sstein...@gmail.com wrote: >While I see tickets in the tracker for web2 and others for web, I >couldn't find a 'cherry pick' list of things to be moved from web2 back >into web. > >Is there one? Not really. It'd be great to have such a list. Any time anyone brings up their

Re: [Twisted-Python] Simple gateway server

2010-02-06 Thread exarkun
On 06:30 am, slee...@gmail.com wrote: >I need to write a gateway server that forwarding data between client >and >data server002I use a Protocol instance for incoming connection from >client, >and creating another Protocol instance to connect data server when >received >data from client: You ca

Re: [Twisted-Python] Fwd: Twisted + python = TELNET server (without AUTH)

2010-02-06 Thread exarkun
On 10:07 am, kneza...@gmail.com wrote: >Hi. > >I am long time in python and having twisted is good thing. >I want to make telnet server (with python or linux prompt) >but without auth, beacuse i'd use it via serial port (RS232) > >ideas? Here's an example which uses Twisted to communicate via a se

[Twisted-Python] Sending a stream via Protocol?

2010-02-06 Thread Darren Govoni
Hi, I have a simple protocol listening on a port. I send it a text message (a filename) and the protocol tries to stream back the bytes of the file. Mostly, this works but in some cases, the receiving side receives less bytes than is written by: self.transport.write(bytes) I read the API which

Re: [Twisted-Python] web2 -> web ToDo List

2010-02-06 Thread Valeriy Zamarayev
On 6 Feb 2010, 17:34, exar...@twistedmatrix.com wrote: > On 4 Feb, 09:16 pm, sstein...@gmail.com wrote: >> While I see tickets in the tracker for web2 and others for web, I >> couldn't find a 'cherry pick' list of things to be moved from web2 >> back >> into web. >> >> Is there one? > > Not real

Re: [Twisted-Python] Sending a stream via Protocol?

2010-02-06 Thread exarkun
On 04:42 pm, dar...@ontrenet.com wrote: >Hi, > I have a simple protocol listening on a port. I send it a text message >(a filename) >and the protocol tries to stream back the bytes of the file. Mostly, >this works >but in some cases, the receiving side receives less bytes than is >written by: > >s

Re: [Twisted-Python] web2 -> web ToDo List

2010-02-06 Thread exarkun
On 05:06 pm, valeriy.zamara...@gmail.com wrote: >On 6 Feb 2010, 17:34, exar...@twistedmatrix.com wrote: >>On 4 Feb, 09:16 pm, sstein...@gmail.com wrote: >>>While I see tickets in the tracker for web2 and others for web, I >>>couldn't find a 'cherry pick' list of things to be moved from web2 >>>back

Re: [Twisted-Python] Sending a stream via Protocol?

2010-02-06 Thread Darren Govoni
On Sat, 2010-02-06 at 17:13 +, exar...@twistedmatrix.com wrote: > On 04:42 pm, dar...@ontrenet.com wrote: > >Hi, > > I have a simple protocol listening on a port. I send it a text message > >(a filename) > >and the protocol tries to stream back the bytes of the file. Mostly, > >this works > >

Re: [Twisted-Python] Sending a stream via Protocol?

2010-02-06 Thread exarkun
On 05:30 pm, dar...@ontrenet.com wrote: >On Sat, 2010-02-06 at 17:13 +, exar...@twistedmatrix.com wrote: >>That's how TCP works. Bytes you send with one call to write may be >>split into two or more chunks and delivered to the remote dataReceived >>separately, or bytes you send with two or mor

Re: [Twisted-Python] web2 -> web ToDo List

2010-02-06 Thread Kevin Horn
On Sat, Feb 6, 2010 at 11:23 AM, wrote: > On 05:06 pm, valeriy.zamara...@gmail.com wrote: > >On 6 Feb 2010, 17:34, exar...@twistedmatrix.com wrote: > >>On 4 Feb, 09:16 pm, sstein...@gmail.com wrote: > >>>While I see tickets in the tracker for web2 and others for web, I > >>>couldn't find a 'cherr

[Twisted-Python] Weekly Bug Summary

2010-02-06 Thread exarkun
Bug summary __ Summary for 2010-01-31 through 2010-02-07 Bugs opened: 12Bugs closed: 8 Total open bugs: 1225 (+4) |== Type Changes |== Priority Changes |== Component Changes |Defect: +4 |Normal: +4 |Core: +0 |Enhancement: -1