[Twisted-Python] Addition to twisted.python.logfile

Andrew Bennetts andrew-twisted at puzzling.org
Mon Oct 21 04:26:29 EDT 2002

On Mon, Oct 21, 2002 at 08:09:10AM -0000, Moshe Zadka wrote:
> On Mon, 21 Oct 2002, Christopher Armstrong <radix at twistedmatrix.com> wrote:
> > Hey, I forgot zlib could do that. That's really cool (And I'd
> > recommend doing it that way, barring any issues with it (and "it's not
> > UNIXy" isn't an issue, afaic ;))).
> I fail to see why this is a good idea. The gzip method would work on UNIX
> with much simpler code, and will be far more efficient.

Hmm.  Cygwin is available for Windows, which provides a gzip.exe you
could use.  So perhaps this approach is ok from a cross-platform
perspective, with the caveat that you may need to install a gzip
executable if your system doesn't already come with one -- and in fact
there's GzipFile or whatever in the standard python library, so we could
always fall back to that...

Just some random thoughts.


More information about the Twisted-Python mailing list