Opened 13 years ago

Closed 13 years ago

#2036 closed defect (fixed)

utils/ falls over when "thread" module is not installed

Reported by: plmeister@… Owned by: Adrian Holovaty
Component: Core (Management commands) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Python's thread module is the interface to your systems pthreads library - and it's also an optional module, as not all systems support pthreads. Where pthreads are not available, the "dummy_thread" module can be used as a drop-in replacement..

easy to do..instead of:

import os, sys, thread, time


import os, sys, time

    import thread
    import dummy_thread as thread

Change History (1)

comment:1 Changed 13 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [3020]) Fixed #2036 -- no longer fails for uninstalled 'thread' module. Thanks, plmeister@…

Note: See TracTickets for help on using tickets.
Back to Top