From: Stefan Behnel Date: Wed, 30 Apr 2008 21:44:52 +0000 (+0200) Subject: stupid bug ... X-Git-Tag: 0.9.6.14~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=04234b0080dc5940a21ee69f5aa5856d02d227db;p=cython.git stupid bug ... --- diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py index f07f528c..a4882786 100644 --- a/Cython/Compiler/Main.py +++ b/Cython/Compiler/Main.py @@ -151,9 +151,9 @@ class Context: filename_encoding = sys.getdefaultencoding() name = source_filename.decode(filename_encoding) - s = PyrexScanner(f, name, source_encoding = f.encoding, - type_names = type_names, context = self) - tree = Parsing.p_module(s, pxd, full_module_name) + s = PyrexScanner(f, name, source_encoding = f.encoding, + type_names = type_names, context = self) + tree = Parsing.p_module(s, pxd, full_module_name) finally: f.close() except UnicodeDecodeError, msg: