[Python-Dev] With context, please (original) (raw)
Phillip J. Eby pje at telecommunity.com
Sat Apr 22 18🔞54 CEST 2006
- Previous message: [Python-Dev] With context, please
- Next message: [Python-Dev] With context, please
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 09:05 AM 4/22/2006 -0700, Aahz wrote:
I've been following the with/context discussion, not that closely, but reading all the posts. I also have to write docs on this for Python for Dummies, which I think is going to be the first book out after 2.5. So far, my take is that I want the block of code to be executed in a context. I'm probably going to use that terminology no matter what gets decided here -- I think it's the only sensible way to describe it for newcomers. Aside from that, I don't care all that much.
(Actually, we just turned in the first draft, and I haven't talked about context managers at all -- what I said was that EXPR returns a context.)
And what did you say that context returns?
- Previous message: [Python-Dev] With context, please
- Next message: [Python-Dev] With context, please
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]