Guido van Rossum writes: > I think it's useful to share these recipes,
But only to people who have demonstrated that they already know when, why and how to monkeypatch on their own. Lisp's `defadvice' plays a starring role in a number of my nightmares. Most recently, 15 minutes ago.<wink> Come to think of it, `defadvice' does have the advantage that it also automatically monkeypatches the docstring to say "This function has <class> advice", and with a little cooperation from the advisor can also provide documentation of the changed semantics. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com