[Distutils] logging into distutils

Tarek Ziadé ziade.tarek at gmail.com
Wed May 6 13:06:20 CEST 2009

On Wed, May 6, 2009 at 12:36 PM, A. Cavallo <a.cavallo at cavallinux.eu> wrote:
> Hi,
> I'm playing lately with distutils (on the 2.7a branch).
> This "sudden" interest has been triggered by the python bugs:
> http://bugs.python.org/issue5941
> http://bugs.python.org/issue5940
> What I've found (IMHO) is the lack of proper logging while stepping through
> all the loops inside the code.
> In fact distutils.log (the log module used internally) It is loosely written
> resembling the logging python module but missing the full elegance in the
> api: is there any reason it could not be made very similar to it?

In fact the goal is to replace it with logging calls. It was created
with this in mind

> I think this is one of the reason is not more deeply spread into the distutils
> package (a useful tool in diagnostic, IMHO).
> Because I'm out of work at the moment (It might not last forever tough) I can
> do it if there is any interest and send a patch set to be reviewed.

Sure that would be awesome !

We started this work a while ago, http://bugs.python.org/issue3992
you might want to check the latest patch and take it from here,
the I can review it and commit it


Tarek Ziadé | http://ziade.org

More information about the Distutils-SIG mailing list