[Python-Dev] context manager - generator interaction? (original) (raw)
Robert Brewer fumanchu at amor.org
Thu Apr 5 22:58:22 CEST 2007
- Previous message: [Python-Dev] context manager - generator interaction?
- Next message: [Python-Dev] context manager - generator interaction?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
Robert Brewer System Architect Amor Ministries fumanchu at amor.org
- Previous message: [Python-Dev] context manager - generator interaction?
- Next message: [Python-Dev] context manager - generator interaction?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]