Martin v. Löwis
2ad2569c72
Initialize msg to avoid unbound locals.
2001-07-31 08:40:21 +00:00
Martin v. Löwis
4eb5940a4d
Untabify IPv6 changes.
2001-07-26 13:37:33 +00:00
Martin v. Löwis
a43c2f845e
Patch #401196 : Use getaddrinfo and AF_INET6 in TCP servers and clients.
2001-07-24 20:34:08 +00:00
Skip Montanaro
40fc16059f
final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be
...
giving it a slight facelift
2001-03-01 04:27:19 +00:00
Eric S. Raymond
6b8c52835c
String method conversion.
2001-02-09 07:10:12 +00:00
Tim Peters
b90f89a496
Whitespace normalization.
2001-01-15 03:26:36 +00:00
Guido van Rossum
823eb4ba81
Caolan McNamara:
...
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.
2000-05-02 14:32:11 +00:00
Guido van Rossum
82eae9eaa7
Added mt_interact() -- multithreaded version of interact().
...
interact() automatically uses this on Windows (where the
single-threaded version doesn't work).
1998-12-23 23:04:17 +00:00
Guido van Rossum
45e2fbc2e7
Mass check-in after untabifying all files that need it.
1998-03-26 21:13:24 +00:00
Guido van Rossum
2fc4d581ba
Added debug statements to report data actually sent and received on
...
the socket.
1998-02-19 21:19:48 +00:00
Guido van Rossum
5baf4bc978
Moved things around a bit in interact(), so outout is processed before
...
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.
1997-12-29 20:05:45 +00:00
Guido van Rossum
ccb5ec62e1
Added expect() method which takes a list of regular expressions and an
...
optional timeout. Also moved some imports around.
1997-12-24 22:24:19 +00:00
Guido van Rossum
00f9fea288
Use string.replace instead of regsub.[g]sub.
1997-12-24 21:18:41 +00:00
Guido van Rossum
b9b50eb7e0
Decided to add the telnet library that I wrote long ago (it's still in
...
the Demos/cwilib directory). Converted comments to doc strings and
used default arguments instead of *args. Updated the example.
1997-12-24 21:07:04 +00:00