From: Dag Sverre Seljebotn Date: Fri, 30 May 2008 10:06:21 +0000 (+0200) Subject: SourceDescriptor-related bug X-Git-Tag: 0.9.8rc1~11^2~10^2~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d0d78efb072791c105e3431f3934a2a2c6eeb9eb;p=cython.git SourceDescriptor-related bug --- d0d78efb072791c105e3431f3934a2a2c6eeb9eb diff --cc Cython/Compiler/Errors.py index 7a074052,736d0326..4c9e7981 --- a/Cython/Compiler/Errors.py +++ b/Cython/Compiler/Errors.py @@@ -42,7 -38,7 +42,7 @@@ class CompileWarning(PyrexWarning) self.position = position self.message = message if position: -- pos_str = "%s:%d:%d: " % position ++ pos_str = "%s:%d:%d: " % (position[0].get_description(), position[1], position[2]) else: pos_str = "" Exception.__init__(self, pos_str + message)