From: Chris Withers <[EMAIL PROTECTED]>
> The Bug:
>
> If I use an name other than 'context' to bind to context, I quite often
(but not
> always :-S) get a KeyError on that name.

I'll check this out.  It's in the Collector, right?

> The Question:
>
> If I'm calling a Python Script from a Python Product (for example), how
would I
> pass a namespace to the script that would get bound as the namespace
argument?

Treat it as a keyword argument.  "Caller's namespace" is the only one of the
binding names that behaves this way, since the caller has complete control
over the contents of the namespace anyway.  For example:

myps(_=ns)

Cheers,

Evan @ digicool & 4-am


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

Reply via email to