[zope2-tracker] [Bug 394809] [NEW] compile error in _firefox3cookiejar.py
jonas at freesources.org
Thu Jul 2 13:22:38 EDT 2009
Public bug reported:
at building/installing zope2.11.3, I found a byte-compiling error:
Compiling /usr/lib/zope2.11/lib/python/mechanize/_firefox3cookiejar.py ...
File "/usr/lib/zope2.11/lib/python/mechanize/_firefox3cookiejar.py", line 91
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.
** Affects: zope2
** Tags: zope2.11.3
** Tags added: zope2.11.3
compile error in _firefox3cookiejar.py
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