[Zope-dev] issues with building zope2.11.3

Andreas Jung lists at zopyx.com
Thu Jul 2 13:37:08 EDT 2009


On 02.07.09 19:23, Jonas Meurer wrote:
> Hello again,
>
> first, thanks for the fast response.
>
> On 02/07/2009 Andreas Jung wrote:
>   
>>> Compiling /usr/lib/zope2.11/lib/python/mechanize/_firefox3cookiejar.py ...
>>>   File "/usr/lib/zope2.11/lib/python/mechanize/_firefox3cookiejar.py", line 91
>>>     yield row
>>> SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause
>>>
>>> I also found this error in list archive logs of zope-tests at epy.co.at.
>>>
>>> from 'pydoc2.4 yield':
>>>
>>>   The yield statement is not allowed in the try clause of a try ...
>>>   finally construct. The difficulty is that there's no guarantee the
>>>   generator will ever be resumed, hence no guarantee that the finally
>>>   block will ever get executed.
>>>
>>> is this a known bug, 
>>>       
>> no - please file a bug report
>>     
> done: https://bugs.launchpad.net/zope2/+bug/394809
>
>   
Thanks!
>>> and does a fix exist?
>>>       
>> Unlikely - and I don't think that this issue is of relevance.
>>     
> I believe that this bug persists in zope2.12+, so it should be fixed in
> my eyes.

mechanize is basically a third-party module shipped with Zope. Since
Zope 2.12
requires Python 2.5 or 2.6 there is a chance will be resolved
automatically :)

Andreas
this issue
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20090702/20dcd085/attachment.vcf 


More information about the Zope-Dev mailing list