[ python-Bugs-1362475 ] Text.edit_modified() doesn't work

SourceForge.net noreply at sourceforge.net
Wed Jan 24 16:53:43 CET 2007


Bugs item #1362475, was opened at 2005-11-21 03:13
Message generated for change (Comment added) made by mkiever
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1362475&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
Private: No
Submitted By: Ron Provost (ronpro at cox.net)
Assigned to: Martin v. Löwis (loewis)
Summary: Text.edit_modified() doesn't work

Initial Comment:
Tkinter's Text widget has a method edit_modified()
which should return True if the modified flag of the
widget has been set, False otherwise.  It should also
be possible to pass True or False into the method to
set the flag to a desired state.  The implementation
retrieves the correct value, but then calls
self._getints( result ).  This causes an exception to
be thrown.

In my build, I found that changing the implementation
to the following appears to fix the function.

  return self.tk.call( self._w, 'edit', 'modified', arg )



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

Comment By: Matthias Kievernagel (mkiever)
Date: 2007-01-24 15:53

Message:
Logged In: YES 
user_id=1477880
Originator: NO

Posted patch 1643641.
The patch removes the offending _getints call.

Greetings,
Matthias Kievernagel

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1362475&group_id=5470


More information about the Python-bugs-list mailing list