pyca/cryptography — pull request #1467 by dstufft (2014-11-07 23:37:09+00:00)
Title: Remove the Implicit Compile

* **Bindings:** Move the creation of the ``FFI`` instance to the class creation, while moving the loading of the library to class instantiation. This allows the ``setup.py`` to import the class, but not instantiate it so that implicit compile doesn't get triggered.
* **Padding/Constant Time:** Create a ``LazyLibrary`` class which will wrap a ``FFI`` instance and will dispatch attribute access to an underlying loaded library which will be loaded on the first attribute access. This allows the ``setup.py`` to import the module, but not load the library so that implicit compile doesn't get triggered.
* Monkeypatch the ``Verifier`` instance to disable the automatic & implicit compilation that can occur automatically.