Eli Bendersky <eli...@gmail.com> added the comment:

> Ezio Melotti <ezio.melo...@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.

----------
Added file: http://bugs.python.org/file21102/unnamed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11479>
_______________________________________
<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" 
style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); 
padding-left: 1ex;">
Ezio Melotti &lt;<a 
href="mailto:ezio.melo...@gmail.com";>ezio.melo...@gmail.com</a>&gt; added the 
comment:<br>
<br>
I would rephrase:<br>
+There is one subtle aspect to raw strings that is of special concern to 
Windows<br>
+programmers:  a raw string may not end in an odd number of ``\`` 
characters.<br>
<br>
to something like:<br>
+There is one subtle aspect to raw strings: a raw string may not end in<br>
+an odd number of ``\`` characters.  That is of special concern while<br>
+dealing with Windows paths.<br>
<br>
Otherwise it seems that this problem only affects raw strings on 
Windows.<br></blockquote></div><br>I agree, but I&#39;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.<br>

</div>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to