Tres Seaver wrote: > Nick Coghlan wrote: >> Antoine Pitrou wrote: >>> Brett Cannon <brett <at> python.org> writes: >>>> It is specifically there to be overridden (and as an aside, it was a >>>> pain to support in the C port of warnings), so it really isn't >>>> monkey-patching. =) >>> Should we coin a new word for this? Pretty-patching? >> When the module docs tell you it's OK, it's just overriding the >> function. If the docs don't tell you to do it, it's monkey patching :) > > Monkey-patching is never inheritance-based: it means replacing a method > / attribute of a module or class from a different module, after import time.
Hence why I said overriding a function, not a method. Class hierarchies don't have a monopoly on that word. Cheers, Nick. -- Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia --------------------------------------------------------------- -- http://mail.python.org/mailman/listinfo/python-list