[Python-Dev] SyntaxError patches

esr@thyrsus.com esr@thyrsus.com
Wed, 12 Jul 2000 10:56:31 -0400


Skip Montanaro <skip@mojam.com>:
>     Fred> At one point, we were discussing having specializations of
>     Fred> SyntaxError, and I posted a patch that defined IndentationError
>     Fred> and TabError.  
> 
> I think you should go for it.  As long as they are subclasses of SyntaxError 
> no existing code should break.

For whatever it's worth, I agree.
-- 
		<a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a>

According to the National Crime Survey administered by the Bureau of
the Census and the National Institute of Justice, it was found that
only 12 percent of those who use a gun to resist assault are injured,
as are 17 percent of those who use a gun to resist robbery. These
percentages are 27 and 25 percent, respectively, if they passively
comply with the felon's demands. Three times as many were injured if
they used other means of resistance.
        -- G. Kleck, "Policy Lessons from Recent Gun Control Research,"