Kaydet (Commit) b554fadd authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka

Issue #22115: Updated Misc/NEWS.

...@@ -89,7 +89,7 @@ class TestVariable(TestBase): ...@@ -89,7 +89,7 @@ class TestVariable(TestBase):
def test_trace_old(self): def test_trace_old(self):
# Old interface # Old interface
v = Var(self.root) v = Variable(self.root)
vname = str(v) vname = str(v)
trace = [] trace = []
def read_tracer(*args): def read_tracer(*args):
...@@ -138,7 +138,7 @@ class TestVariable(TestBase): ...@@ -138,7 +138,7 @@ class TestVariable(TestBase):
self.assertEqual(trace, [('write', vname, '', 'u')]) self.assertEqual(trace, [('write', vname, '', 'u')])
def test_trace(self): def test_trace(self):
v = Var(self.root) v = Variable(self.root)
vname = str(v) vname = str(v)
trace = [] trace = []
def read_tracer(*args): def read_tracer(*args):
......
...@@ -13,7 +13,9 @@ Library ...@@ -13,7 +13,9 @@ Library
- Issue #22115: Added methods trace_add, trace_remove and trace_info in the - Issue #22115: Added methods trace_add, trace_remove and trace_info in the
tkinter.Variable class. They replace old methods trace_variable, trace, tkinter.Variable class. They replace old methods trace_variable, trace,
trace_vdelete and trace_vinfo that use obsolete Tcl commands and might trace_vdelete and trace_vinfo that use obsolete Tcl commands and might
not work in future versions of Tcl. not work in future versions of Tcl. Fixed old tracing methods:
trace_vdelete() with wrong mode no longer break tracing, trace_vinfo() now
always returns a list of pairs of strings, tracing in the "u" mode now works.
- Issue #26243: Only the level argument to zlib.compress() is keyword argument - Issue #26243: Only the level argument to zlib.compress() is keyword argument
now. The first argument is positional-only. now. The first argument is positional-only.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment