Message77000
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 ? |
|
Date |
User |
Action |
Args |
2008-12-05 10:39:40 | lemburg | set | recipients:
+ lemburg, amaury.forgeotdarc, john.weldon |
2008-12-05 10:39:38 | lemburg | link | issue4540 messages |
2008-12-05 10:39:38 | lemburg | create | |
|