[cc -python-dev]
On 5/4/07, Jim Jewett <[EMAIL PROTECTED]> wrote:
> Open Issues
> ===========
>
> + Should ``\``-continuation be removed even inside strings?
I'm a strong -1 on this PEP if ``\``-continuation is removed from
inside triple-quoted strings. I'd hate to have to go from writing::
>>> textwrap.dedent('''\
... foo
... bar
... ''')
'foo\nbar\n'
to writing::
>>> textwrap.dedent('''
... foo
... bar
... '''[1:])
'foo\nbar\n'
or maybe::
>>> textwrap.dedent('''
... foo
... bar
... '''.lstrip('\n'))
'foo\nbar\n'
> + Should the continuation markers be expanced from just ([{}])
> to include lines ending with an operator?
I think the only way to answer this is to have someone actually
implement it, so that we can evaluate the complexity of the
implementation. If someone can produce a patch, we can talk about
this.
> + As a safety measure, should the continuation line be required
> to be more indented than the initial line?
Again, let's see a patch and we can talk about it.
STeVe
--
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
--- Bucky Katt, Get Fuzzy
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com