classification
Title: queue broken when built without-thread
Type: behavior Stage: needs patch
Components: Library (Lib) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: neologix, rhettinger
Priority: normal Keywords:

Created on 2012-01-09 19:45 by neologix, last changed 2012-01-09 20:03 by rhettinger. This issue is now closed.

Messages (2)
msg150970 - (view) Author: Charles-Fran├žois Natali (neologix) * (Python committer) Date: 2012-01-09 19:45
Commit 190ad17f5a87481a006434a2a3d3a8e1e954a6db broke the fedora without-threads buildbot:
"""
./python  ./Tools/scripts/run_tests.py -j 1 -u all -W --timeout=3600 
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/queue.py", line 4, in <module>
    import threading
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/threading.py", line 4, in <module>
    import _thread
ImportError: No module named '_thread'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./Tools/scripts/run_tests.py", line 12, in <module>
    import test.support
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/test/support.py", line 25, in <module>
    import logging.handlers
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/logging/handlers.py", line 30, in <module>
    import queue
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/queue.py", line 6, in <module>
    import dummythreading as threading
ImportError: No module named 'dummythreading'
[76890 refs]
make: *** [buildbottest] Error 1
"""

See http://python.org/dev/buildbot/all/builders/AMD64%20Fedora%20without%20threads%203.x/builds/1333/steps/test/logs/stdio
msg150973 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2012-01-09 20:03
Fixed in changeset 32eae3c48631.
Thanks for the report.
History
Date User Action Args
2012-01-09 20:03:49rhettingersetstatus: open -> closed
resolution: fixed
messages: + msg150973
2012-01-09 19:58:22rhettingersetassignee: rhettinger
2012-01-09 19:45:05neologixcreate