[pypy-commit] pypy py3.6: Re-apply part of 46bb03e8.

mjacob pypy.commits at gmail.com
Fri Jul 21 19:30:05 EDT 2017


Author: Manuel Jacob <me at manueljacob.de>
Branch: py3.6
Changeset: r91953:c42f02b742b9
Date: 2017-07-22 01:28 +0200
http://bitbucket.org/pypy/pypy/changeset/c42f02b742b9/

Log:	Re-apply part of 46bb03e8.

diff --git a/lib-python/3/ctypes/__init__.py b/lib-python/3/ctypes/__init__.py
--- a/lib-python/3/ctypes/__init__.py
+++ b/lib-python/3/ctypes/__init__.py
@@ -434,14 +434,6 @@
 #pydll = LibraryLoader(PyDLL)
 
 if _os.name == "nt":
-    pythonapi = PyDLL("python dll", None, _sys.dllhandle)
-elif _sys.platform == "cygwin":
-    pythonapi = PyDLL("libpython%d.%d.dll" % _sys.version_info[:2])
-else:
-    pythonapi = PyDLL(None)
-
-
-if _os.name == "nt":
     windll = LibraryLoader(WinDLL)
     oledll = LibraryLoader(OleDLL)
 


More information about the pypy-commit mailing list