A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-October/092744.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 loggingPaul Moore p.f.moore at gmail.com
Wed Oct 7 17:05:43 CEST 2009
2009/10/7 Vinay Sajip <vinay_sajip at yahoo.co.uk>:
> What's the general feeling here about this proposal? All comments and
> suggestions will be gratefully received.

+1

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)

Paul.
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