cython-devel
changeset 2981:f06147ed2f0b
Fix #508
| author | Dag Sverre Seljebotn <dagss@student.matnat.uio.no> |
|---|---|
| date | Sat Feb 20 13:36:10 2010 +0100 (5 months ago) |
| parents | c0db10c1a935 |
| children | 89295a33107e |
| files | Cython/Compiler/AnalysedTreeTransforms.py tests/run/autotestdict.pxd |
line diff
1.1 --- a/Cython/Compiler/AnalysedTreeTransforms.py Tue Feb 02 04:18:23 2010 -0800
1.2 +++ b/Cython/Compiler/AnalysedTreeTransforms.py Sat Feb 20 13:36:10 2010 +0100
1.3 @@ -13,6 +13,8 @@
1.4 blacklist = ['__cinit__', '__dealloc__', '__richcmp__', '__nonzero__']
1.5
1.6 def visit_ModuleNode(self, node):
1.7 + if node.is_pxd:
1.8 + return node
1.9 self.scope_type = 'module'
1.10 self.scope_node = node
1.11 if self.current_directives['autotestdict']:
