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 slightly different syntax (operations are specified as a list of
words "array", "read", "write" and "unset" instead of a string containing
characters "a", "r", "w" and "u"). Therefore we need new set of methods.
Proposed preliminary patch adds trace_add, trace_remove and trace_info methods
to the Variable class. It will be changed after applying issue22068 patch.
Tests for old methods will be backported to older Python versions.
----------
components: Tkinter
files: tkinter_trace_variable_2.patch
keywords: patch
messages: 224407
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Add new methods to trace Tkinter variables
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file36179/tkinter_trace_variable_2.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue22115>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com