[Python-Dev] Go \x yourself

Greg Ewing greg@cosc.canterbury.ac.nz
Mon, 07 Aug 2000 13:04:27 +1200 (NZST)


BDFL:

> No, problems with literal interpretations traditionally raise
> "runtime" exceptions rather than syntax errors.  E.g.

What about using an exception that's a subclass of *both*
ValueError and SyntaxError?

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+