Jamie Heilman wrote at 2003-6-20 03:07 -0700:
 > ...
 > That magical promotion of the key & value to the other dictionary is
 > what tripped me up.  This technique, while originally used only for
 > known convenience variables like URLx or BASEx and for promoting lazy
 > data, now applies to all variables after revision 1.75.

Zope promotes the variables from "cookies" and "form" to "other"
at least since Zope 2.1.6 (the first version I worked with).

I think this is for efficiency reasons. You have a single
dictionary lookup instead of three ("other", "form", "cookie").


Dieter

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to