[issue22115] Add new methods to trace Tkinter variables

2016-06-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Backported fixes for old tracing methods. Unfortunately the tracing in the "u" mode doesn't work in 2.7. This is related to some differences in GC. I don't think this is important and close this issue. -- resolution: -> fixed stage: patch review ->

[issue22115] Add new methods to trace Tkinter variables

2016-06-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 77378dce6bcf by Serhiy Storchaka in branch '2.7': Issue #22115: Fixed tracing Tkinter variables. https://hg.python.org/cpython/rev/77378dce6bcf New changeset 293ec9547334 by Serhiy Storchaka in branch '3.5': Issue #22115: Fixed tracing Tkinter varia

[issue22115] Add new methods to trace Tkinter variables

2016-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset a201180c0f77 by Serhiy Storchaka in branch 'default': Issue #22115: Added methods trace_add, trace_remove and trace_info in the https://hg.python.org/cpython/rev/a201180c0f77 -- nosy: +python-dev ___ Pyth

[issue22115] Add new methods to trace Tkinter variables

2016-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Good idea. Anyone who knows enough to create one by calling into tcl, assuming that is possible, should know that the methods apply. Everyone else, like me, will just be confused. -- ___ Python tracker

[issue22115] Add new methods to trace Tkinter variables

2016-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Maybe omit the mention of the array mode since it can't be used with variables created with Tkinter wrapper? -- ___ Python tracker ___ __

[issue22115] Add new methods to trace Tkinter variables

2016-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: What's New: patchcheck found trailing whitespace to remove; it contains some additions that appear to belong to another issue. configdialog change looks good and dialog still works. I am expecting to add more Vars sometime soon, though probably not in the next

[issue22115] Add new methods to trace Tkinter variables

2016-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your review Terry. Here is updated patch. IDLE now uses new API. -- Added file: http://bugs.python.org/file43539/tkinter_trace_variable_6.patch ___ Python tracker _

[issue22115] Add new methods to trace Tkinter variables

2016-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I gather that 'add', 'delete', and 'info' replace 'variable', 'vdelete', and 'vinfo'. Also see review. Deprecation period should be fairly long. Of course, a currently hypothetical tcl/tk 9.0 with old stuff gone would make it immediate for users of 9.0. Ap

[issue22115] Add new methods to trace Tkinter variables

2016-06-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch provides simplified interface. The support of passing callback arguments is removed. This complicates an interface and is not needed since Python supports closure and the support of callback arguments was more limited (supported only limited se

[issue22115] Add new methods to trace Tkinter variables

2014-08-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > "list or tuple" (of such strings.) Can we say 'sequence' (or even set or > iterable) or is the requirement specifically tuple or list? No. The call() method accepted only tuples, and since issue21525 it now supports lists. > Does tk call the traceback fun

[issue22115] Add new methods to trace Tkinter variables

2014-08-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: trace_add: "list or tuple" (of such strings.) Can we say 'sequence' (or even set or iterable) or is the requirement specifically tuple or list? Does tk call the traceback function with any args it supplies(other than those passed in)? (In other words, is the

[issue22115] Add new methods to trace Tkinter variables

2014-08-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Removed file: http://bugs.python.org/file36179/tkinter_trace_variable_2.patch ___ Python tracker ___ ___ Python-

[issue22115] Add new methods to trace Tkinter variables

2014-08-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Synchronized with the tip. -- stage: -> patch review Added file: http://bugs.python.org/file36395/tkinter_trace_variable_3.patch ___ Python tracker _

[issue22115] Add new methods to trace Tkinter variables

2014-08-01 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue22115] Add new methods to trace Tkinter variables

2014-07-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Command used to monitor Tcl variable access ("trace variable", "trace vdelete", "trace vinfo") are deprecated and will likely be removed in a future version of Tcl. Replacements ("trace add variable", "trace remove variable", "trace info variable") use sli