[issue3992] removed custom log from distutils

Antonio Cavallo report at bugs.python.org
Wed May 6 21:03:04 CEST 2009


Antonio Cavallo <a.cavallo at cavallinux.eu> added the comment:

This patch changes the log.py in order to make use of the logging 
infrastructure.

There are few point tough worth of mention.

There're two separate stages when log.py is used:
  a) during the python interpreter build (let's call it bootstrap) 
  b) for every python setup.py cycle

During the bootstrap log.py doesn't seem have access to the logging 
module
(at least on the CentOS/Redhat/Suse build systems, but I assume is true 
for 
other platforms): in this case a fallback minimal logging is in place.

Once the python is in place (eg. installed) it can make use of the true 
logging: this happen when  python setup.py <cmd> is used to create a 
python module.

A python intepreter built with the patch (from the latest python build) 
is hosted in:

http://download.opensuse.org/repositories/home:/cavallo71:/python-opt

----------
nosy: +cavallo71
type:  -> feature request
versions:  -Python 3.1
Added file: http://bugs.python.org/file13906/issue3992.remove-custom-log.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3992>
_______________________________________


More information about the Python-bugs-list mailing list