This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients cdleary, vinay.sajip
Date 2007-09-08.12:01:45
SpamBayes Score 0.23501892
Marked as misclassified No
Message-id <1189252906.23.0.838279208498.issue1765140@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the patch. I think it would be simpler to just implement an
optional delay parameter in FileHandler and its subclasses: then the
configuration stuff need not be touched at all, since the delay
parameter can be specified in the configuration file. There would then
be no need for a callback or a file-opening closure: If delay is False
(the default), FileHandler would behave as it does now. If True, then
the open code in FileHandler's constructor would be deferred until the
time emit() was called on the instance.

Would this meet your needs?
History
Date User Action Args
2007-09-08 12:01:46vinay.sajipsetspambayes_score: 0.235019 -> 0.23501892
recipients: + vinay.sajip, cdleary
2007-09-08 12:01:46vinay.sajipsetspambayes_score: 0.235019 -> 0.235019
messageid: <1189252906.23.0.838279208498.issue1765140@psf.upfronthosting.co.za>
2007-09-08 12:01:46vinay.sajiplinkissue1765140 messages
2007-09-08 12:01:45vinay.sajipcreate