
Hello, I Ran Python 3.0 for the first time. I used help() function and wrote "modules hash". It issues an error. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/ss/eproj/xapian/INST//lib/python3.0/site.py", line 427, in __call__ return pydoc.help(*args, **kwds) File "/home/ss/eproj/xapian/INST//lib/python3.0/pydoc.py", line 1675, in __call__ self.interact() File "/home/ss/eproj/xapian/INST//lib/python3.0/pydoc.py", line 1693, in interact self.help(request) File "/home/ss/eproj/xapian/INST//lib/python3.0/pydoc.py", line 1711, in help self.listmodules(request.split()[1]) File "/home/ss/eproj/xapian/INST//lib/python3.0/pydoc.py", line 1799, in listmodules apropos(key) File "/home/ss/eproj/xapian/INST//lib/python3.0/pydoc.py", line 1913, in apropos ModuleScanner().run(callback, key, onerror=onerror) File "/home/ss/eproj/xapian/INST//lib/python3.0/pydoc.py", line 1875, in run source = loader.get_source(modname) File "/home/ss/eproj/xapian/INST/lib/python3.0/pkgutil.py", line 293, in get_source self.source = self.file.read() File "/home/ss/eproj/xapian/INST//lib/python3.0/io.py", line 1720, in read decoder = self._decoder or self._get_decoder() File "/home/ss/eproj/xapian/INST//lib/python3.0/io.py", line 1506, in _get_decoder make_decoder = codecs.getincrementaldecoder(self._encoding) File "/home/ss/eproj/xapian/INST//lib/python3.0/codecs.py", line 960, in getincrementaldecoder decoder = lookup(encoding).incrementaldecoder LookupError: unknown encoding: uft-8 The reason for errors is test/ directory which has got tests for python parser are installed in Lib directory. I propose that these files should be installed by default in some other directory. Preferably in /share or /share/doc part of the tree. regards -- ~preet~

On Tue, May 05, 2009, s|s wrote:
I Ran Python 3.0 for the first time. I used help() function and wrote "modules hash". It issues an error.
Please file a report on bugs.python.org -- Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/ "It is easier to optimize correct code than to correct optimized code." --Bill Harlan

On Tue, May 5, 2009 at 5:41 AM, s|s <supreet.sethi@gmail.com> wrote:
LookupError: unknown encoding: uft-8
uft-8? Looks like a variation of Issue 4540 <http://bugs.python.org/issue4540> (or a duplicate? I can't tell) -- Daniel Stutzbach, Ph.D. President, Stutzbach Enterprises, LLC <http://stutzbachenterprises.com/>

On Tue, May 5, 2009 at 7:13 PM, Daniel Stutzbach <daniel@stutzbachenterprises.com> wrote:
On Tue, May 5, 2009 at 5:41 AM, s|s <supreet.sethi@gmail.com> wrote:
LookupError: unknown encoding: uft-8
uft-8?
Looks like a variation of Issue 4540 (or a duplicate? I can't tell)
Yes. It is the same issue. I don't think pydoc should be modified. In my humble opinion tests should exist in /usr/share or /usr/share/doc.
-- Daniel Stutzbach, Ph.D. President, Stutzbach Enterprises, LLC
-- ~preet~
participants (3)
-
Aahz
-
Daniel Stutzbach
-
s|s