possible bug?

Peter Hansen peter at engcorp.com
Thu Mar 24 12:22:48 EST 2005


Earl Eiland wrote:
> There may be different ways to code it.  This works.  

You're right about that, *as the code now stands*.

The danger is that you are using single backslashes.
The *only* reason this works right now is because none
of the characters you have following those backslashes
happen to be part of reserved escape sequences.  See
http://docs.python.org/ref/strings.html to learn why
Tim is basically right, even though in this case you
are getting away with it...

(Yes, I know this doesn't solve the real problem.)

-Peter



More information about the Python-list mailing list