Hi,

I have just noticed that the pydoc gui for both python 2.7 and 3.2 is broken.

---8<---
$ pydoc2.7 -g 
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.7/pydoc.py", line 2081, in serve
    DocServer(port, callback).serve_until_quit()
  File "/usr/local/lib/python2.7/pydoc.py", line 2063, in __init__
    self.base.__init__(self, self.address, self.handler)
  File "/usr/local/lib/python2.7/SocketServer.py", line 409, in __init__
    self.server_activate()
  File "/usr/local/lib/python2.7/pydoc.py", line 2074, in server_activate
    if self.callback: self.callback(self)
  File "/usr/local/lib/python2.7/pydoc.py", line 2164, in ready
    text='Python documentation server at\n' + server.url)
  File "/usr/local/lib/python2.7/lib-tk/Tkinter.py", line 1202, in configure
    return self._configure('configure', cnf, kw)
  File "/usr/local/lib/python2.7/lib-tk/Tkinter.py", line 1193, in _configure
    self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
TclError: out of stack space (infinite loop?)
---8<---

Jasper verifies this on his system too.

I have tried doubling the stack allowance with similar results. I think
the error message is likely to be correct, ie. Infinite loop. The
default 4096K should be more than enough anyway.

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk

Reply via email to