On Wed, Jun 17, 2009 at 6:29 PM, Edward K. Ream<[email protected]> wrote:

> I also think that all calls to unicode in qtGui.py should be replaced by
> g.toUnicode.  This must happen anyway to support Py3k.

I disagree about this - in fact I think we should never "convert" to
unicode. We use unicode() to get python unicode objects from QStrings
(i.e. no conversion happens). Calling a function that *possibly* does
conversion is a recipe for trouble because it hides errors (as
happened today).



-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to