Evan Simpson wrote:
>From: "Itai Tavor" <[EMAIL PROTECTED]>
>> > import urllib
>> > urllib.__allow_access_to_unprotected_subobjects__ = 1
>
>> Ok, this is simple enough, and it works. But... it opens access to
>> everything in urllib.
>
>For now, the best way is to use a dictionary of names, like this:
>
> import urllib
> urllib.__allow_access_to_unprotected_subobjects__ = {
> 'quote': 1, 'unquote': 1,
> }
>
>Cheers,
>
>Evan @ digicool & 4-am
Thanks! Nice and simple.
The moral of this story is, you got to know what to ask :-)
--
Itai Tavor "Je sautille, donc je suis."
C3Works [EMAIL PROTECTED] - Kermit the Frog
"If you haven't got your health, you haven't got anything"
_______________________________________________
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 )