[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 Kievernagel
mkiever/at/web/dot/de

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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, Python 2.7, Python 3.0, Python 3.1 -Python 2.4
Added file: http://bugs.python.org/file12550/issue_1581476.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 don't know anything about how the tcl-interpreter
is embedded into python. I somehow had the impression
there might be a _tkinter limitation there.
Something like handling two callbacks into _tkinter
at the same time or the tcl interpreter being unresponsive
while calling a _tkinter function.
At that point I gave up. Seen nothing obvious in _tkinter/Tkinter.

Matthias Kievernagel
(mkiever/at/web/dot/de)

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com