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 lemburg
Recipients amaury.forgeotdarc, john.weldon, lemburg
Date 2008-12-05.09:48:17
SpamBayes Score 2.6689872e-06
Marked as misclassified No
Message-id <1228470498.75.0.949870007847.issue4540@psf.upfronthosting.co.za>
In-reply-to
Content
Amaury, I don't see where imp.find_module() tries to do a compile()
(which would trigger the SyntaxError). Is that really the full traceback ?

Regarding the strategy of pydoc to try to list all modules: I don't
think that's such a good idea. It's likely to take a long time to
compile such a list on a moderately used Python system and can have lots
of unwanted side effects via import hooks.

Instead, pydoc should just say that a module was not specified and be
done with it.
History
Date User Action Args
2008-12-05 09:48:18lemburgsetrecipients: + lemburg, amaury.forgeotdarc, john.weldon
2008-12-05 09:48:18lemburgsetmessageid: <1228470498.75.0.949870007847.issue4540@psf.upfronthosting.co.za>
2008-12-05 09:48:18lemburglinkissue4540 messages
2008-12-05 09:48:17lemburgcreate