Terry Reedy <tjre...@udel.edu> wrote:
> Now wrap *every* function you are interested in. Builtin functions are
> no problem; methods of builtin classes cannont be wrapped without
> subclassing.

It's a shame it's not possible to do:

    type.__call__ = func_wrap(type.__call__)

Or even:

    type.__class__ = NewType
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to