On Sat, Nov 12, 2016, at 13:05, Steven D'Aprano wrote:
> I'm rather luke-warm on this proposal, although I might be convinced to
> support it if:
>
> - w'...' unconditionally split on any whitespace (possibly
> excluding NBSP);
>
> - and normal escapes worked.
Is there any particular objection to allowing the backslash-space escape
(and for escapes that mean whitespace characters, such as \t, \x20, to
not split, if you meant to imply that they do)? That would provide the
extra push to this being beneficial over split().
I also have an alternate idea: sl{word1 word2 'string 3' "string 4"}
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/