Hi,
I'm working with the combination of Zope3 and sqlobjet over sqlos and
discovered a problem (about SecurityProxy as i already asked about in
#zope3-dev).
Some code in sqlobject is using isinstance() to decide what to do. The
problem is, that sometimes sqlobject gets securityProxied object
Andres Freund wrote:
Hi,
I'm working with the combination of Zope3 and sqlobjet over sqlos and
discovered a problem (about SecurityProxy as i already asked about in
#zope3-dev).
Some code in sqlobject is using isinstance() to decide what to do. The
problem is, that sometimes sqlobject gets
Hi,
Dominik Huber wrote:
You can use zapi.isinstance (zope.security.proxy orig. place). This
function is useful because it works even if the instance is security
proxied.
I know that from irc but there are two issues:
-Fixing that in foreign code is dirty and error prone. In my own code i
wou
Andres Freund wrote:
Hi,
Dominik Huber wrote:
You can use zapi.isinstance (zope.security.proxy orig. place). This
function is useful because it works even if the instance is security
proxied.
I know that from irc but there are two issues:
-Fixing that in foreign code is dirty and error pron
Rocky Burt wrote:
Today it's very hard to debug ImportErrors raise inside modules
referenced through a zcml directive, because the ImportError is
swallowed an no traceback comes back to the user. Just a
ConfigurationError: ('Invalid value for', 'class', "Couldn't import
some.class, cannot