[Python-Dev] Terminology for PEP 343

Delaney, Timothy (Tim) tdelaney at avaya.com
Tue Jul 5 01:03:29 CEST 2005


Phillip J. Eby wrote:

> Expand your mind.  :) "Resource" can include whatever objects you
> want it 
> to -- or no objects at all.  A resource can be conceptual - like for
> example the user's attention, or the contents of a status bar or log
> message, or the timing/profiling of an activity.  I think maybe you're

Well, HR considers me to be a resource ... ;)

Personally, I'm very happy with considering anything a with statement
manages as a resource.

Tim Delaney


More information about the Python-Dev mailing list