A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-November/083651.html below:

[Python-Dev] Redirecting warnings.showwarning to logging

[Python-Dev] Redirecting warnings.showwarning to logging [Python-Dev] Redirecting warnings.showwarning to loggingNick Coghlan ncoghlan at gmail.com
Sun Nov 23 12:38:32 CET 2008
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 :)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4