[Python-Dev] SyntaxError for illegal literals

Fred L. Drake, Jr. fdrake@acm.org
Tue, 13 Feb 2001 22:10:20 -0500 (EST)


Greg Ewing writes:
 > How about introducing the following hierarchy:
 > 
 >   CompileTimeError
 >     SyntaxError
 >     LiteralRangeError
 > 
 > LiteralRangeError could inherit from ValueError as well
 > if you want.

  I like this!


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations