Guido van Rossum
384ca9c6dd
Made SocketType and socket the same thing: a subclassable type whose
...
constructor acts just like socket() before. All three arguments have
a sensible default now; socket() is equivalent to
socket(AF_INET, SOCK_STREAM).
One minor issue: the socket() function and the SocketType had
different doc strings; socket.__doc__ gave the signature,
SocketType.__doc__ gave the methods. I've merged these for now, but
maybe the list of methods is no longer necessary since it can easily
be recovered through socket.__dict__.keys(). The problem with keeping
it is that the total doc string is a bit long (34 lines -- it scrolls
of a standard tty screen).
Another general issue with the socket module is that it's a big mess.
There's pages and pages of random platform #ifdefs, and the naming
conventions are totally wrong: it uses Py prefixes and CapWords for
static functions. That's a cleanup for another day... (Also I think
the big starting comment that summarizes the API can go -- it's a
repeat of the docstring.)
2001-10-27 22:20:47 +00:00
..
2001-09-20 10:35:46 +00:00
2001-10-13 08:50:10 +00:00
2001-10-24 17:10:49 +00:00
2001-10-23 22:26:16 +00:00
2001-09-20 19:18:30 +00:00
2001-10-24 22:16:30 +00:00
2001-09-30 05:09:37 +00:00
2001-08-17 18:39:25 +00:00
2001-10-23 21:12:47 +00:00
2000-06-30 16:09:01 +00:00
2001-08-15 17:14:33 +00:00
2000-09-01 23:29:29 +00:00
2001-02-16 03:24:50 +00:00
2001-07-27 16:05:32 +00:00
2000-09-01 23:29:29 +00:00
2001-10-04 14:54:53 +00:00
2001-03-22 00:19:22 +00:00
1999-12-16 17:52:08 +00:00
2000-09-01 23:29:29 +00:00
2000-07-01 00:16:13 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-09-06 08:16:17 +00:00
2001-08-30 00:12:32 +00:00
2001-10-16 17:10:49 +00:00
2000-08-03 02:34:44 +00:00
2001-09-24 17:34:52 +00:00
2000-09-01 23:29:29 +00:00
2001-01-22 15:29:14 +00:00
2001-02-27 20:54:23 +00:00
2000-09-01 23:29:29 +00:00
2001-05-14 21:02:36 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-03-07 10:22:20 +00:00
1998-12-10 16:49:28 +00:00
2001-10-12 20:52:48 +00:00
2001-02-28 16:44:18 +00:00
2001-09-07 16:10:00 +00:00
2001-07-26 13:41:06 +00:00
2001-08-15 17:14:33 +00:00
2001-09-28 20:00:29 +00:00
2000-09-01 23:29:29 +00:00
2001-03-11 03:03:07 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
1997-09-03 00:45:30 +00:00
2001-02-16 03:27:35 +00:00
1997-09-28 05:52:41 +00:00
2001-04-02 17:59:02 +00:00
2001-09-04 03:51:09 +00:00
2001-06-02 06:16:02 +00:00
1998-04-09 21:46:02 +00:00
2001-09-06 08:16:17 +00:00
2000-09-26 05:46:01 +00:00
2001-09-24 17:14:40 +00:00
2000-09-01 23:29:29 +00:00
2001-07-16 15:47:36 +00:00
2001-07-15 18:38:47 +00:00
2001-10-21 22:26:43 +00:00
2001-01-21 23:34:12 +00:00
2001-08-09 20:14:34 +00:00
2001-10-15 15:44:05 +00:00
1998-05-07 15:32:44 +00:00
2000-06-28 20:56:30 +00:00
2001-07-19 21:29:49 +00:00
2001-10-19 01:31:59 +00:00
2000-09-01 09:01:32 +00:00
2001-03-11 03:03:07 +00:00
2001-10-21 08:53:52 +00:00
2000-08-02 13:41:18 +00:00
2000-07-22 23:57:55 +00:00
2001-10-19 01:18:43 +00:00
2001-07-09 18:15:38 +00:00
2001-07-15 18:38:47 +00:00
2000-07-16 12:04:32 +00:00
2001-09-17 16:19:16 +00:00
2000-07-21 06:00:07 +00:00
2001-01-10 21:03:32 +00:00
2001-10-25 20:18:35 +00:00
2001-08-30 00:13:38 +00:00
2001-10-17 13:46:44 +00:00
2000-09-01 23:29:29 +00:00
2001-01-29 22:46:35 +00:00
2001-10-01 17:58:40 +00:00
2001-10-27 22:20:47 +00:00
2001-07-02 16:58:38 +00:00
2001-07-02 16:42:49 +00:00
2001-05-15 02:14:44 +00:00
2001-10-24 20:42:55 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-04-16 18:42:13 +00:00
2000-09-01 09:01:32 +00:00
2000-07-21 06:00:07 +00:00
2001-06-15 12:05:44 +00:00
2001-06-16 08:10:13 +00:00
2001-10-16 21:13:49 +00:00
2001-10-24 20:42:55 +00:00
1996-01-26 21:10:22 +00:00
2000-09-01 09:01:32 +00:00
2000-08-04 15:53:06 +00:00
2001-01-21 22:41:08 +00:00
2001-07-19 21:11:13 +00:00
2001-01-21 22:41:08 +00:00
2001-08-29 23:50:42 +00:00
2001-10-15 21:24:12 +00:00
2001-10-21 22:26:43 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-10-23 22:29:06 +00:00