summaryrefslogtreecommitdiffstats
path: root/Lib/telnetlib.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-2/+2
| | | | From SF patch #852334.
* Get rid of many apply() calls.Guido van Rossum2003-02-271-1/+1
|
* Whitespace normalization.Tim Peters2002-11-091-5/+5
|
* Patch #625823: Add symbolic constants for more commands.Martin v. Löwis2002-11-041-2/+13
|
* Patch #630829: Don't block on IAC, process suboptions.Martin v. Löwis2002-11-041-31/+82
|
* Replaced boolean tests with is None.Raymond Hettinger2002-06-021-1/+1
|
* SF 554073. Fix typo in error reporting of unrecognized characterGuido van Rossum2002-05-131-1/+1
| | | | following IAC. Bugfix candidate if anyone cares.
* The Grande 'sendall()' patch, copied from release21-maint. Fixes #516715.Martin v. Löwis2002-02-161-3/+3
| | | | | Replaces calls to socket.send() (which isn't guaranteed to send all data) with the new socket.sendall() method.
* Only close sockets if they have been created. Reported by Blake Winton.Martin v. Löwis2001-10-071-1/+2
|
* Patch #416079: fix the debug string output when receiving telnet commands.Martin v. Löwis2001-09-061-5/+82
| | | | | | added all the telnet options known to arpa/telnet.h added all the options registered with IANA as of today added the possibility for the user to have it's own option negotiation callback
* Initialize msg to avoid unbound locals.Martin v. Löwis2001-07-311-0/+1
|
* Untabify IPv6 changes.Martin v. Löwis2001-07-261-11/+11
|
* Patch #401196: Use getaddrinfo and AF_INET6 in TCP servers and clients.Martin v. Löwis2001-07-241-2/+12
|
* final round of __all__ lists (I hope) - skipped urllib2 because Moshe may beSkip Montanaro2001-03-011-0/+2
| | | | giving it a slight facelift
* String method conversion.Eric S. Raymond2001-02-091-4/+3
|
* Whitespace normalization.Tim Peters2001-01-151-3/+3
|
* Caolan McNamara:Guido van Rossum2000-05-021-0/+1
| | | | | | | telnetlib is unable to connect to a few telnet daemons because of improper IAC handling, heres an attached oneliner to reject WILL messages which will allow many more telnet daemons to work with it, namely FreeBSD.
* Added mt_interact() -- multithreaded version of interact().Guido van Rossum1998-12-231-0/+26
| | | | | interact() automatically uses this on Windows (where the single-threaded version doesn't work).
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-294/+294
|
* Added debug statements to report data actually sent and received onGuido van Rossum1998-02-191-0/+2
| | | | the socket.
* Moved things around a bit in interact(), so outout is processed beforeGuido van Rossum1997-12-291-4/+5
| | | | | | input. When an EOF is read, break out of the loop instead of (by default) writing an empty line (which doesn't do much good). Don't close self when falling through the loop.
* Added expect() method which takes a list of regular expressions and anGuido van Rossum1997-12-241-2/+52
| | | | optional timeout. Also moved some imports around.
* Use string.replace instead of regsub.[g]sub.Guido van Rossum1997-12-241-2/+1
|
* Decided to add the telnet library that I wrote long ago (it's still inGuido van Rossum1997-12-241-0/+424
the Demos/cwilib directory). Converted comments to doc strings and used default arguments instead of *args. Updated the example.