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
da14f38b
Commit
da14f38b
authored
Feb 20, 2010
by
Dag Sverre Seljebotn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #508
parent
c5b12aac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
Cython/Compiler/AnalysedTreeTransforms.py
Cython/Compiler/AnalysedTreeTransforms.py
+2
-0
tests/run/autotestdict.pxd
tests/run/autotestdict.pxd
+1
-0
No files found.
Cython/Compiler/AnalysedTreeTransforms.py
View file @
da14f38b
...
@@ -13,6 +13,8 @@ class AutoTestDictTransform(ScopeTrackingTransform):
...
@@ -13,6 +13,8 @@ class AutoTestDictTransform(ScopeTrackingTransform):
blacklist
=
[
'__cinit__'
,
'__dealloc__'
,
'__richcmp__'
,
'__nonzero__'
]
blacklist
=
[
'__cinit__'
,
'__dealloc__'
,
'__richcmp__'
,
'__nonzero__'
]
def
visit_ModuleNode
(
self
,
node
):
def
visit_ModuleNode
(
self
,
node
):
if
node
.
is_pxd
:
return
node
self
.
scope_type
=
'module'
self
.
scope_type
=
'module'
self
.
scope_node
=
node
self
.
scope_node
=
node
if
self
.
current_directives
[
'autotestdict'
]:
if
self
.
current_directives
[
'autotestdict'
]:
...
...
tests/run/autotestdict.pxd
0 → 100644
View file @
da14f38b
# I just exist
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