This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author glingl
Date 2003-07-22.09:31:43
SpamBayes Score
Marked as misclassified
I start IDLE in one-process-mode, in order to be able to 
use in interactive mode.

i:\python23\python.exe -n

I enter in the shell-window:

Python 2.3c1 (#44, Jul 18 2003, 14:32:36) [MSC v.1200
32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more
IDLE 1.0rc1      ==== No Subprocess ====
>>> from turtle import *
>>> Exception in Tkinter callback
Traceback (most recent call last):
  File "I:\Python23\lib\lib-tk\", line 1345,
in __call__
    return self.func(*args)
  File "i:\python23\lib\idlelib\", line 47,
in paren_open_event
    arg_text = self.fetch_tip(name)
  File "i:\python23\lib\idlelib\", line 106,
in fetch_tip
    return get_arg_text(entity)
  File "i:\python23\lib\idlelib\", line 165,
in get_arg_text
    doc = getattr(ob, "__doc__", "").lstrip()
AttributeError: 'NoneType' object has no attribute 'lstrip'

Just after typing the opening parentheses after the 
function name forward the shown error-message appears,
and the just typed in forward( is appended to it.

When I continue e.g. with 50), the turtle does, what
I want. The same with all following function-calls.

Maybe the reason for this bug lies (in some way)
in Nevertheless, IMHO IDLE SHOULD accept 
modules like withoult breaking

(I can't understand how getattr with 3. arg "" can
return NoneType at all. Or is this a bug in getattr?)

Interestingly IDLE started ordinarily in multiprocess
mode doesn't show this behaviour.

>>> from turtle import *
>>> forward(50

Alas! It's not recommended to complete this, as
then IDLE would hang from other reasons ...

Regards, Gregor
Date User Action Args
2007-08-23 14:15:06adminlinkissue775541 messages
2007-08-23 14:15:06admincreate