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