Martin v. Löwis mar...@v.loewis.de 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
Changes by Martin v. Löwis mar...@v.loewis.de:
--
assignee: loewis - gpolo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1581476
___
___
Guilherme Polo ggp...@gmail.com 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 rep...@bugs.python.org
Guilherme Polo ggp...@gmail.com 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
Matthias Kievernagel mkie...@web.de 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,
Guilherme Polo ggp...@gmail.com 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
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
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.
Changes by Guilherme Polo [EMAIL PROTECTED]:
--
nosy: +gpolo
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1581476
___
___
Python-bugs-list mailing