Problem with telnetlib dropping receive bytes.

Eddie Corns eddie at holyrood.ed.ac.uk
Thu Oct 7 12:37:09 CEST 2004


Grant Edwards <grante at visi.com> writes:


>Why are NUL and DC1 characters being deleted from the recieve
>data stream at lines 431 and 433?  They're both perfectly legal
>characters.  I can't find anywhere in RFC 854 where it says to
>do that, and it's breaking my program.  Some of the other
>telnet features (e.g. RFC 2217) specifically use those two byte
>values.

Looks like a bug to me.  Telnet requires that ALL 7 bit characters can be
used.  Since it's all handled in Python I can't think of any reason why
those characters would be a problem.

Eddie



More information about the Python-list mailing list