On 5/25/07, Steve Howell <[EMAIL PROTECTED]> wrote:
> This happens to me about once a month, and I > forget exactly what Python does when I try to run the > program where one identifier has the accented e, and a > later identifier doesn't. It *should* throw up a syntax error. If both letters were valid, it would silently create a second identifier, and you would have some fun tracking down the bug. I say "*should*" because, at the moment, it seems to accept some additional characters, in at least some environments. In particular, using Idle from 2.5.0, I just noticed that I can apparently use at least some Latin-1 characters. >>> ó = 5 >>> print ó 5 >>> ¿=7 SyntaxError: invalid syntax >>> Æ=7 >>> Æ 7 [And no, this doesn't mean "it's already in use; no big deal", because the Latin-1 characters are not the biggest concern.] -jJ _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
