Original Problem:
I am building Python 2.7.1 on Mac OS X 10.6.7 and am having issues with a KeyError
exception being thrown from the threading
module when Python is quit (likely on the atexit
call).
I haven't been able to find a proper answer anywhere, and am wondering if someone here knows what the issue may be and how to perhaps compile/configure Python correctly in order to avoid this.
The steps to produce the error is relatively short:
echo "import threading" | ./python
This produces the following output:
Exception KeyError: KeyError(140735086161056,) in <module 'threading' from '/Users/danerik/quantumnotes/qw-control/quantumsource/external-libs/build/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.pyc'> ignored
The error is in all likelihood harmless (I have experienced no ill effects), but the message is undesirable and I would prefer it not be there.