Is it possible to use the logging-module in a threadless environment?

Roger rlwm.erens at home.nl
Thu Feb 17 08:41:12 EST 2005


I'd like to use a program (roundup) that imports the logging.config
module on a machine where I could not get the thread and threading
modules to compile.

How dangerous is it to changing /lib/python2.4/logging/config.py to
something like:

import dummy_thread as thread, dummy_threading as threading


Thanks in advance,
Roger Erens



More information about the Python-list mailing list