[New-bugs-announce] [issue1403] io or codecs bug in codecs.getincrementaldecoder

Christian Heimes report at bugs.python.org
Thu Nov 8 15:01:08 CET 2007


New submission from Christian Heimes:

$ ./python Lib/compileall.py
Listing /home/heimes/dev/python/py3k/Lib ...
Compiling /home/heimes/dev/python/py3k/Lib/pydoc.py ...
Traceback (most recent call last):
  File "Lib/compileall.py", line 162, in <module>
    exit_status = int(not main())
  File "Lib/compileall.py", line 155, in main
    success = compile_path()
  File "Lib/compileall.py", line 110, in compile_path
    force, quiet=quiet)
  File "Lib/compileall.py", line 65, in compile_dir
    ok = py_compile.compile(fullname, None, dfile, True)
  File "/home/heimes/dev/python/py3k/Lib/py_compile.py", line 137, in
compile
    codestring = f.read()
  File "/home/heimes/dev/python/py3k/Lib/io.py", line 1243, in read
    decoder = self._decoder or self._get_decoder()
  File "/home/heimes/dev/python/py3k/Lib/io.py", line 1132, in _get_decoder
    make_decoder = codecs.getincrementaldecoder(self._encoding)
  File "/home/heimes/dev/python/py3k/Lib/codecs.py", line 951, in
getincrementaldecoder
    decoder = lookup(encoding).incrementaldecoder
LookupError: unknown encoding: b'Latin-1'

----------
components: Library (Lib)
keywords: py3k
messages: 57244
nosy: tiran
priority: high
severity: normal
status: open
title: io or codecs bug in codecs.getincrementaldecoder
type: crash
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1403>
__________________________________


More information about the New-bugs-announce mailing list