* Modules/{Setup.in,Makefile.pre.in}: renamed some modules to

shorter names (dropped the "module" from the name): sunaudiodev,
	imgformat, audioop, imageop, imgfile

	* Modules/stropmodule.c (strop_rindex): make rindex('abc', '') do
	the right thing (i.e. return 3 instead of 0)

	* Modules/socketmodule.c: disabled allowbroadcast() socket method
This commit is contained in:
Guido van Rossum 1994-08-05 13:44:50 +00:00
parent 781db5d0bb
commit c65a525cdc
5 changed files with 21 additions and 10 deletions

View file

@ -380,6 +380,7 @@ sock_accept(s, args)
}
#if 0
/* s.allowbroadcast() method */
/* XXX obsolete -- will disappear in next release */
@ -399,6 +400,7 @@ sock_allowbroadcast(s, args)
INCREF(None);
return None;
}
#endif
/* s.setsockopt() method.
@ -796,7 +798,9 @@ sock_shutdown(s, args)
static struct methodlist sock_methods[] = {
{"accept", (method)sock_accept},
#if 0
{"allowbroadcast", (method)sock_allowbroadcast},
#endif
{"setsockopt", (method)sock_setsockopt},
{"getsockopt", (method)sock_getsockopt},
{"bind", (method)sock_bind},