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/2011-December/114998.html below:

[Python-Dev] Proposed changes to provide compression support for rotated log files

[Python-Dev] Proposed changes to provide compression support for rotated log files [Python-Dev] Proposed changes to provide compression support for rotated log filesTerry Reedy tjreedy at udel.edu
Thu Dec 15 19:40:57 CET 2011
On 12/15/2011 5:31 AM, Vinay Sajip wrote:
> In response to http://bugs.python.org/issue13516 I'm thinking of implementing
> some changes in the rotating file handlers, as outlined here:
>
> http://plumberjack.blogspot.com/2011/12/improved-flexibility-for-log-file.html
>
> The changes (including tests) are almost ready to check in, but I thought I'd
> give any one here who's interested a chance to comment, in case they can spot
> any shortcomings of the approach I suggest.

It appears you are adding two methods to do the same thing. One is to 
subclass and override one or two functions. The other is to define one 
or two custom functions and attach as attributes. Both seem equally 
easy. (Actually, subclassing takes one line less.) Are both really needed?

-- 
Terry Jan Reedy

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