On Fri, Jan 29, 2010 at 08:00:12AM +0100, Fabio Tranchitella wrote: > * 2010-01-28 15:56, Marius Gedminas wrote: > > I recently came up with a different and perhaps a bit simpler solution: > > > > * make zope.sendmail not start the thread during ZCML processing, > > instead make it listen for ProcessStarting events and start the > > thread then. > > I like your approach, as long as the console script is also provided to > process the queue (as it is now in 3.8.0).
Oh, absolutely, the standalone script is a wonderful idea. > In any way, to keep BBB, we should ensure that users of zope.sendmail will > have the thread running by default, without changing their code. Yesterday I tried to upgrade to zope.sendmail 3.7.1 in an app that's currently based on Zope 3.4 KGS. I had to give up after two hours of fighting explicit and implicit compatibility problems and upgrading most of the version pins. The zope.component >= 3.8.0 requirement is deadly. My motivation to have an alternative fix that could be backported to something compatible with Zope 3.4 KGS is now much higher. Marius Gedminas -- http://pov.lt/ -- Zope 3 consulting and development
signature.asc
Description: Digital signature
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )