[Twisted-Python] twisted, nc and LineReceiver

Christopher Armstrong radix at twistedmatrix.com
Thu Nov 7 12:01:20 EST 2002


On Thu, Nov 07, 2002 at 09:15:11AM +0100, Alexandre Fayolle wrote:
> > > Sounds like a CRLF versus CR issue.  Have you checked for that? :-)
> > 
> > Indeed. Netcat sends only \n, not \r. See the `delimiter' attribute of
> > the LineReceiver class.
> 
> Ahaaa!
> 
> Thanks for the quick answer. I've attached a patchlet adding this little
> piece of information to the LineReceiver's docstring, so that the epydoc
> documentation will provide the tip. 

I've committed a more epydoc-friendly patch to add this information to
the docstring (using @ivar). Thanks for the inspiration, though ;-)

-- 
			Christopher Armstrong
		    << radix at twistedmatrix.com >>
	     http://twistedmatrix.com/users/radix.twistd/




More information about the Twisted-Python mailing list