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.10:39:38
SpamBayes Score 3.8474668e-10
Marked as misclassified No
Message-id <493904E9.2040500@egenix.com>
In-reply-to <1228472697.82.0.196133074797.issue4540@psf.upfronthosting.co.za>
Content
On 2008-12-05 11:24, Amaury Forgeot d'Arc wrote:
> Amaury Forgeot d'Arc <amauryfa@gmail.com> added the comment:
> 
> Yes, it is the full traceback.
> 
> The modules are not compiled nor imported. 
> But to load the source code, importer.find_module() needs to open the
> file in text mode, so it calls PyTokenizer_FindEncoding() (this is the
> second failure, with test.badsyntax_pep3120.py), then the encoding is
> used to decode text (this is the first failure, with test.bad_coding.py)

I see.

>> Instead, pydoc should just say that a module was not specified 
>> and be done with it.
>
> I'm not sure to understand.

Sorry, I didn't see the attached PNG screenshot until now. Forget that
comment.

What I don't understand is that this works:

help> modules

Please wait a moment while I gather a list of all available modules...
...

while this doesn't:

help> modules web

Here is a list of matching modules.  Enter any module name to get more help.

Traceback (most recent call last):
...

Shouldn't the first method also cause a traceback ?
History
Date User Action Args
2008-12-05 10:39:40lemburgsetrecipients: + lemburg, amaury.forgeotdarc, john.weldon
2008-12-05 10:39:38lemburglinkissue4540 messages
2008-12-05 10:39:38lemburgcreate