Bugs item #1431962, was opened at 2006-02-15 07:28
Message generated for change (Comment added) made by cniekel
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1431962&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Chris Niekel (cniekel)
Assigned to: Martin v. Löwis (loewis)
Summary: crash when using grid(row or column >9998)

Initial Comment:
Hi,

The following crashes python with a coredump in linux, 
and a 'send report'-message in windows:

from Tkinter import *
r = Tk()
l = Label(r, text='hello')
l.grid(row=10000,column=10000)

Amanjit Gill looked at the tk code and found in tkgrid.
c: if (slot < 0 || slot >= MAX_ELEMENT) { return 
TCL_ERROR; }

(Where MAX_ELEMENT is 10000)
It would be better (imho) if python would raise an 
exception instead of crashing.


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

>Comment By: Chris Niekel (cniekel)
Date: 2006-02-16 07:39

Message:
Logged In: YES 
user_id=106343

>From more discussion on the tkinter mailinglist, I 
understood that the problem is in Tk, since a tcl script has 
the same problem. 

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1431962&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to