In <URL:news:local.News> on Wed 03 Sep, Stuart Donaldson wrote:
> I encountered this, and have a fix for it which I had thought I had put 
> into a bug report.
> 
> The essence of the solution I chose was to raise an AbortResponse 
> exception.  I derived AbortResponse from EndResponse and then had to put 
> a couple of other catches in Application.py as I recall in case the 
> servlet did not catch it.
> 
> Are you using 0.8.1 or the CVS version?  I have not yet applied my fix 
> to the CVS trunk version of the code yet, but I could probably do that 

> in the near future if you are interested.  I have been meaning to 
> upgrade to the latest changes in CVS anyway.

I'm still using 0.8.0 (but without "smart" cookies...), because the bug
http://sourceforge.net/tracker/index.php?func=detail&aid=697350&group_id=4866&atid=104866
is still open in 0.8.1.
(Yes I know, I should have submitted this as patch...)

Where do you rise this exception? Just in flush() or also somewhere else?

For me this would a solution, but it could break some applets for other
people if they don't have a try/except or try/finally around their code ...

The change of flush() to return a value<>None would be 100% backward
compatible.


Regards,

Dietmar



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to