Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
ccfad0a2
Commit
ccfad0a2
authored
Nov 04, 2012
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more special casing of stdlib modules
parent
825fe134
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
Tools/cystdlib.py
Tools/cystdlib.py
+22
-2
No files found.
Tools/cystdlib.py
View file @
ccfad0a2
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment