[wingide-users] Bug in shell

cool-RR cool-rr at cool-rr.com
Fri May 28 09:28:02 MDT 2010


Here is a bug in the shell when working with Python 3.1. Basically when I
ask for `help(whatever)` I get a traceback:

>>> help(int)
Traceback (most recent call last):
  File "C:\Program Files\Wing IDE 3.2\src\debug\tserver\_sandbox.py", line
1, in <module>
    # Used internally for debug sandbox under external interpreter
  File "c:\Python31\Lib\site.py", line 429, in __call__
    return pydoc.help(*args, **kwds)
  File "c:\Python31\Lib\pydoc.py", line 1710, in __call__
    self.help(request)
  File "c:\Python31\Lib\pydoc.py", line 1757, in help
    else: doc(request, 'Help on %s:')
  File "c:\Python31\Lib\pydoc.py", line 1508, in doc
    pager(render_doc(thing, title, forceload))
  File "c:\Python31\Lib\pydoc.py", line 1320, in pager
    pager = getpager()
  File "c:\Python31\Lib\pydoc.py", line 1327, in getpager
    if not sys.stdin.isatty() or not sys.stdout.isatty():
  File "C:\Program Files\Wing IDE
3.2\bin\3.1\src\debug\tserver\netserver.py", line 563, in isatty
builtins.AttributeError: 'NoneType' object has no attribute 'isatty'
>>> help(float)
Traceback (most recent call last):
  File "C:\Program Files\Wing IDE 3.2\src\debug\tserver\_sandbox.py", line
1, in <module>
    # Used internally for debug sandbox under external interpreter
  File "c:\Python31\Lib\site.py", line 429, in __call__
    return pydoc.help(*args, **kwds)
  File "c:\Python31\Lib\pydoc.py", line 1710, in __call__
    self.help(request)
  File "c:\Python31\Lib\pydoc.py", line 1757, in help
    else: doc(request, 'Help on %s:')
  File "c:\Python31\Lib\pydoc.py", line 1508, in doc
    pager(render_doc(thing, title, forceload))
  File "c:\Python31\Lib\pydoc.py", line 1320, in pager
    pager = getpager()
  File "c:\Python31\Lib\pydoc.py", line 1327, in getpager
    if not sys.stdin.isatty() or not sys.stdout.isatty():
  File "C:\Program Files\Wing IDE
3.2\bin\3.1\src\debug\tserver\netserver.py", line 563, in isatty
builtins.AttributeError: 'NoneType' object has no attribute 'isatty'
>>> help(list)
Traceback (most recent call last):
  File "C:\Program Files\Wing IDE 3.2\src\debug\tserver\_sandbox.py", line
1, in <module>
    # Used internally for debug sandbox under external interpreter
  File "c:\Python31\Lib\site.py", line 429, in __call__
    return pydoc.help(*args, **kwds)
  File "c:\Python31\Lib\pydoc.py", line 1710, in __call__
    self.help(request)
  File "c:\Python31\Lib\pydoc.py", line 1757, in help
    else: doc(request, 'Help on %s:')
  File "c:\Python31\Lib\pydoc.py", line 1508, in doc
    pager(render_doc(thing, title, forceload))
  File "c:\Python31\Lib\pydoc.py", line 1320, in pager
    pager = getpager()
  File "c:\Python31\Lib\pydoc.py", line 1327, in getpager
    if not sys.stdin.isatty() or not sys.stdout.isatty():
  File "C:\Program Files\Wing IDE
3.2\bin\3.1\src\debug\tserver\netserver.py", line 563, in isatty
builtins.AttributeError: 'NoneType' object has no attribute 'isatty'

Ram.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20100528/6afca90e/attachment.html


More information about the wingide-users mailing list