[Python-Dev] SyntaxError patches

Fred L. Drake, Jr. fdrake@beopen.com
Tue, 11 Jul 2000 11:53:14 -0400 (EDT)


  Ping has a really nice patch to generate better error messages for
SyntaxError on SourceForge (#100734).  This provides better messages,
but keeps all these errors as plain SyntaxError exceptions.
  At one point, we were discussing having specializations of
SyntaxError, and I posted a patch that defined  IndentationError and
TabError.  With Ping's changes, using these instead of plain
SyntaxError is trivial.  Should I include that, or only change the
error messages using Ping's patch?


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at beopen.com>
BeOpen PythonLabs Team Member