Ticket #2927 enhancement closed wontfix
proxyForInterface should really be proxyForInterface*s*
|Reported by:||glyph||Owned by:|
Description (last modified by glyph) (diff)
An object may implement more than one interface, and there's no use-case that I'm aware of to restrict this API to proxying for only one interface at a time.
The prototypical use-case that I do know of, xmantissa.sharing, which implements a similar proxy class, requires the ability to share (or not) multiple interfaces. It does this to limit access; for example, a user who can retrieve an IRead proxy for object X might not be able to retrieve the IWrite proxy.