[Distutils] Exceptions

Thomas Heller theller at python.net
Thu Jun 26 22:54:58 EDT 2003


"A.M. Kuchling" <amk at amk.ca> writes:

> Thomas Heller wrote:
>
>>IMO this behaviour is not helpful, and the DISTUTILS_DEBUG variable is
>>undocumented.
>>
>>In which way should this be changed?
>>
> I believe the motivation for this was simply to reduce the depth of
> tracebacks; consider an administrator who doesn't know much about
> Python and is trying to install a package.  If they get a big long
> traceback from deep inside the guts of Distutils, they may think the
> package or the Python installation is broken because they don't read
> all the way down to the bottom and see that it's a permission problem.
>
> I suggest just documenting the DISTUTILS_DEBUG variable, but otherwise
> leaving this alone.

Suggested patch submitted as http://www.python.org/sf/761401.

Thomas




More information about the Distutils-SIG mailing list