Kent Johnson  <[EMAIL PROTECTED]> wrote:
>Sion Arrowsmith wrote:
>> (and please avoid the abuse of raw strings for Windows paths).
>Why do you consider that abuse of raw strings?

I consider it abuse because it's not what they were invented for.
I consider discouraging it to be a good thing in order to reduce
the chances of people being bitten by, for instance:

>>> os.listdir(r"C:\")
  File "<stdin>", line 1
    os.listdir(r"C:\")
                     ^
SyntaxError: EOL while scanning single-quoted string

and getting all confused on this group.

-- 
\S -- [EMAIL PROTECTED] -- http://www.chaos.org.uk/~sion/
  ___  |  "Frankly I have no feelings towards penguins one way or the other"
  \X/  |    -- Arthur C. Clarke
   her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to