[zope2-tracker] [Bug 394809] [NEW] compile error in _firefox3cookiejar.py

Tres Seaver tseaver at palladion.com
Thu Jul 2 14:30:45 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

mejo wrote:
> Public bug reported:
> 
> Hello,
> 
> 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
>     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.
> 
> greetings,
>  jonas
> 
> ** Affects: zope2
>      Importance: Undecided
>          Status: New

 status wontfix

This bug is really an issue with the mechanize packcage.  Please report
it to the mailing list for mechanize:

 http://lists.sourceforge.net/lists/listinfo/wwwsearch-general

The problem does not prevent Zope from using the bits of mechanize it
needs.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKTPzV+gerLs4ltQ4RAtTAAJ0eeku756ep8kNfAAsgtcR8liatQgCfYyR7
E2VrtJxDEqO6ywoHiCO0bn0=
=+RZW
-----END PGP SIGNATURE-----

** Changed in: zope2
       Status: New => Won't Fix

-- 
compile error in _firefox3cookiejar.py
https://bugs.launchpad.net/bugs/394809
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