projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e1933c
)
safety fix: a string as source input to the scanner should always be considered a...
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 14 Mar 2010 14:01:35 +0000
(15:01 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 14 Mar 2010 14:01:35 +0000
(15:01 +0100)
Cython/Compiler/Scanning.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Scanning.py
b/Cython/Compiler/Scanning.py
index fc07a0d11a8337977edd5219c161b33a2586d5aa..98120f0b1fc828b1b45ceb58b92fc77efe020fb1 100644
(file)
--- a/
Cython/Compiler/Scanning.py
+++ b/
Cython/Compiler/Scanning.py
@@
-202,7
+202,7
@@
class StringSourceDescriptor(SourceDescriptor):
"""
def __init__(self, name, code):
self.name = name
- self.set_file_type_from_name(name)
+
#
self.set_file_type_from_name(name)
self.codelines = [x + "\n" for x in code.split("\n")]
self._cmp_name = name