]> granicus.if.org Git - python/commitdiff
Issue #20315: Removed support for backward compatibility with early 2.x versions.
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 20 Jan 2014 19:35:06 +0000 (21:35 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 20 Jan 2014 19:35:06 +0000 (21:35 +0200)
Removed backward compatibility alias curses.window.nooutrefresh which should
be removed in 2.3.

1  2 
Lib/configparser.py
Lib/modulefinder.py
Lib/test/_test_multiprocessing.py
Modules/_cursesmodule.c
Modules/_lsprof.c
Modules/_tkinter.c
Modules/gcmodule.c

Simple merge
Simple merge
index 5cc767b022f44895a96a29f9723a2e3228aef232,aa66db4b7e6e3608e64909d7675b96dec27b43de..06d3ca97fc34643a85bf4bafbe5411730a29e07c
@@@ -695,9 -688,9 +695,6 @@@ class _TestQueue(BaseTestCase)
      def test_task_done(self):
          queue = self.JoinableQueue()
  
--        if sys.version_info < (2, 5) and not hasattr(queue, 'task_done'):
--            self.skipTest("requires 'queue.task_done()' method")
--
          workers = [self.Process(target=self._test_task_done, args=(queue,))
                     for i in range(4)]
  
index 9eaf09caf537f9628abf081a0162e2b864222a48,13cfcf5307123d0b8eac6ada5c82dcd861a5342f..a1dc9eb967202dfb7a3ab5c849654ae1fd8a18f9
@@@ -2087,8 -2012,8 +2087,6 @@@ static PyMethodDef PyCursesWindow_Metho
      {"nodelay",         (PyCFunction)PyCursesWindow_nodelay, METH_VARARGS},
      {"notimeout",       (PyCFunction)PyCursesWindow_notimeout, METH_VARARGS},
      {"noutrefresh",     (PyCFunction)PyCursesWindow_NoOutRefresh, METH_VARARGS},
--    /* Backward compatibility alias -- remove in Python 2.3 */
--    {"nooutrefresh",    (PyCFunction)PyCursesWindow_NoOutRefresh, METH_VARARGS},
      {"overlay",         (PyCFunction)PyCursesWindow_Overlay, METH_VARARGS},
      {"overwrite",       (PyCFunction)PyCursesWindow_Overwrite,
       METH_VARARGS},
Simple merge
Simple merge
Simple merge