Hi,

Is it possible to register an adapter for a builtin type
such as str?  All the adapter examples I see use an interface for the
"for" attribute.

Something like:

  <adapter for="str"
    provides=".interfaces.IHTTPConnection"
    factory="httplib.HTTPConnection"
  />

This doesn't seem to work, although it doesn't give any errors.
I'm using five in a Zope 2 trunk sandbox.

Later I'll dig through it with pdb and see what I can find out, but
meanwhile I hoped somebody here had already solved this problem...

-- 

Paul Winkler
http://www.slinkp.com
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to