ing string exceptions (which have already happened) will affect far
> more programs than a minor incompatibility in transitioning string
> formatting.
`with` and `as` are trivial to fix and certainly not pervasive in
existing code. String exceptions have been deprecated for years
rs from now,
all maintainers of long existing code have exactly the same problem.
IMHO, either the translation is done once and gives identical output or
it isn't worth doing at all.
--
Christian Tanzerhttp://www.c-tanzer.at/
__
om Python and there
is no automatic transition path that effectively means that existing
code using %-formatting is forced to stay at whatever Python version
was the last one supporting %-formatting.
I surely hope nobody is seriously considering such a scenario. Perl 6
seems harmless in compariso
` is slightly better than the
title, the premise of James Knight is utterly wrong:
Note that the __init__ method is not special -- the same thing
happens with any method
--
Christian Tanzerhttp://www.c-tanzer.at/
___
rite-file-hooks 'delete-trailing-whitespace)
)
In modern Emacsen, the `if` should be unnecessary.
--
Christian Tanzerhttp://www.c-tanzer.at/
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/ma
Nick Maclaren <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] (Christian Tanzer) wrote:
> > Greg Ewing <[EMAIL PROTECTED]> wrote:
> >
> > > What's the feeling about this? If, e.g. int()
> > > were changed in Py3k to round instead of trun
y'd still be correct under such a change.
--
Christian Tanzerhttp://www.c-tanzer.at/
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http:
)
>
> I'm not keen on that particular keyword, but I do believe a syntactic
> solution is needed, if the problem is important enough to be solved.
How about:
def main_generator():
...
yield * sub_generator()
Ducking-ly yrs,
--
Christian Tanzer