[Python-checkins] r65971 - python/trunk/Lib/lib-tk/Tkinter.py
McKown, John
JMckown at healthmarkets.com
Thu Jul 30 21:05:25 CEST 2009
I have never done anything like this before, so please excuse my ignorance if I am doing something that I shouldn't. But there appears to be a bug in Tkinter.py in the delete function in revision r65971, defined starting in line 2660. The line in question is line 2670 and looks like:
if (num_index1 is not None) and (num_index2 is not None):
This line gets a message in PySolFC like:
TypeError: argument of type 'NoneType' is not iterable
If have fixed this in my case by adding the phrase "and (self._tclCommands is not None)" to the line.
if (num_index1 is not None) and (num_index2 is not None) and (self._tclCommands is not None):
John McKown
Systems Engineer IV
IT
Administrative Services Group
HealthMarkets(r)
9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mckown at healthmarkets.com * www.HealthMarkets.com
Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-checkins/attachments/20090730/8d89a860/attachment.htm>
More information about the Python-checkins
mailing list