[Python-checkins] cpython: Remove disabled test code

martin.panter python-checkins at python.org
Fri Nov 4 23:50:32 EDT 2016


https://hg.python.org/cpython/rev/54087e63280a
changeset:   104918:54087e63280a
user:        Martin Panter <vadmium+py at gmail.com>
date:        Sat Nov 05 02:49:20 2016 +0000
summary:
  Remove disabled test code

Loading Unix libraries via getattr() was disabled before ctypes was added to
Python.

files:
  Lib/ctypes/util.py |  4 ----
  1 files changed, 0 insertions(+), 4 deletions(-)


diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py
--- a/Lib/ctypes/util.py
+++ b/Lib/ctypes/util.py
@@ -318,10 +318,6 @@
         print(find_library("c"))
         print(find_library("bz2"))
 
-        # getattr
-##        print cdll.m
-##        print cdll.bz2
-
         # load
         if sys.platform == "darwin":
             print(cdll.LoadLibrary("libm.dylib"))

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list