Re: [Distutils] log.py->logging ; trac for distutils2
At 12:48 PM 3/26/2010 +0530, Zubin Mithra wrote:
I had found that this was a pending task by looking through the code-base; and the task was quite trivial.
Did you take into consideration the effect of the -v and -q flags, both at the global and specific-command levels? If not, backporting it to the main distutils might be a problem. (Also, ISTR that the logging module by default sends things to stderr that distutils currently sends to stdout; that might be a backwards compatibility issue as well.)
On Fri, Mar 26, 2010 at 7:23 PM, P.J. Eby
At 12:48 PM 3/26/2010 +0530, Zubin Mithra wrote:
I had found that this was a pending task by looking through the code-base; and the task was quite trivial.
Did you take into consideration the effect of the -v and -q flags, both at the global and specific-command levels? If not, backporting it to the main distutils might be a problem. (Also, ISTR that the logging module by default sends things to stderr that distutils currently sends to stdout; that might be a backwards compatibility issue as well.)
FTR, I have done this in the past in a patch and I had many problems, like the one you mentioned, but also because distutils is used by Python when the intrepreter starts, and fails because of the "import logging" chain Notice that at this point, we won't backport anything but bugfixes in distutils.
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
-- Tarek Ziadé | http://ziade.org
participants (2)
-
P.J. Eby
-
Tarek Ziadé