projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e625403
)
small fix to actually use the module name extracting algo if no module name is provid...
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 5 Jun 2008 19:41:21 +0000
(21:41 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 5 Jun 2008 19:41:21 +0000
(21:41 +0200)
Cython/Compiler/Main.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Main.py
b/Cython/Compiler/Main.py
index e8437839d60af3c34188fcc43ea0de6c0a172372..66c02330c6efc96d14b4de03ed6cc57c5882e88b 100644
(file)
--- a/
Cython/Compiler/Main.py
+++ b/
Cython/Compiler/Main.py
@@
-289,7
+289,7
@@
class Context:
else:
c_suffix = ".c"
result.c_file = Utils.replace_suffix(source, c_suffix)
- module_name = full_module_name
#
self.extract_module_name(source, options)
+ module_name = full_module_name
or
self.extract_module_name(source, options)
initial_pos = (source, 1, 0)
scope = self.find_module(module_name, pos = initial_pos, need_pxd = 0)
errors_occurred = False