Commit ccfad0a2 authored by Stefan Behnel's avatar Stefan Behnel

more special casing of stdlib modules

parent 825fe134
...@@ -27,6 +27,8 @@ broken = [ ...@@ -27,6 +27,8 @@ broken = [
'multiprocessing/reduction.py', 'multiprocessing/reduction.py',
'multiprocessing/util.py', 'multiprocessing/util.py',
'threading.py', # interrupt handling 'threading.py', # interrupt handling
'lib2to3/fixes/fix_sys_exc.py',
'traceback.py',
] ]
default_directives = dict( default_directives = dict(
...@@ -36,17 +38,35 @@ default_directives = dict( ...@@ -36,17 +38,35 @@ default_directives = dict(
special_directives = [ special_directives = [
(['pkgutil.py', (['pkgutil.py',
'decimal.py',
'datetime.py', 'datetime.py',
'optparse.py', 'optparse.py',
'sndhdr.py', 'sndhdr.py',
'opcode.py', 'opcode.py',
'ntpath.py', 'ntpath.py',
'urllib/request.py', 'urllib/request.py',
'plat-linux/TYPES.py', 'plat-*/TYPES.py',
'tkinter/_fix.py', 'tkinter/_fix.py',
'lib2to3/refactor.py' 'lib2to3/refactor.py'
'webbrowser.py', 'webbrowser.py',
'shutil.py',
'multiprocessing/forking.py', 'multiprocessing/forking.py',
'xml/sax/expatreader.py',
'xmlrpc/client.py',
'pydoc.py',
'xml/etree/ElementTree.py',
'posixpath.py',
'inspect.py',
'ctypes/util.py',
'urllib/parse.py',
'warnings.py',
'tempfile.py',
'trace.py',
'heapq.py',
'pickletools.py',
'multiprocessing/connection.py',
'hashlib.py',
'getopt.py',
], dict(auto_cpdef=False)), ], dict(auto_cpdef=False)),
] ]
...@@ -86,7 +106,7 @@ def build(extensions): ...@@ -86,7 +106,7 @@ def build(extensions):
return extensions, True return extensions, True
except: except:
import traceback import traceback
print('error building extensions %s' % (extensions,)) print('error building extensions %s' % ([ext.name for ext in extensions],))
traceback.print_exc() traceback.print_exc()
return extensions, False return extensions, False
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment