[Zope-dev] iterating over class without __iter__ but with __getitem__ raises AttributeError:__iter__

Chris Withers chris at simplistix.co.uk
Wed Apr 15 18:29:36 EDT 2009


Hanno Schlichting wrote:
>>>> If so, then how do I get it to recompile now that I've svn up'ed my Zope 
>>>> 2 trunk to get Andreas' changes?
>>> You need to check out Acquisition from its SVN trunk and include it into
>>> your environment (develop line in buildout or "python setup.py
>>> develop"). Forcing a recompilation of C extensions works via the normal
>>> "python setup.py build_ext -i -f"
>> ....how would I force recompilation in a buildout environment?
> 
> Via "python setup.py build_ext -i -f" - works in all environments.
> Deleting the .so files is probably another way.

I guess that equates to:
bin/buildout setup path/to/setup.py build_ext -i -f
?

>> PS: It worked, please could you roll the new acquisition egg and update 
>> the required version on the Zope 2 trunk?
> 
> Acquisition 2.12.1 is released and included into Zope 2 trunk. I'm
> adding the Windows eggs right now.

Cool, I've tried it out and it works fine. If only Andreas was so 
responsive ;-)

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope-Dev mailing list