[Python-Dev] context manager - generator interaction?

Terry Reedy tjreedy at udel.edu
Fri Apr 6 02:26:37 CEST 2007

"Robert Brewer" <fumanchu at amor.org> wrote in message 
news:435DF58A933BA74397B42CDEB8145A860AC9BA84 at ex9.hostedexchange.local...
| Guido van Rossum wrote:
| > Isn't this violating the rule that a try/except should only enclose
| > the smallest expression where the exception is expected?
| Yeah, and I keep finding myself wanting to hyperlink to that "rule" in
| the official docs, but it only seems to be written down in developer's
| heads. Can we get that into the Language Ref somewhere? Maybe on the
| http://docs.python.org/ref/try.html page?

Submit a doc patch (normal text without Latex markup is fine) to SF with 
the sentence you would like, the location, and reason.

More information about the Python-Dev mailing list