> Isn't this last one easier written has: > > for _m in _socketmethods: > vars()[_m] = _bummer > > And change _bummer to have a *args. Good idea. For an even better idea, see my checkin. :-) --Guido van Rossum (home page: http://www.python.org/~guido/)