Message 130743 - Python tracker

Message130743

Author eli.bendersky
Recipients QuantumTim, docs@python, eli.bendersky, ezio.melotti, facundobatista, georg.brandl, gwideman, r.david.murray, v+python
Date 2011-03-13.13:17:16
SpamBayes Score 2.6998594e-06
Marked as misclassified No
Message-id <AANLkTindCAG2vSL=-V9HaO7xiAd4Ei_1UyU40=3iWHUe@mail.gmail.com>
In-reply-to <1300020738.19.0.0845521834437.issue11479@psf.upfronthosting.co.za>
Content
> Ezio Melotti <ezio.melotti@gmail.com> added the comment:
>
> I would rephrase:
> +There is one subtle aspect to raw strings that is of special concern to
> Windows
> +programmers:  a raw string may not end in an odd number of ``\``
> characters.
>
> to something like:
> +There is one subtle aspect to raw strings: a raw string may not end in
> +an odd number of ``\`` characters.  That is of special concern while
> +dealing with Windows paths.
>
> Otherwise it seems that this problem only affects raw strings on Windows.
>

I agree, but I'd also say something about os.path.join when mentioning
Windows paths, because the vast majority of problems that require the
trailing backslashes can be solved with it.
Files
File name Uploaded
unnamed eli.bendersky, 2011-03-13.13:17:15
History
Date User Action Args
2011-03-13 13:17:16eli.benderskysetrecipients: + eli.bendersky, georg.brandl, facundobatista, QuantumTim, ezio.melotti, v+python, r.david.murray, docs@python, gwideman
2011-03-13 13:17:16eli.benderskylinkissue11479 messages
2011-03-13 13:17:16eli.benderskycreate