From: Serhiy Storchaka Date: Mon, 20 Jan 2014 19:35:06 +0000 (+0200) Subject: Issue #20315: Removed support for backward compatibility with early 2.x versions. X-Git-Tag: v3.4.0b3~84 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab0ac27d24076a2a09e3d8de97055a2fc978709f;p=python Issue #20315: Removed support for backward compatibility with early 2.x versions. Removed backward compatibility alias curses.window.nooutrefresh which should be removed in 2.3. --- ab0ac27d24076a2a09e3d8de97055a2fc978709f diff --cc Lib/test/_test_multiprocessing.py index 5cc767b022,aa66db4b7e..06d3ca97fc --- a/Lib/test/_test_multiprocessing.py +++ b/Lib/test/_test_multiprocessing.py @@@ -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)] diff --cc Modules/_cursesmodule.c index 9eaf09caf5,13cfcf5307..a1dc9eb967 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@@ -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},