[issue4540] typo in a module describes utf-8 as uft-8
John Weldon
report at bugs.python.org
Fri Dec 5 00:38:43 CET 2008
New submission from John Weldon <johnweldon4 at gmail.com>:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:\Python30\lib\site.py", line 427, in __call__
return pydoc.help(*args, **kwds)
File "c:\Python30\lib\pydoc.py", line 1675, in __call__
self.interact()
File "c:\Python30\lib\pydoc.py", line 1693, in interact
self.help(request)
File "c:\Python30\lib\pydoc.py", line 1711, in help
self.listmodules(request.split()[1])
File "c:\Python30\lib\pydoc.py", line 1799, in listmodules
apropos(key)
File "c:\Python30\lib\pydoc.py", line 1913, in apropos
ModuleScanner().run(callback, key, onerror=onerror)
File "c:\Python30\lib\pydoc.py", line 1875, in run
source = loader.get_source(modname)
File "c:\Python30\lib\pkgutil.py", line 293, in get_source
self.source = self.file.read()
File "c:\Python30\lib\io.py", line 1720, in read
decoder = self._decoder or self._get_decoder()
File "c:\Python30\lib\io.py", line 1506, in _get_decoder
make_decoder = codecs.getincrementaldecoder(self._encoding)
File "c:\Python30\lib\codecs.py", line 960, in getincrementaldecoder
decoder = lookup(encoding).incrementaldecoder
LookupError: unknown encoding: uft-8
----------
files: python3bug.png
messages: 76945
nosy: john.weldon
severity: normal
status: open
title: typo in a module describes utf-8 as uft-8
type: crash
versions: Python 3.0
Added file: http://bugs.python.org/file12229/python3bug.png
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4540>
_______________________________________
More information about the Python-bugs-list
mailing list