Author: Maciej Fijalkowski <[email protected]>
Branch: look-into-all-modules
Changeset: r74101:9de35201221b
Date: 2014-10-23 11:12 +0200
http://bitbucket.org/pypy/pypy/changeset/9de35201221b/

Log:    look into all modules

diff --git a/pypy/module/pypyjit/policy.py b/pypy/module/pypyjit/policy.py
--- a/pypy/module/pypyjit/policy.py
+++ b/pypy/module/pypyjit/policy.py
@@ -105,17 +105,9 @@
             modname, rest = modname.split('.', 1)
         else:
             rest = ''
-        if modname in ['pypyjit', 'signal', 'micronumpy', 'math', 'exceptions',
-                       'imp', 'sys', 'array', 'itertools', 'operator',
-                       'posix', '_socket', '_sre', '_lsprof', '_weakref',
-                       '__pypy__', 'cStringIO', '_collections', 'struct',
-                       'mmap', 'marshal', '_codecs', 'rctime', 'cppyy',
-                       '_cffi_backend', 'pyexpat', '_continuation', '_io',
-                       'thread', 'select', '_random']:
-            if modname == 'pypyjit' and 'interp_resop' in rest:
-                return False
-            return True
-        return False
+        if modname == 'pypyjit' and 'interp_resop' in rest:
+            return False
+        return True
 
     def look_inside_function(self, func):
         mod = func.__module__ or '?'
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to