From 6c58c34dd3724b990c7f487c936577db888f3c3f Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Wed, 28 Sep 2016 21:55:55 -0400 Subject: IDLE NEWS item and ack. --- Lib/idlelib/NEWS.txt | 3 +++ Misc/ACKS | 1 + Misc/NEWS | 3 +++ 3 files changed, 7 insertions(+) diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index e64c493..45c7d68 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -2,6 +2,9 @@ What's New in IDLE 3.5.3? ========================= *Release date: 2017-01-01?* +- Issue #15308: Add 'interrupt execution' (^C) to Shell menu. + Patch by Roger Serwy, updated by Bayard Randel. + - Issue #27922: Stop IDLE tests from 'flashing' gui widgets on the screen. - Add version to title of IDLE help window. diff --git a/Misc/ACKS b/Misc/ACKS index ed93e99..b296387 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -1193,6 +1193,7 @@ Burton Radons Abhilash Raj Shorya Raj Jeff Ramnani +Bayard Randel Varpu Rantala Brodie Rao Senko Rasic diff --git a/Misc/NEWS b/Misc/NEWS index ad921cd..3b41f49 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -334,6 +334,9 @@ Library IDLE ---- +- Issue #15308: Add 'interrupt execution' (^C) to Shell menu. + Patch by Roger Serwy, updated by Bayard Randel. + - Issue #27922: Stop IDLE tests from 'flashing' gui widgets on the screen. - Add version to title of IDLE help window. -- cgit v0.12 From c49b4d8ef392678b2a55deedb7682d3f5ab9c68b Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Thu, 29 Sep 2016 02:50:20 +0000 Subject: Remove disabled ctypes test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test was commented out in 2005 before ctypes was added to Python, because the “cdll” attribute loading feature “will no longer work this way”: http://svn.python.org/view?view=revision&revision=49102 --- Lib/ctypes/test/test_find.py | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/Lib/ctypes/test/test_find.py b/Lib/ctypes/test/test_find.py index 20c5337..94b0b89 100644 --- a/Lib/ctypes/test/test_find.py +++ b/Lib/ctypes/test/test_find.py @@ -1,5 +1,5 @@ import unittest -import os, os.path +import os.path import sys import test.support from ctypes import * @@ -69,28 +69,5 @@ class Test_OpenGL_libs(unittest.TestCase): self.assertFalse(os.path.lexists(test.support.TESTFN)) self.assertIsNone(result) -# On platforms where the default shared library suffix is '.so', -# at least some libraries can be loaded as attributes of the cdll -# object, since ctypes now tries loading the lib again -# with '.so' appended of the first try fails. -# -# Won't work for libc, unfortunately. OTOH, it isn't -# needed for libc since this is already mapped into the current -# process (?) -# -# On MAC OSX, it won't work either, because dlopen() needs a full path, -# and the default suffix is either none or '.dylib'. -@unittest.skip('test disabled') -@unittest.skipUnless(os.name=="posix" and sys.platform != "darwin", - 'test not suitable for this platform') -class LoadLibs(unittest.TestCase): - def test_libm(self): - import math - libm = cdll.libm - sqrt = libm.sqrt - sqrt.argtypes = (c_double,) - sqrt.restype = c_double - self.assertEqual(sqrt(2), math.sqrt(2)) - if __name__ == "__main__": unittest.main() -- cgit v0.12