#680 Pydev 1.3.15: help(x) doesn't work

1.3.15
closed-fixed
nobody
None
5
2008-04-12
2008-04-10
Stefan C
No

The new interactive console is brilliant, however
theres one bug and one feature I'd like regarding help.

typing in
>>> a = 10
>>> help(a)
gives me

Traceback (most recent call last):
File "<console>", line 1, in <module>
File "<my python path>\lib\site.py", line 346, in __call__
return pydoc.help(*args, **kwds)
File "<my python path>\lib\pydoc.py", line 1645, in __call__
self.help(request)
File "<my python path>\lib\pydoc.py", line 1689, in help
else: doc(request, 'Help on %s:')
File "<my python path>\lib\pydoc.py", line 1481, in doc
pager(title % desc + '\n\n' + text.document(object, name))
File "<my python path>\lib\pydoc.py", line 1298, in pager
pager = getpager()
File "<my python path>\lib\pydoc.py", line 1305, in getpager
if not sys.stdin.isatty() or not sys.stdout.isatty():
AttributeError: StdIn instance has no attribute 'isatty'

---------------------------------

And also, would it be possible for you to add the output of pydoc in the content assist?

if I press
>>> a = 10
>>> a. # I get content assist, abd browse the methods

the browsing of method could show the help() content of that method similar to how JDT does it.

Great work!

Discussion

  • Fabio Zadrozny
    Fabio Zadrozny
    2008-04-12

    Logged In: YES
    user_id=617340
    Originator: NO

    Ok, both requests fixed for 1.3.16

     
  • Fabio Zadrozny
    Fabio Zadrozny
    2008-04-12

    • milestone: --> 1.3.15
    • status: open --> closed-fixed