Author: walter.doerwald
Date: Thu Aug 30 17:35:26 2007
New Revision: 57728

Modified:
   python/branches/py3k/Objects/unicodeobject.c
Log:
Set startinpos before calling the error handler.


Modified: python/branches/py3k/Objects/unicodeobject.c
==============================================================================
--- python/branches/py3k/Objects/unicodeobject.c        (original)
+++ python/branches/py3k/Objects/unicodeobject.c        Thu Aug 30 17:35:26 2007
@@ -1507,6 +1507,7 @@
             }
         }
         else if (SPECIAL(ch,0,0)) {
+            startinpos = s-starts;
             errmsg = "unexpected special character";
             s++;
             goto utf7Error;
_______________________________________________
Python-3000-checkins mailing list
Python-3000-checkins@python.org
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to