opensubscriber
   Find in this group all groups
 
Unknown more information…

w : webware-discuss@lists.sourceforge.net 25 October 2010 • 10:14AM -0400

[Webware-discuss] 1.1b: 'yield' not allowed in a 'try' block with a 'finally' clause
by Oliver Bock

REPLY TO AUTHOR
 
REPLY TO GROUP




When install.py byte compiles 1.1 beta on Python 2.4.3, I get this
error, which does not stop install.py:

Compiling /home/timbock/Webware-1.1b1/WebKit/Adapters/WSGIAdapter.py ...
   File "/home/timbock/Webware-1.1b1/WebKit/Adapters/WSGIAdapter.py",
line 68
     yield chunk
SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause

I'm not worried about this for myself because I am not planning to use
the WSGI stuff, but I thought I should raise it, since this release is
aimed to work with Python 2.4.  (FYI: stackoverflow suggests a
workaround
http://stackoverflow.com/questions/2339358/workaround-for-python-2-4s-yield-not-allowed-in-try-block-with-finally-clause)


   Oliver

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Webware-discuss mailing list
Webware-discuss@list...
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.