[Python-bugs-list] [ python-Bugs-546078 ] IDLE calltips cause application error
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 21 Apr 2002 08:33:45 -0700
Bugs item #546078, was opened at 2002-04-19 07:38
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=546078&group_id=5470
Category: IDLE
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Duncan Booth (duncanb)
Assigned to: Nobody/Anonymous (nobody)
Summary: IDLE calltips cause application error
Initial Comment:
I can reproduce this bug on Python 2.2 and Python 2.1
on different Windows 2000 machines.
Start a copy of IDLE.
At the interactive prompt type the following
interactive session:
>>> s = "%"*3000
>>> def f(p=s): pass
>>> f(
Instead of showing a calltip window with the arguments
for f, idle dies with an application error dialog:
idle: pythonw.exe - Application Error
The instruction at "0x1000a01f" referenced memory
at "0x00000000". The memory could not be "read".
This happens whenever the calltip string gets too long
(somewhere between 2500 and 3000 characters).
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2002-04-21 11:33
Message:
Logged In: YES
user_id=33168
I couldn't replicate this bug...well, not exactly.
On Linux (redhat 7.2), I tried the example and there was no
problem. I increased 3000 to 30,000 and still no problem.
I then changed % to * and my X server crashed!
So I think the problem you are seeing is Windows specific,
but there may be a Tk problem also.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=546078&group_id=5470