extensions: fix wrapcommand/function of class instance
5361771f9714 changed _updatewrapper() to copy the __name__ attribute, but
not all callable objects has __name__.
Spotted by loading mq with extdiff.
from __future__ import absolute_importimport pkgutil__path__ = pkgutil.extend_path(__path__, __name__)