[zope2-tracker] [Bug 143213] Re: Change hasattr to has_key in DT_String.py String::__call__

Jens Vagelpohl jens at dataflake.org
Wed Jun 16 08:20:58 EDT 2010


I believe some assumptions here are wrong. The fact that "taintWrapper"
is looked for at all insinuates that the mapping object may be a REQUEST
object, which has the method "taintWrapper". Since it is a method,
lookup via "hasattr" is correct.


** Changed in: zope2
       Status: Triaged => Invalid

** Changed in: zope2
     Assignee: (unassigned) => Jens Vagelpohl (jens-dataflake)

-- 
Change hasattr to has_key in DT_String.py String::__call__
https://bugs.launchpad.net/bugs/143213
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list