Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev
issues with building zope2.11.3
 

Index | Next | Previous | View Flat


jonas at freesources

Jul 2, 2009, 9:32 AM


Views: 487
Permalink
issues with building zope2.11.3

Hello,

at preparing zope2.11.3 for debian, i came across several byte-compiling
errors.

three of them are due to the new tests for python2.5 and python2.6, and
are just failing because python2.4 is the python version debian uses for
zope2.11.

but the last one seems to be a real bug:

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, and does a fix exist?

greetings,
jonas
_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Subject User Time
issues with building zope2.11.3 jonas at freesources Jul 2, 2009, 9:32 AM
    Re: issues with building zope2.11.3 lists at zopyx Jul 2, 2009, 9:39 AM
        Re: issues with building zope2.11.3 jonas at freesources Jul 2, 2009, 10:23 AM
            Re: issues with building zope2.11.3 lists at zopyx Jul 2, 2009, 10:37 AM
                Re: issues with building zope2.11.3 jonas at freesources Jul 2, 2009, 10:41 AM
                    Re: issues with building zope2.11.3 lists at zopyx Jul 2, 2009, 10:47 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.