Your message dated Sun, 11 May 2014 12:10:35 +0200 with message-id <[email protected]> and subject line Re: python2.4 : help(encodings) -> IndexError: list index out of range has caused the Debian Bug report #411767, regarding python2.4 : help(encodings) -> IndexError: list index out of range to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 411767: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411767 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python2.4 Version: 2.4.4-2 Severity: normal trying to get help on the encodings module result in a exception. here is a sample session Python 2.4.4 (#2, Jan 13 2007, 17:50:26) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import encodings >>> help(encodings) Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.4/site.py", line 339, in __call__ return pydoc.help(*args, **kwds) File "/usr/lib/python2.4/pydoc.py", line 1656, in __call__ self.help(request) File "/usr/lib/python2.4/pydoc.py", line 1700, in help else: doc(request, 'Help on %s:') File "/usr/lib/python2.4/pydoc.py", line 1483, in doc pager(title % desc + '\n\n' + text.document(object, name)) File "/usr/lib/python2.4/pydoc.py", line 303, in document if inspect.ismodule(object): return self.docmodule(*args) File "/usr/lib/python2.4/pydoc.py", line 1083, in docmodule contents.append(self.document(value, key, name)) File "/usr/lib/python2.4/pydoc.py", line 305, in document if inspect.isroutine(object): return self.docroutine(*args) File "/usr/lib/python2.4/pydoc.py", line 1262, in docroutine doc = getdoc(object) or '' File "/usr/lib/python2.4/pydoc.py", line 75, in getdoc result = inspect.getdoc(object) or inspect.getcomments(object) File "/usr/lib/python2.4/inspect.py", line 448, in getcomments lines, lnum = findsource(object) File "/usr/lib/python2.4/inspect.py", line 437, in findsource if pat.match(lines[lnum]): break IndexError: list index out of range it seems that at this point, linecache.getlines("encodings/__init__.py") gives the lines from the file /usr/lib/python2.4/site-packages/cairo/__init__.py while the lnum variable is correct. -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.19batchyx4.0 Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15) Versions of packages python2.4 depends on: ii libbz2-1.0 1.0.3-6 high-quality block-sorting file co ii libc6 2.3.6.ds1-11 GNU C Library: Shared libraries ii libdb4.4 4.4.20-8 Berkeley v4.4 Database Libraries [ ii libncursesw5 5.5-5 Shared libraries for terminal hand ii libreadline5 5.2-2 GNU readline and history libraries ii libssl0.9.8 0.9.8c-4 SSL shared libraries ii mime-support 3.39-1 MIME files 'mime.types' & 'mailcap ii python2.4-minimal 2.4.4-2 A minimal subset of the Python lan python2.4 recommends no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Apparently this has been fixed in later python versions (e.g. it does not happen on 2.7), thus closing this issue. Thank you for your bug report. -- ,''`. Christian Hofstaedtler <[email protected]> : :' : Debian Developer `. `' 7D1A CFFA D9E0 806C 9C4C D392 5C13 D6DB 9305 2E03 `-
--- End Message ---

