Bugs item #1751932, was opened at 2007-07-11 16:27 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1751932&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: Python 3000 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Christian Heimes (tiran) Assigned to: Nobody/Anonymous (nobody) Summary: struni: help() is broken Initial Comment: The help() system doesn't work any more in the py3k-struni branch. >>> help(str) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/heimes/dev/python/py3k-struni/Lib/site.py", line 350, in __call__ return pydoc.help(*args, **kwds) File "/home/heimes/dev/python/py3k-struni/Lib/pydoc.py", line 1686, in __call__ self.help(request) File "/home/heimes/dev/python/py3k-struni/Lib/pydoc.py", line 1730, in help else: doc(request, 'Help on %s:') File "/home/heimes/dev/python/py3k-struni/Lib/pydoc.py", line 1513, in doc pager(render_doc(thing, title, forceload)) File "/home/heimes/dev/python/py3k-struni/Lib/pydoc.py", line 1491, in render_doc return title % desc + '\n\n' + text.document(object, name) File "/home/heimes/dev/python/py3k-struni/Lib/pydoc.py", line 320, in document if inspect.isclass(object): return self.docclass(*args) File "/home/heimes/dev/python/py3k-struni/Lib/pydoc.py", line 1203, in docclass lambda t: t[1] == 'method') File "/home/heimes/dev/python/py3k-struni/Lib/pydoc.py", line 1151, in spill name, mod, object)) File "/home/heimes/dev/python/py3k-struni/Lib/pydoc.py", line 321, in document if inspect.isroutine(object): return self.docroutine(*args) File "/home/heimes/dev/python/py3k-struni/Lib/pydoc.py", line 1271, in docroutine return decl + '\n' + (doc and self.indent(doc).rstrip() + '\n') File "/home/heimes/dev/python/py3k-struni/Lib/pydoc.py", line 991, in indent if lines: lines[-1] = lines[-1].rstrip() TypeError: 'itertools.imap' object is unsubscriptable ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1751932&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com