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.

classification
Title: help> modules os raises UnicodeDecodeError
Type: behavior Stage:
Components: Interpreter Core Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: amaury.forgeotdarc, msyang
Priority: normal Keywords:

Created on 2008-06-19 19:58 by msyang, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg68419 - (view) Author: Michael Yang (msyang) Date: 2008-06-19 19:58
>>> help()
help> modules os
Here is a list of matching modules.  Enter any module name to get more help.

posix - This module provides access to operating system
...
stringprep - Library that exposes various tables found in the StringPrep
RFC 3454.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
...
File "/home/michael/python3/3.0b1/lib/python3.0/codecs.py", line 300, in
decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 8-11:
invalid data
msg68421 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2008-06-19 20:06
I added some print statements, and it appears that the function is
trying to read get the source of "test.badsyntax_pep3120" !
msg68425 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2008-06-19 20:55
Corrected with r64411. Thanks for the report!
History
Date User Action Args
2022-04-11 14:56:35adminsetgithub: 47395
2008-06-19 20:55:09amaury.forgeotdarcsetstatus: open -> closed
resolution: fixed
messages: + msg68425
2008-06-19 20:06:21amaury.forgeotdarcsetnosy: + amaury.forgeotdarc
messages: + msg68421
2008-06-19 19:58:17msyangcreate