[QScintilla] Another QScintilla Unicode issue

Phil Thompson phil at riverbankcomputing.com
Sat Aug 14 22:49:41 BST 2010


On Sat, 14 Aug 2010 22:41:07 +0100, Baz Walter <bazwal at ftml.net> wrote:
> On 14/08/10 16:29, Phil Thompson wrote:
>> I may make it more restrictive (ie. more correct, but maybe at the cost
>> of
>> breaking code) by requiring bytes objects (for Python3) and str objects
>> (for Python2), and no longer allowing str objects (for Python3) and
>> unicode
>> objects (for Python2).
> 
> fwiw, this sounds fine to me - i have always done things that way as it 
> seems the most pythonic (EIBTI and all that).
> 
> just to be clear, though: if you did this, it would still be possible to

> pass a bytearray to the scintilla apis that /retrieve/ text, right?

Can you give me a specific example?

Phil


More information about the QScintilla mailing list