[issue961805] Text.edit_modified() fails
Matthias Kievernagel added the comment: Moved my patch from Issue1643641 to this Issue. (duplication was created when moving from SF bugs/patches) Patch to be applied with 'patch -p0' I have also attached a demo where you can test all Text.edit_* functions. Regards, Matthias Kievernagel -- nosy: +mkiever Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue961805> editModified.py Description: Binary data ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue961805] Text.edit_modified() fails
Changes by Matthias Kievernagel: Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue961805> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1643641] Fix Bug 1362475 Text.edit_modified() doesn't work
Matthias Kievernagel added the comment: Moved my patch to Issue961805. (duplication was created when moving from SF bugs/patches) This issue should be closed down. Regards, Matthias Kievernagel _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1643641> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1135] xview/yview of Tix.Grid is broken
Matthias Kievernagel added the comment: Hint: There is also Issue1522587, which contains a large patch (by klappnase) for Tix.Grid addressing xview/yview and several other issues. I do not know if it fixes this issue exactly. Can you take a look at it, ocean-city? Regards, Matthias Kievernagel -- nosy: +mkiever __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1135> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1522587] Tix.Grid patch
Changes by Matthias Kievernagel: -- nosy: +mkiever _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1522587> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1362475] Text.edit_modified() doesn't work
Matthias Kievernagel <[EMAIL PROTECTED]> added the comment: Hi Guilherme, funny, I wasn't aware of this duplicate of this issue until I got the message of your comment :) The other duplicate is: http://bugs.python.org/issue1643641 which was closed by Georg Brandl upon my request. The oldest issue is: http://bugs.python.org/issue961805 Both these issues have my patch attached. (it's somewhat resembling yours and the proposition of Ron Provost - except that it is 1.5 years older) The latter issue also has demo code attached. Can someone close this one or the other open issue?? Cheers, Matthias Kievernagel _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1362475> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue837234] Tk.quit and sys.exit cause Fatal Error
Matthias Kievernagel <[EMAIL PROTECTED]> added the comment: Hi, found a related (duplicate ?) issue which mentions a platform and has code producing the error: http://bugs.python.org/issue775544 Can someone based on WinXP try the code? Attaching it here for easier reference. Works without problem on my Linux 2.6, Python 2.4.1 with Tk 8.4 Guess the other issue is similar enough to close it. Regards, Matthias Kievernagel -- nosy: +mkiever Added file: http://bugs.python.org/file10356/issue775544.py Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue837234> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue961805] Text.edit_modified() fails
Matthias Kievernagel added the comment: Retested revision 59927 from the trunk. Error is still there, is demonstrated by attached editModified.py (click 'modified?') and patch is still applicable and corrects the problem. Regards, Matthias Kievernagel -- versions: +Python 2.6 Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue961805> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue429031] Text widget, bindtags and Tabs
Changes by Matthias Kievernagel: -- nosy: +mkiever Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue429031> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue429031] Text widget, bindtags and Tabs
Changes by Matthias Kievernagel: Added file: http://bugs.python.org/file9166/429031-tabs-nok.py Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue429031> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue429031] Text widget, bindtags and Tabs
Changes by Matthias Kievernagel: Added file: http://bugs.python.org/file9167/429031-tabs-ok.tcl Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue429031> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue429031] Text widget, bindtags and Tabs
Changes by Matthias Kievernagel: Added file: http://bugs.python.org/file9168/429031-tabs-nok.tcl Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue429031> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue429031] Text widget, bindtags and Tabs
Matthias Kievernagel added the comment: skip was right. An equivalent tcl program shows the same behaviour. Tested with tcl/tk 8.4.6 Corrected python scripts (the original attached files were broken) and equivalent tcl scripts attached. Matthias Kievernagel Added file: http://bugs.python.org/file9165/429031-tabs-ok.py Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue429031> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2535] duplicate Misc.lower
New submission from Matthias Kievernagel <[EMAIL PROTECTED]>: ron longo posted this remark in the Tkinter list: >Don't know if this is the place to report this. Not really a bug, >however, >method lower() is defined twice in class Misc in the module Tkinter.py. >Both definitions are identical. So I created a patch (against rev62104 which removes the first occurrence which seems a bit out of order (second one is grouped with raise). Matthias. -- components: Tkinter files: duplicateLower.patch keywords: patch messages: 64845 nosy: mkiever severity: normal status: open title: duplicate Misc.lower versions: Python 2.6 Added file: http://bugs.python.org/file9925/duplicateLower.patch __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2535> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1602742] itemconfigure returns incorrect text property of text items
Matthias Kievernagel <[EMAIL PROTECTED]> added the comment: I no longer know what I meant with "document string is broken". It is not very clear, but not broken. It does not specify clearly the return value in the case of 'without arguments'. The problem is still present in trunk. Problem is as far as I understand it: Some return values from tcl are strings that may contain spaces (or are even certain to contain spaces). They are nonetheless translated to a Python tuple by Tcl_SplitList in _tkinter.c. There is no difference in syntax between tcl lists and tcl strings (with spaces). You have to have contextual knowledge to do the right thing. This knowledge cannot be attached to itemconfigure alone (for reconstitution of strings) because then information about whitespace is already lost. For return values known to be strings _tkinter/TkApp_SplitList must not be used. So I think it's a more general bug related to tcl string return values. Other Tkinter bugs may have the same explanation. Don't know how to resolve this without a lot of work. Matthias. -- versions: +Python 2.6 _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1602742> _ ___ 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
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]> <http://bugs.python.org/issue1581476> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4890] handling empty text search pattern in tkinter
New submission from Matthias Kievernagel : Split this from issue 1581476 as suggested by Guilherme Polo (gpolo). >Matthias: your issue about the pattern should be placed in a >different >issue. Quote of my original report: (This is about the search function of the Text class in Tkinter. An IndexError is raised when pattern == '') ... >In addition I get an IndexError, if I delete the >last character of the search string. >Does Tk allow calling search with an empty pattern? >Tkinter could handle this (with a correct result) >with the following change in Tkinter.py / Text.search(): >if pattern[0] == '-': args.append('--') >-> >if pattern and pattern[0] == '-': args.append('--') A further remark from Guilherme Polo (gpolo): >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. I do not understand that remark. Is it to avoid the TclError? Or because the exception changes (IndexError -> TclError)? What do you want to do when pattern == None? Raise ValueError or IndexError (as before)? Appended slightly simplified demo program from issue 1581476 and a patch against trunk r68445. Cheers, Matthias Kievernagel mkiever/at/web/dot/de -- components: Tkinter files: text_search_pattern.py messages: 79459 nosy: mkiever severity: normal status: open title: handling empty text search pattern in tkinter versions: Python 2.4, Python 2.5, Python 2.6, Python 2.7 Added file: http://bugs.python.org/file12660/text_search_pattern.py ___ Python tracker <http://bugs.python.org/issue4890> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4890] handling empty text search pattern in tkinter
Changes by Matthias Kievernagel : -- keywords: +patch Added file: http://bugs.python.org/file12661/text_search_pattern.patch ___ Python tracker <http://bugs.python.org/issue4890> ___ ___ 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
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 <http://bugs.python.org/issue1581476> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22810] tkinter: "alloc: invalid block:" after askopenfilename
Changes by Matthias Kievernagel : -- nosy: +mkiever ___ Python tracker <http://bugs.python.org/issue22810> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3405] Add support for the new data option supported by event generate (Tk 8.5)
Change by Matthias Kievernagel : -- nosy: +mkiever ___ Python tracker <https://bugs.python.org/issue3405> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25451] tkinter: PhotoImage transparency methods
Change by Matthias Kievernagel : -- nosy: +mkiever ___ Python tracker <https://bugs.python.org/issue25451> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3405] Add support for the new data option supported by event generate (Tk 8.5)
Matthias Kievernagel added the comment: I have a patched Python 3.5.3 running mostly following the comments by O.C. If no one else is active on this I can try to prepare something for submission. -- ___ Python tracker <https://bugs.python.org/issue3405> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3405] Add support for the new data option supported by event generate (Tk 8.5)
Change by Matthias Kievernagel : -- pull_requests: +6776 ___ Python tracker <https://bugs.python.org/issue3405> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3405] Add support for the new data option supported by event generate (Tk 8.5)
Matthias Kievernagel added the comment: So I pulled, but it seems the CLA is stuck somewhere. Investigating... -- ___ Python tracker <https://bugs.python.org/issue3405> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23831] tkinter canvas lacks of moveto method.
Change by Matthias Kievernagel : -- nosy: +mkiever ___ Python tracker <https://bugs.python.org/issue23831> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7109] broken link on news page
New submission from Matthias Kievernagel : Hello, there is a broken link on http://www.python.org/news/ at Python 3.0 is an ex-release! Long live Python 3.1! There will be no Python 3.0.2 release or further 3.0.x maintenance/ security releases. All users of Python 3.0 are strongly encouraged to upgrade to Python 3.1. This link is dead (pointing at some fjord, it's an ex-link :): http://mail.python.org/pipermail/python-list/2009-July/718561.html Found this in the archives, guess this is the correct link: http://mail.python.org/pipermail/python-list/2009-July/187218.html Hope this is the right place to report website issues. Regards, Matthias Kievernagel -- components: None messages: 93887 nosy: mkiever severity: normal status: open title: broken link on news page ___ Python tracker <http://bugs.python.org/issue7109> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7109] broken link on news page
Matthias Kievernagel added the comment: Sorry. Somehow this page did not show up on my google search on python.org. Problem sent to webmaster. Thanks. -- ___ Python tracker <http://bugs.python.org/issue7109> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6137] Pickle migration: Should pickle map "copy_reg" to "copyreg"?
New submission from Matthias Kievernagel : Hello, while porting something to Python 3.1a1 I found out that Python 3 cannot load most Python 2 pickles of any protocol because copy_reg has been renamed to copyreg. Found this comment by Skip Montanaro in related issue: http://bugs.python.org/issue3799#msg76196 Could not find an issue opened for this though. So I'm opening one. Regards, Matthias Kievernagel -- components: None messages: 88470 nosy: mkiever severity: normal status: open title: Pickle migration: Should pickle map "copy_reg" to "copyreg"? versions: Python 3.1 ___ Python tracker <http://bugs.python.org/issue6137> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6137] Pickle migration: Should pickle map "copy_reg" to "copyreg"?
Matthias Kievernagel added the comment: Applied the patch http://bugs.python.org/file14124/compat_pickle.diff to rev. 73106. Patch applies fine, 'make test' passes and it solves my problem. (which is far from a complete test case though - only 5 small pickles) Thanks, Matthias Kievernagel -- ___ Python tracker <http://bugs.python.org/issue6137> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com