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


_______________________________________________
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