[Python-3000] [Python-Dev] PEP 30XZ: Simplified Parsing

Alexey Borzenkov snaury at gmail.com
Wed May 2 23:25:00 CEST 2007


On 5/3/07, Guido van Rossum <guido at python.org> wrote:
> On 5/2/07, Alexey Borzenkov <snaury at gmail.com> wrote:
> > I don't know if I can vote, but if I could I'd be -1 on this. Can't
> > say I'm using continuation often, but there's one case when I'm using
> > it and I'd like to continue using it:
> >
> >     #!/usr/bin/env python
> >     """\
> >     Usage: some-tool.py [arguments...]
> >
> >         Does this and that based on its arguments"""
> I've been trying to tease out of the PEP author whether \ inside
> string literals would also be dropped. I'd be against that even if \
> outside strings were to be killed. So a vote based solely on this
> argument has little value.

Ouch, I didn't even think it could be dropped one way and not the
other. To be honest, I don't have opinion on the usage of \ outside of
string literals, never needed to use it, and it seems there's always a
workaround with parenthesis. So I'm sorry, that have been very
premature.

--
Alexey


More information about the Python-3000 mailing list