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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
0abb7f3f
Commit
0abb7f3f
authored
Oct 16, 2009
by
Dag Sverre Seljebotn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #418 (wrong error message)
parent
7be7dc28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
Cython/Compiler/Symtab.py
Cython/Compiler/Symtab.py
+1
-1
tests/errors/notcimportedT418.pyx
tests/errors/notcimportedT418.pyx
+7
-0
No files found.
Cython/Compiler/Symtab.py
View file @
0abb7f3f
...
...
@@ -499,7 +499,7 @@ class Scope(object):
if entry.as_module:
scope = entry.as_module
else:
error(pos, "'%s'
is
not
a
cimported
module
" %
scope.qualified_name
)
error(pos, "'%s'
is
not
a
cimported
module
" %
'.'.join(path)
)
return None
return scope
...
...
tests/errors/notcimportedT418.pyx
0 → 100644
View file @
0abb7f3f
import
somemod.child
cdef
somemod
.
child
.
something
x
_ERRORS
=
u"""
3:5: 'somemod.child' is not a cimported module
"""
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