Steve R. Hastings <stev...@users.sourceforge.net> added the comment:

> What about [ BaseRotatingHandler.namer ] which allows you to specify your own 
> naming scheme?

I confess that I overlooked that; it was added later than the version of Python 
in which I wrote my original code.

The current Python code still has a small set of predefined file templates, but 
now has a way to specify a callable that can completely override the filename.  
I agree that this can be used to implement any desired filename system, 
although it would be more work than simply specifying the desired template 
codes.

Are you planning to remove the predefined filename templates and produce a more 
functional version of the code where the .namer() function is always used to 
produce a filename, with a set of predefined functions that produce equivalent 
filenames to the built-in templates?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33506>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to