[issue4540] typo in a module describes utf-8 as uft-8
Marc-Andre Lemburg
report at bugs.python.org
Fri Dec 5 11:39:39 CET 2008
Marc-Andre Lemburg <mal at egenix.com> added the comment:
On 2008-12-05 11:24, Amaury Forgeot d'Arc wrote:
> Amaury Forgeot d'Arc <amauryfa at 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 ?
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4540>
_______________________________________
More information about the Python-bugs-list
mailing list