Author bpb
Recipients bpb
Date 2008-02-07.12:24:04
SpamBayes Score 0.00366551
Marked as misclassified No
Message-id <>
To quickly open a PyDoc browser, I want to be able to run the following:

python -m pydoc -g

This works fine on Python2.4, but fails on 2.5(.1), with following
traceback (tested on both WinXP and Solaris 8, same result):

Traceback (most recent call last):
  File "c:\python25\lib\", line 95, in run_module
    filename, loader, alter_sys)
  File "c:\python25\lib\", line 52, in _run_module_code
    mod_name, mod_fname, mod_loader)
  File "c:\python25\lib\", line 32, in _run_code
    exec code in run_globals
  File "c:\python25\lib\", line 2255, in <module>
    if __name__ == '__main__': cli()
  File "c:\python25\lib\", line 2191, in cli
  File "c:\python25\lib\", line 2162, in gui
    gui = GUI(root)
  File "c:\python25\lib\", line 2052, in __init__
    import threading
ImportError: No module named threading

When running -g directly (i.e. without the -m) it works fine,
but this requires knowing the specific location of pydoc library file,
so is less helpful.
Date User Action Args
2008-02-07 12:24:54bpbsetspambayes_score: 0.00366551 -> 0.00366551
recipients: + bpb
2008-02-07 12:24:54bpbsetspambayes_score: 0.00366551 -> 0.00366551
messageid: <>
2008-02-07 12:24:04bpblinkissue2029 messages
2008-02-07 12:24:04bpbcreate