[Python-Dev] PEP 8 updates/clarifications

Jim Fulton jim at zope.com
Sun Dec 11 23:17:31 CET 2005


skip at pobox.com wrote:
>>>>>>"Jim" == Jim Fulton <jim at zope.com> writes:
> 
> 
>     Jim> The decision about wither to implement foo as a key in the instance
>     Jim> dictionary *is* an implementation detail that can be hidden by a
>     Jim> property.  
> 
> If it's not in the instance dictionary, where is it?  

It could be in a slot. It could be in the instance dictionary
under another name. It could be in a subobject. It could be
computed from other variables...

(in a box, with a fox.... :)

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Python-Dev mailing list