improper position of continue?
Andrew Dalke
dalke at acm.org
Wed Aug 2 13:17:11 EDT 2000
Cezar Ionescu wrote
>Quoting from the language reference manual:
> The restriction
> on occurring in the try clause is implementer's laziness and
> will eventually be lifted.
Guido has said that the compiler doesn't have enough information
to handle continue inside of a try block, and he decided that
it was less work to answer the question once every year on the
newsgroup when it comes up than to rewrite that code.
He has also pointed out that JPython handles that case correctly.
Andrew
dalke at acm.org
More information about the Python-list
mailing list