This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ron_adam
Recipients ron_adam
Date 2010-07-21.06:29:22
SpamBayes Score 0.00102011
Marked as misclassified No
Message-id <>
help('modules spam') causes segfault.

When pydoc tries goes though the files it does the following in the ModuleScanner class.

(minimal example)

>>> for importer, modname, ispkg in pkgutil.walk_packages():
...     if modname == 'test.badsyntax_pep3120':
...         loader = importer.find_module(modname)
Segmentation fault


   if modname=='test.badsyntax_pep3120':

At the top of the for loop will suppress the segfault in pydoc by skipping that file.

A bit further probing narrowed it down to this...

>>> loader = pkgutil.get_loader('test.badsyntax_pep3120')
Segmentation fault

I'm not familiar with the pkgutil module so I didn't go further.
Date User Action Args
2010-07-21 06:29:25ron_adamsetrecipients: + ron_adam
2010-07-21 06:29:25ron_adamsetmessageid: <>
2010-07-21 06:29:23ron_adamlinkissue9319 messages
2010-07-21 06:29:23ron_adamcreate