[pypy-commit] cffi default: make this not public
pjenvey
noreply at buildbot.pypy.org
Sat Aug 9 08:44:40 CEST 2014
Author: Philip Jenvey <pjenvey at underboss.org>
Branch:
Changeset: r1555:dfdc10d75879
Date: 2014-07-28 09:51 -0700
http://bitbucket.org/cffi/cffi/changeset/dfdc10d75879/
Log: make this not public
diff --git a/cffi/verifier.py b/cffi/verifier.py
--- a/cffi/verifier.py
+++ b/cffi/verifier.py
@@ -4,11 +4,11 @@
if sys.version_info >= (3, 3):
import importlib.machinery
- def extension_suffixes():
+ def _extension_suffixes():
return importlib.machinery.EXTENSION_SUFFIXES[:]
else:
import imp
- def extension_suffixes():
+ def _extension_suffixes():
return [suffix for suffix, _, type in imp.get_suffixes()
if type == imp.C_EXTENSION]
@@ -232,7 +232,7 @@
pass
def _get_so_suffixes():
- suffixes = extension_suffixes()
+ suffixes = _extension_suffixes()
if not suffixes:
# bah, no C_EXTENSION available. Occurs on pypy without cpyext
if sys.platform == 'win32':
More information about the pypy-commit
mailing list