Win32 trouble with threading, signals, and sleep()

2008-08-08 Thread Lowell Alleman
p(), which seems like a poor (and painful) solution. I also thought about replacing threading._sleep with a try/except wrapper function, but that seems kind of evil. Thanks in advance for any suggestions, Lowell Alleman - import threading import signal import time, rand

Re: Custom log handler and logging.config.fileConfig()

2008-05-29 Thread Lowell Alleman
Is there any reason not to do this assignment in the "myhandler.py" directly? This would save a step for each application that needs to use it. Starting from your example, it would now look like this: # -- myhandler.py --- import logging.handlers class MySpecialHandler(logging.handlers.Rotating

Custom log handler and logging.config.fileConfig()

2008-05-28 Thread Lowell Alleman
me special namespace declaration code). The __init__.py for the logging module is not at all empty, so I suppose that rules out this option? Anyone have some insights on this? Thanks in advance, - Lowell Alleman -- http://mail.python.org/mailman/listinfo/python-list