Author: Manuel Jacob <m...@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) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit