[pywin32-checkins] pywin32/Pythonwin/pywin/scintilla config.py, 1.9, 1.10
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2010-08-25 07:55:18
|
Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/scintilla In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv29730 Modified Files: config.py Log Message: ensure tracebacks loading config files contain correct line number (kxroberto) Index: config.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/scintilla/config.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** config.py 6 Dec 2008 00:40:52 -0000 1.9 --- config.py 25 Aug 2010 07:55:10 -0000 1.10 *************** *** 280,284 **** lines.append(line) try: ! c = compile("".join(lines), self.filename, "exec") self._save_data("extension code", c) except SyntaxError, details: --- 280,286 ---- lines.append(line) try: ! c = compile( ! "\n" * start_lineno + # produces correct tracebacks ! "".join(lines), self.filename, "exec") self._save_data("extension code", c) except SyntaxError, details: |