[issue1581476] Text search gives bad count if called from variable trace

2009-02-02 Thread Guilherme Polo
Guilherme Polo added the comment: Commited in r69217 (r69219), r69220, r69222, r69223 Martin, I will open another ticket about GlobalCall deprecation, later today. -- resolution: accepted -> fixed status: open -> closed ___ Python tracker

[issue1581476] Text search gives bad count if called from variable trace

2009-02-02 Thread Guilherme Polo
Guilherme Polo added the comment: Uhm, is it fine to remove it for good in 3.1 ? And then add a warning in 2.7 when it gets called which in turns just call Tkapp_Call ? ___ Python tracker

[issue1581476] Text search gives bad count if called from variable trace

2009-02-02 Thread Martin v. Löwis
Changes by Martin v. Löwis : -- assignee: loewis -> gpolo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue1581476] Text search gives bad count if called from variable trace

2009-02-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: The patch looks fine, please apply. We should come up with a deprecation strategy for GlobalCall, though, since that function is now mostly redundant. -- resolution: -> accepted ___ Python tracker

[issue1581476] Text search gives bad count if called from variable trace

2009-01-09 Thread Matthias Kievernagel
Matthias Kievernagel added the comment: >Matthias: your issue about the pattern should be placed in a >different >issue. Done as Issue4890. Appended a simplified copy of the demo program and a patch there. I do not understand your remark about None though (see new issue). Cheers, Matthias Kie

[issue1581476] Text search gives bad count if called from variable trace

2009-01-02 Thread Guilherme Polo
Guilherme Polo added the comment: Fixed the issue now. _tkinter.call needs to use the TCL_EVAL_GLOBAL flag since all the variables in Tkinter are global variables. Matthias: your issue about the pattern should be placed in a different issue. -- keywords: +patch versions: +Python 2.6, P

[issue1581476] Text search gives bad count if called from variable trace

2008-12-04 Thread Matthias Kievernagel
Matthias Kievernagel <[EMAIL PROTECTED]> added the comment: Nice to see someone working on this. One thing I've checked (iirc): You can set iVar in doSearch by hand like this: iVar.set(2) print 'iVar.get()', iVar.get() And iVar rests at this value. t.search does not change the value. I d

[issue1581476] Text search gives bad count if called from variable trace

2008-12-03 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: This is indeed a problem with Tkinter only, but I didn't check what is causing it yet. For the suggestion about fixing the search method regarding the pattern: the fix is almost fine, but we need to disallow None as a pattern. __

[issue1581476] Text search gives bad count if called from variable trace

2008-09-15 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: -- nosy: +gpolo ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailin