[pypy-commit] cffi tmpdir-from-environ: The 'Verifier' class already falls back to '_caller_dir_pycache'
malthe
noreply at buildbot.pypy.org
Wed Sep 3 10:25:52 CEST 2014
Author: malthe
Branch: tmpdir-from-environ
Changeset: r1561:b59844f99880
Date: 2014-09-02 13:59 +0200
http://bitbucket.org/cffi/cffi/changeset/b59844f99880/
Log: The 'Verifier' class already falls back to '_caller_dir_pycache'
diff --git a/cffi/api.py b/cffi/api.py
--- a/cffi/api.py
+++ b/cffi/api.py
@@ -334,8 +334,7 @@
(including calling macros). This is unlike 'ffi.dlopen()',
which requires binary compatibility in the signatures.
"""
- from .verifier import Verifier, _caller_dir_pycache
- tmpdir = tmpdir or _caller_dir_pycache()
+ from .verifier import Verifier
self.verifier = Verifier(self, source, tmpdir, **kwargs)
lib = self.verifier.load_library()
self._libraries.append(lib)
More information about the pypy-commit
mailing list