James Mills wrote:
> On Fri, Jul 18, 2008 at 1:17 AM, Ian Ward <[EMAIL PROTECTED]> wrote:
>> Absolutely.  The wsgi code currently works for the tour.py example in
>> the "default" branch, but the way wsgi uses iterators made quite a few
>> not-so-pretty changes necessary.
> 
> Got revisions I can compare ?
> Now that you're using Mercurial (yay!) this is now a whole lot easier!

The changes are in these two patches (on the default branch):

https://excess.org/hg/urwid/rev/4edf868eb9e9
https://excess.org/hg/urwid/rev/528cbaff67ac

The next release will be somewhat disruptive.  I have already introduced 
a generic_main_loop() function that will simplify most of the Urwid 
scripts out there.  The wsgi code uses an iterable_main_loop() function. 
   It might be possible to combine them so that users don't have to 
special-case their code for using wsgi.  The result of that combination 
could be the next suggested way of using the library for new applications.

Ian


_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid

Reply via email to