Tarek Ziadé <ziade.ta...@gmail.com> added the comment: After more thinking, I think we can use a better strategy: - adding a deprecate warning inside the log module and keep the code as it is - set in the __init__ module the regular logger - change every call in distutils from the old log system to the new
now for the access problem, can you explain me when+how it happens exactly ? btw, in your patch: - you have a raise - "except:" should be "except ImportError:" - in _log, Logger.level should be self.level, same for Logger.stream - I don't see why LOG, DEBUG etc is defined only in the try: ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3992> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com