1 new changeset in py:

http://bitbucket.org/hpk42/py/changeset/02d1c65a6a46/
changeset:   r2008:02d1c65a6a46
user:        hpk42
date:        2011-03-03 12:11:24
summary:     improve error message, fix changelog
affected #:  2 files (278 bytes)

--- a/CHANGELOG Tue Feb 15 13:50:54 2011 +0100
+++ b/CHANGELOG Thu Mar 03 12:11:24 2011 +0100
@@ -1,3 +1,11 @@
+Changes between 1.4.1 and 1.4.2
+==================================================
+
+- fix (pytest) issue23 - tmpdir argument now works on Python3.2 and WindowsXP
+  (which apparently starts to offer os.symlink now)
+
+- better error message for syntax errors from compiled code
+
 Changes between 1.4.0 and 1.4.1
 ==================================================
 


--- a/py/_code/source.py        Tue Feb 15 13:50:54 2011 +0100
+++ b/py/_code/source.py        Thu Mar 03 12:11:24 2011 +0100
@@ -215,7 +215,7 @@
             msglines = self.lines[:ex.lineno]
             if ex.offset:
                 msglines.append(" "*ex.offset + '^')
-            msglines.append("syntax error probably generated here: %s" % 
filename)
+            msglines.append("(code was compiled probably from here: %s)" % 
filename)
             newex = SyntaxError('\n'.join(msglines))
             newex.offset = ex.offset
             newex.lineno = ex.lineno

Repository URL: https://bitbucket.org/hpk42/py/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
py-svn mailing list
py-svn@codespeak.net
http://codespeak.net/mailman/listinfo/py-svn

Reply via email to