G'day,

first congrats for this 1.0.0 release, it's always something special for 
a project :).

Unfortunately, I have bad news: after somebody used my XMPP client (with 
a console frontend based on Urwid) he contacted me because of crashes.
I saw he was using the new version, so I upgraded, and realized that my 
frontend (primitivus, see http://wiki.goffi.org/wiki/Salut_%C3%A0_Toi if 
you want the sources) is broken with this version.

I haven't tracked everything yet, but

- the method is_mouse_press is not available any more. After quickly 
watching the sources, it seems to be now in urwid.util , but I see no 
mention of that in the CHANGELOG.

- I have crashed in my app when I pressed an unicode key (like the 
french "é"). I quickly looked the code and saw in widget.py, line 983 
and beyong:

   tu = isinstance(text, unicode)
   [...]
   if tu:
       return text.encode('ascii') # follow python2's implicit 
conversion <=== crash

if tu is unicode, the crash is normal (the line should be "return 
text.encode('utf-8')"), but I'm not sure to understand the intention 
here, so it probably need more investigation.

- I see that there is now a Password widget, and I did one in my urwid 
library (Urwid Satext: http://wiki.goffi.org/wiki/Urwid-satext ); is it 
not possible to include this library directly into Urwid ? It will 
definitely need some work to follow urwid's coding style, and some tests 
additions, but it would avoid working two times on similar widgets like 
this. The issue is I too busy to work on it at the moment :(.

Anyway, I will downgrade do 0.9.9.1 for the moment and investigate more 
when I'll have some free time.

Cheers
Goffi

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

Reply via email to