[Python-Dev] Go \x yourself (original) (raw)

Tim Peters tim_one@email.msn.com
Thu, 3 Aug 2000 05:57:22 -0400


[Thomas Wouters]

+1 if it's a compile-time error, +0 if it isn't and won't be made one. ...

Quoting back from the original msg:

... will raise ValueError at compile-time for an invalid \x escape ^^^^^^^^^^^^^^^

The pseudo-example was taken from a pseudo interactive prompt, and just as in a real example at a real interactive prompt, each (pseduo)input line was (pseudo)compiled one at a time .