[Python-Dev] distutils & stderr

Thomas Heller thomas.heller@ion-tof.com
Fri, 1 Feb 2002 21:10:49 +0100


From: "Guido van Rossum" <guido@python.org>
> >     >> - quiet, only tells you about errors
> > 
> > And only to stderr, assuming stderr is available.  (Can this be
> > detected on Windows?)
> 
> Depends on what you call available.  sys.stderr should always exist.
> 
> > If you log messages to stdout, scripts that use distutils can't
> > be used as filters.
> 
> IMO it would be better if there was a way to give distutils a file
> where to send output.

One additional annoyance under windows is that MSVC (when compiling)
always prints messages to the console (stderr, stdout? not sure)
which cannot be suppressed (at least I haven't found a way).

Thomas