From 8511afd99162cafe3cffbde4bdcccf8ab22eb911 Mon Sep 17 00:00:00 2001 From: Donald Stufft <donald@stufft.io> Date: Sat, 5 Oct 2013 19:15:25 -0400 Subject: [PATCH] Remove the CFFI compile_module monkey patch --- nacl/nacl.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nacl/nacl.py b/nacl/nacl.py index 2663a002..c35916cb 100644 --- a/nacl/nacl.py +++ b/nacl/nacl.py @@ -148,12 +148,6 @@ class Library(object): self._ffi = ffi self._initalized = False - # This prevents the compile_module() from being called, the module - # should have been compiled by setup.py - def _compile_module(*args, **kwargs): - raise RuntimeError("Cannot compile module during runtime") - self._ffi.verifier.compile_module = _compile_module - def __getattr__(self, name): if not self._initalized: self._lib = self._ffi.verifier.load_library() -- GitLab