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/2009-October/092748.html below:

[Python-Dev] A new way to configure logging

[Python-Dev] A new way to configure logging [Python-Dev] A new way to configure loggingVinay Sajip vinay_sajip at yahoo.co.uk
Thu Oct 8 07:43:20 CEST 2009
Paul Moore <p.f.moore <at> gmail.com> writes:

> One option I would have found useful in some code I wrote would be to
> extend the configuration -
> 
> class DictConfigurator:
>    ...
>    def extend(self, moreconfig):
>       import copy
>       more = copy.deepcopy(moreconfig) # Not sure if this is needed?
>       self.config.update(more)

See my response to Paul Rudin's post about incremental configuration.

Regards,

Vinay Sajip


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