Amaury Forgeot d'Arc <[EMAIL PROTECTED]> 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)

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

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4540>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to